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
This commit is contained in:
Lars-Dominik Braun 2023-05-11 08:33:02 +02:00 committed by Sharlatan Hellseher
parent ca945f7c35
commit fdc0fefd46
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
36 changed files with 555 additions and 226 deletions

View file

@ -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")