diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-07-05 15:03:39 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-07-05 15:05:36 +0200 |
commit | e057e930693e7a340eb3dea1935b65a00c2feeb9 (patch) | |
tree | d7c490f3c1be1c2a590b3c1791306321e8f59d2f /gnu/packages | |
parent | 58f0913fad6fda9e35328785dea3673d39f9db57 (diff) | |
download | guix-e057e930693e7a340eb3dea1935b65a00c2feeb9.tar.gz |
gnu: python-conda-package-handling: Update to 1.7.3.
* gnu/packages/package-management.scm (python-conda-package-handling): Update to 1.7.3. [arguments]: Run all tests in check phase. [native-inputs]: Add python-pytest-mock.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/package-management.scm | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 8fc319d6e2..b475ec7ceb 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -792,7 +792,7 @@ environments.") (define-public python-conda-package-handling (package (name "python-conda-package-handling") - (version "1.6.0") + (version "1.7.3") (source (origin (method git-fetch) @@ -802,7 +802,7 @@ environments.") (file-name (git-file-name name version)) (sha256 (base32 - "0bqbs6a8jbjmbn47n5n1p529cx7pf4vgfnhqca9mflgidfb5i0jf")))) + "1dq6f5ks3cinb355x712bls9bvv6bli6x3c43sdkqvawdw8xgv9j")))) (build-system python-build-system) (arguments `(#:phases @@ -810,22 +810,11 @@ environments.") (add-after 'unpack 'use-unmodified-libarchive (lambda _ (substitute* "setup.py" - (("archive_and_deps") "archive")) - #t)) + (("archive_and_deps") "archive")))) (replace 'check (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "tests" - "-k" - (string-append - ;; TODO: these three fail because the mocker fixture - ;; cannot be found - "not test_rename_to_trash" - " and not test_api_extract_tarball_with_libarchive_import_error" - " and not test_delete_trash" - ;; TODO: this one does not raise an exception when it - ;; should. - " and not test_secure_refusal_to_extract_abs_paths"))))))) + (invoke "pytest" "-vv" "tests")))))) (propagated-inputs `(("python-six" ,python-six) ("python-tqdm" ,python-tqdm))) @@ -835,6 +824,7 @@ environments.") `(("python-cython" ,python-cython) ("python-pytest" ,python-pytest) ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-mock" ,python-pytest-mock) ("python-mock" ,python-mock))) (home-page "https://conda.io") (synopsis "Create and extract conda packages of various formats") |