1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-25 03:30:30 +02:00
Commit Graph

363 Commits

Author SHA1 Message Date
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
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
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
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
646b5ad983 gnu: Add googlebenchmark.
* gnu/packages/check.scm (googlebenchmark): New variable.
2021-07-29 21:54:54 +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
zimoun
64c181d5a9 gnu: python2-pyfakefs: Remove package.
* gnu/packages/check.scm (python2-pyfakefs): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:33 +03:00
zimoun
fc288283d8 gnu: python2-testpath: Remove package.
* gnu/packages/check.scm (python2-testpath): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:30 +03:00
zimoun
87b872d5c5 gnu: python2-scripttest: Remove package.
* gnu/packages/check.scm (python2-scripttest): Remove variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-29 12:37:32 +02:00
Marius Bakke
dbcf2b61b1 gnu: Fix erroneous uses of 'package/inherit'.
These packages use a different source/version from the inherited package, and
thus should not inherit replacements.

* gnu/packages/check.scm (googletest-1.8, python-pytest-runner-2): Use record
inheritance instead of PACKAGE/INHERIT.
* gnu/packages/crates-io.scm (rust-bindgen-0.49, rust-bytes-0.4,
rust-colored-1.9.1, rust-difference-1, rust-docopt-0.8, rust-html5ever-0.23,
rust-http-0.1, rust-http-body-0.1, rust-loom-0.2, rust-loom-0.1,
rust-pulldown-cmark-0.0.8, rust-ring-0.13, rust-rustls-0.12, rust-sct-0.3,
rust-term-0.2, rust-untrusted-0.6, rust-webpki-0.18, rust-webpki-roots-0.17,
rust-webpki-roots-0.14): Likewise.
* gnu/packages/emacs.scm (emacs-next, emacs-next-pgtk, guile-emacs): Likewise.
* gnu/packages/guile.scm (guile-2.2.4): Likewise.
* gnu/packages/maths.scm (hdf5-1.10, hdf5-1.12): Likewise.
* gnu/packages/protobuf.scm (protobuf-3.6, protobuf-3.5, python-protobuf-3.6):
Likewise.
* gnu/packages/python-web.scm (python2-html2text): Likewise.
* gnu/packages/python-xyz.scm (python-pygments/fixed, python2-numpy,
python2-urwid, python2-markdown, python2-fonttools): Likewise.
* gnu/packages/racket.scm (racket): Likewise.
* gnu/packages/sequoia.scm (sequoia4pEp): Likewise.
2021-05-23 17:49:56 +02:00
Efraim Flashner
015869d4c6 gnu: cmdtest: Use a source file-name.
* gnu/packages/check.scm (cmdtest)[source]: Add a file-name field.
2021-05-22 21:38:48 +03:00
Marius Bakke
19ea43c907 gnu: cmdtest: Do not propagate any inputs.
* gnu/packages/check.scm (cmdtest)[propagated-inputs]: Move everything ...
[inputs]: ... here.  New field.
2021-05-22 16:04:59 +02:00
Marius Bakke
0bdb7d3841 gnu: cmdtest: Update to 0.32-14-gcdfe14e.
* gnu/packages/check.scm (cmdtest): Update to 0.32-14-gcdfe14e.
[source]: Switch to GIT-FETCH.
[arguments]: Remove #:phases and #:python.  Add #:tests?.
[native-inputs]: Change from PYTHON2-CLIAPP, PYTHON2-MARKDOWN, and
PYTHON-TTYSTATUS to their respective Python 3 variants.
2021-05-22 16:04:59 +02:00
Marius Bakke
350833554b gnu: python-coverage-test-runner: Add Python 3 variant.
* gnu/packages/check.scm (python2-coverage-test-runner): Rename to ...
(python-coverage-test-runner): ... this.
[arguments, propagated-inputs]: Adjust for Python 3.
(python2-coverage-test-runner): Use PACKAGE-WITH-PYTHON2.
2021-05-22 16:04:59 +02:00
Lars-Dominik Braun
9857abadba gnu: Add python-pytest-dependency.
* gnu/packages/check.scm (python-pytest-dependency): New variable.
2021-04-26 10:26:48 +02:00
Ricardo Wurmus
5c89e2ac6f gnu: python-testpath: Update to 0.4.4.
* gnu/packages/check.scm (python-testpath): Update to 0.4.4.
[arguments]: Build the package as intended with flit.
[native-inputs]: Add python-flit.
2021-04-13 13:41:18 +02:00
Pierre Langlois
754a7608cc gnu: Add python-pytest-httpserver.
* gnu/packages/check.scm (python-pytest-httpserver): New variable.
2021-04-11 15:53:57 +01:00
Mark H Weaver
9dea161875 gnu: Use 'gtk-doc/stable' in native-inputs of selected packages.
* gnu/packages/calendar.scm (libical),
gnu/packages/check.scm (umockdev),
gnu/packages/fontutils.scm (libraqm),
gnu/packages/freedesktop.scm (appstream, farstream, libglib-testing)
(udisks, libfprint, libportal),
gnu/packages/geo.scm (memphis, osm-gps-map),
gnu/packages/glib.scm (template-glib),
gnu/packages/gnome.scm (gupnp-igd, libcloudproviders, libgrss, seed)
(gtx, dee, zeitgeist, phodav, gssdp, gupnp, gupnp-dlna, gupnp-av, rygel)
(libnma, gdl, libnotify, vte-ng, dconf, libxklavier, libsoup, colord)
(geoclue, geocode-glib, amtk, grilo, gvfs, gusb, network-manager)
(network-manager-applet, gfbgraph, libunique, cheese, libhandy)
(gnome-latex, libgda),
gnu/packages/gstreamer.scm (orc),
gnu/packages/gtk.scm (at-spi2-core, goocanvas),
gnu/packages/language.scm (nimf),
gnu/packages/networking.scm (libnice),
gnu/packages/video.scm (schroedinger),
gnu/packages/virtualization.scm (libosinfo),
gnu/packages/webkit.scm (wpewebkit, webkitgtk),
gnu/packages/xml.scm (libxmlb)[native-inputs]: Replace 'gtk-doc' with
'gtk-doc/stable'.
2021-03-27 19:48:50 -04:00
Tobias Geerinckx-Rice
23f964a62c gnu: doctest: Update to 2.4.6.
* gnu/packages/check.scm (doctest): Update to 2.4.6.
2021-03-25 21:04:07 +01:00
Mark H Weaver
1a265842e6 gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:58:10 -04:00
Tobias Geerinckx-Rice
b8f0d11f76 gnu: doctest: Update to 2.4.5.
* gnu/packages/check.scm (doctest): Update to 2.4.5.
2021-03-11 18:06:56 +01:00
Lars-Dominik Braun
b431840cbe gnu: python-aiounittest: Update to 1.4.0.
* gnu/packages/check.scm (python-aiounittest) [version]: Update to 1.4.0.
[source]: Switch to git repository.
[arguments]: Run notetests.
[propagated-inputs]: Add python-wrapt.
2021-03-10 12:01:42 +01:00
Nicolas Goaziou
d3bb41a71d gnu: python-pytest-timeout: Update home page.
* gnu/packages/check.scm (python-pytest-timeout)[home-page]: Update URI.
2021-02-28 11:35:31 +01:00
Maxim Cournoyer
674391d0cb gnu: python2-fixtures: Remove package.
* gnu/packages/check.scm (python2-fixtures-bootstrap)
(python2-fixtures): Delete variables.
2021-01-29 10:58:24 -05:00
Maxim Cournoyer
a215577f06 gnu: python2-testtools: Remove package.
* gnu/packages/check.scm (python2-testtools-bootstrap)
(python2-testtools): Delete variables.
2021-01-29 10:58:24 -05:00
Maxim Cournoyer
a59cdc108b gnu: python2-testscenarios: Remove package.
* gnu/packages/check.scm (python2-testscenarios-bootstrap)
(python2-testscenarios): Delete variables.
2021-01-29 10:58:24 -05:00
Maxim Cournoyer
b0020da044 gnu: python2-subunit: Remove package.
* gnu/packages/check.scm (python2-subunit-bootstrap)
(python2-subunit): Delete variables.
2021-01-29 10:58:24 -05:00
Maxim Cournoyer
d8b88603ee gnu: python2-testrepository: Remove package.
* gnu/packages/check.scm (python2-testrepository-bootstrap)
(python2-testrepository): Delete variables.
2021-01-29 10:58:24 -05:00
Maxim Cournoyer
16038b0594 gnu: python2-behave-web-api: Remove package.
* gnu/packages/check.scm (python2-behave-web-api): Delete.
2021-01-29 10:57:02 -05:00
Maxim Cournoyer
dccaf68ab0 gnu: python2-pylint: Remove package.
* gnu/packages/check.scm (python2-pylint): Delete.
2021-01-29 10:57:02 -05:00
Maxim Cournoyer
037615cf71 gnu: python2-testresources: Remove package.
* gnu/packages/check.scm (python2-testresources-bootstrap)
(python2-testresources): Delete.
2021-01-29 10:12:48 -05:00
Maxim Cournoyer
dbcd205050 gnu: python-xyz: Move a few modules to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap.  Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
2021-01-27 08:05:42 -05:00
Efraim Flashner
f58e491fb8 gnu: Add shunit2.
* gnu/packages/check.scm (shunit2): New variable.
2021-01-14 20:43:30 +02:00
Vincent Legoll
44a395cad5 gnu: doctest: Update to 2.4.4.
* gnu/packages/check.scm (doctest): Update to 2.4.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-12-28 16:38:42 +02:00