[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
360/361: gnu: python-dirty-equals: Update to 0.8.0.
From: |
guix-commits |
Subject: |
360/361: gnu: python-dirty-equals: Update to 0.8.0. |
Date: |
Thu, 21 Nov 2024 06:29:51 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit a481dc1875595b1af28165acf01adf18eb96b5fd
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Nov 18 20:07:17 2024 +0000
gnu: python-dirty-equals: Update to 0.8.0.
* gnu/packages/python-xyz.scm (python-dirty-equals): Update to
0.8.0. Adjust package indentation.
[arguments]<test-flags>: Silent more tests.
[native-inputs]: Remove python-pydantic, to break the cycle.
Change-Id: I9499d79a4fc82e692aeed5b95fd69dd63e457635
---
gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++++++++----------------
1 file changed, 26 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c8d4a8582b..bab3f6a46a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10461,27 +10461,37 @@ by pycodestyle.")
(define-public python-dirty-equals
(package
(name "python-dirty-equals")
- (version "0.7.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/samuelcolvin/dirty-equals")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1hw044d6q0ij8hrrbp6wbdb49xbyjd22viansy817hpmd0yf85ja"))))
+ (version "0.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/samuelcolvin/dirty-equals")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jp9jbfs90m8jkpcvi798zxxx49a94rzn8gki9fraqhbqxkv76qd"))))
(build-system pyproject-build-system)
(arguments
- ;; This test requires pytest-examples, which in turn requires
- ;; python-ruff, which is difficult to package because it is
- ;; written in Rust (TODO: Enable when Ruff is in Guix!).
- (list #:test-flags #~'("--ignore" "tests/test_docs.py")))
+ (list
+ #:test-flags
+ ;; This test requires pytest-examples, which in turn requires
+ ;; python-ruff, which is difficult to package because it is written in
+ ;; Rust (TODO: Enable when Ruff is in Guix!).
+ #~(list "--ignore=tests/test_docs.py"
+ ;; Optional typing check with Pydantic.
+ "--ignore=tests/test_other.py"
+ ;; TODO: Some timezones are missing in PyTZ, remove constrain
+ ;; when updated.
+ "-k" (string-append "not test_is_datetime_zoneinfo"
+ " and not test_is_now_tz"
+ " and not test_tz"))))
(native-inputs
(list python-hatchling
- python-pydantic
+ ;; python-pydantic ; introduces cycle, optinoal
python-pytest))
- (propagated-inputs (list python-pytz))
+ (propagated-inputs
+ (list python-pytz))
(home-page "https://dirty-equals.helpmanual.io/")
(synopsis "Do dirty (but useful) things with equals")
(description
- 314/361: gnu: python-openpyxl: Update to 3.1.5., (continued)
- 314/361: gnu: python-openpyxl: Update to 3.1.5., guix-commits, 2024/11/21
- 331/361: gnu: python-attrs: Update to 24.2.0., guix-commits, 2024/11/21
- 347/361: gnu: python-blinker: Update to 1.9.0., guix-commits, 2024/11/21
- 342/361: gnu: python-matplotlib: Disable more failing tests., guix-commits, 2024/11/21
- 346/361: gnu: python-cloudpickle: Update to 3.1.0., guix-commits, 2024/11/21
- 350/361: gnu: python-graphviz: Update to 0.20.3., guix-commits, 2024/11/21
- 352/361: gnu: python-apispec: Update to 6.7.1., guix-commits, 2024/11/21
- 353/361: gnu: python-flask-restful: Update to 0.3.10., guix-commits, 2024/11/21
- 355/361: gnu: Remove python-flask-jwt., guix-commits, 2024/11/21
- 357/361: gnu: python-httpbin: Update to 0.10.2., guix-commits, 2024/11/21
- 360/361: gnu: python-dirty-equals: Update to 0.8.0.,
guix-commits <=
- 89/361: gnu: python-nbformat: Update to 5.10.4., guix-commits, 2024/11/21
- 54/361: gnu: python-versioneer: Add missing input and use minimal git., guix-commits, 2024/11/21
- 68/361: gnu: Add python-isoduration., guix-commits, 2024/11/21
- 224/361: gnu: python-kiwisolver: Update to 1.4.6., guix-commits, 2024/11/21
- 234/361: gnu: python-jsonpickle: Adjust inputs., guix-commits, 2024/11/21
- 330/361: gnu: meson-python: Update to 0.17.1., guix-commits, 2024/11/21
- 356/361: gnu: python-apispec-webframeworks: Update to 1.2.0., guix-commits, 2024/11/21
- 358/361: gnu: python-pytest-httpbin: Update to 2.1.0., guix-commits, 2024/11/21
- 359/361: gnu: python-pytest-mpl: Update to 0.17.0., guix-commits, 2024/11/21
- 99/361: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/11/21