Commit graph

728 commits

Author SHA1 Message Date
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
Liliana Marie Prikler
93ceb2d901
gnu: rapidcheck: Fix pkg-config libs.
Using rapidcheck as a dependency in a project currently results in a linker
error, because the pkg-config file is missing relevant linker flags.

* gnu/packages/patches/rapidcheck-fix-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/check.scm (rapidcheck)[patches]: Use it here.
2024-09-29 11:10:30 +02:00
Sharlatan Hellseher
759b74b852
gnu: actionlint: Update to 1.7.2.
* gnu/packages/check.scm (actionlint): Update to 1.7.2.
[arguments]: <#:build-flags>: Add version to "-ldflags".

Change-Id: I2cc668556286b24ae231e3fe4bad468c1d8e8544
2024-09-23 22:17:05 +01:00
Sharlatan Hellseher
43e0baa5db
gnu: actionlint: Improve package style.
* gnu/packages/check.scm (actionlint): Adjust indentation.
[arguments]: Use list style.
[native-inputs]: Merge with [inputs] as for Golang they are only
required during build time for the final command.

Change-Id: I754c1631be653304c8ebac8263745b77df6ad890
2024-09-23 21:58:07 +01:00
gemmaro
d3a25d8608
gnu: Add toml-test.
* gnu/packages/check.scm (toml-test): New variable.

Change-Id: I287cc46f371597e8557cb4eb255391d2c6766ddf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-09-23 21:52:17 +01:00
Tobias Geerinckx-Rice
8f6a5af3d7
gnu: actionlint: Update to 1.7.1.
* gnu/packages/check.scm (actionlint): Update to 1.7.1.

Change-Id: I288c5e1793691b070d2acfbcf556dd9e4c104c04
2024-09-08 02:00:00 +02:00
David Elsing
8f6919f252
gnu: Add python-parameterized-next.
* gnu/packages/check.scm (python-parameterized-next): New variable.
2024-09-06 11:46:24 +02:00
Efraim Flashner
a69b63cc73
gnu: python-lit: Update to 18.1.8.
* gnu/packages/check.scm (python-lit): Update to 18.1.8.

Change-Id: I7f77079c83c0caa42b3ddfc8e1f12373c13aaca6
2024-08-31 10:45:42 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.

Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31 10:45:42 +02:00
Ludovic Courtès
43e6dc3cda
gnu: libfaketime: Support compilation with glibc 2.39 on i686-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: Add
‘switch-libc-call’ phase when not ‘target-64bit?’.
In ‘pre-check’ phase, delete ‘test_exclude_mono.sh’ on 32-bit platforms.

Change-Id: Ia4c0d1d13cdfa6028f3e11c63e76122a99a84e4d
2024-08-31 10:45:41 +02:00
宋文武
aa8ef46414
gnu: guile-proba: Fix build.
* gnu/packages/check.scm (guile-proba)[arguments]: Don't refer to nonexistent
'install' phase.

Change-Id: I2ef650c15f3f0d2640e746771667b20cfecb87ae
2024-08-31 10:45:10 +02:00
Nicolas Goaziou
9a2dca2e97
gnu: unittest-cpp: Fix "Version" setting in ".pc" file.
* gnu/packages/check.scm (unittest-cpp)[arguments]<#:configure-flags>: Add
Provide a "Version" value in ".pc" file for pkg-config checks.

Change-Id: I934ef3d83d50876be8ab157ba52d8812ed33ba2e
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:45:00 +02:00
Maxim Cournoyer
44fe64fe5f
gnu: Add kyua.
* gnu/packages/check.scm (kyua): New variable.

Change-Id: Ic3a74a27c05b099bef6acfb4e0c96d2ee3defc31
2024-08-31 10:44:57 +02:00
Maxim Cournoyer
86d5774605
gnu: Add atf.
* gnu/packages/check.scm (atf): New variable.
* gnu/packages/patches/atf-execute-with-shell.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I37a57069380309382bc0ff24977a1fd165985f5e
2024-08-31 10:44:56 +02:00
Ludovic Courtès
edab591daa
gnu: checkmake: Fix typo.
Fixes a regression introduced in
7a149c6003.

