~ruther/guix-local

9466dea10d7cc009afa164d0a2a5d04395b3129f — Vinicius Monego a year ago adb09ed
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
1 files changed, 4 insertions(+), 14 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +4 -14
@@ 3895,26 3895,16 @@ teams extension for python-openid.")
(define-public python-priority
  (package
    (name "python-priority")
    (version "1.3.0")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "priority" version))
       (sha256
        (base32 "1gpzn9k9zgks0iw5wdmad9b4dry8haiz2sbp6gycpjkzdld9dhbb"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (add-installed-pythonpath inputs outputs)
             (invoke "pytest" "-vv" "test" "-k"
                     ;; This test exceeded the Hypothesis deadline.
                     "not test_period_of_repetition"))))))
        (base32 "1h0qpa949bxx7za95v1apwnngkrngi695cwx8wchn3cd3d7xarf9"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-hypothesis python-pytest python-pytest-cov
           python-pytest-xdist))
     (list python-pytest python-setuptools python-wheel))
    (home-page "https://python-hyper.org/projects/priority/en/latest/")
    (synopsis "Pure-Python implementation of the HTTP/2 priority tree")
    (description