Package: guix-patches;
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 10 May 2024 07:50:01 UTC
Severity: normal
Tags: patch
Message #283 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: Nicolas Graves <ngraves <at> ngraves.fr>, sharlatanus <at> gmail.com Subject: [PATCH v3 20/28] build-system/pyproject: Remove python-pytest-cov native-input. Date: Fri, 31 Jan 2025 03:03:20 +0100
* gnu/packages/astronomy.scm (python-astroml, python-casa-formats-io, python-cdflib, python-poliastro, python-tweakwcs)[native-inputs]: Remove python-pytest-cov. * gnu/packages/audio.scm (python-pysox)[native-inputs]: Remove python-pytest-cov. * gnu/packages/backup.scm (borgmatic)[native-inputs]: Remove python-pytest-cov. * gnu/packages/bioinformatics.scm (python-biom-format, python-pyfaidx, python-cooler, python-screed)[native-inputs]: Remove python-pytest-cov. * gnu/packages/build-tools.scm (meson-python)[native-inputs]: Remove python-pytest-cov. * gnu/packages/check.scm (python-pytest-nunit, python-pytest-enabler, python-pytest-perf, python-pyhamcrest)[native-inputs]: Remove python-pytest-cov. * gnu/packages/cpp.scm (cpplint)[native-inputs]: Remove python-pytest-cov. * gnu/packages/dav.scm (vdirsyncer, radicale)[native-inputs]: Remove python-pytest-cov. * gnu/packages/django.scm (python-django-extensions)[native-inputs]: Remove python-pytest-cov. * gnu/packages/embedded.scm (mbed-tools)[native-inputs]: Remove python-pytest-cov. * gnu/packages/engineering.scm (python-scikit-rf)[native-inputs]: Remove python-pytest-cov. * gnu/packages/fontutils.scm (psautohint)[native-inputs]: Remove python-pytest-cov. * gnu/packages/geo.scm (python-fiona, python-cartopy)[native-inputs]: Remove python-pytest-cov. * gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-pytest-cov. * gnu/packages/graphviz.scm (python-graphviz, python-uqbar) [native-inputs]: Remove python-pytest-cov. * gnu/packages/jupyter.scm (python-jupyter-packaging, python-jupyter-server, python-jupyterlite-core, python-ipydatawidgets) [native-inputs]: Remove python-pytest-cov. * gnu/packages/machine-learning.scm (python-persim, python-scikit-learn-extra, python-imbalanced-learn, python-keras-application, python-keras-preprocessing, python-keras, python-tensorly, python-pytorch-geometric, python-captum, python-torchmetrics)[native-inputs]: Remove python-pytest-cov. * gnu/packages/mastodon.scm (python-mastodon-py)[native-inputs]: Remove python-pytest-cov. * gnu/packages/messaging.scm (zulip-term)[native-inputs]: Remove python-pytest-cov. * gnu/packages/package-management.scm (python-conda-package-handling): [native-inputs]: Remove python-pytest-cov. * gnu/packages/patchutils.scm (pwclient)[native-inputs]: Remove python-pytest-cov. * gnu/packages/protobuf.scm (python-pure-protobuf)[native-inputs]: Remove python-pytest-cov. * gnu/packages/python-check.scm (python-testfixtures, python-vcrpy, python-pytest-filter-subpackage, python-atpublic, python-sybil, python-vulture)[native-inputs]: Remove python-pytest-cov. * gnu/packages/python-compression.scm (python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr)[native-inputs]: Remove python-pytest-cov. * gnu/packages/python-crypto.scm (python-trustme)[native-inputs]: Remove python-pytest-cov. (python-certauth)[native-inputs]: Remove python-pytest-cov. Add python-pytest. * gnu/packages/python-science.scm (python-scipy, python-pandaparallel, python-pyts, python-usetplot, python-pingouin, python-opt-einsum, python-salib)[native-inputs]: Remove python-pytest-cov. * gnu/packages/python-web.scm (python-apiron, python-huggingface-hub, python-portend, python-aiosignal, python-aiostream, python-ovh, python-cbor2, python-httplib2, python-cheroot, parfive, python-jose, python-pyscss, python-mechanicalsoup, python-priority, hypercorn, python-aioftp, python-oauthlib, python-tinycss, python-cssselect2, python-httpcore, python-wsgiprox, python-venusian, python-siosocks, python-zeep, gunicorn)[native-inputs]: Remove python-pytest-cov. (python-warcio)[native-inputs]: Remove python-pytest-cov. Add python-pytest. * gnu/packages/python-xyz.scm (python-apprise, python-janus, python-logbook, python-affine, python-mdit-py-plugins, python-pint, python-rasterio, python-bidict, python-can, dosage, python-contourpy, python-portalocker, python-extension-helpers, python-mizani, python-cligj, python-ddlparse, python-robotframework-pythonlibcore, python-lsp-server, python-sparse, python-pikepdf, python-imageio, python-manimpango, python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-jaraco-text, python-ipyparallel, python-three-merge, python-seaborn, python-sentry-sdk, python-sniffio, python-get-version, python-path, python-pip-run, python-debugpy, python-notebook, python-cookiecutter, python-pyqtgraph, python-inflect, python-pymemcache, python-natsort, python-mwclient, python-flasgger, python-tempora, python-outcome, python-apscheduler, python-iocapture, python-argh, python-flit, python-watchdog, python-watchgod, python-cmd2, python-inform, python-qtsass, python-scikit-build, python-minikanren, python-tablib, python-ansicolors, python-shtab, python-scooby, dynaconf, python-pyan3, python-numpydoc, python-loguru, python-multidict) [native-inputs]: Remove python-pytest-cov. * gnu/packages/sphinx.scm (python-sphinx-gallery)[native-inputs]: Remove python-pytest-cov. * gnu/packages/statistics.scm (python-pymc, python-emcee, python-rpy2)[native-inputs]: Remove python-pytest-cov. * gnu/packages/task-management.scm (todoman)[native-inputs]: Remove python-pytest-cov. * gnu/packages/textutils.scm (python-panflute)[native-inputs]: Remove python-pytest-cov. * gnu/packages/time.scm (python-arrow, python-tzlocal)[native-inputs]: Remove python-pytest-cov. * gnu/packages/vpn.scm (sshuttle)[native-inputs]: Remove python-pytest-cov. * gnu/packages/web.scm (anonip, python-tibanna)[native-inputs]: Remove python-pytest-cov. * gnu/packages/wm.scm (qtile)[native-inputs]: Remove python-pytest-cov. Add python-coverage. --- gnu/packages/astronomy.scm | 6 +- gnu/packages/audio.scm | 2 +- gnu/packages/backup.scm | 1 - gnu/packages/bioinformatics.scm | 9 +- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 351 +++++++++------------------- gnu/packages/cpp.scm | 1 - gnu/packages/dav.scm | 2 - gnu/packages/django.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/fediverse.scm | 1 - gnu/packages/fontutils.scm | 1 - gnu/packages/geo.scm | 3 +- gnu/packages/gettext.scm | 1 - gnu/packages/graphviz.scm | 2 - gnu/packages/jupyter.scm | 7 +- gnu/packages/machine-learning.scm | 18 +- gnu/packages/messaging.scm | 4 +- gnu/packages/package-management.scm | 1 - gnu/packages/patchutils.scm | 2 +- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-check.scm | 8 +- gnu/packages/python-compression.scm | 9 +- gnu/packages/python-crypto.scm | 3 +- gnu/packages/python-science.scm | 16 +- gnu/packages/python-web.scm | 55 ++--- gnu/packages/python-xyz.scm | 126 +++++----- gnu/packages/sphinx.scm | 1 - gnu/packages/statistics.scm | 4 +- gnu/packages/task-management.scm | 1 - gnu/packages/textutils.scm | 1 - gnu/packages/time.scm | 2 - gnu/packages/vpn.scm | 1 - gnu/packages/web.scm | 3 +- gnu/packages/wm.scm | 1 - 36 files changed, 216 insertions(+), 433 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ad9dcffaed..6a1cd27dbd 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1906,7 +1906,7 @@ (define-public python-astroml (setenv "HOME" "/tmp")))))) (propagated-inputs (list python-astropy python-matplotlib python-numpy python-scikit-learn python-scipy)) - (native-inputs (list python-pytest-astropy-header python-pytest-cov + (native-inputs (list python-pytest-astropy-header python-pytest python-pytest-doctestplus python-pytest-remotedata python-wheel)) (home-page "https://astroml.org") @@ -1976,7 +1976,6 @@ (define-public python-casa-formats-io (invoke "python" "setup.py" "build_ext" "--inplace")))))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-openfiles python-setuptools python-wheel)) @@ -2050,7 +2049,6 @@ (define-public python-cdflib (list python-astropy python-hypothesis python-pytest - python-pytest-cov python-pytest-remotedata python-setuptools python-setuptools-scm @@ -4344,7 +4342,6 @@ (define-public python-poliastro (list python-hypothesis python-flit-core python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-mpl python-pytest-mypy)) @@ -6399,7 +6396,6 @@ (define-public python-tweakwcs python-stsci-stimage)) (native-inputs (list python-pytest - python-pytest-cov python-scipy python-setuptools python-setuptools-scm diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 5e9474707c..90aaa34e18 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6476,7 +6476,7 @@ (define-public python-pysox (propagated-inputs (list python-numpy python-typing-extensions)) (native-inputs - (list sox python-pytest python-pytest-cov python-soundfile)) + (list sox python-pytest python-soundfile)) (home-page "https://github.com/rabitt/pysox") (synopsis "Python wrapper around SoX") (description "@code{python-pysox} is a wrapper around the @command{sox} diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index bc449a9591..16cbd0f8e3 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -1375,7 +1375,6 @@ (define-public borgmatic (native-inputs (list python-flexmock python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 11494c293a..408236635c 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3818,7 +3818,8 @@ (define-public python-biom-format ;;python-scikit-bio ;mutually recursive dependency python-scipy)) (native-inputs - (list python-cython python-pytest python-pytest-cov + (list python-cython + python-pytest python-wheel)) (home-page "https://www.biom-format.org") (synopsis "Biological Observation Matrix (BIOM) format utilities") @@ -11301,7 +11302,6 @@ (define-public python-screed (list python-importlib-resources python-pycodestyle python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-setuptools-scm-git-archive @@ -19555,7 +19555,6 @@ (define-public python-pyfaidx python-mock python-numpy python-pytest - python-pytest-cov python-wheel)) (propagated-inputs (list python-setuptools)) (home-page "http://mattshirley.com") @@ -19605,9 +19604,7 @@ (define-public python-cooler python-scipy python-simplejson)) (native-inputs - (list python-hatchling - python-pytest - python-pytest-cov)) + (list python-hatchling python-pytest)) ;; Almost all the projects of the Mirnylab are moved under Open2C umbrella (home-page "https://github.com/open2c/cooler") (synopsis "Sparse binary format for genomic interaction matrices") diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 20fd7bafd8..6576fd82a8 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -365,7 +365,6 @@ (define-public meson-python python-cython-3 python-gitpython python-pytest - python-pytest-cov python-pytest-mock)) (home-page "https://github.com/mesonbuild/meson-python") (synopsis "Meson-based build backend for Python") diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index e9d9b5b9e1..9ba35bd360 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1871,245 +1871,128 @@ (define-public python-pytest-nunit (arguments (list #:tests? #false)) ;no tests included (native-inputs (list python-pytest - python-pytest-cov - python-setuptools - python-wheel - python-xmlschema)) - (propagated-inputs - (list python-attrs - python-pytest)) - (home-page "https://github.com/pytest-dev/pytest-nunit") - (synopsis "Pytest plugin for generating NUnit3 test result XML output") - (description - "This package provides a pytest plugin for generating NUnit3 test result -XML output") - (license license:expat))) + python-setuptools python-wheel python-xmlschema)) +(propagated-inputs (list python-attrs python-pytest)) (home-page +"https://github.com/pytest-dev/pytest-nunit") (synopsis "Pytest plugin for +generating NUnit3 test result XML output") (description "This package provides +a pytest plugin for generating NUnit3 test result XML output") (license +license:expat))) -(define-public python-pytest-param-files - (package - (name "python-pytest-param-files") - (version "0.3.4") - (source (origin - (method url-fetch) - (uri (pypi-uri "pytest_param_files" version)) - (sha256 - (base32 - "0gc9nsqizrjapjnbcs1bdxfcl69dpmwbpd9sssjidgcikm7k433c")))) - (build-system pyproject-build-system) - (native-inputs (list python-flit-core)) - (propagated-inputs (list python-pytest)) - (home-page "https://github.com/chrisjsewell/pytest-param-files") - (synopsis "Pytest plugin to parameterize tests from external files") - (description "This Pytest plugin enables creating Pytest parametrize -decorators from external files.") - (license license:expat))) +(define-public python-pytest-param-files (package (name +"python-pytest-param-files") (version "0.3.4") (source (origin (method +url-fetch) (uri (pypi-uri "pytest_param_files" version)) (sha256 (base32 +"0gc9nsqizrjapjnbcs1bdxfcl69dpmwbpd9sssjidgcikm7k433c")))) (build-system +pyproject-build-system) (native-inputs (list python-flit-core)) +(propagated-inputs (list python-pytest)) (home-page +"https://github.com/chrisjsewell/pytest-param-files") (synopsis "Pytest plugin +to parameterize tests from external files") (description "This Pytest plugin +enables creating Pytest parametrize decorators from external files.") +(license license:expat))) -(define-public python-pytest-random-order - (package - (name "python-pytest-random-order") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pytest-random-order" version)) - (sha256 - (base32 "104hww3b86jchk41kjhyycr541pd2dfgqkww6lx5y70z9z9xfwj4")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - ;; AttributeError: module 'py' has no attribute 'code'. - #~(list "-k" (string-append "not test_it_works_with_actual_tests" - " and not test_failed_first" - " and not test_doctests")))) - (native-inputs - (list python-pytest-xdist - python-setuptools - python-py - python-wheel)) - (propagated-inputs - (list python-pytest)) - (home-page "https://github.com/jbasko/pytest-random-order") - (synopsis "Pytest plugin to randomize the order of tests") - (description "@code{pytest-random-order} is a Pytest plugin that -randomizes the order of tests. This can be useful to detect a test that -passes just because it happens to run after an unrelated test that leaves the -system in a favourable state. The plugin allows user to control the level of -randomness they want to introduce and to disable reordering on subsets of -tests. Tests can be rerun in a specific order by passing a seed value -reported in a previous test run.") - (license license:expat))) +(define-public python-pytest-random-order (package (name +"python-pytest-random-order") (version "1.1.1") (source (origin (method +url-fetch) (uri (pypi-uri "pytest-random-order" version)) (sha256 (base32 +"104hww3b86jchk41kjhyycr541pd2dfgqkww6lx5y70z9z9xfwj4")))) (build-system +pyproject-build-system) (arguments (list #:test-flags ;; AttributeError: +module 'py' has no attribute 'code'. #~(list "-k" (string-append "not +test_it_works_with_actual_tests" " and not test_failed_first" " and not +test_doctests")))) (native-inputs (list python-pytest-xdist python-setuptools +python-py python-wheel)) (propagated-inputs (list python-pytest)) (home-page +"https://github.com/jbasko/pytest-random-order") (synopsis "Pytest plugin to +randomize the order of tests") (description "@code{pytest-random-order} is a +Pytest plugin that randomizes the order of tests. This can be useful to +detect a test that passes just because it happens to run after an unrelated +test that leaves the system in a favourable state. The plugin allows user to +control the level of randomness they want to introduce and to disable +reordering on subsets of tests. Tests can be rerun in a specific order by +passing a seed value reported in a previous test run.") (license +license:expat))) -(define-public python-pytest-randomly - (package - (name "python-pytest-randomly") - (version "3.11.0") - (source (origin - (method git-fetch) ;no tests in pypi archive - (uri (git-reference - (url "https://github.com/pytest-dev/pytest-randomly") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1sjgq49g8f8973vhmzrim79b6wz29a765n99azjk1maimqh7mmik")))) - (build-system python-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; The tests validating ordering fail, as well as as two - ;; others, for unknown reasons (see: - ;; https://github.com/pytest-dev/pytest-randomly/issues/454). - (invoke "pytest" "-vv" "-k" - (string-append - "not reordered " - "and not test_it_runs_before_stepwise " - "and not test_entrypoint_injection")))))))) - (native-inputs (list python-factory-boy - python-faker - python-numpy - python-pytest-xdist)) - (propagated-inputs (list python-importlib-metadata python-pytest)) - (home-page "https://github.com/pytest-dev/pytest-randomly") - (synopsis "Pytest plugin to randomly order tests") - (description "This is a Pytest plugin to randomly order tests and control -Python's @code{random.seed}.") - (license license:expat))) +(define-public python-pytest-randomly (package (name "python-pytest-randomly") +(version "3.11.0") (source (origin (method git-fetch) ;no tests in pypi +archive (uri (git-reference (url +"https://github.com/pytest-dev/pytest-randomly") (commit version))) (file-name +(git-file-name name version)) (sha256 (base32 +"1sjgq49g8f8973vhmzrim79b6wz29a765n99azjk1maimqh7mmik")))) (build-system +python-build-system) (arguments (list #:phases #~(modify-phases +%standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) +(when tests? ;; The tests validating ordering fail, as well as as two ;; +others, for unknown reasons (see: ;; +https://github.com/pytest-dev/pytest-randomly/issues/454). (invoke "pytest" +"-vv" "-k" (string-append "not reordered " "and not +test_it_runs_before_stepwise " "and not test_entrypoint_injection")))))))) +(native-inputs (list python-factory-boy python-faker python-numpy +python-pytest-xdist)) (propagated-inputs (list python-importlib-metadata +python-pytest)) (home-page "https://github.com/pytest-dev/pytest-randomly") +(synopsis "Pytest plugin to randomly order tests") (description "This is a +Pytest plugin to randomly order tests and control Python's +@code{random.seed}.") (license license:expat))) -(define-public python-pytest-runner - (package - (name "python-pytest-runner") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pytest-runner" version)) - (sha256 - (base32 - "11dnhxnjmh4nf1j8rnvx944ha3wg8ggrgrwdcx4c7d19xmi57n5l")))) - (build-system pyproject-build-system) - (arguments - (list - ;; FIXME: The test suite requires 'python-pytest-virtualenv', - ;; but that introduces a circular dependency. - #:tests? #f - #:phases - #~(modify-phases %standard-phases - (replace 'build - (lambda _ - (let ((circa-1980 (* 10 366 24 60 60))) - (setenv "SOURCE_DATE_EPOCH" (number->string circa-1980)) - (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))) - (replace 'install - (lambda _ - (let ((whl (car (find-files "dist" "\\.whl$")))) - (invoke "pip" "--no-cache-dir" "--no-input" - "install" "--no-deps" "--prefix" #$output whl))))))) - (native-inputs - (list python-pip python-pypa-build python-pytest - python-setuptools python-setuptools-scm python-wheel)) - (home-page "https://github.com/pytest-dev/pytest-runner") - (synopsis "Invoke py.test as a distutils command") - (description - "This package provides a @command{pytest-runner} command that -@file{setup.py} files can use to run tests.") - (license license:expat))) +(define-public python-pytest-runner (package (name "python-pytest-runner") +(version "6.0.0") (source (origin (method url-fetch) (uri (pypi-uri +"pytest-runner" version)) (sha256 (base32 +"11dnhxnjmh4nf1j8rnvx944ha3wg8ggrgrwdcx4c7d19xmi57n5l")))) (build-system +pyproject-build-system) (arguments (list ;; FIXME: The test suite requires +'python-pytest-virtualenv', ;; but that introduces a circular dependency. +#:tests? #f #:phases #~(modify-phases %standard-phases (replace 'build (lambda +_ (let ((circa-1980 (* 10 366 24 60 60))) (setenv "SOURCE_DATE_EPOCH" +(number->string circa-1980)) (invoke "python" "-m" "build" "--wheel" +"--no-isolation" ".")))) (replace 'install (lambda _ (let ((whl (car +(find-files "dist" "\\.whl$")))) (invoke "pip" "--no-cache-dir" "--no-input" +"install" "--no-deps" "--prefix" #$output whl))))))) (native-inputs (list +python-pip python-pypa-build python-pytest python-setuptools +python-setuptools-scm python-wheel)) (home-page +"https://github.com/pytest-dev/pytest-runner") (synopsis "Invoke py.test as a +distutils command") (description "This package provides a +@command{pytest-runner} command that @file{setup.py} files can use to run +tests.") (license license:expat))) -(define-public python-pytest-lazy-fixtures - (package - (name "python-pytest-lazy-fixtures") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pytest_lazy_fixtures" version)) - (sha256 - (base32 "1v819n9jrgf0rk2fidn6fkdzz68r4jin94lvy9fbb9gf546iymhc")))) - (native-inputs - (list python-poetry-core)) - (propagated-inputs - (list python-pytest)) - (build-system pyproject-build-system) - (home-page "https://github.com/dev-petrov/pytest-lazy-fixtures") - (synopsis "Use fixtures in @code{pytest.mark.parametrize}") - (description - "This plugin helps to use fixtures in @code{pytest.mark.parametrize}, -inspied by @url{https://github.com/TvoroG/pytest-lazy-fixture, -pytest-lazy-fixture}.") - (license license:expat))) +(define-public python-pytest-lazy-fixtures (package (name +"python-pytest-lazy-fixtures") (version "1.1.1") (source (origin (method +url-fetch) (uri (pypi-uri "pytest_lazy_fixtures" version)) (sha256 (base32 +"1v819n9jrgf0rk2fidn6fkdzz68r4jin94lvy9fbb9gf546iymhc")))) (native-inputs +(list python-poetry-core)) (propagated-inputs (list python-pytest)) +(build-system pyproject-build-system) (home-page +"https://github.com/dev-petrov/pytest-lazy-fixtures") (synopsis "Use fixtures +in @code{pytest.mark.parametrize}") (description "This plugin helps to use +fixtures in @code{pytest.mark.parametrize}, inspied by +@url{https://github.com/TvoroG/pytest-lazy-fixture, pytest-lazy-fixture}.") +(license license:expat))) -(define-public python-pytest-mock - (package - (name "python-pytest-mock") - (version "3.14.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pytest-mock" version)) - (sha256 - (base32 "1l0b864arbzrq13z635l1x9ial0w7pgz6svd0nyavkpy3rd2a697")))) - (build-system pyproject-build-system) - (arguments - (list - ;; Skip the assertion rewriting tests, which don't work in the presence - ;; of read-only Python modules (a limitation of Pytest). - #:test-flags #~(list "--assert=plain"))) - (native-inputs - (list python-pytest-asyncio - python-setuptools - python-setuptools-scm - python-wheel)) - (propagated-inputs - (list python-pytest)) - (home-page "https://github.com/pytest-dev/pytest-mock/") - (synopsis "Thin-wrapper around the mock package for easier use with py.test") - (description - "This plugin installs a @code{mocker} fixture which is a thin-wrapper -around the patching API provided by the @code{mock} package, but with the -benefit of not having to worry about undoing patches at the end of a test. -The mocker fixture has the same API as @code{mock.patch}, supporting the -same arguments.") - (license license:expat))) +(define-public python-pytest-mock (package (name "python-pytest-mock") +(version "3.14.0") (source (origin (method url-fetch) (uri (pypi-uri +"pytest-mock" version)) (sha256 (base32 +"1l0b864arbzrq13z635l1x9ial0w7pgz6svd0nyavkpy3rd2a697")))) (build-system +pyproject-build-system) (arguments (list ;; Skip the assertion rewriting +tests, which don't work in the presence ;; of read-only Python modules (a +limitation of Pytest). #:test-flags #~(list "--assert=plain"))) +(native-inputs (list python-pytest-asyncio python-setuptools +python-setuptools-scm python-wheel)) (propagated-inputs (list python-pytest)) +(home-page "https://github.com/pytest-dev/pytest-mock/") (synopsis +"Thin-wrapper around the mock package for easier use with py.test") +(description "This plugin installs a @code{mocker} fixture which is a +thin-wrapper around the patching API provided by the @code{mock} package, but +with the benefit of not having to worry about undoing patches at the end of a +test. The mocker fixture has the same API as @code{mock.patch}, supporting +the same arguments.") (license license:expat))) -(define-public python-pytest-xdist - (package - (name "python-pytest-xdist") - (version "3.6.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pytest_xdist" version)) - (sha256 - (base32 - "039h0w8qc3d2ix55rrdj6i50i8jqxxl7dx9pjxvfq7i3vfj5dlga")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - ;; Failes with execnet.gateway_base.RemoteError: Traceback (most recent - ;; call last). - #~(list "-k" "not test_ignore_sys_path_hook_entry"))) - (native-inputs (list python-filelock - python-pytest - python-setuptools - python-setuptools-scm - python-wheel)) - (propagated-inputs (list python-execnet python-pytest-forked)) - (home-page "https://github.com/pytest-dev/pytest-xdist") - (synopsis - "Plugin for py.test with distributed testing and loop-on-failing modes") - (description - "The pytest-xdist plugin extends py.test with some unique test execution -modes: parallelization, running tests in boxed subprocesses, the ability -to run tests repeatedly when failed, and the ability to run tests on multiple -Python interpreters or platforms. It uses rsync to copy the existing -program code to a remote location, executes there, and then syncs the -result back.") - (license license:expat))) +(define-public python-pytest-xdist (package (name "python-pytest-xdist") +(version "3.6.1") (source (origin (method url-fetch) (uri (pypi-uri +"pytest_xdist" version)) (sha256 (base32 +"039h0w8qc3d2ix55rrdj6i50i8jqxxl7dx9pjxvfq7i3vfj5dlga")))) (build-system +pyproject-build-system) (arguments (list #:test-flags ;; Failes with +execnet.gateway_base.RemoteError: Traceback (most recent ;; call last). +#~(list "-k" "not test_ignore_sys_path_hook_entry"))) (native-inputs (list +python-filelock python-pytest python-setuptools python-setuptools-scm +python-wheel)) (propagated-inputs (list python-execnet python-pytest-forked)) +(home-page "https://github.com/pytest-dev/pytest-xdist") (synopsis "Plugin for +py.test with distributed testing and loop-on-failing modes") (description "The +pytest-xdist plugin extends py.test with some unique test execution modes: +parallelization, running tests in boxed subprocesses, the ability to run tests +repeatedly when failed, and the ability to run tests on multiple Python +interpreters or platforms. It uses rsync to copy the existing program code to +a remote location, executes there, and then syncs the result back.") (license +license:expat))) (define-public python-pytest-timeout (package @@ -2949,7 +2832,6 @@ (define-public python-pytest-enabler (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -3156,7 +3038,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -3748,7 +3629,7 @@ (define-public python-pyhamcrest (base32 "05kdzlhs2kvj82pfca13qszszcj6dyrk4b9pbr46x06sq2s4qyls")))) (native-inputs ;all native inputs are for tests - (list python-pytest-cov python-mock python-pytest python-hypothesis)) + (list python-mock python-pytest python-hypothesis)) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 656b68e5bd..83ec03ef0c 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1348,7 +1348,6 @@ (define-public cpplint (getenv "TMP_PYTHONPATH"))))))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-runner python-setuptools python-testfixtures diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 546118055f..7688c9a994 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -58,7 +58,6 @@ (define-public radicale (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-pytest-flake8 python-pytest-isort python-setuptools @@ -151,7 +150,6 @@ (define-public vdirsyncer python-trustme python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpserver radicale)) (inputs diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 905a889de8..b4e6f02fe1 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -269,7 +269,6 @@ (define-public python-django-extensions (list python-mock python-factory-boy python-pytest - python-pytest-cov python-pytest-django python-shortuuid)) (home-page diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 930857d0aa..654dad0015 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -1960,7 +1960,6 @@ (define-public mbed-tools (invoke "pytest" "-vv"))))))) (native-inputs (list python-pytest - python-pytest-cov python-factory-boy python-requests-mock python-semver)) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 67f0d95316..5036767a9e 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2830,7 +2830,6 @@ (define-public python-scikit-rf (native-inputs (list python-nbval python-networkx python-pytest - python-pytest-cov python-pytest-mock python-pyvisa)) (home-page "https://scikit-rf.org/") diff --git a/gnu/packages/fediverse.scm b/gnu/packages/fediverse.scm index b1d03a3802..36e32fcebf 100644 --- a/gnu/packages/fediverse.scm +++ b/gnu/packages/fediverse.scm @@ -188,7 +188,6 @@ (define-public python-mastodon-py python-cryptography python-http-ece python-pytest - python-pytest-cov python-pytest-mock python-pytest-runner python-pytest-vcr diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 4f4793b144..ce7603809b 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -861,7 +861,6 @@ (define-public psautohint (native-inputs (list psautohint-font-data python-pytest - python-pytest-cov python-pytest-xdist python-setuptools-scm python-setuptools diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index a4fa352390..c412a80348 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -993,7 +993,7 @@ (define-public python-fiona (list gdal ; for gdal-config python-boto3 python-cython - python-pytest python-pytest-cov python-pytz)) + python-pytest python-pytz)) (home-page "https://github.com/Toblerity/Fiona") (synopsis "Fiona reads and writes spatial data files") @@ -1610,7 +1610,6 @@ (define-public python-cartopy (native-inputs (list python-cython python-pytest - python-pytest-cov python-pytest-mpl python-pytest-xdist python-setuptools diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 25f4efe1fc..0791ff7598 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -229,7 +229,6 @@ (define-public mdpo python-flake8-implicit-str-concat python-flake8-print python-pytest - python-pytest-cov python-sphinx python-sphinx-argparse python-sphinx-rtd-theme diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 33ddbeba42..3545867fea 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -166,7 +166,6 @@ (define-public python-graphviz graphviz python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) @@ -225,7 +224,6 @@ (define-public python-uqbar (native-inputs (list graphviz python-pytest - python-pytest-cov python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 5be51fc425..83098c5578 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -519,8 +519,7 @@ (define-public python-jupyter-packaging (list python-deprecation python-packaging python-setuptools python-tomlkit python-wheel)) (native-inputs - (list python-pypa-build python-pytest - python-pytest-cov python-pytest-mock)) + (list python-pypa-build python-pytest python-pytest-mock)) (home-page "https://jupyter.org") (synopsis "Jupyter packaging utilities") (description "This package provides tools to help build and install @@ -688,7 +687,6 @@ (define-public python-jupyterlite-core (native-inputs (list python-ansi2html python-hatchling python-pytest-console-scripts - python-pytest-cov python-pytest-xdist python-tornado-6)) (home-page "https://github.com/jupyterlite/jupyterlite") @@ -1118,8 +1116,7 @@ (define-public python-ipydatawidgets (native-inputs (list python-jupyter-packaging python-nbval - python-pytest - python-pytest-cov)) + python-pytest)) (home-page "https://github.com/vidartf/ipydatawidgets") (synopsis "Widgets to help facilitate reuse of large datasets across widgets") (description diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d90d9a8c96..ebea63515c 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1069,8 +1069,7 @@ (define-public python-persim python-numpy python-scikit-learn python-scipy)) - (native-inputs (list python-pytest python-pytest-cov python-setuptools - python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://persim.scikit-tda.org") (synopsis "Tools for analyzing persistence diagrams in Python") (description @@ -2024,7 +2023,7 @@ (define-public python-scikit-learn-extra python-scikit-learn python-scipy python-packaging)) - (native-inputs (list python-pytest python-pytest-cov python-cython + (native-inputs (list python-pytest python-cython python-setuptools python-wheel)) (home-page "https://github.com/scikit-learn-contrib/scikit-learn-extra") (synopsis "Set of tools for scikit-learn") @@ -2149,7 +2148,6 @@ (define-public python-imbalanced-learn (native-inputs (list python-keras python-pandas python-pytest - python-pytest-cov python-setuptools python-wheel tensorflow)) @@ -3891,8 +3889,7 @@ (define-public python-keras-applications (propagated-inputs (list python-h5py python-numpy)) (native-inputs - (list python-pytest python-pytest-cov python-pytest-pep8 - python-pytest-xdist)) + (list python-pytest python-pytest-pep8 python-pytest-xdist)) (home-page "https://github.com/keras-team/keras-applications") (synopsis "Reference implementations of popular deep learning models") (description @@ -3918,7 +3915,6 @@ (define-public python-keras-preprocessing (list python-pandas python-pillow python-pytest - python-pytest-cov python-pytest-xdist tensorflow)) (home-page "https://github.com/keras-team/keras-preprocessing/") @@ -4060,7 +4056,6 @@ (define-public python-keras python-markdown python-pandas python-pytest - python-pytest-cov python-pytest-pep8 python-pytest-timeout python-pytest-xdist @@ -4158,7 +4153,7 @@ (define-public python-tensorly ;; nor is examples/plot_quantum.py " and not test_file_is_generated")))) (propagated-inputs (list python-jsmin python-numpy python-scipy)) - (native-inputs (list python-pytest python-pytest-cov python-sphinx + (native-inputs (list python-pytest python-sphinx python-setuptools python-wheel)) (home-page "https://github.com/tensorly/tensorly") (synopsis "Tensor learning in Python") @@ -5223,8 +5218,7 @@ (define-public python-pytorch-geometric python-tqdm)) (native-inputs (list python-flit-core - python-pytest - python-pytest-cov)) + python-pytest)) (home-page "https://pyg.org") (synopsis "Graph Neural Network library for PyTorch") (description @@ -5319,7 +5313,6 @@ (define-public python-captum python-ipywidgets python-parameterized python-pytest - python-pytest-cov python-scikit-learn python-setuptools)) (home-page "https://captum.ai") @@ -5507,7 +5500,6 @@ (define-public python-torchmetrics python-pandas python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-rerunfailures python-pytest-timeout diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index e13625c64d..84adcf81df 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3238,7 +3238,6 @@ (define-public zulip-term (modules '((guix build utils))) (snippet '(substitute* "setup.py" (("\\=\\=1\\.7") ">=1.7") ; pytest-mock - (("\\=\\=2\\.5") ">=2.5") ; pytest-cov (("4\\.5\\.2") "4.4.2"))))) ; lxml (build-system pyproject-build-system) (arguments @@ -3251,8 +3250,7 @@ (define-public zulip-term python-urwid-readline python-zulip)) (native-inputs - (list python-distro python-pytest python-pytest-cov - python-pytest-mock)) + (list python-distro python-pytest python-pytest-mock)) (home-page "https://github.com/zulip/zulip-terminal") (synopsis "Zulip's official terminal client") (description "This package contains Zulip's official terminal client.") diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index f42a6d002b..e55fc0322c 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1143,7 +1143,6 @@ (define-public python-conda-package-handling (list python-cython python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index 3cd3507b07..d0d48f6922 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm @@ -595,7 +595,7 @@ (define-public pwclient "/share/man/man1")) #t))))) (native-inputs - (list python-pbr python-pytest python-pytest-cov python-mock)) + (list python-pbr python-pytest python-mock)) (home-page "https://github.com/getpatchwork/pwclient") (synopsis "Command-line client for the Patchwork patch tracking tool") diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index b5f853c559..8f4a569ae9 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -505,7 +505,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 9899b18efc..bf621d793f 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -198,7 +198,7 @@ (define-public python-atpublic (build-system pyproject-build-system) (arguments (list #:build-backend "pdm.backend")) (native-inputs - (list python-pytest python-pdm-backend python-sybil python-pytest-cov)) + (list python-pytest python-pdm-backend python-sybil)) (home-page "https://public.readthedocs.io/") (synopsis "@code{@@public} decorator for populating @code{__all__}") (description @@ -724,7 +724,7 @@ (define-public python-testfixtures (arguments `(#:tests? #f)) ; PyTest-Django fails to build in master (native-inputs - (list python-pytest python-pytest-cov + (list python-pytest ;;("python-pytest-django" ,python-pytest-django) python-wheel)) (synopsis "Tests components for Python") @@ -1131,7 +1131,6 @@ (define-public python-pytest-filter-subpackage (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-pytest-doctestplus python-setuptools-scm python-setuptools @@ -3047,7 +3046,6 @@ (define-public python-sybil (native-inputs (list python-mypy python-myst-parser python-pytest - python-pytest-cov python-pyyaml python-seedir python-setuptools @@ -3197,7 +3195,6 @@ (define-public python-vcrpy python-ipaddress python-mock python-pytest - python-pytest-cov python-pytest-httpbin python-setuptools python-urllib3 @@ -3253,7 +3250,6 @@ (define-public python-vulture "not test_whitelists_with_python"))))))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (propagated-inputs (list python-toml)) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index b2e62e1d49..06fc381e68 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -166,7 +166,6 @@ (define-public python-multivolumefile python-hypothesis python-pyannotate python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/miurahr/multivolume") @@ -306,7 +305,6 @@ (define-public python-pybcj (native-inputs (list python-hypothesis python-pytest - python-pytest-cov python-setuptools-scm python-setuptools python-wheel)) @@ -337,7 +335,7 @@ (define-public python-bcj-cffi (propagated-inputs (list python-cffi python-toml python-setuptools-scm)) (native-inputs - (list python-setuptools python-pytest python-pytest-cov)) + (list python-setuptools python-pytest)) (home-page "https://github.com/miurahr/bcj-cffi") (synopsis "Branch / Call /Jump CFFI library in Python") (description "This package provides an implementation of the Branch / Call / @@ -465,7 +463,6 @@ (define-public python-pyppmd (list python-hypothesis python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-timeout python-setuptools-scm python-setuptools @@ -495,8 +492,7 @@ (define-public python-ppmd-cffi (native-inputs (list python-hypothesis python-setuptools-scm - python-pytest - python-pytest-cov)) + python-pytest)) (home-page "https://github.com/miurahr/ppmd") (synopsis "Prediction by Partial Matching compression library") (description "PPMd is a compression algorithm library using the Prediction @@ -535,7 +531,6 @@ (define-public python-py7zr python-pyannotate python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-remotedata python-pytest-timeout python-setuptools-scm diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index bd7868f5b8..a29d7e4375 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -469,7 +469,7 @@ (define-public python-certauth (propagated-inputs (list python-pyopenssl python-tldextract)) (native-inputs - (list nss-certs-for-test python-pytest-cov python-setuptools python-wheel)) + (list nss-certs-for-test python-setuptools python-wheel)) (home-page "https://github.com/ikreymer/certauth") (synopsis "Certificate authority creation tool") (description "This package provides a small library, built on top of @@ -1508,7 +1508,6 @@ (define-public python-trustme (list python-more-itertools python-pyopenssl python-pytest - python-pytest-cov python-service-identity python-setuptools python-wheel diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 54160f01c0..2a063db943 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -417,7 +417,6 @@ (define-public python-scipy python-pooch python-pydevtool python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist)) (home-page "https://scipy.org/") @@ -1508,7 +1507,6 @@ (define-public python-pandarallel (list python-mkdocs-material python-numpy python-pytest - python-pytest-cov python-pytest-xdist python-setuptools python-wheel)) @@ -1783,8 +1781,7 @@ (define-public python-pyts python-scikit-learn python-scipy)) (native-inputs - (list python-pytest python-pytest-cov python-setuptools - python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/johannfaouzi/pyts") (synopsis "Python package for time series classification") (description @@ -2410,8 +2407,9 @@ (define-public python-upsetplot (propagated-inputs (list python-matplotlib python-pandas)) (native-inputs - (list python-pytest-runner python-pytest-cov - python-setuptools python-wheel)) + (list python-pytest-runner + python-setuptools + python-wheel)) (home-page "https://upsetplot.readthedocs.io") (synopsis "Draw UpSet plots with Pandas and Matplotlib") (description @@ -2560,7 +2558,7 @@ (define-public python-pingouin (("kwargs\\[\"penalty\"\\] = \"none\"") "kwargs[\"penalty\"] = None"))))))) (native-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest)) (propagated-inputs (list python-matplotlib python-mpmath @@ -3699,7 +3697,7 @@ (define-public python-opt-einsum (when tests? (invoke "pytest" "-vv"))))))) (propagated-inputs (list python-numpy)) - (native-inputs (list python-pytest python-pytest-cov python-pytest-pep8)) + (native-inputs (list python-pytest python-pytest-pep8)) (home-page "https://github.com/dgasmith/opt_einsum") (synopsis "Optimizing numpys einsum function") (description @@ -3788,7 +3786,7 @@ (define-public python-salib python-numpy python-pandas python-scipy)) - (native-inputs (list python-hatchling python-pytest python-pytest-cov)) + (native-inputs (list python-hatchling python-pytest)) (home-page "https://salib.readthedocs.io/en/latest/") (synopsis "Tools for global sensitivity analysis") (description "SALib provides tools for global sensitivity analysis. It diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6e68f8d25a..f97ccff187 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -498,7 +498,6 @@ (define-public python-huggingface-hub python-pydantic python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-env python-pytest-rerunfailures python-pytest-vcr @@ -631,7 +630,6 @@ (define-public python-portend (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -860,7 +858,6 @@ (define-public python-aiosignal (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/aio-libs/aiosignal") @@ -1118,11 +1115,10 @@ (define-public python-aiostream (sha256 (base32 "0l2ijb7yk0820wiyf6zrzx8fhzf8925an7r06mcaw3in1mr6rssq")))) - (build-system python-build-system) + (build-system pyproject-build-system) (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-runner python-setuptools python-wheel)) @@ -1516,7 +1512,6 @@ (define-public python-ovh (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-sphinx python-wheel)) @@ -1539,7 +1534,6 @@ (define-public python-cbor2 (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -1864,7 +1858,6 @@ (define-public python-httplib2 python-future python-mock python-pytest - python-pytest-cov python-pytest-forked python-pytest-randomly python-pytest-timeout @@ -1894,8 +1887,7 @@ (define-public python-cheroot (arguments (list #:test-flags - #~(list "--cov=cheroot" - ;; Tests are flaky in parallel invocation. + #~(list ;; Tests are flaky in parallel invocation. ;; "--numprocesses=auto" "--doctest-modules" "--showlocals" @@ -1997,7 +1989,6 @@ (define-public parfive python-tqdm)) (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-localserver python-pytest-socket python-setuptools @@ -2066,7 +2057,7 @@ (define-public python-jose "and not test_private_key_load_cycle")))) (native-inputs (list ;; All native inputs are for tests. - python-pyasn1 python-pytest python-pytest-cov + python-pyasn1 python-pytest python-pytest-runner python-setuptools python-wheel)) @@ -2165,7 +2156,7 @@ (define-public python-pyscss (base32 "1vinddg8sbh3v9n1r1wmvjx6ydk8xp7scbvhb3csl4y9xz7vhk6g")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (inputs (list pcre)) (home-page "https://github.com/Kronuz/pyScss") @@ -2233,12 +2224,11 @@ (define-public python-mechanicalsoup (uri (pypi-uri "MechanicalSoup" version)) (sha256 (base32 "01sddjxy3rznh63hnl5lbv1hhk6xyiviwmkiw4x7v4ap35fb3lrp")))) - (build-system python-build-system) + (build-system pyproject-build-system) (propagated-inputs (list python-beautifulsoup4 python-lxml python-requests python-six)) (native-inputs - (list python-pytest-cov - python-pytest-flake8 + (list python-pytest-flake8 python-pytest-httpbin python-pytest-mock python-pytest-runner @@ -3296,7 +3286,8 @@ (define-public python-priority ;; This test exceeded the Hypothesis deadline. "not test_period_of_repetition")))))) (native-inputs - (list python-hypothesis python-pytest python-pytest-cov + (list python-hypothesis + python-pytest python-pytest-xdist)) (home-page "https://python-hyper.org/projects/priority/en/latest/") (synopsis "Pure-Python implementation of the HTTP/2 priority tree") @@ -3356,7 +3347,6 @@ (define-public hypercorn python-poetry-core python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-trio python-trio)) (home-page "https://gitlab.com/pgjones/hypercorn/") @@ -4367,8 +4357,9 @@ (define-public python-apiron (propagated-inputs (list python-requests)) (native-inputs - (list python-pytest python-pytest-cov - python-setuptools python-wheel)) + (list python-pytest + python-setuptools + python-wheel)) (home-page "https://github.com/ithaka/apiron") (synopsis "Python wrapper for interacting with RESTful APIs") (description @@ -4646,7 +4637,6 @@ (define-public python-aioftp (list python-async-timeout python-pytest python-pytest-asyncio - python-pytest-cov python-setuptools python-trustme python-wheel)) @@ -4753,7 +4743,7 @@ (define-public python-oauthlib (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-pytest python-pytest-cov python-mock)) + (list python-pytest python-mock)) (propagated-inputs (list python-cryptography python-pyjwt python-blinker)) (home-page "https://github.com/oauthlib/oauthlib") @@ -6997,8 +6987,7 @@ (define-public python-tinycss2 (build-system pyproject-build-system) (native-inputs (list python-flit - python-pytest - python-pytest-cov)) + python-pytest)) (propagated-inputs (list python-webencodings)) (home-page "https://tinycss2.readthedocs.io/") @@ -7037,7 +7026,7 @@ (define-public python-cssselect2 (propagated-inputs (list python-tinycss2)) (native-inputs - (list python-flit python-pytest-cov python-pytest-runner)) + (list python-flit python-pytest-runner)) (home-page "https://cssselect2.readthedocs.io/") (synopsis "CSS selectors for Python ElementTree") (description "@code{cssselect2} is a straightforward implementation of @@ -7193,7 +7182,6 @@ (define-public gunicorn python-aiohttp python-gevent python-pytest - python-pytest-cov python-sphinx texinfo)) (propagated-inputs (list python-packaging python-setuptools python-wheel)) @@ -7548,7 +7536,6 @@ (define-public python-httpcore python-hatchling python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpbin python-pytest-trio python-uvicorn @@ -7724,7 +7711,7 @@ (define-public python-wsgiprox (propagated-inputs (list python-certauth python-gevent python-websocket-client)) (native-inputs - (list python-mock python-pytest-cov python-waitress)) + (list python-mock python-waitress)) (home-page "https://github.com/webrecorder/wsgiprox") (synopsis "HTTP/S proxy with WebSockets over WSGI") (description "@code{wsgiprox} is a Python WSGI (Web Server Gateway @@ -7766,7 +7753,6 @@ (define-public python-warcio (native-inputs ;; These inputs are required for the test suite. (list python-httpbin - python-pytest-cov python-requests python-setuptools python-wheel @@ -7884,11 +7870,9 @@ (define-public python-venusian (uri (pypi-uri "venusian" version)) (sha256 (base32 "0f7f67dkgxxcjfhpdd5frb9pszkf04lyzzpn5069q0xi89r2p17n")))) - (build-system python-build-system) + (build-system pyproject-build-system) (native-inputs - `(("python-pytest" ,python-pytest) - ("python-runner" ,python-pytest-runner) - ("python-pytest-cov" ,python-pytest-cov))) + (list python-pytest python-pytest-runner)) (arguments '(#:test-target "pytest")) (home-page "https://docs.pylonsproject.org/projects/venusian") (synopsis "Library for deferring decorator actions") @@ -8534,7 +8518,6 @@ (define-public python-cloud-init (native-inputs (list procps ;for ps when running tests python-pytest - python-pytest-cov python-pytest-mock python-passlib python-setuptools @@ -8957,8 +8940,7 @@ (define-public python-siosocks (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest" "-vvv"))))))) - (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov - python-pytest-trio)) + (native-inputs (list python-pytest python-pytest-asyncio python-pytest-trio)) (propagated-inputs (list python-trio)) (home-page "https://github.com/pohmelie/siosocks") (synopsis "SOCKSv4 & SOCKSv5 TCP proxy protocol implementation in Python") @@ -10030,7 +10012,6 @@ (define-public python-zeep python-pretend python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpx python-requests-mock python-setuptools diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 61f6350bb5..1b30eca4c7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -342,7 +342,6 @@ (define-public python-apprise (native-inputs (list python-babel python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-setuptools @@ -710,7 +709,7 @@ (define-public python-janus (base32 "04hnrdcf03g1s0x3sr72sh9gnszz6kyfsl9dg8a4n0zvvhn6z5yz")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest python-pytest-cov python-pytest-asyncio + (list python-pytest python-pytest-asyncio python-setuptools python-wheel)) (propagated-inputs (list python-typing-extensions)) (home-page "https://github.com/aio-libs/janus/") @@ -890,7 +889,9 @@ (define-public python-logbook (setenv "CYBUILD" "True") (invoke "pytest" "--cov=logbook" "-r" "s" "tests"))))))) (native-inputs - (list python-cython python-mock python-pytest python-pytest-cov + (list python-cython + python-mock + python-pytest python-brotli)) (home-page "https://github.com/getlogbook/logbook") (synopsis "Logbook is a logging replacement for Python") @@ -1304,7 +1305,7 @@ (define-public python-affine "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) (propagated-inputs (list python-pydocstyle - python-pytest python-pytest-cov)) + python-pytest)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") (synopsis "Matrices describing affine transformation of the plane") @@ -1547,7 +1548,6 @@ (define-public python-contourpy pkg-config pybind11 python-pytest - python-pytest-cov python-wurlitzer)) (home-page "https://contourpy.readthedocs.io/") (synopsis @@ -1629,7 +1629,6 @@ (define-public python-mdit-py-plugins (native-inputs (list python-flit-core python-pytest - python-pytest-cov python-pytest-regressions)) (home-page "https://github.com/executablebooks/mdit-py-plugins") (synopsis "Collection of plugins for markdown-it-py") @@ -1976,9 +1975,13 @@ (define-public python-pint ;; present in registry" " and not test_load_definitions_stage_2")))) (native-inputs - (list python-pytest python-pytest-benchmark python-pytest-cov - python-pytest-mpl python-pytest-subtests - python-setuptools python-setuptools-scm python-wheel)) + (list python-pytest + python-pytest-benchmark + python-pytest-mpl + python-pytest-subtests + python-setuptools + python-setuptools-scm + python-wheel)) (propagated-inputs (list python-typing-extensions python-uncertainties)) @@ -3016,7 +3019,6 @@ (define-public python-rasterio python-hypothesis python-packaging python-pytest - python-pytest-cov python-shapely python-wheel)) (home-page "https://github.com/rasterio/rasterio") @@ -3228,7 +3230,6 @@ (define-public python-bidict python-py python-pytest python-pytest-benchmark - python-pytest-cov python-setuptools-scm python-sortedcollections python-sortedcontainers @@ -4151,7 +4152,6 @@ (define-public python-can python-parameterized python-pyserial python-pytest - python-pytest-cov python-pytest-runner python-pytest-timeout python-wheel)) @@ -4647,7 +4647,8 @@ (define-public dosage python-requests python-six)) (native-inputs - (list python-pytest-cov python-pytest-xdist python-responses + (list python-pytest-xdist + python-responses python-setuptools-scm)) (home-page "https://github.com/webcomics/dosage") (synopsis "Comic strip downloader and archiver") @@ -5522,7 +5523,6 @@ (define-public python-portalocker "0lawjm736vs86wlnxc3qqh37l11z0yx81xq3dmrw33m86kaq2bh3")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mypy python-pytest-timeout python-redis @@ -5613,7 +5613,6 @@ (define-public python-extension-helpers (native-inputs (list python-pytest python-pytest-astropy - python-pytest-cov python-setuptools-scm python-tomli python-setuptools @@ -5753,8 +5752,11 @@ (define-public python-mizani (propagated-inputs (list python-matplotlib python-numpy python-pandas python-scipy)) (native-inputs - (list python-setuptools python-setuptools-scm - python-pytest python-pytest-cov python-wheel tzdata)) + (list python-setuptools + python-setuptools-scm + python-pytest + python-wheel + tzdata)) (home-page "https://github.com/has2k1/mizani") (synopsis "Create data visualizations in Python") (description @@ -6144,8 +6146,6 @@ (define-public python-cligj (build-system python-build-system) (propagated-inputs (list python-click)) - (native-inputs - (list python-pytest-cov)) (home-page "https://github.com/mapbox/cligj") (synopsis "Click params for command line interfaces to GeoJSON") (description @@ -6255,7 +6255,6 @@ (define-public python-ddlparse (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (propagated-inputs (list python-pyparsing)) @@ -8323,7 +8322,8 @@ (define-public python-robotframework-pythonlibcore (when tests? (invoke "utest/run.py"))))))) (native-inputs - (list python-pytest python-pytest-cov python-pytest-mockito + (list python-pytest + python-pytest-mockito python-robotframework)) (home-page "https://github.com/robotframework/PythonLibCore") (synopsis "Robot Framework Python library tools") @@ -9544,7 +9544,6 @@ (define-public python-sparse (list python-dask python-pre-commit python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -9956,7 +9955,6 @@ (define-public python-numpydoc (native-inputs (list python-matplotlib python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://pypi.org/project/numpydoc/") @@ -10735,7 +10733,7 @@ (define-public python-multidict (build-system pyproject-build-system) (propagated-inputs (list python-typing-extensions)) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/aio-libs/multidict/") (synopsis "Multidict implementation") (description "Multidict is dict-like collection of key-value pairs @@ -11083,7 +11081,6 @@ (define-public python-pikepdf python-setuptools-scm python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-dateutil @@ -11737,7 +11734,6 @@ (define-public python-imageio (native-inputs (list python-fsspec python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://imageio.github.io/") @@ -12033,7 +12029,6 @@ (define-public python-manimpango (list pkg-config python-cython python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs @@ -12562,7 +12557,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -12713,7 +12707,6 @@ (define-public python-jaraco-classes (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -12747,7 +12740,6 @@ (define-public python-jaraco-collections (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -12808,7 +12800,6 @@ (define-public python-jaraco-context (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -12843,7 +12834,6 @@ (define-public python-jaraco-functools python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -12938,7 +12928,6 @@ (define-public python-jaraco-text (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -13083,7 +13072,6 @@ (define-public python-ipyparallel (list python-ipython python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado python-testpath)) (propagated-inputs @@ -14511,8 +14499,10 @@ (define-public python-three-merge (propagated-inputs (list python-diff-match-patch)) (native-inputs - (list python-flaky python-pytest python-pytest-cov - python-pytest-runner python-pytest-timeout)) + (list python-flaky + python-pytest + python-pytest-runner + python-pytest-timeout)) (home-page "https://github.com/spyder-ide/three-merge") (synopsis "Library for merging two strings with respect to a base one") (description @@ -14837,7 +14827,6 @@ (define-public python-seaborn python-numpydoc python-mypy python-pytest - python-pytest-cov python-pytest-xdist python-pyyaml)) (home-page "https://seaborn.pydata.org/") @@ -15488,7 +15477,6 @@ (define-public python-sentry-sdk python-mock python-pyrsistent python-pytest - python-pytest-cov python-pytest-django python-pytest-forked python-pytest-localserver @@ -17222,7 +17210,6 @@ (define-public python-sniffio (native-inputs (list python-curio python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/python-trio/sniffio") @@ -17369,7 +17356,6 @@ (define-public python-get-version (list python-pygments python-pytest python-pytest-black - python-pytest-cov python-setuptools python-testpath)) (home-page "https://github.com/flying-sheep/get_version") @@ -17748,7 +17734,6 @@ (define-public python-path python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy))) @@ -17854,7 +17839,6 @@ (define-public python-pip-run python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy))) @@ -18237,7 +18221,6 @@ (define-public python-debugpy python-flask python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-requests)) @@ -18809,7 +18792,6 @@ (define-public python-notebook (list python-jupyter-server python-nbval python-pytest - python-pytest-cov python-requests python-requests-unixsocket2 python-setuptools @@ -18859,7 +18841,9 @@ (define-public python-ipywidgets (list python-comm python-ipython python-jupyterlab-widgets python-traitlets python-widgetsnbextension)) (native-inputs - (list python-ipykernel python-jsonschema python-pytest python-pytest-cov + (list python-ipykernel + python-jsonschema + python-pytest python-pytz)) (home-page "https://ipython.org") (synopsis "IPython HTML widgets for Jupyter") @@ -20714,7 +20698,6 @@ (define-public python-cookiecutter git python-freezegun python-pytest - python-pytest-cov python-pytest-mock)) (propagated-inputs (list python-arrow python-binaryornot @@ -21116,8 +21099,10 @@ (define-public python-pyqtgraph (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen")))))) (native-inputs - (list python-pytest python-pytest-cov python-pytest-xdist - python-setuptools python-wheel)) + (list python-pytest + python-pytest-xdist + python-setuptools + python-wheel)) (inputs (list qtbase-5)) (propagated-inputs @@ -22463,7 +22448,6 @@ (define-public python-inflect python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -23762,7 +23746,9 @@ (define-public python-pymemcache #:test-flags '(list "--ignore=pymemcache/test/test_compression.py"))) (native-inputs - (list python-faker python-pytest python-pytest-cov python-setuptools + (list python-faker + python-pytest + python-setuptools python-wheel)) (home-page "https://github.com/pinterest/pymemcache") (synopsis "Comprehensive, fast, pure Python memcached client") @@ -24416,7 +24402,6 @@ (define-public python-natsort (native-inputs (list glibc-utf8-locales ;; Tests want en_US.UTF-8 python-hypothesis - python-pytest-cov python-pytest-mock python-pytest)) (propagated-inputs ; TODO: Add python-fastnumbers. @@ -25927,8 +25912,10 @@ (define-public python-mwclient (propagated-inputs (list python-requests-oauthlib python-six)) (native-inputs - (list python-mock python-pytest python-pytest-cov - python-pytest-runner python-responses)) + (list python-mock + python-pytest + python-pytest-runner + python-responses)) (home-page "https://github.com/btongminh/mwclient") (synopsis "MediaWiki API client") (description "This package provides a MediaWiki API client.") @@ -26966,7 +26953,6 @@ (define-public python-flasgger python-flex python-marshmallow python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/rochacbruno/flasgger/") @@ -27650,7 +27636,6 @@ (define-public python-tempora python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-freezegun @@ -30671,7 +30656,7 @@ (define-public python-outcome (add-installed-pythonpath inputs outputs) (invoke "pytest" "-vv")))))) (native-inputs - (list python-pytest python-pytest-cov python-pytest-asyncio)) + (list python-pytest python-pytest-asyncio)) (propagated-inputs (list python-attrs)) (home-page "https://github.com/python-trio/outcome") @@ -31023,7 +31008,6 @@ (define-public python-apscheduler python-pyside-6 python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado5 python-wheel)) (home-page "https://github.com/agronholm/apscheduler") @@ -31729,7 +31713,7 @@ (define-public python-iocapture (invoke "py.test" "-v" "tests") #t))))) (propagated-inputs - (list python-flexmock python-pytest python-pytest-cov python-six)) + (list python-flexmock python-pytest python-six)) (home-page "https://github.com/oinume/iocapture") (synopsis "Python capturing tool for stdout and stderr") (description @@ -31862,7 +31846,9 @@ (define-public python-argh (when tests? (invoke "pytest" "-vv"))))))) (propagated-inputs - (list python-iocapture python-mock python-pytest python-pytest-cov + (list python-iocapture + python-mock + python-pytest python-pytest-xdist)) (home-page "https://github.com/neithere/argh/") (synopsis "Argparse wrapper with natural syntax") @@ -32005,7 +31991,6 @@ (define-public python-flit (list python-responses python-pygments-github-lexers python-pytest - python-pytest-cov python-sphinx python-sphinxcontrib-github-alt python-testpath)) @@ -32332,7 +32317,6 @@ (define-public python-watchdog (list python-pathtools python-pyyaml)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-wheel)) (home-page "https://github.com/gorakhargosh/watchdog") @@ -32368,7 +32352,6 @@ (define-public python-watchgod python-pygments python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-mock python-pytest-sugar python-setuptools @@ -33561,7 +33544,6 @@ (define-public python-cmd2 (list python-invoke python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-setuptools-scm @@ -34284,7 +34266,7 @@ (define-public python-inform (arguments `(#:tests? #f)) ; PyPI tarball lacks tests (native-inputs - (list python-hypothesis python-pytest-cov python-pytest-runner)) + (list python-hypothesis python-pytest-runner)) (propagated-inputs (list python-arrow python-six)) (home-page "https://inform.readthedocs.io") @@ -34970,7 +34952,7 @@ (define-public python-qtsass (for-each make-file-writable (find-files ".")) #t))))) (native-inputs - (list python-flaky python-pytest python-pytest-cov python-pytest-runner)) + (list python-flaky python-pytest python-pytest-runner)) (propagated-inputs (list python-libsass)) (home-page "https://github.com/spyder-ide/qtsass") @@ -35366,7 +35348,6 @@ (define-public python-scikit-build python-packaging python-path python-pytest - python-pytest-cov python-pytest-mock python-pytest-virtualenv python-pytest-xdist @@ -36378,7 +36359,7 @@ (define-public python-pyan3 "python-pyan3-fix-absolute-path-bug.patch")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-jinja2)) (home-page "https://github.com/Technologicat/pyan") @@ -36547,7 +36528,6 @@ (define-public python-minikanren (native-inputs (list python-pydocstyle python-pytest - python-pytest-cov python-pylint python-sympy python-versioneer)) @@ -36704,7 +36684,8 @@ (define-public python-tablib (invoke "pytest"))))))) (native-inputs (list python-pandas ;; required for test-suite - python-pytest python-pytest-cov python-setuptools-scm)) + python-pytest + python-setuptools-scm)) (propagated-inputs (list python-markuppy python-odfpy @@ -37234,7 +37215,7 @@ (define-public dynaconf (list python-click python-configobj python-dotenv-0.13.0 python-ruamel.yaml-0.16 python-toml python-tomli)) (native-inputs - (list python-django python-flask python-pytest python-pytest-cov + (list python-django python-flask python-pytest python-pytest-mock python-setuptools python-wheel)) (home-page "https://www.dynaconf.com/") (synopsis "The dynamic configurator for your Python project") @@ -37786,8 +37767,7 @@ (define-public python-ansicolors (base32 "1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr")))) (build-system python-build-system) (native-inputs - (list python-pytest-cov - unzip)) + (list unzip)) (home-page "https://github.com/jonathaneunice/colors/") (synopsis "ANSI colors for Python") (description @@ -38036,7 +38016,6 @@ (define-public python-shtab (native-inputs (list bash python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-setuptools-scm @@ -38624,7 +38603,6 @@ (define-public python-scooby (list python-beautifulsoup4 python-numpy python-pytest - python-pytest-cov python-pyvips-for-python-scooby python-scipy)) (propagated-inputs diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index be8f5b84c7..8b9e041174 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -794,7 +794,6 @@ (define-public python-sphinx-gallery python-numpy python-pillow python-pytest - python-pytest-cov python-setuptools python-sphinx python-wheel)) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 99f5ded8b5..c0565a2c0a 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2429,7 +2429,7 @@ (define-public python-pymc (lambda* (#:key tests? #:allow-other-keys) (when tests? (setenv "HOME" "/tmp"))))))) - (native-inputs (list python-pytest-cov python-versioneer)) + (native-inputs (list python-versioneer)) (propagated-inputs (list python-arviz python-cachetools python-cloudpickle @@ -2620,7 +2620,6 @@ (define-public python-emcee (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -7133,7 +7132,6 @@ (define-public python-rpy2 python-numpy python-pandas python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://rpy2.github.io") diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index af99c08a6a..3991d2251b 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -484,7 +484,6 @@ (define-public todoman (list python-freezegun python-hypothesis python-pytest - python-pytest-cov python-pytest-runner python-pytz python-setuptools diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index ce9847a168..4b677b2c03 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1759,7 +1759,6 @@ (define-public python-panflute (native-inputs (list python-configparser python-pandocfilters python-pytest - python-pytest-cov python-requests)) (home-page "http://scorreia.com/software/panflute/") (synopsis "Pythonic Pandoc filters") diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 376fbe1504..6c52f657ac 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -425,7 +425,6 @@ (define-public python-tzlocal (native-inputs (list python-check-manifest python-pytest - python-pytest-cov python-pytest-mock)) (home-page "https://github.com/regebro/tzlocal") (synopsis "Local timezone information for Python") @@ -548,7 +547,6 @@ (define-public python-arrow (native-inputs (list python-chai python-pytest - python-pytest-cov python-pytest-mock python-pytz python-setuptools diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 53706a8de1..70679283c2 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -1036,7 +1036,6 @@ (define (install-man-page file) ;; For tests only. python-mock python-poetry-core - python-pytest-cov python-pytest-runner ;; For documentation only. python-sphinx diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 93c8146d4f..6073d0e30a 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5263,7 +5263,6 @@ (define-public python-tibanna (native-inputs (list python-poetry-core python-pytest - python-pytest-cov python-pytest-mock)) (home-page "https://github.com/4dn-dcic/tibanna") (synopsis "Tibanna runs portable workflows on the AWS Cloud") @@ -8959,7 +8958,7 @@ (define-public anonip (when tests? (invoke "pytest" "-vv" "tests.py" "anonip.py"))))))) (native-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest)) (home-page "https://github.com/DigitaleGesellschaft/Anonip") (synopsis "Anonymize IP addresses in log files") (description diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 9d6725ee5c..7dc46097b6 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -862,7 +862,6 @@ (define-public qtile (list pkg-config python-pep8-naming python-pytest - python-pytest-cov python-psutil python-setuptools-scm xorg-server-for-tests)) -- 2.48.1
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.