Commit graph

397 commits

Author SHA1 Message Date
Sharlatan Hellseher
e62e7fce57
gnu: python-ddt: Fix build.
* gnu/packages/python-check.scm (python-ddt) [native-inputs]: Add
  python-six.

Change-Id: I0770740a27b8c37c2c5091366c02f36ebba3bacf
2025-09-25 09:36:11 +01:00
Sharlatan Hellseher
803fce145c
gnu: python-pytest-astropy-header: Switch to pyproject-build-system.
* gnu/packages/python-check.scm (python-pytest-astropy-header)
  [build-system]: Use pyproject.
  [native-inputs]: Add python-numpy, and python-setuptools.

Change-Id: If5b14d02eac7710c703d3f1b2ad0bca4b9ccafde
2025-09-25 09:36:09 +01:00
Sharlatan Hellseher
24fff21a25
gnu: python-testfixtures: Update to 9.1.0.
* gnu/packages/python-check.scm (python-testfixtures): Update to 9.1.0.
[bulid-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-pytest, python-pytest-cov, python-twine,
and python-wheel; add python-setuptools.

Change-Id: Ida1dbbc639153399847d87aa81cae2b9a42eef1d
2025-09-25 09:36:06 +01:00
Sharlatan Hellseher
0a37b21bf1
gnu: python-pytest-checkdocs: Update to 2.10.0.
* gnu/packages/python-check.scm (python-pytest-checkdocs): Update to 2.10.0.
  [source]: Switch to git-fetch, PyPI provides only the latest version
  of source packge where we need older compatible with
  python-pypa-build.
  [arguments] <phases>: Add 'set-version.
  [propagated-inputs]: Remove python-importlib-metadata, python-pep517,
  and python-pytest; add python-pypa-build.
  [native-inputs]: Add python-pytest-bootstrap and python-wheel.

Change-Id: I414b8538cb143c94dc7f5c5c5b5db56a56e97c14
2025-09-25 09:36:04 +01:00
Sharlatan Hellseher
304ea22d06
gnu: python-pytest-subprocess: Skip 4 tests.
* gnu/packages/python-check.scm (python-pytest-subprocess) [arguments]
  <test-flags>: Deselect 4 tests.
  [native-inputs]: Remove python-wheel.

Change-Id: Iabfc47a9268146eda982afe3ccfc78c9950e1f11
2025-09-25 09:36:00 +01:00
Sharlatan Hellseher
e20c85cc3e
gnu: python-pytest-console-scripts: Update to 1.4.1.
* gnu/packages/python-check.scm (python-pytest-console-scripts): Update to 1.4.1.
  [build-system]: Use pyproject.
  [arguments] <tests-flags>: Skip 3 tests.
  <phases>: Use default 'check.
  [propagated-inputs]: Remove python-mock and python-pytest.
  [native-inputs]: Remove python-setuptools-scm; add
  python-pytest-bootstrap and python-setuptools.

Change-Id: I57a714afa0584ece0157236eb22f74a75f90cd17
2025-09-25 09:36:00 +01:00
Sharlatan Hellseher
1c85ac3eeb
gnu: python-time-machine: Fix build.
* gnu/packages/python-check.scm (python-time-machine): During check
  phase it fails to find test backend but PyPI archive provides no tests.
  [arguments] <tests?>: Visually disable them.

Change-Id: Ic39e39a520678c79249a326c4b14b523fab21638
2025-09-25 09:35:57 +01:00
Sharlatan Hellseher
81be2eef0d
gnu: python-pytest-env: Update to 1.1.5.
* gnu/packages/python-check.scm (python-pytest-env): Update to 1.1.5.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-hatch-vcs and python-hatchling.

Change-Id: I0acc2884a71969ed9827e439319298f3c48509e2
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
032e2e49bb
gnu: Add python-test2ref.
* gnu/packages/python-check.scm (python-test2ref): New variable.

Change-Id: Id3253057b0a162a8e2a1348c11d7182db572e19d
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
aae4b50f43
gnu: python-re-assert: Switch to pyproject-build-system.
* gnu/packages/python-check.scm (python-re-assert)
  [build-system]: Use pyproject.
  [arguments]: Drop them.
  [native-inputs]: Remove python-covdefaults and python-coverage; add
  python-setuptools.

Change-Id: Ifc6f24e45196988cf3741ce2cf7b489dbb0a13f3
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
f8cce36a80
gnu: python-covdefaults: Update to 2.3.0.
* gnu/packages/python-check.scm (python-covdefaults): Update to 2.3.0.
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [propagated-inputs]: Add python-coverage.
  [native-inputs]: Remove python-coverage; add python-setuptools.

Change-Id: Ic962c330b1c13fedc8b86f97c7138f1b533912f0
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
d1af0f7e04
gnu: python-tappy: Update to 3.2.1.
* gnu/packages/python-check.scm (python-tappy): Update to 3.2.1.
  [build-system]: Use pyproejct.
  [native-inputs]: Add python-hatchling.

Change-Id: I3c32e9f5454d5bcccfe5f373bfe724a0b68f12cd
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
a4f1f9c321
gnu: python-pytest-rerunfailures: Update to 15.1.
* gnu/packages/python-check.scm (python-pytest-rerunfailures): Update to 15.1.
  [build-system]: Use pyproject.
  [propagated-inputs]: Remove python-pytest and python-setuptools; add
  python-packaging.
  [native-inputs]: Add python-pytest-bootstrap and python-setuptools.

Change-Id: I48ecbe8d015a6ddbf68bc79217f73e301a4bff0b
2025-09-25 09:35:43 +01:00
Sharlatan Hellseher
2f0d00229d
gnu: python-pytest-benchmark: Update to 5.1.0.
* gnu/packages/python-check.scm (python-pytest-benchmark): Update to 5.1.0.
  [build-system]: Use pyproject.
  [arguments] <tests?>: Disable tests for now to bypass cycles.
  [native-inputs]: Add python-setuptools; replace python-pyetes with
  python-pytest-bootstrap.

Change-Id: I2856dd3f26a4b9600c06eb90b4d4a1b3e55b2bd2
2025-09-25 09:35:43 +01:00
Sharlatan Hellseher
2458b08913
gnu: python-pytest-subtests: Update to 0.14.2.
* gnu/packages/python-check.scm (python-pytest-subtests): Update to 0.14.2.
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [propagated-inputs]: Add python-attrs.
  [native-inputs]: Remove python-pytest; add python-pytest-bootstrap,
  python-setuptools, and python-wheel.

Change-Id: I26b878f3a540428b55ab626e1baa55206a6556c8
2025-09-25 09:35:42 +01:00
Sharlatan Hellseher
579d43aafc
gnu: python-mypy: Update to 1.16.1.
* gnu/packages/python-check.scm (python-mypy): Update to 1.16.1.
  [arguments] <test-flags>: Respect parallel option.
  [native-inputs]: Remove python-attrs, python-pytest-forked, and
  python-virtualenv; add  python-types-setuptools.
  [propagated-inputs]: Add python-pathspec.

Change-Id: Idaecb763785b541f2591cd4530cb71a91e973f44
2025-09-25 09:35:40 +01:00
Sharlatan Hellseher
12460b246d
gnu: python-mypy-extensions: Update to 1.1.0.
* gnu/packages/python-check.scm (python-mypy-extensions): Update to 1.1.0.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  <test-flags>: Provide tests discover flag.
  [native-inputs]: Add python-flit-core.
  [description]: Apply fill-paragrap.

Change-Id: Ib79bd4c5c9eef80fbe8ee998f8fbceb728e6c1f3
2025-09-25 09:35:40 +01:00
Maxim Cournoyer
10482f731e
Reapply "Update Maxim's email address."
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:

grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
  --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
  xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18 13:44:12 +09:00
Maxim Cournoyer
a7db92d9b3
Revert "Update Maxim's email address."
This reverts commit d0d87a744d. Oops! This
caused a world rebuild.

Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18 12:07:31 +09:00
Maxim Cournoyer
d0d87a744d
Update Maxim's email address.
The change was automated via:

  git grep -l maxim.cournoyer@gmail.com |
    xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

* .mailmap: New entry.

Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-18 08:05:19 +09:00
Nicolas Graves
0ea6bda82f
gnu: python-robber: Switch to pyproject.
* gnu/packages/python-check.scm (python-robber):
[source]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I52825bbefe3d4c02681e76ce0dfcc7a490d5f11d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:19 +01:00
Nicolas Graves
580d1f52e5
gnu: python-pytest-services: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-services):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Update comment.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ib5932dc71639c9f264f15702a3b318a2f39c74f1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:19 +01:00
Nicolas Graves
162d72fe07
gnu: python-pytest-pydocstyle: Update to 2.4.0.
* gnu/packages/python-check.scm (python-pytest-pydocstyle): Update to 2.4.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-pytest-isort,
python-pytest-pycodestyle, python-setuptools, python-wheel.
[description]: Run guix style.
2025-09-02 21:13:19 +01:00
Nicolas Graves
1bba49c77e
gnu: python-pytest-parawtf: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-parawtf):
[source, description]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace it with...
<#:test-flags>: ...them.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Id47b094ac260f4623d2cf85c4cc5c646d992be04
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:19 +01:00
Nicolas Graves
df3d8bdd9b
gnu: python-pytest-helpers-namespace: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-helpers-namespace):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove 'check phase replacement. Add
'set-version phase.
[native-inputs]: Add python-wheel.
[description]: Run guix style.