* gnu/packages/check.scm (checkmake)[arguments]: Fix typo
for #:install-source?.

Change-Id: Iaec646632fb342a50d93ab0b1a09f073e06d59b7
2024-08-21 18:54:45 +02:00
gemmaro
7a149c6003
gnu: Add checkmake.
* gnu/packages/check.scm (checkmake): New variable.

Change-Id: Ic60c5c6d6cb66ff3a5760e11df741c5a4d7e7a4d
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-21 14:46:38 +01:00
Sharlatan Hellseher
d7d779a3ef
Merge remote-tracking branch 'origin/go-team'
Change-Id: Ib66e48c4cb84e9e97ebcec334ab0b9f3dbfb1457
2024-08-08 13:05:56 +01:00
Sharlatan Hellseher
b5c33f99e3
gnu: Add python-pytest-8.
* gnu/packages/check.scm (python-pytest-8): New variable.

Change-Id: Ie584a48a2749cc7b196e373fe4e6e08f47165620
2024-07-30 10:30:45 +01:00
Sören Tempel
46a64c7fdd
gnu: klee-uclibc: Only build on x86_64 Linux.
* gnu/packages/check.scm (klee-uclibc): Add supported-systems.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
ed726598fc
gnu: klee: Only build on x86_64 Linux.
* gnu/packages/check.scm (klee): Add supported-systems.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
842517477b
gnu: klee: Only strip bin directory.
This avoid several warnings to be emitted by strip(1) when attempting
to strip .bca (i.e. LLVM bitcode) files shipped in /lib/klee/runtime/.

* gnu/packages/check.scm (klee): Set #:strip-directories.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
187b6df6f1
gnu: klee: Enable the test suite.
* gnu/packages/check.scm (klee): Enable all tests.
[arguments]: Patch lit configuration and set #:test-target.
<#:configure-flags?>: Enable system and unit tests, configure gtest.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
661d5eeb8e
gnu: klee: Wrap klee-stats for Python dependencies.
* gnu/packages/check.scm (klee): Wrap klee-stats.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:01 +02:00
Sharlatan Hellseher
058e0cc75a
gnu: go-github-com-google-go-cmp-cmp: Rename variable.
* gnu/packages/golang.scm (go-github-com-google-go-cmp-cmp): Rename
variable to go-github-com-google-go-cmp, which reflects go.mod import
path and improves importer performance.

(go-github-com-zclconf-go-cty, go-golang-org-x-vuln,
go-google-golang-org-protobuf, go-gotest-tools-assert,
go-gotest-tools-internal-source, go-gotest-tools-internal-format,
gofumpt, gopls, gotestsum): Swap go-github-com-google-go-cmp-cmp to
go-github-com-google-go-cmp in inputs, propagated-inputs or
native-inputs.

* gnu/packages/golang-check.scm (go-github-com-frankban-quicktest,
go-github-com-google-go-cmdtest): Likewise.

* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2,
go-github-com-aws-aws-sdk-go-v2-config, go-github-com-aws-smithy-go,
go-github-com-go-jose-go-jose-v3,
go-github-com-makeworld-the-better-one-go-gemini,
go-golang-org-x-oauth2, go-gopkg-in-square-go-jose-v2): Likewise.

* gnu/packages/golang-xyz.scm (go-github-com-goccy-go-yaml): Likewise.

* gnu/packages/check.scm (actionlint): Likewise.
* gnu/packages/databases.scm (sqls): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipld-go-ipld-prime,
go-github-com-whyrusleeping-cbor-gen): Likewise.
* gnu/packages/web.scm (go-github-com-itchyny-gojq): Likewise.

Change-Id: Ie6eeba936f7da404d70fbbaad34f5b43aec4e05b
2024-07-25 21:00:58 +01:00