summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-12 14:36:25 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-17 00:57:38 +0100
commit99d6d65544589cf9d4298f046de81c53dcd50f3c (patch)
treedc821333b603997a997ea5f1914d9a67b57cd42a
parentd85d668e17164427d9465d0df16f5257dbe931ae (diff)
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
-rw-r--r--gnu/packages/check.scm33
1 files changed, 11 insertions, 22 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 9086709b19..c908757df1 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1669,48 +1669,37 @@ standard library.")
(define-public python-pytest
(package
(name "python-pytest")
- (version "8.3.3")
+ (version "8.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest" version))
(sha256
- (base32 "1081l7yr9z61ghjkrm8qw85ndg2hkb5fc1ibjnkhi0v4pl3q3fbh"))))
+ (base32 "0g593wjl45yck5g1xi8q31s08arxiapw67ipv6g3axs82xlzsrvw"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- ;; Tests requiring Pygment, introduces cycle.
- #~(list "-k" (string-append
- "not test_code_highlight"
- " and not test_code_highlight_continuation"
- " and not test_code_highlight_custom_theme"
- " and not test_code_highlight_invalid_theme"
- " 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"))))
+ ;; Just 2 tests fail:
+ ;; 1. access to "/usr/" is required.
+ ;; 2. assertion fails to compare length of the list.
+ ;;
+ ;; 3780 passed, 119 skipped, 3 deselected, 11 xfailed, 1 xpassed
+ #~(list "-k" "not test_remove_dir_prefix and not test_len")))
(native-inputs
;; Tests need the "regular" bash since 'bash-final' lacks `compgen`.
(list bash
+ python-attrs-bootstrap
python-hypothesis
- python-nose
- ;; python-pygments ; introduces cycle
- python-pytest-bootstrap
python-setuptools
python-setuptools-scm
python-xmlschema
python-wheel))
(propagated-inputs
- (list python-attrs-bootstrap
- python-iniconfig
+ (list python-iniconfig
python-packaging-bootstrap
- python-exceptiongroup
python-pluggy
- python-py
- python-tomli))
+ python-pygments-bootstrap)) ;it is in installation dependencies
(home-page "https://docs.pytest.org/en/latest/")
(synopsis "Python testing library")
(description