[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
346/361: gnu: python-cloudpickle: Update to 3.1.0.
From: |
guix-commits |
Subject: |
346/361: gnu: python-cloudpickle: Update to 3.1.0. |
Date: |
Fri, 22 Nov 2024 06:01:12 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 9133302e4322e7692837278c0be7eef5498aaa00
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 17 19:37:57 2024 +0000
gnu: python-cloudpickle: Update to 3.1.0.
This change merges python-cloudpickle-testpkg and python-cloudpickle
under the same variable name - python-cloudpickle, which was split 3y
ago. Build and check phases passed just fine.
* gnu/packages/python-xyz.scm (python-cloudpickle): Update to 3.1.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-flit-core. Remove
python-cloudpickle-testpkg, python-tornado-6.
(python-cloudpickle-testpkg): Delete variable.
Change-Id: I4f3a31f127a9079e50a0334ee55d50f61e726009
---
gnu/packages/python-xyz.scm | 45 ++++++++-------------------------------------
1 file changed, 8 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b498d854ad..6da680bdf4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29191,10 +29191,10 @@ that is accessible to other projects developed in
Cython.")
pure-Python.")
(license license:asl2.0)))
-(define python-cloudpickle-testpkg
+(define-public python-cloudpickle
(package
- (name "python-cloudpickle-testpkg")
- (version "1.6.0")
+ (name "python-cloudpickle")
+ (version "3.1.0")
(source
(origin
;; Archive on pypi does not include test infrastructure.
@@ -29204,41 +29204,12 @@ pure-Python.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "1584d21d4rcpryn8yfz0pjnjprk4zm367m0razdcz8cjbsh0dxp6"))))
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda _ (chdir "tests/cloudpickle_testpkg"))))))
- (home-page "https://github.com/cloudpipe/cloudpickle")
- (synopsis "Extended pickling support for Python objects")
- (description
- "Cloudpickle makes it possible to serialize Python constructs not
-supported by the default pickle module from the Python standard library. It
-is especially useful for cluster computing where Python expressions are
-shipped over the network to execute on remote hosts, possibly close to the
-data.")
- (license license:bsd-3)))
-
-(define-public python-cloudpickle
- (package
- (inherit python-cloudpickle-testpkg)
- (name "python-cloudpickle")
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (invoke "pytest" "-s" "-vv")
- (format #t "test suite not run~%")))))))
+ (base32 "16z0jdg5b1r23vw1l0bwsg40zcmnrbznr4frjac9kq5j6jm4fw6d"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list ;; For tests.
- python-cloudpickle-testpkg python-psutil python-pytest
- python-tornado-6))
+ (list python-flit-core
+ python-psutil
+ python-pytest))
(home-page "https://github.com/cloudpipe/cloudpickle")
(synopsis "Extended pickling support for Python objects")
(description
- 253/361: gnu: python-pooch: Adjust inputs., (continued)
- 253/361: gnu: python-pooch: Adjust inputs., guix-commits, 2024/11/22
- 261/361: gnu: python-pymysql: Adjust inputs., guix-commits, 2024/11/22
- 267/361: gnu: python-unyt: Adjust inputs., guix-commits, 2024/11/22
- 280/361: gnu: Remove beets-next., guix-commits, 2024/11/22
- 281/361: gnu: beets: Use G-expressions., guix-commits, 2024/11/22
- 275/361: gnu: python-orthopy: Adjust inputs., guix-commits, 2024/11/22
- 289/361: gnu: Remove python-poetry-core-1.0., guix-commits, 2024/11/22
- 301/361: gnu: Remove python-pytest-next., guix-commits, 2024/11/22
- 307/361: gnu: python-pytest-forked: Disable tests., guix-commits, 2024/11/22
- 299/361: gnu: python-pytest: Update to 8.3.3., guix-commits, 2024/11/22
- 346/361: gnu: python-cloudpickle: Update to 3.1.0.,
guix-commits <=
- 349/361: gnu: python-flask: Update to 3.1.0., guix-commits, 2024/11/22
- 321/361: gnu: python-py: Improve package style., guix-commits, 2024/11/22
- 357/361: gnu: python-httpbin: Update to 0.10.2., guix-commits, 2024/11/22
- 268/361: gnu: python-yt: Remove relax-requirements phase., guix-commits, 2024/11/22
- 276/361: gnu: python-accupy: Adjust inputs., guix-commits, 2024/11/22
- 282/361: gnu: python-mutagen: Update to 1.47.0., guix-commits, 2024/11/22
- 284/361: gnu: beets: Update to 2.0.0., guix-commits, 2024/11/22
- 293/361: gnu: beets-bandcamp: Add maintenance note., guix-commits, 2024/11/22
- 303/361: gnu: python-ptyprocess: Update to 0.7.0., guix-commits, 2024/11/22
- 311/361: gnu: python-coverage: Update to 7.6.7., guix-commits, 2024/11/22