summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-25 19:02:50 -0300
committerVinicius Monego <monego@posteo.net>2025-06-26 00:41:59 -0300
commitefc99eaed995761658ce5a99f88a3f3a233caae3 (patch)
treee6f5def7295c3f5fcde4dc6b24a7c3adb6de0654
parent2cd0016328b84fb2181de4fbc217a3adcaae1114 (diff)
gnu: python-bidict: Update to 0.23.1.
* gnu/packages/python-xyz.scm (python-bidict): Update to 0.23.1. [source]: Fetch from GitHub. [build-system]: Use pyproject-build-system. [native-inputs]: Remove python-coverage, python-hypothesis, python-py, python-pytest-cov, python-setuptools-scm, python-sortedcontainers, python-sphinx, python-sphinx-autodoc-typehints, python-tox. Add python-pytest-xdist, python-setuptools, python-wheel. [arguments]: Delete phase 'relax-reqs'. Do not override the 'check' phase. Change-Id: I518f1d1212781e8c3eaa12e760dfad66638e811c
-rw-r--r--gnu/packages/python-xyz.scm37
1 files changed, 12 insertions, 25 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dd6ff9ea82..97ad5dae64 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3785,37 +3785,24 @@ etc.")
(define-public python-bidict
(package
(name "python-bidict")
- (version "0.21.2")
+ (version "0.23.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "bidict" version))
+ (method git-fetch) ; no tests in PyPI.
+ (uri (git-reference
+ (url "https://github.com/jab/bidict")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g"))))
- (build-system python-build-system)
+ (base32 "1qsbxjjsrks3icyq19afr5y47zdrfb0cvaadpprgcszq2ilihkaq"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-coverage
- python-hypothesis
- python-py
- python-pytest
+ (list python-pytest
python-pytest-benchmark
- python-pytest-cov
- python-setuptools-scm
+ python-pytest-xdist
+ python-setuptools
python-sortedcollections
- python-sortedcontainers
- python-sphinx
- python-sphinx-autodoc-typehints
- python-tox))
- (arguments
- `(#:phases (modify-phases %standard-phases
- (add-after 'unpack 'relax-reqs
- (lambda _
- (substitute* "setup.py"
- (("sortedcollections < 2") "sortedcollections"))
- #t))
- (replace 'check
- (lambda _ (invoke "./run_tests.py"))))))
+ python-wheel))
(home-page "https://bidict.readthedocs.io")
(synopsis "Bidirectional mapping library")
(description "The @code{bidict} library provides several data structures