guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 179eb50dcb6b1e23da4878e62981e378629b5aba
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jun 16 08:42:44 2026 +0100
gnu: python-partd: Build from git, skip 2 tests.
* gnu/packages/python-xyz.scm (python-partd):
[source]: Switch to git-fetch.
[arguments] <test-flags>: Skip two tests incompatible with Pandas 3.0.3.
[native-inputs]: Add tzdata-for-tests.
Change-Id: I989df708aa73575e1157416973aa3ce010560b08
---
gnu/packages/python-xyz.scm | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4d6ba695e2..4352997503 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28677,15 +28677,26 @@ they use the same path.")
(version "1.4.2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "partd" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dask/partd/")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0b7h42dfvbrwpg75wzszv1rq3237h1g026v24v10b16wzcxc68nh"))))
+ (base32 "0mwcr2cy0j5j8c9n2wlrlpc5v4za2cdh8jwhm7vpai53lqyvfjlf"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; AttributeError: 'StringDtype' object has no attribute 'str'.
+ ;; See: <https://github.com/dask/partd/issues/82>.
+ #~(list "--deselect=partd/tests/test_pandas.py::test_PandasColumns"
+ "--deselect=partd/tests/test_pandas.py::test_column_selection")))
(native-inputs
(list python-pytest
python-setuptools
- python-versioneer))
+ python-versioneer
+ tzdata-for-tests))
(propagated-inputs
(list python-locket
python-toolz