1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 03:51:53 +02:00
Commit Graph

616 Commits

Author SHA1 Message Date
Maxim Cournoyer 3307224bf9 gnu: python-testpath: Update to 0.5.0 and enable tests.
* gnu/packages/check.scm (python-testpath): Update to 0.5.0.
[phases]{relax-requirements}: New phase
{build}: Build using pypa-build's 'build' command.
{check}: Override phase.
{install}: Adjust.
[native-inputs]: Remove python-flit.  Add python-pypa-build and python-pytest.
[home-page]: Update.
2022-01-10 11:44:41 -05:00
Maxim Cournoyer 8b7a304e99 gnu: python-nose: Fix build.
This unmaintained package doesn't build anymore on Python 3.9.9.

* gnu/packages/check.scm (python-nose)[phases]{invoke-2to3}: New phase.
[properties]: New field.
(python2-nose): Strip python2 property.
[phases]{invoke-2to3}: Delete phase.
2022-01-10 11:44:33 -05:00
Ludovic Courtès e3196755e6 gnu: Further simplify package inputs.
This is the result of running:

  ./pre-inst-env guix style --input-simplification=safe

and manually undoing changes on a dozen of packages to reduce
rebuilds (derivations for emacs, icecat, and libreoffice are unchanged.)
2021-12-13 22:15:07 +01:00
Ludovic Courtès 8394619bac gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Mathieu Othacehe 32750e8c3e Merge remote-tracking branch 'signed/master' into core-updates 2021-12-10 21:49:25 +01:00
Sarah Morgensen 93c7a5103d gnu: Remove go-gopkg.in-check.v1.
This package is a duplicate of go-gopkg-in-check-v1 in golang.scm,
has no binaries, and has no dependents, so remove it.

* gnu/packages/check.scm (go-gopkg.in-check.v1): Remove variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-08 13:35:34 -05:00
Ricardo Wurmus 5d151c27b3 gnu: python-pytest-httpserver: Use GUIX_PYTHONPATH.
* gnu/packages/check.scm (python-pytest-httpserver)[arguments]: Use
GUIX_PYTHONPATH instead of PYTHONPATH.
2021-11-19 10:11:19 +01:00
Maxim Cournoyer 35b91ada73 gnu: python-lit: Update to 12.0.1.
* gnu/packages/check.scm (python-lit): Update to 12.0.1.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 00bd5d3e4f gnu: python2-lit: Remove package.
* gnu/packages/check.scm (python2-lit): Remove package.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 175018f162 gnu: python-pytest: Update to 6.2.5.
* gnu/packages/check.scm (python-pytest): Update to 6.2.5.
2021-11-11 12:18:23 -05:00
Maxim Cournoyer 7b5824f1a7 gnu: python-hypothesis: Update to 6.23.4.
* gnu/packages/check.scm (python-hypothesis): Update to 6.23.4.
2021-11-11 12:18:22 -05:00
Maxim Cournoyer dac3ba0d40 gnu: python-pytest-6: Fix version via setuptools-scm.
* gnu/packages/check.scm (python-pytest-6): Fix indentation.
[phases]{fix-version}: Rename to...
{pretend-version}: ... this.  Use the supported setuptools-scm mechanism to
manually fix the version string, as suggested upstream.
2021-11-11 12:18:12 -05:00
Greg Hogan 169354db38 gnu: googletest: Update to 1.11.0.
* gnu/packages/check.scm (googletest): Update to 1.11.0.
2021-11-11 10:31:25 -05:00
Efraim Flashner 138c122fef gnu: Add python-pytest-6.1.
* gnu/packages/check.scm (python-pytest-6.1): New variable.
2021-10-27 13:09:57 +03:00
Efraim Flashner 7a0077d7f3 gnu: python-pytest-mock: Adjust package inputs.
* gnu/packages/check.scm (python-pytest-mock)[propagated-inputs]: Move
python-pytest-asyncio ...
[native-inputs]: ... to here.
(python2-pytest-mock): Adjust to ensure package remains unchanged.
2021-10-27 13:09:26 +03:00
Mathieu Othacehe e486b2b674 Merge remote-tracking branch 'signed/master' into core-updates 2021-10-18 14:37:26 +00:00
Sébastien Lerique 23c9d22e11 gnu: Add python-hypothesis-6.23.
* gnu/packages/check.scm (python-hypothesis-6.23): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2021-10-18 09:02:36 +02:00
Mathieu Othacehe a1eca979fb Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Ricardo Wurmus aa4885b3fb gnu: python2-pytest-mock: Downgrade to 1.10.1.
* gnu/packages/check.scm (python2-pytest-mock)[propagated-inputs]: Only use
python2-mock and python2-pytest.
[version]: Downgrade to 1.10.1.
2021-09-29 23:43:32 +02:00
Maxim Cournoyer cf2b021e60 gnu: python-pytest-6: Fix version string in metadata.
The PKG-INFO file generated previously would have '0.0.0' as the version
string, causing problems in other packages specifying requirements such as
'pytest>=6'.

* gnu/packages/check.scm (python-pytest-6)[phases]{fix-version}: New phase.
2021-09-28 22:11:19 -04:00
Maxim Cournoyer 8f8eaf579f gnu: Add python-pytest-random-order.
* gnu/packages/check.scm (python-pytest-random-order): New variable.
2021-09-27 23:10:44 -04:00
Maxim Cournoyer c776b6ba8e gnu: Add python-pytest-assume.
* gnu/packages/check.scm (python-pytest-assume): New variable.
2021-09-26 23:08:37 -04:00
Maxim Cournoyer 5f3a32199a gnu: python-pyhamcrest: Update to 2.0.2.
* gnu/packages/check.scm (python-pyhamcrest): Update to 2.0.2.
[origin]: Use latest tagged release.  Reword comment.
[native-inputs]: Remove all but the python-pytest input.
[propagated-inputs]: Delete field.
[phases]{check}: Augment PYTHONPATH via the add-installed-pythonpath
procedure.
2021-09-26 22:47:20 -04:00
Maxim Cournoyer e7b018b282 gnu: python2-pyhamcrest: Remove package.
* gnu/packages/check.scm (python2-pyhamcrest): Delete variable.
2021-09-26 22:47:20 -04:00
Ludovic Courtès d9dfbf886d Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Ricardo Wurmus 73995969b1 gnu: Remove python-pytest-mock-3.
* gnu/packages/check.scm (python-pytest-mock-3): Remove variable.
* gnu/packages/python-xyz.scm (python-anyio)[native-inputs]: Replace
python-pytest-mock-3 with python-pytest-mock.
2021-08-31 23:11:05 +02:00
Efraim Flashner 2a15e92766 gnu: libfaketime: Adjust flags on powerpc64le-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: Adjust CFLAGS on
powerpc64le-linux to make package work.
2021-08-22 12:16:48 +03:00
Efraim Flashner 43bc7dd39c gnu: python-testtools: Honor #:tests? in check phase.
* gnu/packages/check.scm (python-testtools)[arguments]: Adjust custom
'check phase to honor #:tests.
2021-08-11 16:21:15 +03:00
Efraim Flashner db8e8eb171 gnu: python-testtools: Update to 2.5.0.
* gnu/packages/check.scm (python-testtools): Update to 2.5.0.
[propagated-inputs]: Remove python-mimeparse, python-pbr, python-six,
python-traceback2, python-unittest2.
(python-testtools-bootstrap)[source]: Remove patch.
* gnu/packages/patches/python-testtools.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-08-11 16:16:51 +03:00
Efraim Flashner 5037b08b93 gnu: python-fixtures: Honor tests? in the check phase.
* gnu/packages/check.scm (python-fixtures)[arguments]: Adjust 'check
phase to honor #:tests.
2021-08-11 16:14:55 +03:00
Efraim Flashner 02fbd89f2b gnu: python-fixtures: Fix building.
* gnu/packages/check.scm (python-fixtures-bootstrap)[source]: Add patch.
* gnu/packages/patches/python-fixtures-remove-monkeypatch-test.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-08-11 16:13:56 +03:00
Efraim Flashner 36cb285d61 gnu: python-pylint: Update to 2.9.6.
* gnu/packages/check.scm (python-pylint): Update to 2.9.6.
[arguments]: Remove field.
[native-inputs]: Remove python-tox.
[propagated-inputs]: Remove python-six.
2021-08-09 15:18:39 +03:00
Efraim Flashner 7e8146923f gnu: python-pytest-xprocess: Update to 0.18.1.
* gnu/packages/check.scm (python-pytest-xprocess): Update to 0.18.1.
[propagated-inputs]: Remove python-pytest-cache.
[native-inputs]: Add python-setuptools-scm.
[home-page]: Update to new home-page.
2021-08-09 12:28:22 +03:00
Efraim Flashner 0112675d11 gnu: cpputest: Update to 4.0.
* gnu/packages/check.scm (cpputest): Update to 4.0.
2021-08-08 13:39:17 +03:00
Marius Bakke d2e102d4e4 Merge branch 'master' into core-updates-frozen 2021-08-01 23:23:32 +02:00
Ludovic Courtès 646b5ad983 gnu: Add googlebenchmark.
* gnu/packages/check.scm (googlebenchmark): New variable.
2021-07-29 21:54:54 +02:00
Ricardo Wurmus 76b5a14ad5 gnu: Add python-pytest-mock-3.
* gnu/packages/check.scm (python-pytest-mock-3): New variable.
2021-08-30 18:29:56 +02:00
Maxim Cournoyer fa4c3deb8b gnu: Add python-pytest-xdist-next.
* gnu/packages/check.scm (python-pytest-xdist-next): New variable.
2021-08-29 01:05:29 -04:00
Maxim Cournoyer 9482c5ad03 gnu: python-pytest-xdist: Fix by downgrading to 1.34.0, run test suite.
Commit ed72e55831 updated the package to 2.1.0, but this version doesn't work
with Pytest 5, the version currently used in Guix.  Downgrade to the last
version that is compatible with Pytest 5.

