[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/105: gnu: python-cattrs: Update to 24.1.2.
From: |
guix-commits |
Subject: |
35/105: gnu: python-cattrs: Update to 24.1.2. |
Date: |
Wed, 25 Dec 2024 10:20:48 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 21021ab4a6cb5f4d95e075c96a6325fbfeead4b3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 15 22:00:25 2024 +0100
gnu: python-cattrs: Update to 24.1.2.
* gnu/packages/python-xyz.scm (python-cattrs): Update to 24.1.2.
[arguments]: Disable failing tests; add 'compatibility phase.
[native-inputs]: Add python-msgspec and python-poetry-core.
Change-Id: If198b25a24799b22025c60082ae31fc4e8509a9b
---
gnu/packages/python-xyz.scm | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 29aa1d5682..cd592e5049 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22404,7 +22404,7 @@ strings require only one extra byte in addition to the
strings themselves.")
(define-public python-cattrs
(package
(name "python-cattrs")
- (version "23.2.3")
+ (version "24.1.2")
(source (origin
(method git-fetch) ;for tests
(uri (git-reference
@@ -22413,12 +22413,12 @@ strings require only one extra byte in addition to
the strings themselves.")
(file-name (git-file-name name version))
(sha256
(base32
- "0lrrz4n6ygfyrzn40mxm82kkvgqclfi760zydy4lin3bcv73jqyd"))))
+ "0l806xs0insnvnd1c2l6f6bcaa7wgfrpvbbcyhhsvf2xy9mzq8rd"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "--numprocesses" (number->string (parallel-job-count))
+ '(list "--numprocesses" (number->string (parallel-job-count))
;; Skip all benchmark tests.
"--ignore=bench/test_attrs_collections.py"
"--ignore=bench/test_attrs_nested.py"
@@ -22428,12 +22428,15 @@ strings require only one extra byte in addition to
the strings themselves.")
(string-join
;; XXX: Tests fail with error: AssertionError: assert ...,
;; check why.
- (list "not test_310_optional_field_roundtrip"
+ (list "not test_msgspec_json_converter"
+ "test_structure_simple_from_dict_default"
+ "test_310_optional_field_roundtrip"
"test_310_union_field_roundtrip"
"test_nested_roundtrip"
"test_nested_roundtrip_tuple"
"test_omit_default_roundtrip"
"test_optional_field_roundtrip"
+ ;; See https://github.com/python-attrs/cattrs/issues/575
"test_simple_roundtrip"
"test_simple_roundtrip_defaults"
"test_simple_roundtrip_defaults_tuple"
@@ -22452,13 +22455,21 @@ strings require only one extra byte in addition to
the strings themselves.")
(("dynamic = \\[\"version\"\\]")
(string-append "version = \"" #$version "\""))
;; Just run pytest with no frills
- (("addopts = \"-l.*") "")))))))
+ (("addopts = \"-l.*") ""))))
+ ;; XXX Our python-hypothesis package is too old.
+ (add-after 'unpack 'compatibility
+ (lambda _
+ (substitute* "tests/typed.py"
+ (("characters\\(codec=codec\\)")
+ "characters()")))))))
(native-inputs
(list python-hatchling
python-hatch-vcs
python-hypothesis
python-immutables
python-msgpack
+ python-msgspec
+ python-poetry-core
python-pymongo ;for the bson module
python-pytest
python-pytest-benchmark
- 53/105: gnu: Add python-packaging-legacy., (continued)
- 53/105: gnu: Add python-packaging-legacy., guix-commits, 2024/12/25
- 81/105: gnu: python-pydevd: Disable CI tests., guix-commits, 2024/12/25
- 96/105: gnu: python-httpretty: Enable tests., guix-commits, 2024/12/25
- 100/105: gnu: macs-3: Add missing input., guix-commits, 2024/12/25
- 17/105: gnu: python-flask-restx: Update to 1.3.0., guix-commits, 2024/12/25
- 20/105: gnu: make-torbrowser: Remove bzip2 from inputs., guix-commits, 2024/12/25
- 22/105: gnu: make-torbrowser: Unbundle libwebp., guix-commits, 2024/12/25
- 23/105: gnu: make-torbrowser: Use ffmpeg-7., guix-commits, 2024/12/25
- 27/105: gnu: go-github-com-arceliar-ironwood: Update to v0.0.0-20241210120540-9deb08d9f8f9., guix-commits, 2024/12/25
- 02/105: gnu: txr: Update to 298., guix-commits, 2024/12/25
- 35/105: gnu: python-cattrs: Update to 24.1.2.,
guix-commits <=
- 38/105: gnu: python-pyramid: Update to 2.0.2., guix-commits, 2024/12/25
- 89/105: gnu: python-pandas-2: Remove X., guix-commits, 2024/12/25
- 91/105: gnu: python-gevent: Update to 24.11.1., guix-commits, 2024/12/25
- 82/105: gnu: python-stsci-stimage: Fix build., guix-commits, 2024/12/25
- 86/105: gnu: python-gast: Update to 0.6.0., guix-commits, 2024/12/25
- 90/105: gnu: python-pandas-2: Restrict number of test processes., guix-commits, 2024/12/25
- 85/105: gnu: linkchecker: Update to 10.5.0., guix-commits, 2024/12/25
- 87/105: gnu: python-beniget: Update to 0.4.2.post1., guix-commits, 2024/12/25
- 88/105: gnu: python-pythran: Update to 0.17.0., guix-commits, 2024/12/25
- 93/105: gnu: python-gevent: Propagate greenlet., guix-commits, 2024/12/25