gnu: python-devtools: Simplify.

* gnu/packages/python-xyz.scm (python-devtools)[arguments]: Enable one
additional test; delete obsolete phase 'relax-requirements.

Change-Id: I5dcf88954cdf8d37e522c425bf7bef4c29913205
This commit is contained in:
Ricardo Wurmus 2024-12-17 12:32:44 +01:00
parent 6076135cba
commit 64c7d93184
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -33733,18 +33733,8 @@ and have a maximum lifetime built-in.")
(list
#:test-flags
;; Disable some failing tests.
#~(list "-k" (string-append "not test_print_subprocess"
" and not test_simple")
"--ignore=tests/test_insert_assert.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
;; Pygments 2.12.0 is available.
(("2.15.0") "2.12.0")
;; executing 0.8.2 is available.
(("1.1.1") "0.8.2")))))))
'(list "-k" "not test_print_subprocess"
"--ignore=tests/test_insert_assert.py")))
(native-inputs
(list python-hatchling python-pytest python-pytest-mock))
(propagated-inputs