mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
92fba6c72a
commit
a8eb940e76
1 changed files with 26 additions and 16 deletions
|
@ -10487,27 +10487,37 @@ by pycodestyle.")
|
||||||
(define-public python-dirty-equals
|
(define-public python-dirty-equals
|
||||||
(package
|
(package
|
||||||
(name "python-dirty-equals")
|
(name "python-dirty-equals")
|
||||||
(version "0.7.0")
|
(version "0.8.0")
|
||||||
(source (origin
|
(source
|
||||||
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/samuelcolvin/dirty-equals")
|
(url "https://github.com/samuelcolvin/dirty-equals")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1jp9jbfs90m8jkpcvi798zxxx49a94rzn8gki9fraqhbqxkv76qd"))))
|
||||||
"1hw044d6q0ij8hrrbp6wbdb49xbyjd22viansy817hpmd0yf85ja"))))
|
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags
|
||||||
;; This test requires pytest-examples, which in turn requires
|
;; This test requires pytest-examples, which in turn requires
|
||||||
;; python-ruff, which is difficult to package because it is
|
;; python-ruff, which is difficult to package because it is written in
|
||||||
;; written in Rust (TODO: Enable when Ruff is in Guix!).
|
;; Rust (TODO: Enable when Ruff is in Guix!).
|
||||||
(list #:test-flags #~'("--ignore" "tests/test_docs.py")))
|
#~(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
|
(native-inputs
|
||||||
(list python-hatchling
|
(list python-hatchling
|
||||||
python-pydantic
|
;; python-pydantic ; introduces cycle, optinoal
|
||||||
python-pytest))
|
python-pytest))
|
||||||
(propagated-inputs (list python-pytz))
|
(propagated-inputs
|
||||||
|
(list python-pytz))
|
||||||
(home-page "https://dirty-equals.helpmanual.io/")
|
(home-page "https://dirty-equals.helpmanual.io/")
|
||||||
(synopsis "Do dirty (but useful) things with equals")
|
(synopsis "Do dirty (but useful) things with equals")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue