1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 12:00:35 +02:00
Commit graph

728 commits

Author SHA1 Message Date
Sharlatan Hellseher
fdf07c14d4
gnu: python-hypothesis-next: Withdraw from deprecation.
* gnu/packages/check.scm (python-hypothesis-next): Do not deprecate and
point to the latest version instead.

Change-Id: Ie7224e104c8b1270afa546ffdd3654ca44e2171e
2025-04-24 12:41:43 +01:00
Sharlatan Hellseher
b1ac5682bf
gnu: python-hypothesmith: Move to python-check.
* gnu/packages/check.scm (python-hypothesmith): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: Ib894b5fb76aa8db6fc4a343e0f28d90f0c74fc72
2025-04-24 04:53:42 +01:00
Nicolas Graves
8a28bb5a98
gnu: python-hypothesmith: Update to 0.2.0.
* gnu/packages/check.scm (python-hypothesmith): Update to 0.2.0.
  [build-system]: Switch to pyproject-build-system.
  [arguments]<test-flags>: Ignore failing tests.
  <phases>: Add 'patch-lark-dependency test.
  [propagated-inputs]: Replace python-lark-parser by python-lark.
  [native-inputs]: Add python-black, python-parso, python-pytest,
  python-pytest-cov, python-setuptools, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-24 04:53:41 +01:00
Sharlatan Hellseher
0d1286f0e4
gnu: python-crosshair: Move to python-check.
* gnu/packages/check.scm (python-crosshair): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: I56a246ddc6dee0a28d0432fabc4fe4b2bcea6bc0
2025-04-22 22:13:34 +01:00
Troy Figiel
7bc7351860
gnu: python-crosshair: Update to 0.0.86.
* gnu/packages/check.scm (python-crosshair): Update to 0.0.86.
[source] <pypi-uri>: Adjust name as PyPI archive has been changed.
[phases]{relax-requirements}: Remove relaxation for typing-inspect.

Change-Id: Ida2887ad8dc140e174532dccc69542af26f0cffb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-22 22:06:40 +01:00
Nicolas Graves
8d6d1dc611
gnu: python-gixy: Rename package to python-gixy-ng.
* gnu/packages/check.scm (python-gixy): Deprecate package, defaults to
python-gixy-ng.
* gnu/packages/check.scm (python-gixy-ng): New variable.

Change-Id: I20da38898ddbcb7c87078521bcf6e0b208d95836
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:32 +02:00
Sharlatan Hellseher
3fd29e131b
gnu: python-crosshair: Update to 0.0.84, fix build.
* gnu/packages/check.scm (python-crosshair): Update to 0.0.84.
[phases] {fix-dependencies}: Adjust version check for z3-solver.
[propagated-inputs]: Add python-importlib-metadata, python-packaging,
and python-typing-extensions.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I31a1ee4dbd57aa6c3382006c7f02772ff205277f
2025-04-16 11:46:22 +02:00
Sharlatan Hellseher
8618fd5283
gnu: Remove python-nose-randomly.
Deprecated: "This repository was archived by the owner on Feb 8,
2019. It is now read-only."; fails to build, has no user in Guix.

* gnu/packages/check.scm (python-nose-randomly): Delete variable.

Change-Id: I1866da62f092fefc7f6167fa8f80ad33402bfb40
2025-04-16 11:46:19 +02:00
Nicolas Graves
de961c303b
gnu: Remove python-pytest-pep8.
This package is outdated.

* gnu/packages/check.scm (python-pytest-pep8): Delete variable.
(python-pytest-flakes)[native-inputs]: Remove python-pytest-pep8.
* gnu/packages/machine-learning.scm (python-keras,
python-keras-applications)[native-inputs]: Remove python-pytest-pep8.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:15 +02:00
Nicolas Graves
885b745e15
gnu: behave: Remove python-nose native-input.
* gnu/packages/check.scm (behave)[native-inputs]: Remove python-nose.
2025-04-16 11:46:14 +02:00
Nicolas Graves
0165b28b86
gnu: Remove python-rednose.
This package is broken with the latest python version, and is easy to
remove.

* gnu/packages/check.scm (python-rednose): Delete variable.
* gnu/packages/python-xyz.scm (python-sure) and
* gnu/packages/web.scm (python-httpretty):
[arguments]: Add 'remove-rednose-dependency in {phases}.
[native-inputs]: Remove python-rednose.
2025-04-16 11:46:14 +02:00
Nicolas Graves
31eb603647
gnu: python-pytest-runner: Update to 6.0.1.
* gnu/packages/check.scm (python-pytest-runner): Update to 6.0.1.
[arguments]: Remove {phases}.
[native-inputs]: Remove python-pip, python-pypa-build. Add
python-pytest-checkdocs, python-pytest-enabler,
python-types-setuptools.
2025-04-16 11:46:14 +02:00
Ricardo Wurmus
e3cfbd0c15
gnu: python-pytest-flakes: Use pyproject-build-system.
* gnu/packages/check.scm (python-pytest-flakes)[build-system]: Use
pyproject-build-system.
[arguments]: Remove custom 'check phase; use #:test-flags instead.
[native-inputs]: Remove python-pytest-pep8; add python-setuptools and
python-wheel.

Change-Id: I510ed41d7750e4024c404322c60deae4291dc9b7
2025-04-16 11:46:13 +02:00
Sharlatan Hellseher
85ec639473
gnu: python-pytest-regressions: Update to 2.7.0.
* gnu/packages/check.scm (python-pytest-regressions): Update to 2.7.0.
[arguments] <test-flags>: Do not fail on deprecation warning.
[native-inputs]: Remove python-matplotlib, python-pillow, and
python-restructuredtext-lint.

Change-Id: I63c9295e7b926edd591d11aba1e89ea7f7cda8c6
2025-04-16 11:46:10 +02:00
Sharlatan Hellseher
e0dad8b7a1
gnu: Remove python-parameterized-next.
* gnu/packages/check.scm (python-parameterized-next): Delete variable.
* gnu/packages/machine-learning.scm (onnx) [native-inputs]: Remove
python-parameterized-next, add python-parameterized.

Change-Id: I5065dab6374ae86d7cc6fd8cbaa75cdbb9f89716
2025-04-16 11:46:09 +02:00
Sharlatan Hellseher
5b82522e08
gnu: python-parameterized: Update to 0.9.0.
* gnu/packages/check.scm (python-parameterized): Update to 0.9.0. Fix build.
[build-system]: Swap to pyproject-buid-system.
[arguments] <phases>: Add 'fix-tests, and use default 'check.
[native-inputs]: Remove python-nose; add python-pytest,
python-setuptools, and python-wheel.

Change-Id: Id7a96312efbd4f957d0a72f25c5ca9515455de37
2025-04-16 11:46:09 +02:00
Florent Pruvost
0f69a4df16
gnu: cppcheck: Update to 2.17.1.
* gnu/packages/check.scm (cppcheck): Update to 2.17.1.
Replace ‘cppcheck-disable-char-signedness-test.patch’ by
‘cppcheck-fix-basedir-test.patch’.
* gnu/packages/patches/cppcheck-disable-char-signedness-test.patch: Remove.
* gnu/packages/patches/cppcheck-fix-basedir-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Change-Id: Iebd33e2966ef30a3cd5b7b157f1051fcacbe1884
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-04-14 17:27:29 +02:00
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