Commit graph

315 commits

Author SHA1 Message Date
Sharlatan Hellseher
8596af6b0d
gnu: python-slotscheck: Update to 0.19.0.
* gnu/packages/python-check.scm (python-slotscheck): Update to 0.19.0.
Improve package style.
[source]{url}: Use direct string of URL instead of home-page field.
[native-inputs]: Remove python-pydantic; add python-ujson.

Change-Id: I9ea14cb694f9dd7e3330b9f8e015621053d70d0b
2024-12-13 20:28:38 +00:00
Sharlatan Hellseher
befea34619
gnu: python-vcrpy: Update to 6.0.2.
* gnu/packages/python-check.scm (python-vcrpy): Update to 6.0.2.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[native-inputs]: Remove python-black, python-coverage, python-flake8,
and python-tox; add nss-certs-for-test, python-setuptools, and
python-wheel.

Change-Id: Ie0e4fcd41bed09232c589a9486449f62377ae87e
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
fa830bdd09
gnu: python-pytest-trio: Update to 0.8.0.
* gnu/packages/python-check.scm (python-pytest-trio): Update to 0.8.0.
[native-inputs]: Remove python-pytest-cov.

Change-Id: I6efe427aa12d4a4b069ac66370adf0ddcdee95dd
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
e5a6faeb12
gnu: Remove python-typeguard-4.
* gnu/packages/python-xyz.scm (python-typeguard-4): Delete variable.
* gnu/packages/python-check.scm (python-icontract) [native-inputs]:
Remove python-typeguard-4; add python-typeguard.
* gnu/packages/python-science.scm (python-pandera) [propagated-inputs]:
Remove python-typeguard-4; add python-typeguard.

Change-Id: Ie20deee06629452c804fa6f62b1bd1f67038bc86
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
7b7b0563e2
gnu: python-pytest-remotedata: Fix tests.
* gnu/packages/python-check.scm (python-pytest-remotedata): Fix tests.
[arguments]<test-flags>: Ignore one more test, enable parallel tests.
[native-inputs]: Add python-pytest-xdist.

Change-Id: Ib5f58f415491ea4f5090af8bf47d31584edb037b
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
7427ff48be
gnu: python-pytest-metadata: Update to 3.1.1.
* gnu/packages/python-check.scm (python-pytest-metadata): Update to 3.1.1.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-hatchling and python-hatch-vcs.

Change-Id: If6d335a10a8eafcbab09e6149f8117647f95990f
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
c5a45b3a8f
gnu: python-pytest-flask: Update to 1.3.0.
* gnu/packages/python-check.scm (python-pytest-flask): Update to 1.3.0.
[build-system]: Swap to pyproject-build-system.
[propagated-inputs]: Add python-flask.
[native-inputs]: Remove python-flask and python-werkzeug; add
python-setuptools and python-wheel.

Change-Id: I73beecdcb9b954cc406fbfb7cac3cb4614c299ae
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
52ad47b9cb
gnu: python-pytest-doctestplus: Update to 1.2.1.
* gnu/packages/python-check.scm (python-pytest-doctestplus): Update to 1.2.1.
[arguments]<test-flags>: Enable tests requiring git.
<phases>: Add 'patch-git-path phase.
[native-inputs]: Add git-minimal/pinned.

Change-Id: If9fbec52481cc86581058e379e2f4f82ad7f1b2c
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
c443318dad
gnu: python-pytest-flake8: Update to 1.3.0.
* gnu/packages/python-check.scm (python-pytest-flake8): Update to 1.3.0.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I4fc09e232585d3c92d27609e5d2d10c9d01bc7a5
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
92fba6c72a
gnu: python-pytest-mpl: Update to 0.17.0.
* gnu/packages/python-check.scm (python-pytest-mpl): Update to 0.17.0.
[propagated-inputs]: Remove python-nose.

Change-Id: Iecf1eae467d958353a4b16512150a229283a92c2
2024-12-13 20:23:27 +00:00
Sharlatan Hellseher
3355db5729
gnu: python-mypy: Update to 1.13.0.
* gnu/packages/python-check.scm (python-mypy): Update to 1.13.0.
[native-inputs]: Add nss-certs-for-test, python-hatchling,
python-setuptools, and python-wheel.
(python-mypy-minimal)[arguments]<phases>: Keep all phases.
[native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: I45c35e361430a65a649f90e6aab7c2cff7218164
2024-12-13 20:23:23 +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
747ea85bc9
gnu: python-pytest-virtualenv: Update to 1.8.0.
* gnu/packages/python-check.scm (python-pytest-virtualenv): Update to
1.8.0. Use G-expressions.
[build-system]: Swap to pyproejct-build-system.
[inputs]: Remove python-virtualenv.
[propagated-inputs]: Add python-importlib-metadata and python-virtualenv.
[native-inputs]: Remove python-mock; add python-setuptools and python-wheel.

Change-Id: I92170b0e272dceb1e2e22bf0b1c675aed99986d4
2024-12-13 20:19:05 +00:00
Sharlatan Hellseher
44f820d427
gnu: python-pytest-shutil: Update to 1.8.0.
* gnu/packages/python-check.scm (python-pytest-shutil): Update to 1.8.0.
[arguments]<test-flags>: Enable all tests as they have no regressions.
<phases>: Remove use-path-instead-of-path.py as resolved in upstream.
[propagated-inputs]: Remove python-contextlib2; add python-mock and
python-six.
[native-inputs]: Remove python-mock; add python-setuptools and
python-wheel.

Change-Id: I2191387cce678801ea6016a1ff2a9ed78c415a82
2024-12-13 20:19:05 +00:00
Sharlatan Hellseher
90456b3242
gnu: python-pytest-openfiles: Adjust inputs.
* gnu/packages/python-check.scm (python-pytest-openfiles)
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Id198c8313bbc630444ec5d55ce385967fe90e395
2024-12-13 20:19:05 +00:00
Sharlatan Hellseher
50d3f1f782
gnu: python-cucumber-tag-expressions: Update to 6.1.1.
* gnu/packages/python-check.scm (python-cucumber-tag-expressions): Update to 6.1.1.
[source]: Swap to git checkout containing tests.
[arguments]<phases>: Add chdir-phython phase.
[home-page]: Fix URL.
[native-inputs]: Remove python-invoke; add python-pytest-html,
python-pyyaml, python-setuptools, python-setuptools-scm, and
python-wheel.

Change-Id: Ia028ae6fa7987194ee50f532209626733b50275a
2024-12-13 20:19:03 +00:00
Sharlatan Hellseher
174c1bf0e3
gnu: Add python-pytest-html.
* gnu/packages/python-check.scm (python-pytest-html): New variable.

Change-Id: Idbfd00f31f8064b978e5a15a825b191cf4b5515c
2024-12-13 20:19:03 +00:00
Sharlatan Hellseher
a6202abe30
gnu: python-assay: Add missing inputs.
* gnu/packages/python-check.scm (python-assay) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Iec407e0f8483a037a07a9467a2a158dd049576f0
2024-12-13 20:18:59 +00:00
Nicolas Graves
3c2943b621
gnu: build-system/pyproject: Add missing native-inputs.
* gnu/packages/bioinformatics.scm (python-ega-download-client)
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/databases.scm (datasette)[native-inputs]: Add
python-pip.

* gnu/packages/django.scm (python-django-localflavor,
python-django-contact-form)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/jupyter.scm (python-jupyterlab-server)[native-inputs]:
Add python-wheel.
(python-nbstripout)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/machine-learning.scm (python-captum,
python-linear-operator, python-gpytorch)[native-inputs]: Add
python-setuptools.

* gnu/packages/music.scm (abjad, abjad-ext-rmarkers,
abjed-ext-nauert, python-mutagen)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/package-management.scm
(python-conda-package-handling)[native-inputs]: Add python-setuptools
and python-wheel.
(conda)[native-inputs]: Add python-wheel.

* gnu/packages/python-check.scm (python-pyinstrument,
python-pytest-testmon, python-pytest-trio, python-nbval,
python-pytest-toolbox)[native-inputs]: Add python-setuptools and
python-wheel.
(python-nptyping)[native-inputs]: Add python-setuptools.

* gnu/packages/python-check.scm (python-dask-expr)[native-inputs]:
Add python-setuptools and python-wheel.

* gnu/packages/python-web.scm (parfive, python-aioftp, python-hupper,
python-sanic, python-mechanicalsoup, python-tinycss, python-aiostream,
python-cbor2, gunicorn)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/python-xyz.scm (python-apprise, python-jaraco-classes,
python-sparse, python-shtab, python-pyan3)[native-inputs]: Add
python-setuptools.
(python-jupytext, python-orderedmultidict, python-identify, python-nodeenv,
python-cfgv, python-zarr, python-multipart, python-nbconvert, python-cram,
python-immutables, python-numpydoc, python-cairosvg, python-unidecode,
python-black, python-multidict, python-mpv-jsonipc, python-humanize,
python-cmd2)[native-inputs]: Add python-setuptools and python-wheel.
(python-partd, python-dask, python-zarr)[native-inputs]: Add
python-wheel.
(python-nbconvert)[propagated-inputs]: Add texlive-etoolbox. Remove
duplicate textlive-jknapltx.
(python-isort)[native-inputs]: Add python-pip.

* gnu/packages/simulation.scm (python-fenics-dijitso)[native-inputs]:
Add python-setuptools and python-wheel.

* gnu/packages/sphinx.scm (python-pydata-sphinx-theme,
python-sphinx-autodoc-typehints)[native-inputs]: Add
python-setuptools.

* gnu/packages/syndication.scm (tuir)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/terminals.scm (python-halo)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/time.scm (python-arrow, python-dateutil)
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/version-control.scm (pre-commit)[native-inputs]: Add
python-setuptools and python-wheel.  Remove input labels.

* gnu/packages/virtualization.scm (python-qemu-qmp,
python-transient)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/xorg.scm (python-xcffib)[native-inputs]: Add
python-setuptools and python-wheel.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>

Change-Id: Id61cf8cdc47bd4c2871c0a9c8e9a5bfd51157df0
2024-12-13 20:18:58 +00:00
Nicolas Graves
1a09cdc12e
gnu: python-pytest-toolbox: Move to pyproject-build-system.
* gnu/packages/python-check.scm (python-pytest-toolbox):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:phases>: Restrict 'check phase replacement to
  'pre-check phase.

Change-Id: Id0804db32d30314076d1e411711881bbe3a3f6e1
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:52 +00:00
Nicolas Graves
15058ab042
gnu: python-pytest-remotedata: Ignore failing test.
* gnu/packages/python-check.scm (python-pytest-remotedata)
  [arguments]<#:test-flags>: Ignore failing tests.

Change-Id: Ic351559a0c9ce49be6ce4695cceef46f8b6384ba
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:52 +00:00
Nicolas Graves
245cb903f1
gnu: python-cucumber-tag-expressions: Move to pyproject-build-system.
* gnu/packages/python-check.scm (python-cucumber-tag-expressions):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Remove uneeded field.

Change-Id: Ibf0d92aa761f7a00f8c2c806a8bbd38669987ad7
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:51 +00:00
Nicolas Graves
9be29a2462
gnu: python-nbval: Move to pyproject-build-system.
* gnu/packages/python-check.scm (python-nbval):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Move <#:phases> check phase replacement into proper
  <#:test-flags>.
  [native-inputs]: Add python-pytest.
  [propagated-inputs]: Add python-six; remove python-pytest.

Change-Id: I93aa282399eb52636ee5561b5d8fb7bb5b93f9e0
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:50 +00:00
Ricardo Wurmus
880fb265fe
gnu: python-pytest-tornasync: Use Tornado 6.
* gnu/packages/python-check.scm (python-pytest-tornasync)[propagated-inputs]:
Replace python-tornado with python-tornado-6.

Change-Id: I780e168a1bb3d1f7ecd2e7599f4c1eb1a06719ba
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
840da194eb
gnu: python-pytest-arraydiff: Add missing inputs.
* gnu/packages/python-check.scm (python-pytest-arraydiff)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ie1bae483128353bcc006598962d0134dc12a219d
2024-12-13 20:18:34 +00:00
Ricardo Wurmus
332ae4deda
gnu: Add setuptools/wheel to more Python packages.
* gnu/packages/python-check.scm (python-beartype,
python-pytest-csv)[native-inputs]: Add python-setuptools and python-wheel.
* gnu/packages/python-xyz.scm (python-watchdog, python-xyzservices,
python-zeroconf)[native-inputs]: Same.

Change-Id: Ifac6402da7447a95f4f8fca8d475e87c001bd583
2024-12-13 20:18:30 +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
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
Eric Bavier
1daad52eac
gnu: Add python-pytest-check.
* gnu/packages/python-check.scm (python-pytest-check): New variable.

Change-Id: Idfa08578c9ad23b644f842abc93455dd72970fc2
2024-11-20 00:02:45 -06:00
Wiktor Żelazny
08dc72473b
gnu: Add python-green.
* gnu/packages/python-check.scm (python-green): New variable.

Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b
Reviewed-by: get-state <mazin@getstate.dev>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-01 22:54:16 +09:00
Sharlatan Hellseher
d664901d09
gnu: python-pytest-mpl: Adjust inputs.
* gnu/packages/python-check.scm (python-pytest-mpl) [native-inputs]: Add
python-setuptools-scm and python-wheel.

Change-Id: Ifbfdc080207832be6ad919aa1ee329bc0335694b
2024-10-30 19:32:17 +00:00
Troy Figiel
0250eed22d
gnu: Add python-icontract.
* gnu/packages/python-check.scm (python-icontract): New variable.

Change-Id: I48dc21cbed1ff68356099b1c3db351427dff60c7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-10-26 11:11:48 +01:00
jgart
7888351b9e
gnu: python-pytest-mp: Remove variable.
* gnu/packages/python-check.scm (python-pytest-mp): Upstream archived this
project and it is not used by any other packages.

Change-Id: Ibe0d98b8d7442a29aee7fcddf508caa40db72a0c
2024-10-13 21:38:30 -05:00
Sharlatan Hellseher
87bc80efcd
gnu: Add python-pytest-cython.
* gnu/packages/python-check.scm (python-pytest-cython): New variable.

Change-Id: I4f223bb0a88db3fd91bb312dfe4558a075ff8bb2
2024-09-30 22:06:32 +01:00
David Elsing
8349d30806
gnu: python-nbval: Update to 0.11.0.
* gnu/packages/python-check.scm (python-nbval): Update to 0.11.0.
[arguments]<#:phases>: Adjust 'check' phase.
[native-inputs]: Remove python-pytest.
[propagated-inputs]: Add python-coverage and python-pytest.  Remove
python-six.
2024-09-06 11:46:24 +02:00
Sebastian Gibb
dfaf06e9a9
gnu: Add python-pytest-datafiles.
* gnu/packages/python-check.scm (python-pytest-datafiles): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-27 00:33:33 +01:00
Sharlatan Hellseher
77c8bff0ea
gnu: python-pytest-openfiles: Simplify package.
* gnu/packages/python-check.scm (python-pytest-openfiles)
[build-system]: Swap to pyproject-build-system.
[arguments]: <#:phases>: Use default 'chck phase.

Change-Id: I3bbbacd8694afdfee020f11d37f5c035bdad73f9
2024-07-30 10:30:46 +01:00
Sharlatan Hellseher
66c1a004ac
gnu: python-pytest-openfiles: Update to 0.6.0.
* gnu/packages/python-check.scm (python-pytest-openfiles): Update to 0.6.0.

Change-Id: I629c0b1ad56c313a850cbca6f58e66bb1d9920d7
2024-07-30 10:30:46 +01:00
Nicolas Graves
14026b5220
gnu: python-pytest-trio: Move to pyproject-build-system.
* gnu/packages/python-check.scm (python-pytest-trio):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Move from <#:phases> to <#test-flags>.

Change-Id: I7653110fc299d0757f7e01c2c1c29d599cb206bf
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Signed-off-by: jgart <jgart@dismail.de>
2024-07-16 02:17:59 -05:00
Leo Famulari
87af8642a8
gnu: python-pytest-sanic: Further relax the websockets version requirements.
* gnu/packages/python-check.scm (python-pytest-sanic)[arguments]: Accept
PYTHON-WEBSOCKETS 12.0 in the custom 'relax-requirements' phase.

Change-Id: I279d7f98ff2f1fe3be46ffd4f06bbc3005c453b5
2024-07-03 21:47:20 -04:00
Vinicius Monego
89fb7c2784
gnu: Add python-pytest-subprocess.
* gnu/packages/python-check.scm (python-pytest-subprocess): New variable.

Change-Id: Id651d945836879e71eb30f51bc392f3027bcad6e
Signed-off-by: jgart <jgart@dismail.de>
2024-06-26 01:37:27 -05:00
David Elsing
796c3bdb55
gnu: Add python-pytest-rerunfailures-13.
* gnu/packages/python-check.scm (python-pytest-rerunfailures-13): New variable.
2024-06-18 11:34:31 +02:00
David Elsing
63233f1f0e
gnu: Add python-expecttest.
* gnu/packages/python-check.scm (python-expecttest): New variable.
2024-06-18 11:34:25 +02:00
David Elsing
22225dee9b
gnu: Add python-pytest-shard.
* gnu/packages/python-check.scm (python-pytest-shard): New variable.
2024-06-18 11:33:58 +02:00
David Elsing
ef7d9801e3
gnu: Add python-pytest-flakefinder.
* gnu/packages/python-check.scm (python-pytest-flakefinder): New variable.
2024-06-18 11:33:20 +02:00
Ricardo Wurmus
79d13482e4
gnu: python-pytest-shutil: Disable a test.
* gnu/packages/python-check.scm (python-pytest-shutil)[build-system]: Use
pyproject-build-system.
[arguments]: Disable test_pretty_formatter.

Change-Id: I862320feab5b3c6e375bf652deced6a631dfc575
2024-05-05 22:38:17 +02:00
Ricardo Wurmus
859953f60a
gnu: Add python-nbmake.
* gnu/packages/python-check.scm (python-nbmake): New variable.

Change-Id: If062d0e34329e99b5bb87588e7ddf149c65bfdfb
2024-05-05 22:38:15 +02:00
Sharlatan Hellseher
fbece5a8e0
gnu: Add python-assay.
* gnu/packages/python-check.scm (python-assay): New variable.

Change-Id: I0ec910d8c37000ff08119a33e3f42af2269fa494
2024-04-30 21:36:12 +01:00
Sharlatan Hellseher
bd121f08b6
gnu: python-pytest-socket: Update to 0.7.0.
* gnu/packages/python-check.scm (python-pytest-socket): Update to 0.7.0.

Change-Id: I879064eba2f4d93d2e2b519ebdf613685d5b5df9
2024-04-30 21:36:09 +01:00
Sharlatan Hellseher
a78a58673a
gnu: python-pytest-filter-subpackage: Update to 0.2.0.
* gnu/packages/python-check.scm (python-pytest-filter-subpackage): Update to 0.2.0.

Change-Id: I04f000b3a75f671340fbd351b06265b99acb3856
2024-03-29 15:08:07 +00:00