mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pytest: Update to 8.4.1.
* gnu/packages/check.scm (python-pytest): Update to 8.4.1. [arguments] <test-flags>: Skip only 2 tests. [propagated-inputs]: Remove python-attrs-bootstrap, python-exceptiongroup, python-py, and python-tomli; add python-pygments-bootstrap. [native-inputs]: Remove python-nose and python-pytest-bootstrap; add python-attrs-bootstrap. Change-Id: Ib13c2578cc5fdd8508a83ed97ea2471ab756f541
This commit is contained in:
parent
d5c25202a1
commit
ab7b1687aa
1 changed files with 11 additions and 22 deletions
|
@ -1667,48 +1667,37 @@ standard library.")
|
||||||
(define-public python-pytest
|
(define-public python-pytest
|
||||||
(package
|
(package
|
||||||
(name "python-pytest")
|
(name "python-pytest")
|
||||||
(version "8.3.3")
|
(version "8.4.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pytest" version))
|
(uri (pypi-uri "pytest" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1081l7yr9z61ghjkrm8qw85ndg2hkb5fc1ibjnkhi0v4pl3q3fbh"))))
|
(base32 "0g593wjl45yck5g1xi8q31s08arxiapw67ipv6g3axs82xlzsrvw"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-flags
|
#:test-flags
|
||||||
;; Tests requiring Pygment, introduces cycle.
|
;; Just 2 tests fail:
|
||||||
#~(list "-k" (string-append
|
;; 1. access to "/usr/" is required.
|
||||||
"not test_code_highlight"
|
;; 2. assertion fails to compare length of the list.
|
||||||
" and not test_code_highlight_continuation"
|
;;
|
||||||
" and not test_code_highlight_custom_theme"
|
;; 3780 passed, 119 skipped, 3 deselected, 11 xfailed, 1 xpassed
|
||||||
" and not test_code_highlight_invalid_theme"
|
#~(list "-k" "not test_remove_dir_prefix and not test_len")))
|
||||||
" and not test_code_highlight_invalid_theme_mode"
|
|
||||||
" and not test_code_highlight_simple"
|
|
||||||
" and not test_color_yes"
|
|
||||||
" and not test_comparisons_handle_colors"
|
|
||||||
" and not test_empty_NO_COLOR_and_FORCE_COLOR_ignored"
|
|
||||||
" and not test_remove_dir_prefix"))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
;; Tests need the "regular" bash since 'bash-final' lacks `compgen`.
|
;; Tests need the "regular" bash since 'bash-final' lacks `compgen`.
|
||||||
(list bash
|
(list bash
|
||||||
|
python-attrs-bootstrap
|
||||||
python-hypothesis
|
python-hypothesis
|
||||||
python-nose
|
|
||||||
;; python-pygments ; introduces cycle
|
|
||||||
python-pytest-bootstrap
|
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-setuptools-scm
|
python-setuptools-scm
|
||||||
python-xmlschema
|
python-xmlschema
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-attrs-bootstrap
|
(list python-iniconfig
|
||||||
python-iniconfig
|
|
||||||
python-packaging-bootstrap
|
python-packaging-bootstrap
|
||||||
python-exceptiongroup
|
|
||||||
python-pluggy
|
python-pluggy
|
||||||
python-py
|
python-pygments-bootstrap)) ;it is in installation dependencies
|
||||||
python-tomli))
|
|
||||||
(home-page "https://docs.pytest.org/en/latest/")
|
(home-page "https://docs.pytest.org/en/latest/")
|
||||||
(synopsis "Python testing library")
|
(synopsis "Python testing library")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue