[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/16: gnu: python-pooch: Update to 1.8.1.
From: |
guix-commits |
Subject: |
03/16: gnu: python-pooch: Update to 1.8.1. |
Date: |
Mon, 29 Apr 2024 06:39:00 -0400 (EDT) |
rekado pushed a commit to branch wip-python-team
in repository guix.
commit be410b4a7d708fee0797089a67151dfc47c0f848
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 23 20:26:49 2024 +0200
gnu: python-pooch: Update to 1.8.1.
* gnu/packages/python-xyz.scm (python-pooch): Update to 1.8.1.
[arguments]: Enable tests, but not all of them.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-platformdirs; remove python-appdirs and
python-packaging.
Change-Id: I3a0f73db5c0d78c9cee24c73402e9b1e34e26b4a
---
gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 40 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e02ba50e9f..7f52c3f850 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26833,18 +26833,52 @@ inferring type information using compile-time
introspection.")
(define-public python-pooch
(package
(name "python-pooch")
- (version "1.3.0")
+ (version "1.8.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pooch" version))
(sha256
- (base32 "1618adsg9r8fsv422sv35z1i723q3a1iir5v7dv2sklh4pl4im1h"))))
- (build-system python-build-system)
+ (base32 "0w32fhfp67k0ip0gxjpw8kxdx9ghybxmqkv9sbwy99nrgl4n7vr7"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f)) ;requires online data
- (propagated-inputs
- (list python-appdirs python-packaging python-requests))
+ (list
+ #:test-flags
+ '(list "-k"
+ (string-append
+ ;; We don't have the test archives
+ "not test_decompress"
+ " and not test_multiple_unpacking"
+ " and not test_unpack_members_with_leading_dot"
+ " and not test_unpacking"
+ " and not test_unpacking_members_then_no_members"
+ " and not test_unpacking_wrong_members_then_no_members"
+ ;; These all require access to the internet
+ " and not test_check_availability"
+ " and not test_check_availability_invalid_downloader"
+ " and not test_check_availability_on_ftp"
+ " and not test_create_and_fetch"
+ " and not test_downloader_arbitrary_progressbar"
+ " and not test_fetch_with_downloader"
+ " and not test_figshare_data_repository_versions"
+ " and not test_load_registry_from_doi"
+ " and not test_pooch_corrupted"
+ " and not test_pooch_custom_url"
+ " and not test_pooch_download"
+ " and not test_pooch_download_retry"
+ " and not test_pooch_download_retry_fails_eventually"
+ " and not test_pooch_download_retry_off_by_default"
+ " and not test_pooch_logging_level"
+ " and not test_pooch_update"
+ " and not test_retrieve"
+ " and not test_retrieve_default_path"
+ " and not test_retrieve_fname"
+ " and not test_stream_download")
+ "--ignore=pooch/tests/test_downloaders.py")))
+ (propagated-inputs
+ (list python-packaging python-platformdirs python-requests))
+ (native-inputs
+ (list python-pytest))
(home-page "https://github.com/fatiando/pooch")
(synopsis "Manage your Python library's sample data files")
(description
- 08/16: gnu: Add rust-blas-sys-0.7., (continued)
- 08/16: gnu: Add rust-blas-sys-0.7., guix-commits, 2024/04/29
- 11/16: gnu: Add python-nbmake., guix-commits, 2024/04/29
- 13/16: gnu: Add python-multiscale-spatial-image., guix-commits, 2024/04/29
- 09/16: gnu: Add rust-blas-0.22., guix-commits, 2024/04/29
- 07/16: gnu: Add rust-lapack-0.19., guix-commits, 2024/04/29
- 01/16: gnu: Add python-dask-image., guix-commits, 2024/04/29
- 15/16: gnu: Add rust-amd-0.2., guix-commits, 2024/04/29
- 16/16: gnu: Add python-clarabel., guix-commits, 2024/04/29
- 14/16: gnu: Add python-param., guix-commits, 2024/04/29
- 04/16: gnu: python-xarray-datatree: Add missing input., guix-commits, 2024/04/29
- 03/16: gnu: python-pooch: Update to 1.8.1.,
guix-commits <=
- 12/16: gnu: Add python-colorcet., guix-commits, 2024/04/29
- 10/16: gnu: Add python-pyct., guix-commits, 2024/04/29