Change-Id: I868b710a45d0663697354b8590667486afd9fbf7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:19 +01:00
Nicolas Graves
3fa2014c1f
gnu: python-pytest-doctest-custom: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-doctest-custom):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I62c718785134be0ad13adbddeba098c05cdc472c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:19 +01:00
Nicolas Graves
db1c4b8556
gnu: python-eradicate: Update to 3.0.0.
* gnu/packages/python-check.scm (python-eradicate): Update to 3.0.0.

Change-Id: I7f823f784fc1790217ca5837aa9415279c64c45c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:18 +01:00
Nicolas Graves
943ea45728
gnu: python-eradicate: Switch to pyproject.
* gnu/packages/python-check.scm (python-eradicate):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[description]: Run guix style.

Change-Id: I02b61fc9d5db59ea18fbdaa14bafe1d51da81523
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:18 +01:00
Nicolas Graves
194312d630
gnu: python-codacy-coverage: Switch to pyproject.
* gnu/packages/python-check.scm (python-codacy-coverage):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[description]: Run guix style.

Change-Id: I0d47d6bc793e70753df3b59a8b97eb739074627c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-02 21:13:14 +01:00
Andreas Enge
7f86f1eae0
gnu: Remove python-case.
* gnu/packages/python-check.scm (python-case): Delete variable.

