guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

300/361: gnu: Remove python-pytest-8.


From: guix-commits
Subject: 300/361: gnu: Remove python-pytest-8.
Date: Thu, 21 Nov 2024 06:29:38 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 165e67c2c5d49685d291486d7b2f88a1778a476d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 10 15:37:13 2024 +0000

    gnu: Remove python-pytest-8.
    
    * gnu/packages/check.scm (python-pytest-8): Set variable as deprecated.
    
    * gnu/packages/astronomy.scm (python-asdf) [native-inputs]: Remove
    python-pytest-8; add python-pytest.
    
    * gnu/packages/astronomy.scm (python-healpy) [native-inputs]: Remove
    python-pytest-8; add python-pytest.
    
    * gnu/packages/python-check.scm (python-pytest-cython)
    [propagated-inputs]: Remove python-pytest-8; add python-pytest.
    
    Change-Id: I89a6fbbc0152a6c2f0a9a22f8398a6bc4f9e86cb
---
 gnu/packages/astronomy.scm    |  4 ++--
 gnu/packages/check.scm        | 30 ------------------------------
 gnu/packages/python-check.scm |  2 +-
 3 files changed, 3 insertions(+), 33 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5707cd08f7..06769d3ff1 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1616,7 +1616,7 @@ Main features:
            python-psutil
            ;; 3.3.0+ requries newer version of pytest, see
            ;; <https://github.com/asdf-format/asdf/issues/1804>.
-           python-pytest-8
+           python-pytest
            python-pytest-doctestplus
            python-pytest-remotedata
            python-pytest-xdist
@@ -2431,7 +2431,7 @@ from a cosmological simulation.")
      (list nss-certs-for-test
            pkg-config
            python-cython-3
-           python-pytest-8
+           python-pytest
            python-pytest-astropy-header
            python-pytest-cython
            ;python-pytest-doctestplus
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 6902affa43..bcd15a8dfb 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1589,36 +1589,6 @@ and functions, detailed info on failing assert 
statements, modular fixtures,
 and many external plugins.")
     (license license:expat)))
 
-(define-public python-pytest-8
-  (package/inherit python-pytest
-    (name "python-pytest")
-    (version "8.2.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "pytest" version))
-       (sha256
-        (base32 "0xvr25qvmdh6z03jpgg24adhgqkvkal2g2v8vk63j6909q8bhjyy"))))
-    (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:test-flags
-      #~(list "-k" (string-append
-                    "not test_code_highlight_continuation"
-                    " and not test_code_highlight"
-                    " 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"))))
-    (propagated-inputs
-     (modify-inputs (package-propagated-inputs python-pytest)
-       (append python-exceptiongroup)
-       (replace "python-pluggy" python-pluggy-next)))))
-
 (define-public python-pytest-next
   (package/inherit python-pytest
     (name "python-pytest")
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 7564b4ffcc..e8443eb169 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1967,7 +1967,7 @@ plain (undecoratored) native coroutine tests.")
            python-cython-3
            python-setuptools))
     (propagated-inputs
-     (list python-pytest-8))
+     (list python-pytest))
     (home-page "https://github.com/lgpage/pytest-cython";)
     (synopsis "Cython extension modules testing plugin")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]