guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4cd5e933d0470a1656666112f7067b270b42d56f
Author: Hartmut Goebel <[email protected]>
AuthorDate: Sun Oct 19 12:28:39 2025 +0200
gnu: python-scikit-misc: Remove development inputs.
* gnu/packages/python-science.scm (python-scikit-misc):
[arguments][phases][fix-pytest-config]: New phase.
[propagated-inputs]: Remove python-twine.
[native-inputs]: Remove python-pytest-cov.
Change-Id: I4f52ff2819775d65fd205f6222c8fba854161580
---
gnu/packages/python-science.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d4a89c2e9e..ce33eb570c 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2951,6 +2951,11 @@ logic, also known as grey logic.")
'(list "--pyargs" "skmisc")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pytest-config
+ (lambda _
+ ;; Drop test coverage requirements.
+ (substitute* "pyproject.toml"
+ (("--cov(-[^ ]*)?=[^ ]*") ""))))
(add-after 'unpack 'fix-version
(lambda _
(call-with-output-file "skmisc/_version.py"
@@ -2966,15 +2971,13 @@ logic, also known as grey logic.")
(propagated-inputs (list meson-python
python-numpy
python-numpydoc
- python-spin
- python-twine))
+ python-spin))
(native-inputs (list gfortran
pkg-config
python-cython-3
python-meson-python
python-numpy
python-pytest
- python-pytest-cov
python-setuptools
python-wheel))
(home-page "https://has2k1.github.io/scikit-misc/stable")