summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-07-01 07:25:11 -0300
committerVinicius Monego <monego@posteo.net>2025-07-02 18:38:05 -0300
commit9466dea10d7cc009afa164d0a2a5d04395b3129f (patch)
treef3b034ac0b9d840065852f926e000b7c1dce38e0 /gnu/packages/python-web.scm
parentadb09ed12eb7a933b0b20c289c038b6f31b2dbe6 (diff)
gnu: python-priority: Update to 2.0.0.
* gnu/packages/python-web.scm (python-priority): Update to 2.0.0. [build-system]: Use pyproject-build-system. [arguments]<#:phases>: Do not override the 'check' phase. Enable all tests. [native-inputs]: Remove python-hypothesis, python-pytest-cov, python-pytest-xdist. Add python-setuptools, python-wheel. Change-Id: Idfeeccdec3e31b600d7d69020afc55a5a66a3dee
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm18
1 files changed, 4 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c4129b8b927..e51c097eeb2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3895,26 +3895,16 @@ teams extension for python-openid.")
3895(define-public python-priority 3895(define-public python-priority
3896 (package 3896 (package
3897 (name "python-priority") 3897 (name "python-priority")
3898 (version "1.3.0") 3898 (version "2.0.0")
3899 (source 3899 (source
3900 (origin 3900 (origin
3901 (method url-fetch) 3901 (method url-fetch)
3902 (uri (pypi-uri "priority" version)) 3902 (uri (pypi-uri "priority" version))
3903 (sha256 3903 (sha256
3904 (base32 "1gpzn9k9zgks0iw5wdmad9b4dry8haiz2sbp6gycpjkzdld9dhbb")))) 3904 (base32 "1h0qpa949bxx7za95v1apwnngkrngi695cwx8wchn3cd3d7xarf9"))))
3905 (build-system python-build-system) 3905 (build-system pyproject-build-system)
3906 (arguments
3907 `(#:phases
3908 (modify-phases %standard-phases
3909 (replace 'check
3910 (lambda* (#:key inputs outputs #:allow-other-keys)
3911 (add-installed-pythonpath inputs outputs)
3912 (invoke "pytest" "-vv" "test" "-k"
3913 ;; This test exceeded the Hypothesis deadline.
3914 "not test_period_of_repetition"))))))
3915 (native-inputs 3906 (native-inputs
3916 (list python-hypothesis python-pytest python-pytest-cov 3907 (list python-pytest python-setuptools python-wheel))
3917 python-pytest-xdist))
3918 (home-page "https://python-hyper.org/projects/priority/en/latest/") 3908 (home-page "https://python-hyper.org/projects/priority/en/latest/")
3919 (synopsis "Pure-Python implementation of the HTTP/2 priority tree") 3909 (synopsis "Pure-Python implementation of the HTTP/2 priority tree")
3920 (description 3910 (description