summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2023-05-11 08:33:02 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:15:41 +0000
commitfdc0fefd46a45b70784a4e3f8900cbe593426a9e (patch)
tree13c3736334bde1c3ec75d67f4e430396e23eed3f /gnu/packages/python-check.scm
parentca945f7c35bbc5d05a6ad7e5baa15f79e0fd0ecc (diff)
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages, either to native-inputs or to propagated inputs if the pkg_resources Python module is loaded at runtime. * guix/build-system/pyproject.scm (default-python): Default to python-sans-pip-wrapper. Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm43
1 files changed, 34 insertions, 9 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 8599d8bf1d..3d8fe98bd4 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -792,8 +792,13 @@ files and/or directories.")
;; Requiring git available.
" and not test_generate_diff_basic"))))
(native-inputs
- (list python-numpy python-pytest python-setuptools-scm))
- (home-page "https://github.com/scientific-python/pytest-doctestplus")
+ (list python-numpy
+ python-pytest
+ python-setuptools-scm
+ python-wheel))
+ (propagated-inputs
+ (list python-setuptools)) ;for pkg_resources
+ (home-page "https://github.com/astropy/pytest-doctestplus")
(synopsis "Pytest plugin with advanced doctest features")
(description
"This package contains a plugin for the Pytest framework that provides
@@ -842,7 +847,9 @@ for interactively selecting and running Pytest tests.")
(list python-pytest
python-pytest-cov
python-pytest-doctestplus
- python-setuptools-scm))
+ python-setuptools-scm
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/astropy/pytest-filter-subpackage")
(synopsis "Pytest plugin for filtering based on sub-packages")
(description
@@ -947,7 +954,10 @@ were inadvertently left open at the end of a unit test.")
"not test_default_behavior"
" and not test_strict_with_decorator"))))
(native-inputs
- (list python-pytest python-setuptools-scm))
+ (list python-pytest
+ python-setuptools
+ python-setuptools-scm
+ python-wheel))
(propagated-inputs
(list python-packaging))
(home-page "https://github.com/astropy/pytest-remotedata")
@@ -1042,6 +1052,7 @@ framework and makes it easy to undo any monkey patching. The fixtures are:
#:test-flags #~(list "-m" "mpl_image_compare")))
(native-inputs
(list python-pytest
+ python-setuptools
python-setuptools-scm
python-wheel))
(propagated-inputs
@@ -2075,7 +2086,11 @@ the implementation of that name.")
(("def test_memory_profiler")
"def __off_test_memory_profiler")))))))
(native-inputs
- (list python-pytest python-pytest-fixture-config python-safety))
+ (list python-pytest
+ python-pytest-fixture-config
+ python-safety
+ python-setuptools
+ python-wheel))
(propagated-inputs (list python-psutil))
(home-page "https://github.com/pythonprofilers/memory_profiler")
(synopsis "Memory profiler for Python")
@@ -2532,7 +2547,7 @@ most situations.")
(native-inputs
(list python-pbr python-ddt python-pytest))
(propagated-inputs
- (list python-aiohttp))
+ (list python-aiohttp python-setuptools))
(home-page "https://github.com/pnuckowski/aioresponses")
(synopsis "Mock out requests made by ClientSession from aiohttp package")
(description
@@ -2780,7 +2795,9 @@ which make writing and running functional and integration tests easier.")
(native-inputs
(list python-jinja2
python-pytest
- python-tox))
+ python-tox
+ python-setuptools
+ python-wheel))
(home-page "https://nox.thea.codes/")
(synopsis "Flexible test automation")
(description
@@ -2933,8 +2950,12 @@ parametrize. This plugin allows you to use all four.")
(sha256
(base32 "1ncpd74hmsz4sadvjg99fnfscxpgh3mc2siini0dhxzwgwdkk5i7"))))
(build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-pytest-asyncio
+ python-setuptools
+ python-wheel))
(propagated-inputs (list python-httpx))
- (native-inputs (list python-pytest python-pytest-asyncio))
(home-page "https://colin-b.github.io/pytest_httpx/")
(synopsis "Pytest plugin to mock httpx")
(description "This package provides a pytest fixture to mock httpx
@@ -3011,7 +3032,11 @@ running acceptance tests on headless servers.")
;; skip test that uses python-pint
;; pint has many dependencies
"not test_whitelists_with_python")))))))
- (native-inputs (list python-pytest python-pytest-cov))
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-setuptools
+ python-wheel))
(propagated-inputs (list python-toml))
(home-page "https://github.com/jendrikseipp/vulture")
(synopsis "Find dead Python code")