* gnu/packages/check.scm (python-pytest-xdist): Downgrade to 1.34.0, with a
comment explaining why.  Strip trailing #t.
[source]: Remove origin modules and snippet field, no longer necessary.
[phases]{check}: Override to run the test suite.
[propagated-inputs]: Remove python-py and add python-pytest-forked.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer 48461816e4 gnu: python-pytest-mock: Update to 3.6.1 and run test suite.
* gnu/packages/check.scm (python-pytest-mock): Update to 3.6.1.
[phases]{check}: Override to run test suite.
[propagated-inputs]: Add python-pytest-asyncio.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer b1ef8b410c gnu: python-pytest-asyncio: Enable tests and patch for Python 3.8.
* gnu/packages/patches/python-pytest-asyncio-python-3.8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/check.scm (python-pytest-asyncio)
[source]: Fetch from git and apply above patch.
[phases]: Override the check phase, enabling tests.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer 0a2c8b10fc gnu: python-pytest-forked: Update to 1.3.0 and run test suite.
* gnu/packages/check.scm (python-pytest-forked)[origin]: Use git.
[phases]{disable-setuptools-scm}: New phase.
{check}: Override phase.
[propagated-inputs]: Remove field.
[native-inputs]: Remove ??? and add python-pytest-bootstrap.
[home-page]: Fix indentation.
[synopsis]: Update.
[description]: Expound.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer 399a844aad gnu: python-mock: Update description.
* gnu/packages/check.scm (python-mock)
[description]: Mention this library is now part of Python 3.3 onward.
2021-08-29 01:05:27 -04:00
Maxim Cournoyer 66071cd85e gnu: python-pytest-6: Update to 6.2.4 and propagate iniconfig.
* gnu/packages/check.scm (python-pytest-6): Update to 6.2.4.  Fix typo.
Removing trailing #t.
[native-inputs]: Delete the extraneous python-mock input.
Move python-iniconfig to...
[propagated-inputs]: ... here.
2021-08-29 01:05:27 -04:00
jgart 0e02ce8d49 gnu: python-pytest-xprocess: Update to 0.18.1.
* gnu/packages/check.scm (python-pytest-xprocess): Update to 0.18.1.
[native-inputs]: Add python-setuptools-scm.
[home-page]: Fix linter warning to follow permanent redirect.

Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-26 23:58:24 +03:00
jgart db600ee2c1 gnu: python-pytest-timeout: Update to 1.4.2.
* gnu/packages/check.scm (python-pytest-timeout): Update to 1.4.2.
[propagated-inputs]:Add python-pytest-cov.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-26 23:34:05 +03:00
Christopher Lemmer Webber 9455143907 Update copyright/name notices for Christine Lemmer-Webber.
* doc/guix-cookbook.texi: Update copyright/name for Christine Lemmer-Webber.
* gnu/build/image.scm: Likewise.
* gnu/build/vm.scm: Likewise.
* gnu/packages/admin.scm: Likewise.
* gnu/packages/assembly.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/backup.scm: Likewise.
* gnu/packages/check.scm: Likewise.
* gnu/packages/databases.scm: Likewise.
* gnu/packages/emacs-xyz.scm: Likewise.
* gnu/packages/finance.scm: Likewise.
* gnu/packages/gnupg.scm: Likewise.
* gnu/packages/guile-xyz.scm: Likewise.
* gnu/packages/guile.scm: Likewise.
* gnu/packages/haskell-xyz.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/password-utils.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/python-web.scm: Likewise.
* gnu/packages/python-xyz.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/sphinx.scm: Likewise.
* gnu/packages/ssh.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/services/networking.scm: Likewise.
* gnu/system/vm.scm: Likewise.
2021-08-15 14:15:37 -04:00
Ludovic Courtès 0e47fcced4 Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
Hugo Lecomte e31979c3a5 gnu: Add python-pytest-regressions.
* gnu/packages/check.scm (python-pytest-regressions): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-09 11:58:51 +02:00
Hugo Lecomte 778ae273e9 gnu: Add python-pytest-datadir.
* gnu/packages/check.scm (python-pytest-datadir): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-09 11:58:51 +02:00