diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 1b0f278605..4c28bb9283 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -269,9 +269,9 @@ (define-public python-os-testr ;; when building the package. Skip the tests for now. `(#:tests? #f)) (propagated-inputs - (list python-babel python-stestr python-testrepository python-testtools)) + (list python-stestr)) (native-inputs - (list python-pbr)) + (list python-babel python-pbr python-testrepository python-testtools)) (home-page "https://www.openstack.org/") (synopsis "Testr wrapper to provide functionality for OpenStack projects") (description diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2c93c80138..7d68683f10 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28050,21 +28050,14 @@ (define-public python-platformdirs (base32 "1njz0h4iky8iglrb85cd07hpa3lp1a2dfr934dj65hxwzvfk61j4")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'build 'pretend-version - ;; The version string is usually derived via setuptools-scm, but - ;; without the git metadata available, the version string is set to - ;; '0.0.0'. - (lambda _ - (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" ,version))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest"))))))) + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs - (list python-appdirs python-pytest python-pytest-cov - python-pytest-mock python-setuptools-scm)) + (list python-appdirs python-pytest python-pytest-mock + python-setuptools-scm)) (home-page "https://github.com/platformdirs/platformdirs") (synopsis "Determine the appropriate platform-specific directories") (description "When writing applications, finding the right location to