Fixes: guix/guix#1742
Change-Id: I8963eae23565ecc3bd2157f42e3f91154f71d56b
2025-09-01 22:24:10 +02:00
Nicolas Graves
f777c53cd1
gnu: python-pytest-vcr: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-vcr):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I80e0b9fea63ecc7b480c18baee3eaf5dabe24928
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-22 23:21:50 +01:00
Andreas Enge
75cafd15b5
gnu: Remove python-pytest-cram.
* gnu/packages/python-check.scm (python-pytest-cram): Delete variable.

Fixes: guix/guix#1471
Change-Id: I12df75de9f88a15081dec0f426e7aa4ee1185ca4
2025-08-21 12:17:45 +02:00
Maxim Cournoyer
af9e540b71
gnu: nss-certs: Relocate to (gnu packages nss).
This is made so that the source can be shared without introducing module
circular dependencies.

* gnu/packages/certs.scm (nss-certs)
(nss-certs-for-test): Move to...
* gnu/packages/nss.scm: ... here.

Adjust the module imports via:

  git grep -l '(gnu packages certs)' |
  xargs sed 's/(gnu packages certs)/(gnu packages nss)/' -i

Change-Id: I56d7bc52ddcdffbced8a162e8db8ea5071b0cb0f
2025-08-17 22:34:42 +02:00
Nicolas Graves
af40cc9daa
gnu: python-pytest-click: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-click):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[synopsis, description, propagated-inputs]: Improve style.
2025-08-14 13:15:26 +01:00
Nicolas Graves
a5d400490e
gnu: python-mockito: Switch to pyproject.
* gnu/packages/python-check.scm (python-mockito):
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ia67bf161cf06bcb52cf86ecb1b528cde8d35cf85
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-14 13:15:26 +01:00
Nicolas Graves
aed2216bb8
gnu: python-pyannotate: Switch to pyproject.
* gnu/packages/python-check.scm (python-pyannotate):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I75589fa5aaa87f61ad3bfffeb723a7c05165e995
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-13 12:46:43 +01:00
Nicolas Graves
e3c7460568
gnu: python-case: Deprecate package.
* gnu/packages/python-check.scm (python-case): Deprecate variable.
* gnu/packages/python-xyz.scm (python-kombu, python-billiard,
python-celery)[native-inputs]: Remove python-case.

