Christopher Baines
632fc47d93
gnu: python-pytest-mypy: Fix tests on powerpc64le-linux.
...
As a test was timing out, so apply the same workaround as used for riscv64.
* gnu/packages/check.scm (python-pytest-mypy)[arguments]: Patch the test
timeout for powerpc64le-linux, as well as for riscv64-linux.
Change-Id: I6d771a092f0fb50c9870446a152d14c98d6f96e6
2025-03-25 18:22:37 +00:00
Aaron Covrig
5bf7d80535
gnu: googlebenchmark: Update to v1.9.1.
...
* gnu/packages/check.scm (googlebenchmark): Update to 1.9.1.
Change-Id: Idb03c9ad2b7e2f66f08ed35255a55c5ab8f46ebb
Signed-off-by: Greg Hogan <code@greghogan.com>
2025-03-21 19:35:38 +00:00
Efraim Flashner
25d99dd80a
gnu: python-pytest-mypy: Extend the test timeout on riscv64-linux.
...
* gnu/packages/check.scm (python-pytest-mypy)[arguments]: When building
for riscv64-linux add a phase to extend the test timeout.
Change-Id: I9e4ba00bf9b8feb7e52d0d0914c18c2308662e79
2025-03-03 10:43:36 +02:00
Efraim Flashner
b14b93621d
gnu: python-pytest-xprocess: Skip some tests on riscv64-linux.
...
* gnu/packages/check.scm (python-pytest-xprocess)[arguments]: When
building for riscv64-linux add some test-flags to skip some tests.
Change-Id: Ie9712c660b774f67a48bfbc44ed08682ab3e2083
2025-03-03 08:38:46 +02:00
Vivien Kraus
cdf4908c47
gnu: Add munit.
...
* gnu/packages/check.scm (munit): New variable.
Change-Id: I193e55ef4ceec1d62f595dd779f7b3d76154fad4
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-03-02 20:31:31 +01:00
gemmaro
de6f8b1b90
gnu: Add tidyall.
...
* gnu/packages/check.scm (tidyall): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I46d47d28760c40d5c68b4f2f4a81c625068c238a
2025-02-22 15:25:04 +01:00
Efraim Flashner
66daf46b41
gnu: Fix some misspellings.
...
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
2025-02-19 11:21:47 +02:00
Sharlatan Hellseher
9a52976e30
gnu: go-github-com-robfig-cron: Rename variable.
...
* gnu/packages/golang.scm (go-github-com-robfig-cron): Rename variable
to go-github-com-robfig-cron-v3 follow go.mod import style path to
improve importer.
[arguments] <import-path>: Change to "github.com/robfig/cron/v3".
* gnu/packages/check.scm (actionlint) [native-inputs]: Remove
go-github-com-robfig-cron; add go-github-com-robfig-cron-v3.
* gnu/packages/web.scm (poussetaches) [propagated-inputs]: Remove
go-github-com-robfig-cron; add go-github-com-robfig-cron-v3.
Change-Id: Iac02e0f256d37d8d11bfd03b7fe1d14b1d1c7894
2025-01-21 23:47:39 +00:00
Sharlatan Hellseher
0a783758b6
gnu: actionlint: Update to 1.7.6.
...
* gnu/packages/check.scm (actionlint): Update to 1.7.6.
[native-inputs]: Add go-github-com-bmatcuk-doublestar-v4,
go-github-com-mattn-go-shellwords, go-github-com-yuin-goldmark, and
go-golang-org-x-sys.
Change-Id: I138d692c107ac170c4580a00a19827ed61a158d8
2025-01-21 23:47:39 +00:00
Sharlatan Hellseher
8d4f5743d2
gnu: gotestsum: Move to check.
...
* gnu/packages/golang.scm (gotestsum): Move from here ...
* gnu/packages/check.scm: ... to here.
Change-Id: I83f22e1f7dc1ad43340a02b60b75bf4e98b65474
2025-01-21 23:42:12 +00:00
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