Sharlatan Hellseher
100efdbd7a
gnu: python-testpath: Update to 0.6.0.
...
* gnu/packages/check.scm (python-testpath): Update to 0.6.0.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Remove 'relax-requirements. Use default 'build,
'check and 'install.
[native-inputs]: Remove python-pypa-build.
Change-Id: I510407b86a938151c20272bb8396529823f3fb48
2025-01-20 21:38:03 +01:00
Ricardo Wurmus
1e490f2eb1
gnu: Add python-pytest-asyncio-0.21.
...
* gnu/packages/check.scm (python-pytest-asyncio-0.21): New variable.
Change-Id: I00a1c54acbe774965be013462906d4616252dc99
2025-01-20 21:38:03 +01:00
Sharlatan Hellseher
b81d96ac95
gnu: Remove python-pytest-lazy-fixture.
...
Failed to build, have no users in Guix, not maintained for 3 years.
See <https://github.com/TvoroG/pytest-lazy-fixture/issues/63 >.
* gnu/packages/check.scm (python-pytest-lazy-fixture): Delete variable.
Change-Id: Icce5010704f20a5530ff9fd702e5c0cc694cc0ec
2025-01-20 21:37:59 +01:00
宋文武
91a66a7e69
gnu: python-scripttest: Disable tests.
...
* gnu/packages/check.scm (python-scripttest)[arguments]: Disable tests.
Change-Id: I941551e2ef18b9669e43353be8a87a71009767e0
2025-01-20 21:37:51 +01:00
Ricardo Wurmus
247ab0a786
gnu: python-pytest-tornado5: Add missing inputs.
...
* gnu/packages/check.scm (python-pytest-tornado5)[native-inputs]: Add
python-setuptools and python-wheel.
Change-Id: I0b64ac5f3e50893cb3fab518c9779d2cd7b9c6a9
2025-01-20 21:37:38 +01:00
Ricardo Wurmus
8c06ed66d0
gnu: python-testtools: Update to 2.7.2.
...
* gnu/packages/check.scm (python-testtools-bootstrap):
Update to 2.7.2.
[propagated-inputs]: Drop labels.
[native-inputs]: Add python-hatchling, python-hatch-vcs, and
python-setuptools.
[build-system]: Use pyproject-build-system.
(python-testtools): Update to 2.7.2.
[arguments]: Disable some tests.
[native-inputs]: Add python-hatch-vcs, python-hatchling, python-twisted, and
python-setuptools.
Change-Id: I7c065b490229ecf4c11257c709b439521ef14222
2025-01-20 21:37:28 +01:00
Ashvith Shetty
359cb222f5
gnu: Add trompeloeil.
...
* gnu/packages/check.scm (trompeloeil): New variable.
Change-Id: I442cd0b5e84e8f9956b16b7d9235f67d9f5f693e
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2025-01-06 18:49:49 +08:00
Gabriel Wicki
178d82d508
gnu: Fix whitespace issues in Python package descriptions.
...
This mainly addresses `double-space after sentence end period' and `trailing
white space' issues.
* gnu/packages/astronomy.scm (python-tweakwcs): Fix description.
* gnu/packages/check.scm (python-pytest-subtesthack): Fix description.
* gnu/packages/python-xyz.scm (python-qnorm, python-uncertainties,
python-sre-yield): Fix description.
* gnu/packages/qt.scm (python-pyqt6-sip): Fix description.
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-01-05 15:38:44 -08:00
Danny Milosavljevic
1fc78ed02d
gnu: python-flexmock: Update to 0.12.2.
...
Fixes <https://issues.guix.gnu.org/74969 >.
* gnu/packages/check.scm (python-flexmock): Update to 0.12.2.
[build-system]: Add pyproject-build-system.
[native-inputs]: Add poetry, python-pytest.
Change-Id: Ibca72c88d6d3400e8f4f058831e4ca9c7e2cbf3c
2024-12-31 08:48:28 +01:00
Nicolas Graves
b79f59f198
gnu: python-coverage: Update to 7.6.8.
...
* gnu/packages/check.scm (python-coverage): Update to 7.6.8.
[arguments]<#:test-flags>: Describe why tests fail.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:41 +00:00
Sharlatan Hellseher
e7c8ca0c59
gnu: python-mock: Enable tests.
...
* gnu/packages/check.scm (python-mock): Enable tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: I51db06c53d1baa578da421a30049d440134127d7
2024-12-13 20:28:40 +00:00
Peter Polidoro
f579551b9b
gnu: python-mock: Update to 5.1.0
...
* gnu/packages/check.scm (python-mock): Update to 5.1.0.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ia76e0a7d1781cb52560748ef7eeb1a77feb1acb6
2024-12-13 20:28:39 +00:00
Sharlatan Hellseher
f0ef42b3fa
gnu: Add python-pytest-asyncio-0.23.
...
* gnu/packages/check.scm (python-pytest-asyncio-0.23): New variable.
Change-Id: I4de42bee146ac1e1a10de7a3b605734c2386465f
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
46038c4f44
gnu: python-pytest-relaxed: Update to 2.0.2.
...
* gnu/packages/check.scm (python-pytest-relaxed): Update to 2.0.2.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I8c94f48bc7ad97421ba4043334d3d2315f5ec391
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
def0034a9b
gnu: python-pytest-mypy-plugins: Update to 3.1.2.
...
* gnu/packages/check.scm (python-pytest-mypy-plugins): Update to 3.1.2.
Improe package style.
[arguments]<tests>: Enable the most of the tests.
<phases>: Use custom 'check phase.
[propagated-inputs]: Remove python-chevron and python-setuptools; add
python-jinja2, python-jsonschema, python-packaging, and python-tomlkit.
[native-inputs]: Add python-setuptools.
Change-Id: Ice79f75706bf57b97e8e0e8a3b6a54cd6be03946
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
de3a139b3c
gnu: python-pytest-regressions: Update to 2.5.0.
...
* gnu/packages/check.scm (python-pytest-regressions): Update to 2.5.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-tox; add python-setuptools.
[description]: Adjust fill collumn.
Change-Id: If571fae93dfbdf8543633f57fe5e597e1667ab25
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
860f7ad11b
gnu: python-pylint: Update to 3.3.1.
...
* gnu/packages/check.scm (python-pylint): Update to 3.3.1. Refresh
package style.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase. Add 'set-home phase.
<test-flags>: Move test selection/exclusion logic here.
[native-inputs]: Add python-pytest-timeout, python-setuptools, and
python-wheel.
Change-Id: I2cde539f5f29a23d4037232937e419bbfd47d372
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
06cb215d9d
gnu: python-pytest-random-order: Update to 1.1.1.
...
* gnu/packages/check.scm (python-pytest-random-order): Update to 1.1.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Disable some failing tests.
[native-inputs]: Add python-pytest-xdist, python-setuptools, python-py, and
python-wheel.
Change-Id: Iab4d940379f7995669f5ead9980bb8779c3266e4
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
1305fc004a
gnu: Add python-pytest-lazy-fixtures.
...
* gnu/packages/check.scm (python-pytest-lazy-fixtures): New variable.
Change-Id: I366ede16bf72f99b38b1edc43535a2c969822787
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
f35a8c2416
gnu: Remove python-pytest-catchlog.
...
It's unmaintained for 7y, failing to build and not in use by any other
packages in Guix.
* gnu/packages/check.scm (python-pytest-catchlog): Delete variable.
Change-Id: Ia16c03a965d7b6fc493e950b41cdbc3a8898c1f2
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
7fd0b73989
gnu: python-pytest-asyncio: Update to 0.24.0.
...
* gnu/packages/check.scm (python-pytest-asyncio): Update to 0.24.0.
[source]: Swap to PyPI tarball as a fresh release contains tests.
[arguments]<tests>: Enable them.
<phases>: Remove 'pretend-version phase.
Change-Id: I67f11641fba485a94f5617292a4d75ec25af8420
2024-12-13 20:23:27 +00:00
Sharlatan Hellseher
045fcc78ca
gnu: python-pytest-httpserver: Update to 1.1.0.
...
* gnu/packages/check.scm (python-pytest-httpserver): Update to
1.1.0. Adjust indentation.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Remove 'fix-library-loading phase, and use default
'check phase.
[native-inputs]: Add python-poetry-core and python-toml.
Change-Id: Id0857d4042a3edfb676a46b8c20d051aa4cb1f93
2024-12-13 20:23:26 +00:00
Sharlatan Hellseher
1da372e3c2
gnu: python-pytest-localserver: Update to 0.9.0.post0.
...
* gnu/packages/check.scm (python-pytest-localserver): Update to
0.9.0.post0. Adjust indentations and style.
[source]: Adjust URI as it's updated in PyPI.
[buid-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-six; add nss-certs-for-test,
python-setuptools, python-setuptools-scm, and python-wheel.
Change-Id: I7e19ebcc76d6b68fe79702cfdf90b94c4757df9b
2024-12-13 20:23:24 +00:00
Sharlatan Hellseher
058a17ed5e
gnu: python-pytest-mypy: Update to 0.10.3.
...
* gnu/packages/check.scm (python-pytest-mypy): Update to 0.10.3.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ic0483fe3c430c00ea82e9f54e60632ce48f79e75
2024-12-13 20:23:23 +00:00
Sharlatan Hellseher
5469691551
gnu: python-flaky: Update to 3.8.1.
...
* gnu/packages/check.scm (python-flaky): Update to 3.8.1. Enable most of
the tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Silent some failing tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: I649ff32ad27ffcca288e2929388a5b787f31072f
2024-12-13 20:23:22 +00:00
Sharlatan Hellseher
be8a34bd60
gnu: python-pytest-xprocess: Update to 1.0.2.
...
* gnu/packages/check.scm (python-pytest-xprocess): Update to
1.0.2. Refresh style.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ia1fb63da8adc35284e2d0a529d12db7cd270cbaa
2024-12-13 20:19:11 +00:00
Sharlatan Hellseher
40cc362550
gnu: python-pytest-cov: Update to 6.0.0.
...
* gnu/packages/check.scm (python-pytest-cov): Update to 6.0.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I90f6eed232e0156d6d90b53ae87b423bad2f6f79
2024-12-13 20:19:11 +00:00
Sharlatan Hellseher
4deb664c5d
gnu: python-coverage: Update to 7.6.7.
...
* gnu/packages/check.scm (python-coverage): Update to 7.6.7.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Enable them. <test-flags>: Skip some failing
tests. <phases>: Add patch-pyproject, fix-conftest.
[native-inputs]: Add python-pytest, python-pytest-xdist, python-flaky,
python-setuptools, and python-wheel.
Change-Id: Ib69fbec45876f5f13e0e925c7768cef8fd6eb52c
2024-12-13 20:19:11 +00:00
Sharlatan Hellseher
b6f774e550
gnu: python-pytest-xdist: Update to 3.6.1.
...
* gnu/packages/check.scm (python-pytest-xdist): Update to 3.6.1.
[source]: Adjust URI as it's changed in PyPI.
[arguments]<test-flags>: Adjust failing test.
Change-Id: I889972a2e439e715f58928132d666039679613fd
2024-12-13 20:19:10 +00:00
Sharlatan Hellseher
aa31723ce0
gnu: python-pytest-mock: Update to 3.14.0.
...
* gnu/packages/check.scm (python-pytest-mock): Update to
3.14.0. Simplify package.
[snippet]: Remove it.
[build-system]: Swap to pyproject-build-system.
[argument]<phases>: Use default 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ia7eb5d6ee6a10de53a106909946e90b72b12fe99
2024-12-13 20:19:10 +00:00
Sharlatan Hellseher
5cdd45f0f1
gnu: python-pytest-forked: Disable tests.
...
* gnu/packages/check.scm (python-pytest-forked): Disable tests.
Tests depends on python-py which is in maintenance mode and should not
be used in projects.
Change-Id: I6f1df45b121dc21f3af09dd9476c34d31c09a06e
2024-12-13 20:19:10 +00:00
Sharlatan Hellseher
2b13ecf290
gnu: python-pytest-timeout: Update to 2.3.1.
...
* gnu/packages/check.scm (python-pytest-timeout): Update to 2.3.1.
[build-system]: Swap pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[propagated-inputs]: Remove python-pytest-cov.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I59da6f90ef8839bce239b6a3199dc58d4a901e81
2024-12-13 20:19:10 +00:00
Sharlatan Hellseher
a2fbf6879c
gnu: Remove python-pytest-next.
...
* gnu/packages/check.scm (python-pytest-next): Delete variable.
* gnu/packages/python-science.scm (python-pandas-2) [native-inputs]:
Remove python-pytest-next; add python-pytest.
* gnu/packages/python-xyz.scm (python-hy) [native-inputs]: Remove
python-pytest-next; add python-pytest.
Change-Id: I57e14aa11c2e3cd1d8e8119f566b49fd902c7957
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
8f36612d5b
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
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
cf5bd827cf
gnu: python-pytest: Update to 8.3.3.
...
* gnu/packages/check.scm (python-pytest): Update to 8.3.3.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase and remove
'prepend-version phase.
<test-flags>: Disable some tests requiring python-pygments adding which
introduces cycle.
[propagated-inputs]: Remove python-pluggy; add python-exceptiongroup and
python-pluggy-next.
[native-inputs]: Add python-setuptools and python-wheel.
* gnu/packages/check.scm (python-pytest-bootstrap) [native-inputs]: Add
python-setuptools and python-wheel.
* gnu/packages/patches/pytest-fix-unstrable-exception-test.patch: Remove file.
* gnu/local.mk: Deregister patch.
Change-Id: Ie8825ea1f788bbae40aefa467b6a94b8c4210cbc
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
973f803122
gnu: python-nose-exclude: Adjust iputs.
...
* gnu/packages/check.scm (python-nose-exclude) [native-inputs]: Add
python-setuptools and python-wheel.
Change-Id: I325c473275fd20f0bc36c5c5f46f65f662d7ef96
2024-12-13 20:19:05 +00:00
Sharlatan Hellseher
2b3539e329
gnu: python-behave-web-api: Update to 2.0.1.
...
* gnu/packages/check.scm (python-behave-web-api): Update to 2.0.1.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: If0202516a578a8fb90470dcc1a8d58c901f16169
2024-12-13 20:19:03 +00:00
Sharlatan Hellseher
53d60540fa
gnu: behave: Update to 1.2.7.dev5.
...
* gnu/packages/check.scm (behave): Update to 1.2.7.dev5.
[native-inputs]: Add python-assertpy, python-pytest-html,
python-setuptools, and python-wheel.
Change-Id: I238fe5aea580ae8e884d085d4dccfe6f4030b030
2024-12-13 20:19:03 +00:00
Sharlatan Hellseher
6d13c785fc
gnu: python-parameterized-next: Adjust inputs.
...
* gnu/packages/check.scm (python-parameterized-next) [native-inputs]:
Add python-setuptools and python-wheel.
Change-Id: Ibe0b92cbd85dd169547a1f0f928782f02da9a262
2024-12-13 20:19:01 +00:00
Nicolas Graves
d0333933b1
gnu: python-pytest-enabler: Break dependency cycle.
...
* gnu/packages/check.scm
(python-pytest-enabler-bootstrap): Delete variable.
(python-pytest-enabler): Redefine variable.
* gnu/packages/python-xyz.scm
(python-jaraco-classes)[native-inputs]: Remove
python-pytest-enabler-bootstrap.
(python-jaraco-context-bootstrap): Delete variable.
(python-jaraco-context): Redefine variable.
(python-jaraco-functools-bootstrap): Delete variable.
(python-jaraco-functools): Redefine variable.
Change-Id: I96649093009beb7a3d0e9716eced778d4fc800e2
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:54 +00:00
Nicolas Graves
6ac41542e9
gnu: behave: Move to pyproject-build-system.
...
* gnu/packages/check.scm (behave):
[build-system]: Move to pyproject-build-system.
[arguments]: Remove uneeded field.
Change-Id: I9ea513fb49b71d9187461ef55c2a6ecab2844a1d
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:51 +00:00
Nicolas Graves
652e7578ce
gnu: python-pytest-runner: Improve package style.
...
* gnu/packages/check.scm (python-pytest-runner):
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Remove check phase replacement. Update
<#:tests?> refusal comment.
[native-inputs]: Add python-pip, python-pypa-build,
python-setuptools and python-wheel.
Change-Id: Id36e7ed4a3cec6098f0877f48f3fbcbd8007f3c3
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:51 +00:00
Ricardo Wurmus
ba4750dfd0
gnu: python-pytest-xdist: Add setuptools and wheel.
...
* gnu/packages/check.scm (python-pytest-xdist)[native-inputs]: Add
python-setuptools and python-wheel.
Change-Id: I0aa7130a6e1bc0741edb164fd145bc20d754c007
2024-12-13 20:18:36 +00:00
Ricardo Wurmus
92581c8a2e
gnu: Add python-pytest-mypy-testing.
...
* gnu/packages/check.scm (python-pytest-mypy-testing): New variable.
Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312
2024-12-13 20:18:31 +00:00
Lars-Dominik Braun
6d97c15911
gnu: Add python-setuptools/python-wheel where necessary.
...
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.
Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13 20:18:25 +00:00
Lars-Dominik Braun
0ce36a9cf3
gnu: python-pytest-xdist: Disable failing test.
...
* gnu/packages/check.scm (python-pytest-xdist)[arguments]: Skip failing
test.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
fdc0fefd46
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
2024-12-13 20:15:41 +00:00
Efraim Flashner
892cfdeffb
gnu: umockdev: Fix build with newer meson.
...
* gnu/packages/check.scm (umockdev)[arguments]: Add a phase to not error
on unused-variables from the code generated by vala.
Change-Id: I614304dcac9065f4299004e9e4e458d71d308e44
2024-11-27 21:16:28 +02:00
Sharlatan Hellseher
d3b010c38c
gnu: Respect --cores build argument in some python packages.
...
Reported by Greg Hogan <code@greghogan.com> in #74445 .
* gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy,
python-photutils, python-poppy, python-regions, python-reproject,
python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf,
python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels,
python-webbpsf, python-yt):
[arguments]<test-flags>: Adjust "-n" or "--numprocess" to respect
"--cores" build argument.
* gnu/packages/check.scm (python-crosshair): Likewise.
* gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli,
python-s3transfer): Likewise.
* gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask):
Likewise.
Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5
2024-11-23 15:55:05 +00:00
Troy Figiel
3ffb386e3f
gnu: Add python-crosshair.
...
* gnu/packages/check.scm (python-crosshair): New variable.
Change-Id: I7af183df882049c19d562cd15a23f3f3233309a9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-10-26 11:11:48 +01:00