Change-Id: I98d19e88aa5b8fa2b47f347a4d0c958d71096e4e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:36 +01:00
Nicolas Graves
35f2fd68b0
gnu: python-case: Move to (gnu packages python-check).
* /gnu/packages/python-xyz.scm (python-case): Move from here…
* gnu/packages/python-check.scm (python-case): …to here.

Change-Id: I59379226031edbd4dc63c70f15725b488668d05c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:36 +01:00
Nicolas Graves
fc194e7755
gnu: python-pytest-isort: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-isort):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-poetry-core.
[home-page]: Refresh.

Change-Id: I712fcdd2bb659b5f9d2a8fbfca2d8cd0d2cdb127
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:36 +01:00
Nicolas Graves
99f7b8fcf9
gnu: python-test-utils: Switch to pyproject.
* gnu/packages/python-check.scm (python-test-utils):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ifc02d90691e1d72cff5ba9034ee99718ebff2051
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:35 +01:00
Nicolas Graves
6a0bd9be26
gnu: Add python-cliff-bootstrap.
* gnu/packages/openstack.scm (python-cliff-bootstrap): New variable.
* gnu/packages/check.scm (python-stestr)[propagated-inputs]: Replace
python-cliff by python-cliff-boostrap.

Change-Id: I9cc7271bb090127e28a56a8964a9b4cf42fbc800
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-27 00:25:50 +01:00
Nicolas Graves
5403940d77
gnu: python-stestr: Update to 4.2.0.
* gnu/packages/python-check.scm (python-stestr): Update to 4.2.0.
[arguments]<#:test-flags>: Refresh them.
<#:phases>: Add phase 'configure-check.
[native-inputs]: Add python-flit-core-next.

Change-Id: I2f50c92a15c7d074c0d129b25b2a0b6c414fa982
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-27 00:25:50 +01:00
Vinicius Monego
60595d3415
gnu: Add python-pytest-twisted.
* gnu/packages/python-check.scm (python-pytest-twisted): New variable.

Change-Id: I550ed9c65fdfd06febcb2d5582f0739673ff68b2
2025-07-26 13:32:54 -03:00
Nicolas Graves
62d7f3b8c1
gnu: python-mamba: Move to (gnu packages python-check).
* gnu/packages/python-xyz.scm (python-mamba): Move from here…
* gnu/packages/python-check.scm (python-mamba): …to here.

Change-Id: I29bb39825493e5fa29692bdd47a099d1854668f2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:15 +01:00
Nicolas Graves
0aeeba456f
gnu: python-cram: Switch to pyproject.
* gnu/packages/python-check.scm (python-cram):
[build-system]: Switch to pyproject-build-system.

Change-Id: Ifff01959a7ebad3bc2ce8f785c879c8910ad33e9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:26 +01:00
Nicolas Graves
fba83917a7
gnu: python-cram: Run without coverage.
* gnu/packages/python-check.scm (python-cram)
[arguments]<#:phases>: Improve 'patch-source phase style and disable a
substitution made for coverage. Rewrite the 'check phase and disable
coverage checks.
[native-inputs]: Remove python-coverage, which.

Change-Id: Iebd2e7188a89f7a647f163777e9d0ebd2674ddca
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:25 +01:00
Nicolas Graves
dffbfcfeca
gnu: python-cram: Improve style.
* gnu/packages/python-check.scm (python-cram): Run guix style, use
gexps.

Change-Id: I36946726869fd50a8386f699fd9b8becbdabe775
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:25 +01:00
Sharlatan Hellseher
9c7bd33975
gnu: Add python-pytest-textual-snapshot.
* gnu/packages/python-check.scm (python-pytest-textual-snapshot): New variable.

Change-Id: Ia6bddc9ef81f02578ac92f9a1f017d320ee729f5
2025-07-02 23:16:27 +01:00
Sharlatan Hellseher
223aeeb97d
gnu: Add python-syrupy.
* gnu/packages/python-check.scm (python-syrupy): New variable.

Change-Id: Idfe441ee8e56a02ec2c28247b3f4557e5440ebef
2025-07-02 23:16:20 +01:00
Vinicius Monego
b6c383eb5b
gnu: python-pytest-check: Update to 2.5.3.
* gnu/packages/python-check.scm (python-pytest-check): Update to 2.5.3.
[native-inputs]: Remove python-flit-core. Add python-hatchling,
python-pytest.
[propagated-inputs]: Remove python-pytest.

Change-Id: I46b2beafcbf3e4f2a594fecdd4b59f8b1e72fce8
2025-06-29 00:04:42 -03:00