Package: guix-patches;
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 10 May 2024 07:50:01 UTC
Severity: normal
Tags: patch
To reply to this bug, email your comments to 70858 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:50:01 GMT) Full text and rfc822 format available.Nicolas Graves <ngraves <at> ngraves.fr>
:guix-patches <at> gnu.org
.
(Fri, 10 May 2024 07:50:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: guix-patches <at> gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 00/32] python-team: Remove native inputs Date: Fri, 10 May 2024 09:26:04 +0200
This is a full rewrite of patch series 70735 which I couldn't fully submit because debbugs doesn't seem to like when more than 100 patches are sent in 2h. It is therefore much more concise. Here's an adapted copy of the original cover-letter message: How did I proceed ? 1) Identify packages we often don't need as native-inputs. 2) Systematically remove these packages when they are in native-inputs. 3) Iterate : try to rebuild needed packages, and fixes along the way (these can be updates, packages rewrites, inputs additions...). Said fixes have been sent in patch series 70855. Back up from the native-input removal when it's not trivial, except for some specific cases (these are present as their own patches). 4) Stop when everything rebuilds properly, except for some specific cases. The packages that need rebuilding are identified from : guix graph --type=reverse-package -M 1 python-codecov python-coverage python-black python-isort python-pycodestyle python-pep8 python-pyflakes python-flake8 python-pylint python-mypy python-coveralls python-twine python-pytest-isort python-pytest-flake8 python-pytest-cov python-pytest-black python-pytest-pep8 python-pytest-mypy pre-commit | grep label | cut -d\" -f4 | cut -d@ -f1 | sort | uniq Some are removed from this list where the package was propagated rather than native, or when the package is left unchanged (e.g. open-adventure), or for those specific cases : - "chirp" ; needs to rebuild webkitgtk, no thanks - "cpplint" ; has been updated on master + requires pytest-runner==5.6 - "python-modin" ; this is broken by pandas upgrade, will fix this independently - "python-libcst" ; broken upstream but unchanged - "python-schema-salad" ; broken upstream but unchanged - "python-dolfin-adjoint" ; timeout, but probably works. - "reprotest" ; needs to rebuild the whole openjdk, no thanks. This patch series is built upon python-team's branch, with Vinicius' patch series 69980 and my patch series 70855 on top. Now, what about results in package node graph reduction? Here's a summary of number of packages under guix refresh -l : | package | master | python-team+patch series | |----------------------+--------+--------------------------| | python-codecov | 6 | 1 | | python-coverage | 2359 | 497 | | python-black | 332 | 37 | | python-isort | 275 | 153 | | python-pycodestyle | 392 | 184 | | python-pep8 | 219 | 215 | | python-pyflakes | 392 | 190 | | python-flake8 | 377 | 158 | | python-pylint | 235 | 8 | | python-mypy | 347 | 310 | | python-coveralls | 23 | 1 | | python-twine | 28 | 137 | | python-pytest-isort | 180 | 145 | | python-pytest-flake8 | 303 | 8 | | python-pytest-cov | 2309 | 286 | | python-pytest-black | 278 | 7 | | python-pytest-pep8 | 31 | 31 | | python-pytest-mypy | 280 | 307 | | pre-commit | 128 | 1 | | python-tox | 166 | 5 | This means e.g. that an update of python-pylint will trigger 8 packages rebuilds rather than 235. Nicolas Graves (32): guix: import: pypi: Ignore pypi-ignored-inputs. build-system/pyproject: Ignore unwanted pytest flags. build-system/pyproject: Remove python-black input. build-system/pyproject: Remove python-pylint native-input. build-system/pyproject: Remove python-flake8 inputs. build-system/pyproject: Remove python-coverage input. gnu: python-cram: Remove python-coverage native-input. gnu: u-boot-tools: Remove python-coverage native-input. gnu: python-aiosqlite: Remove python-coverage native-input. gnu: python-openid: Remove python-coverage native-input. build-system/pyproject: Remove python-coveralls native-input. build-system/pyproject: Remove python-pycodestyle native-input. gnu: python-versioneer: Remove python-pycodestyle native-input. gnu: python-versioneer: Remove python-pyflakes native-input. gnu: python-re-assert: Remove python-covdefaults native-input. build-system/pyproject: Remove python-codecov native-input. build-system/pyproject: Remove python-tox native-input. build-system/pyproject: Remove python-mypy native-input. gnu: python-immutables: Remove python-mypy native-input. build-system/pyproject: Remove python-isort native-input. build-system/pyproject: Remove python-twine native-input. build-system/pyproject: Remove python-pytest-cov native-input. gnu: python-tinycss2: Remove python-pytest-cov native-input. gnu: python-django-contact-form: Remove python-pytest-cov native-input. gnu: python-dateutil: Remove python-pytest-cov native-input. build-system/pyproject: Remove python-pytest-isort native-input. build-system/pyproject: Remove python-pytest-black native-input. build-system/pyproject: Remove python-pytest-flake8 native-input. build-system/pyproject: Remove python-pytest-mypy inputs. build-system/pyproject: Stop hiding options. gnu: python-linear-operator: Remove python-flake8-print native-input gnu: abjad-ext-ipython: Remove uneeded inputs. gnu/packages/android.scm | 6 +- gnu/packages/astronomy.scm | 33 +- gnu/packages/audio.scm | 2 +- gnu/packages/backup.scm | 2 +- gnu/packages/bioinformatics.scm | 31 +- gnu/packages/bootloaders.scm | 17 +- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 21 +- gnu/packages/cpp.scm | 4 +- gnu/packages/databases.scm | 17 +- gnu/packages/dav.scm | 4 - gnu/packages/diffoscope.scm | 2 - gnu/packages/django.scm | 12 +- gnu/packages/ebook.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 7 +- gnu/packages/finance.scm | 6 +- gnu/packages/fontutils.scm | 1 - gnu/packages/geo.scm | 9 +- gnu/packages/gettext.scm | 4 - gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 6 +- gnu/packages/graphviz.scm | 5 - gnu/packages/jupyter.scm | 8 +- gnu/packages/logging.scm | 2 +- gnu/packages/machine-learning.scm | 65 +--- gnu/packages/mail.scm | 3 +- gnu/packages/mastodon.scm | 1 - gnu/packages/messaging.scm | 6 +- gnu/packages/music.scm | 24 +- gnu/packages/package-management.scm | 7 +- gnu/packages/patchutils.scm | 2 +- gnu/packages/pdf.scm | 6 +- gnu/packages/potassco.scm | 3 +- gnu/packages/protobuf.scm | 4 +- gnu/packages/python-check.scm | 33 +- gnu/packages/python-compression.scm | 21 +- gnu/packages/python-crypto.scm | 4 +- gnu/packages/python-science.scm | 21 +- gnu/packages/python-web.scm | 173 +++-------- gnu/packages/python-xyz.scm | 415 +++++++------------------- gnu/packages/radio.scm | 3 +- gnu/packages/serialization.scm | 1 - gnu/packages/simulation.scm | 2 - gnu/packages/sphinx.scm | 7 - gnu/packages/statistics.scm | 14 +- gnu/packages/syndication.scm | 8 +- gnu/packages/task-management.scm | 1 - gnu/packages/telegram.scm | 3 +- gnu/packages/terminals.scm | 9 +- gnu/packages/textutils.scm | 3 - gnu/packages/time.scm | 22 +- gnu/packages/version-control.scm | 1 - gnu/packages/virtualization.scm | 4 +- gnu/packages/vpn.scm | 2 - gnu/packages/web.scm | 6 +- gnu/packages/wm.scm | 2 - gnu/packages/xml.scm | 2 +- guix/build/pyproject-build-system.scm | 99 +++++- guix/import/pypi.scm | 21 +- guix/lint.scm | 12 +- tests/pypi.scm | 3 +- 62 files changed, 413 insertions(+), 805 deletions(-) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:01 GMT) Full text and rfc822 format available.Message #8 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 01/32] guix: import: pypi: Ignore pypi-ignored-inputs. Date: Fri, 10 May 2024 09:55:05 +0200
* guix/import/pypi.scm (pypi-ignored-inputs): New variable. (compute-inputs): Use it. * tests/pypi.scm (parse-requires.txt): Add ignored input to test the feature. * guix/lint.scm (check-inputs-should-be-native): Adapt list. (check-inputs-should-not-be-an-input-at-all): Use pypi-ignored-list. Change-Id: I774e526c5a090026e778ee44049637174a1dca95 --- guix/import/pypi.scm | 21 ++++++++++++++++++--- guix/lint.scm | 12 +++++++----- tests/pypi.scm | 3 ++- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 6719fde330a..d4b70061e86 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Vivien Kraus <vivien <at> planete-kraus.eu> ;;; Copyright © 2021 Simon Tournier <zimon.toutoune <at> gmail.com> ;;; Copyright © 2022 Hartmut Goebel <h.goebel <at> crazy-compilers.com> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -61,6 +62,7 @@ (define-module (guix import pypi) #:use-module (guix upstream) #:use-module ((guix licenses) #:prefix license:) #:export (%pypi-base-url + pypi-ignored-inputs parse-requires.txt parse-wheel-metadata specification->requirement-name @@ -77,6 +79,18 @@ (define %pypi-base-url ;; Base URL of the PyPI API. (make-parameter "https://pypi.org/pypi/")) +(define pypi-ignored-inputs + ;; This list contains packages that are useful for development or quality + ;; testing, but that most of the time are not necessary to have as an input. + (list "argparse" ; native + "tox" ; test wrapper for other environments + "codecov" "coverage" ; coverage + "black" "isort" "pycodestyle" "pep8" ; style + "pyflakes" "flake8" "pylint" "mypy" ; style+lint + "coveralls" "twine" ; upload integration tools + "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black" + "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit")) ; variants + (define non-empty-string-or-false (match-lambda ("" #f) @@ -424,9 +438,10 @@ (define (compute-inputs source-url wheel-url archive) "Given the SOURCE-URL and WHEEL-URL of an already downloaded ARCHIVE, return the corresponding list of <upstream-input> records." (define (requirements->upstream-inputs deps type) - (filter-map (match-lambda - ("argparse" #f) - (name (upstream-input + (filter-map (lambda (name) + (if (member name pypi-ignored-inputs) + #f + (upstream-input (name name) (downstream-name (python->package-name name)) (type type)))) diff --git a/guix/lint.scm b/guix/lint.scm index 68d532968de..f689cc2a2a8 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -71,6 +71,7 @@ (define-module (guix lint) hg-reference-url) #:autoload (guix bzr-download) (bzr-reference? bzr-reference-url) + #:use-module ((guix import pypi) #:select (pypi-ignored-inputs)) #:use-module (guix import stackage) #:use-module (ice-9 match) #:use-module (ice-9 regex) @@ -557,14 +558,12 @@ (define (check-inputs-should-be-native package) "m4" "qttools-5" "yasm" "nasm" "fasm" - "python-coverage" "python-cython" "python-docutils" "python-mock" "python-nose" "python-pbr" "python-pytest" - "python-pytest-cov" "python-setuptools-scm" "python-sphinx" "scdoc" @@ -586,9 +585,12 @@ (define (check-inputs-should-be-native package) (define (check-inputs-should-not-be-an-input-at-all package) ;; Emit a warning if some inputs of PACKAGE are likely to should not be ;; an input at all. - (let ((input-names '("python-setuptools" - "python-pip" - "python-pre-commit"))) + (let ((input-names (append + '("python-setuptools" + "python-pip" + "pre-commit") + (map (cut string-append "python-" <>) + pypi-ignored-inputs)))) (map (lambda (input) (make-warning package diff --git a/tests/pypi.scm b/tests/pypi.scm index 42b39cde730..fe01ab3beb3 100644 --- a/tests/pypi.scm +++ b/tests/pypi.scm @@ -97,6 +97,7 @@ (define test-requires.txt "\ [test] pytest (>=2.5.0) +pytest-cov # read but ignored ") ;; Beaker contains only optional dependencies. @@ -244,7 +245,7 @@ (define-syntax-rule (with-pypi responses body ...) (map specification->requirement-name test-specifications)) (test-equal "parse-requires.txt" - (list '("foo" "bar") '("pytest")) + (list '("foo" "bar") '("pytest" "pytest-cov")) (mock ((ice-9 ports) call-with-input-file call-with-input-string) (parse-requires.txt test-requires.txt))) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:02 GMT) Full text and rfc822 format available.Message #11 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 02/32] build-system/pyproject: Ignore unwanted pytest flags. Date: Fri, 10 May 2024 09:55:06 +0200
* guix/build/pyproject-build-system.scm : Ignore unwanted pytest flags. Change-Id: Ib9f1602e5af11227e5b7ce124f0f9be4fa2b78e4 --- guix/build/pyproject-build-system.scm | 99 ++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 3 deletions(-) diff --git a/guix/build/pyproject-build-system.scm b/guix/build/pyproject-build-system.scm index 947d240114a..2df9f2f4798 100644 --- a/guix/build/pyproject-build-system.scm +++ b/guix/build/pyproject-build-system.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Lars-Dominik Braun <lars <at> 6xq.net> ;;; Copyright © 2022 Marius Bakke <marius <at> gnu.org> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,8 @@ (define-module (guix build pyproject-build-system) add-installed-pythonpath site-packages python-version - pyproject-build)) + pyproject-build + with-guix-pytest-plugin)) ;;; Commentary: ;;; @@ -142,7 +144,94 @@ (define* (build #:key outputs build-backend backend-path configure-flags #:allow wheel-dir config-settings))) -(define* (check #:key tests? test-backend test-flags #:allow-other-keys) +(define pytest-default-ignore-alist + '(("cov" . ("--cov" "--cov-reset" "--cov-report" "--cov-config" + "--no-cov-on-fail" "--no-cov" "--cov-fail-under" + "--cov-append" "--cov-branch" "--cov-context")) + ("mypy" . ("--mypy" "--mypy-config-file" "--mypy-ignore-missing-imports")) + ("isort" . ("--isort")) + ("flake8" . ("--flake8")) + ("black" . ("--black")) + ("flakes" . ("--flakes")) + ("pep8" . ("--pep8")))) + +(define (pytest-ignore-flags-plugin flags) + "This function converts an list of flags into a string that can + be instantiated as a python pytest plugin." + (format #f "\ +import pytest + +def pytest_addoption(parser): + group = parser.getgroup('guix','Guix ignored options') + options = [~{~s, ~}] + for option in options: + group.addoption(option, action='append', nargs='?')" + flags)) + +(define (call-with-guix-pytest-plugin inputs thunk) + "This function emulates command line options provided by pytest plugins in +the absence of the plugins defining these options. + +This is done by selecting absent plugins, gettings their flags defined in +PYTEST-DEFAULT-IGNORE-ALIST, and generating the plugin from there with +PYTEST-IGNORE-FLAGS-PLUGIN." + (let* ((former-path (getenv "PYTHONPATH")) + (input-names + (map car + (filter (match-lambda + ((name . _) + (if (string-prefix? "python-pytest-" name) + name + #f)) + ( _ #f)) + inputs))) + (filtered-flags + (filter identity + (append-map + (match-lambda + ((group . flags) + (if (member (string-append "python-pytest-" group) + input-names) + (list #f) + flags)) + (_ (list #f))) + pytest-default-ignore-alist))) + (dir (string-append + (if (access? (dirname (getcwd)) W_OK) + (dirname (getcwd)) + ;; fallback if we're already out-of-source + (getcwd)) + "/.guix-pytest"))) + (dynamic-wind + (lambda () + (setenv "PYTHONPATH" + (string-append + (if former-path + (string-append former-path ":") + "") + dir)) + (setenv "PYTEST_PLUGINS" + (string-append + (if (getenv "PYTEST_PLUGINS") + (string-append former-path ",") + "") + "pytest_guix_plugin")) + (mkdir-p dir) + (with-output-to-file (string-append dir "/__init__.py") + (lambda _ (display ""))) + (with-output-to-file (string-append dir "/pytest_guix_plugin.py") + (lambda _ + (display (pytest-ignore-flags-plugin filtered-flags))))) + thunk + (lambda () + (setenv "PYTHONPATH" former-path) + (unsetenv "PYTEST_PLUGINS"))))) + +(define-syntax-rule (with-guix-pytest-plugin inputs exp ...) + "Evaluate EXP in a context where the Guix pytest plugin is added." + (call-with-guix-pytest-plugin inputs (lambda () exp ...))) + +(define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) "Run the test suite of a given Python package." (if tests? ;; Unfortunately with PEP 517 there is no common method to specify test @@ -165,7 +254,8 @@ (define* (check #:key tests? test-backend test-flags #:allow-other-keys) (format #t "Using ~a~%" use-test-backend) (match use-test-backend ('pytest - (apply invoke pytest "-vv" test-flags)) + (with-guix-pytest-plugin inputs + (apply invoke pytest "-vv" test-flags))) ('nose (apply invoke nosetests "-v" test-flags)) ('nose2 @@ -386,3 +476,6 @@ (define* (pyproject-build #:key inputs (phases %standard-phases) (apply python:python-build #:inputs inputs #:phases phases args)) ;;; pyproject-build-system.scm ends here +;;; Local Variables: +;;; eval: (put 'with-guix-pytest-plugin 'scheme-indent-function 1) +;;; End: -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:02 GMT) Full text and rfc822 format available.Message #14 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 03/32] build-system/pyproject: Remove python-black input. Date: Fri, 10 May 2024 09:55:07 +0200
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-liana-py, scvelo)[native-inputs]: Remove python-black. * gnu/packages/databases.scm (datasette): [arguments]<#:test-flags>: Ignore black tests. <#:phases>: Remove parts related to black in relax-requirements added phase. [native-inputs]: Remove python-black. * gnu/packages/finance.scm (python-trezor)[native-inputs]: Remove python-black. * gnu/packages/graph.scm (python-graphtools)[native-inputs]: Remove python-black. * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-hyperopt, python-captum, python-pyro-ppl)[native-inputs]: Remove python-black. * gnu/packages/python-check.scm (python-vcrpy)[native-inputs]: Remove python-black. * gnu/packages/python-web.scm (python-ovh, python-openai, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-black. * gnu/packages/python-xyz.scm (python-pydantic-cli, python-imageio, python-update-checker, python-eliot, python-minikanren, python-jupytext)[native-inputs]: Remove python-black. (ptpython)[propagated-inputs]: Remove python-black. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-black. Change-Id: Ie8098afda264bf9a5ab2cfe5d915bc7a41fdc604 --- gnu/packages/bioinformatics.scm | 11 +++-------- gnu/packages/databases.scm | 8 ++------ gnu/packages/finance.scm | 1 - gnu/packages/graph.scm | 1 - gnu/packages/machine-learning.scm | 11 +++-------- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-web.scm | 8 +++----- gnu/packages/python-xyz.scm | 15 +++++---------- gnu/packages/virtualization.scm | 2 +- 9 files changed, 18 insertions(+), 42 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index a611caf715a..253c36947c3 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2152,8 +2152,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") @@ -2278,10 +2277,7 @@ (define-public python-liana-py python-tqdm tzdata)) (native-inputs - (list python-black - python-poetry-core - python-pytest - python-pytest-cov)) + (list python-poetry-core python-pytest python-pytest-cov)) (home-page "https://github.com/saezlab/liana-py") (synopsis "LIANA is a ligand-receptor analysis framework") (description "This is a Ligand-Receptor inference framework. The @@ -21837,8 +21833,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-hypothesis python-pytest python-setuptools-scm diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 67e6ced7c32..96b2c2a0437 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -5537,16 +5537,13 @@ (define-public datasette " or test_custom_query_with_unicode_characters" " or test_searchmode)") "-n" (number->string (parallel-job-count)) - "-m" "not serial") ;cannot run in parallel + "-m" "not serial" ;cannot run in parallel + "--ignore=tests/test_black.py") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'relax-requirements (lambda _ - ;; The package needlessly specifies exact versions - ;; of dependencies, when it works fine with others. (substitute* "setup.py" - (("(black)==[0-9\\.]+" _ package) - package) (("click-default-group-wheel") "click-default-group"))))))) (propagated-inputs @@ -5569,7 +5566,6 @@ (define-public datasette python-uvicorn)) (native-inputs (list python-beautifulsoup4 - python-black python-cogapp python-pip python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3c32a220c4e..7d1efde8187 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1149,7 +1149,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-black python-isort python-pillow python-protobuf diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index eda8365a424..033027a5aa9 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -476,7 +476,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-black python-coverage python-coveralls python-nose diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index ba6f51b3f11..e63dd0f0678 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -175,8 +175,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-isort python-nbsphinx python-pandas @@ -1923,8 +1922,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-keras python-mypy python-pandas @@ -2359,8 +2357,7 @@ (define-public python-hyperopt python-six python-tqdm)) (native-inputs - (list python-black - python-nose + (list python-nose python-pymongo python-pytest python-wheel)) @@ -4525,7 +4522,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-black python-flake8 python-flask python-flask-compress @@ -5063,7 +5059,6 @@ (define-public python-pyro-ppl (native-inputs (list ninja jupyter - python-black python-flake8 python-graphviz python-isort diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 5571cee2088..83fd723d12b 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -411,8 +411,7 @@ (define-public python-vcrpy (propagated-inputs (list python-pyyaml python-six python-wrapt python-yarl)) (native-inputs - (list python-black - python-coverage + (list python-coverage python-flake8 python-flask python-httplib2 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 61ea8a63558..a7794741f42 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -977,8 +977,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-black - python-coverage + (native-inputs (list python-coverage python-flake8 python-isort python-pytest @@ -2174,7 +2173,7 @@ (define-public python-openai and not test_file_cli"))) (propagated-inputs (list python-aiohttp python-requests python-tqdm python-typing-extensions)) - (native-inputs (list python-black python-pytest python-pytest-asyncio + (native-inputs (list python-pytest python-pytest-asyncio python-pytest-mock python-setuptools python-wheel)) (home-page "https://github.com/openai/openai-python") (synopsis "Python client library for the OpenAI API") @@ -8968,8 +8967,7 @@ (define-public python-starsessions-for-pytorch-lightning python-itsdangerous python-starlette-for-fastapi-0.88)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-httpx python-mypy python-poetry-core diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3f86ea8224b..7eff059637e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -478,7 +478,6 @@ (define-public python-jupytext (native-inputs (list git-minimal python-autopep8 - python-black python-flake8 python-gitpython python-isort @@ -8029,8 +8028,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") @@ -10802,7 +10800,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile python-setuptools)) (native-inputs - (list python-black python-flake8 python-fsspec python-pytest + (list python-flake8 python-fsspec python-pytest python-pytest-cov python-wheel)) (home-page "https://imageio.github.io/") (synopsis "Library for reading and writing a wide range of image data") @@ -22108,8 +22106,7 @@ (define-public ptpython (arguments `(#:tests? #f)) ;there are no tests (propagated-inputs - (list python-appdirs python-black python-jedi python-prompt-toolkit - python-pygments)) + (list python-appdirs python-jedi python-prompt-toolkit python-pygments)) (home-page "https://github.com/jonathanslenders/ptpython") (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features") (description @@ -27291,7 +27288,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-black python-flake8 python-pytest)) + (native-inputs (list python-flake8 python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -31399,8 +31396,7 @@ (define-public python-eliot (list python-boltons python-pyrsistent python-six python-zope-interface)) (native-inputs - (list python-black - python-coverage + (list python-coverage python-dask python-flake8 python-hypothesis @@ -34155,7 +34151,6 @@ (define-public python-minikanren python-pytest python-pytest-cov python-pylint - python-black python-sympy python-versioneer python-coverage)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 20cbb0b8bed..b564bd043cb 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2809,7 +2809,7 @@ (define-public python-transient python-requests python-toml)) (native-inputs - (list python-black python-mypy python-pyhamcrest python-twine + (list python-mypy python-pyhamcrest python-twine python-setuptools python-wheel)) (home-page "https://github.com/ALSchwalm/transient") (synopsis "QEMU Wrapper written in Python") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:03 GMT) Full text and rfc822 format available.Message #17 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 04/32] build-system/pyproject: Remove python-pylint native-input. Date: Fri, 10 May 2024 09:55:08 +0200
* gnu/packages/potassco.scm (python-clingraph): [native-inputs]: Remove python-pylint. * gnu/packages/python-xyz.scm (python-mediapy, python-fastjsonschema, python-trio)[native-inputs]: Remove python-pylint. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-pylint. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-pylint. Change-Id: If6a20e0b790f7157013a6868bba9e4a8d7e5ba28 --- gnu/packages/potassco.scm | 3 +-- gnu/packages/python-xyz.scm | 3 --- gnu/packages/syndication.scm | 2 -- gnu/packages/terminals.scm | 6 +++--- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm index 9af307b4a90..054f9e9b180 100644 --- a/gnu/packages/potassco.scm +++ b/gnu/packages/potassco.scm @@ -563,8 +563,7 @@ (define-public python-clingraph python-jsonschema python-networkx python-setuptools)) - (native-inputs (list dot2tex graphviz python-pylint python-pytest - python-wheel)) + (native-inputs (list dot2tex graphviz python-pytest python-wheel)) (home-page "https://github.com/potassco/clingraph") (synopsis "Visualizer for graphs defined as logic programs") (description diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7eff059637e..e558dcdc83a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4440,7 +4440,6 @@ (define-public python-mediapy python-pillow)) (native-inputs (list python-flit-core - python-pylint python-pytest python-pytest-xdist)) (home-page "https://github.com/google/mediapy") @@ -17184,7 +17183,6 @@ (define-public python-fastjsonschema (list python-colorama python-json-spec python-jsonschema - python-pylint python-pytest python-pytest-benchmark python-pytest-cache @@ -29072,7 +29070,6 @@ (define-public python-trio (list python-astor python-ipython python-jedi - python-pylint python-pyopenssl python-pytest python-pytest-xdist diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index a2d8c61be45..29febdf3453 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -437,7 +437,6 @@ (define-public rtv python-coveralls python-coverage python-mock - python-pylint python-pytest python-vcrpy)) (home-page "https://github.com/michael-lazar/rtv") @@ -472,7 +471,6 @@ (define-public tuir (list python-coverage python-coveralls python-mock - python-pylint python-pytest python-vcrpy python-setuptools diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 98a6bf6684a..26af13af498 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1196,7 +1196,7 @@ (define-public python-halo (build-system pyproject-build-system) (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) - (native-inputs (list python-coverage python-nose python-pylint python-tox + (native-inputs (list python-coverage python-nose python-tox python-twine python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") @@ -1224,7 +1224,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (propagated-inputs (list python-colorama)) - (native-inputs (list python-coverage python-nose python-pylint + (native-inputs (list python-coverage python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-log-symbols") (synopsis "Python library with graphical symbols for logging on the terminal") @@ -1252,7 +1252,7 @@ (define-public python-spinners (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) - (native-inputs (list python-coverage python-nose python-pylint + (native-inputs (list python-coverage python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:03 GMT) Full text and rfc822 format available.Message #20 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 05/32] build-system/pyproject: Remove python-flake8 inputs. Date: Fri, 10 May 2024 09:55:09 +0200
* gnu/packages/astronomy.scm (python-crds)[native-inputs]: Remove python-flake8. * gnu/packages/bioinformatics.scm (python-doubletdetection, python-biom-format)[native-inputs]: Remove python-flake8. * gnu/packages/ebook.scm (calibre)[native-inputs]: Remove python-flake8. * gnu/packages/engineering.scm (python-scikit-rf)[native-inputs]: Remove python-flake8. * gnu/packages/finance.scm (python-mt-940)[native-inputs]: Remove python-flake8. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-flake8. * gnu/packages/gettext.scm (python-mdpo)[native-inputs]: Remove python-flake8. * gnu/packages/graph.scm (python-pygsp)[native-inputs]: Remove python-flake8. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-flake8. * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-captum, python-pyro-api, python-pyro-ppl, python-linear-operator, python-gpytorch)[native-inputs]: Remove python-flake8. * gnu/packages/music.scm (python-mutagen): [arguments]<#:test-flags>: Ignore flake8 quality tests. [native-inputs]: Remove python-flake8. * gnu/packages/protobuf.scm (python-pure-protobuf): [arguments]<#:phases>: Remove flake8 invocation from check phase. [native-inputs]: Remove python-flake8. * gnu/packages/python-web.scm (python-ovh, python-furl, python-httplib2, python-http-ece, python-woob, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-flake8. * gnu/packages/python-xyz.scm (python-apispec, python-apispec-webframeworks, python-apprise, python-colorful, python-pymd4c, python-pyls-black, python-docx, python-flasgger, python-imageio, python-importlib-ressources, python-jaraco-test, python-seaborn, python-progressbar2, python-inflect, python-argcomplete, python-diff-cover, python-validators, python-marshmallow, python-marshmallow-jsonapi, python-yq, python-update-checker, python-eliot, python-dateparser, python-jinja2-cli, python-nikola, python-verspec, python-mike, python-arpeggio, python-versioneer, python-codespell)[native-inputs]: Remove python-flake8. * gnu/packages/simulation.scm (python-dolfin-adjoint)[native-inputs]: Remove python-flake8. * gnu/packages/sphinx.scm (python-sphinx, python-sphinx-5)[propagated-inputs]: Remove python-flake8. * gnu/packages/statistics.scm (python-statsmodels)[native-inputs]: Remove python-flake8. * gnu/packages/vpn.scm (sshuttle)[native-inputs]: Remove python-flake8. * gnu/packages/wm.scm (qtile)[native-inputs]: Remove python-flake8. * gnu/packages/textutils.scm (python-panflute)[native-inputs]: Remove python-flake8. Change-Id: I196a9c0b7497106c8f98598535cb8e0ea667481c --- gnu/packages/astronomy.scm | 3 +- gnu/packages/bioinformatics.scm | 7 +--- gnu/packages/ebook.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/finance.scm | 4 +- gnu/packages/geo.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/graph.scm | 3 +- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 15 ++------ gnu/packages/music.scm | 5 ++- gnu/packages/protobuf.scm | 4 +- gnu/packages/python-web.scm | 12 ++---- gnu/packages/python-xyz.scm | 62 +++++++++++-------------------- gnu/packages/simulation.scm | 1 - gnu/packages/sphinx.scm | 2 - gnu/packages/statistics.scm | 1 - gnu/packages/textutils.scm | 1 - gnu/packages/vpn.scm | 1 - gnu/packages/wm.scm | 1 - 20 files changed, 37 insertions(+), 90 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 32c6f30e8f6..ede10ab927a 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2186,8 +2186,7 @@ (define-public python-crds python-roman-datamodels python-stsynphot python-requests)) - (native-inputs (list python-flake8 - python-ipython + (native-inputs (list python-ipython python-lockfile python-mock python-nose diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 253c36947c3..4f3a3d0ba01 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2152,8 +2152,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-flake8 - python-poetry-core + (list python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") (synopsis @@ -3005,7 +3004,6 @@ (define-public python-biom-format (propagated-inputs (list python-anndata python-click - python-flake8 python-future python-h5py python-numpy @@ -21833,8 +21831,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools-scm python-wheel)) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 16d4fcd6e36..3d536e59add 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -154,7 +154,6 @@ (define-public calibre (native-inputs (list bash-minimal pkg-config - python-flake8 python-pyqt-builder qtbase-5 ; for qmake xdg-utils)) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f082f346278..610fb53087b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2679,7 +2679,6 @@ (define-public python-scikit-rf python-qtpy python-scipy)) (native-inputs (list python-coverage - python-flake8 python-nbval python-networkx python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 7d1efde8187..7579001dd1f 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2307,9 +2307,7 @@ (define-public python-mt-940 ;; Remove custom --cov flags. (delete-file "pytest.ini") (invoke "pytest" "-vv"))))))) - (native-inputs (list python-flake8 - python-pytest - python-pyyaml)) + (native-inputs (list python-pytest python-pyyaml)) (home-page "https://mt940.readthedocs.io/") (synopsis "Python parser for MT940-encoded SWIFT data") (description diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 81a854f8a2a..69cc7e6ddc5 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3265,7 +3265,6 @@ (define-public python-geopy (native-inputs (list python-async-generator python-coverage - python-flake8 python-isort python-pytest python-pytest-aiohttp diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 1408cc4cb46..bbb19bd4cb8 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -214,7 +214,6 @@ (define-public mdpo (build-system python-build-system) (native-inputs (list python-bump2version - python-flake8 python-flake8-implicit-str-concat python-flake8-print python-isort diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 033027a5aa9..eb8aa17fdfe 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -564,8 +564,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-flake8 - python-pytest)) + (list python-coverage python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index db40b99928a..b396a97c0bc 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -217,7 +217,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-flake8 python-isort python-mypy python-pytest diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index e63dd0f0678..b4f0f65c837 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -175,8 +175,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-flake8 - python-isort + (native-inputs (list python-isort python-nbsphinx python-pandas python-pillow @@ -1922,8 +1921,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-flake8 - python-keras + (native-inputs (list python-keras python-mypy python-pandas python-pytest @@ -4522,7 +4520,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-flake8 python-flask python-flask-compress python-ipython @@ -5009,8 +5006,7 @@ (define-public python-pyro-api (build-system python-build-system) (arguments '(#:tests? #false)) ;requires pyro (native-inputs - (list python-flake8 - python-ipython + (list python-ipython python-pytest python-sphinx python-sphinx-rtd-theme)) @@ -5059,7 +5055,6 @@ (define-public python-pyro-ppl (native-inputs (list ninja jupyter - python-flake8 python-graphviz python-isort python-lap @@ -5106,8 +5101,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8 - python-flake8-print + (native-inputs (list python-flake8-print python-pytest python-setuptools python-setuptools-scm @@ -5138,7 +5132,6 @@ (define-public python-gpytorch " and not test_t_matmul_matrix")))) (propagated-inputs (list python-linear-operator python-scikit-learn)) (native-inputs (list python-coverage - python-flake8 python-flake8-print python-nbval python-pytest diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 6b765dcb3d6..3af2b79b419 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -3968,6 +3968,7 @@ (define-public python-mutagen (build-system pyproject-build-system) (arguments (list + #:test-flags '(list "--ignore=tests/quality/test_flake8.py") #:phases #~(modify-phases %standard-phases (add-before 'check 'remove-hypothesis-deadlines @@ -3978,8 +3979,8 @@ (define-public python-mutagen (("( +)@given" all spaces) (string-append spaces "@settings(deadline=None)\n" all)))))))) (native-inputs - (list python-pytest python-hypothesis python-flake8 - python-setuptools python-wheel)) + (list python-pytest python-hypothesis python-setuptools python-wheel)) + (home-page "https://mutagen.readthedocs.io/") (synopsis "Read and write audio tags") (description "Mutagen is a Python module to handle audio metadata. It supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 8ca730df3c3..502ad09a3a6 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -469,7 +469,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-flake8 python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov python-isort)) (arguments `(#:phases (modify-phases %standard-phases @@ -477,8 +477,6 @@ (define-public python-pure-protobuf (lambda _ (invoke "pytest" "--cov-report" "term-missing" "--cov" "pure_protobuf") - (invoke "flake8" "pure_protobuf" "tests" - "--ignore=F541") (invoke "isort" "-rc" "-c" "pure_protobuf" "tests")))))) (home-page "https://pypi.org/project/pure-protobuf/") (synopsis "Protobuf implementation using dataclasses") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a7794741f42..4cf064e0742 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -978,7 +978,6 @@ (define-public python-ovh (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) (native-inputs (list python-coverage - python-flake8 python-isort python-pytest python-pytest-cov @@ -1239,8 +1238,6 @@ (define-public python-furl (build-system python-build-system) (propagated-inputs (list python-six python-orderedmultidict)) - (native-inputs - (list python-flake8)) (home-page "https://github.com/gruns/furl") (synopsis "URL manipulation in Python") (description "Furl provides an easy-to-use alternative to the @@ -1273,7 +1270,6 @@ (define-public python-httplib2 (("==") ">="))))))) (native-inputs (list python-cryptography - python-flake8 python-future python-mock python-pytest @@ -7307,7 +7303,7 @@ (define-public python-http-ece (propagated-inputs (list python-cryptography)) (native-inputs - (list python-coverage python-flake8 python-mock python-nose)) + (list python-coverage python-mock python-nose)) (home-page "https://github.com/web-push-libs/encrypted-content-encoding") (synopsis "Encrypted Content Encoding for HTTP") (description @@ -8327,8 +8323,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-flake8 python-nose python-selenium - python-xunitparser)) + (list python-coverage python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -8967,8 +8962,7 @@ (define-public python-starsessions-for-pytorch-lightning python-itsdangerous python-starlette-for-fastapi-0.88)) (native-inputs - (list python-flake8 - python-httpx + (list python-httpx python-mypy python-poetry-core python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e558dcdc83a..fa77102857c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -320,7 +320,6 @@ (define-public python-apprise (native-inputs (list python-babel python-coverage python-cryptography - python-flake8 python-paho-mqtt python-pytest python-pytest-cov @@ -1183,8 +1182,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-flake8 python-pytest python-setuptools - python-wheel)) + (list python-coverage python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -2370,7 +2368,7 @@ (define-public python-pymd4c (inputs (list md4c)) (native-inputs - (list python-flake8 python-pkgconfig pkg-config)) + (list python-pkgconfig pkg-config)) (home-page "https://github.com/dominickpastore/pymd4c") (synopsis "Python bindings for MD4C") (description @@ -3028,7 +3026,7 @@ (define-public python-pyls-black (propagated-inputs (list python-black python-lsp-server python-tomli)) (native-inputs - (list python-flake8 python-isort python-mypy python-pytest + (list python-isort python-mypy python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") @@ -7006,7 +7004,6 @@ (define-public python-docx (build-system pyproject-build-system) (native-inputs (list behave - python-flake8 python-mock python-pyparsing python-pytest @@ -10799,7 +10796,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile python-setuptools)) (native-inputs - (list python-flake8 python-fsspec python-pytest + (list python-fsspec python-pytest python-pytest-cov python-wheel)) (home-page "https://imageio.github.io/") (synopsis "Library for reading and writing a wide range of image data") @@ -11577,8 +11574,7 @@ (define-public python-importlib-resources (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (native-inputs - (list python-flake8 - python-pytest + (list python-pytest python-pytest-black python-pytest-checkdocs python-pytest-cov @@ -11900,8 +11896,7 @@ (define-public python-jaraco-test (arguments (list #:test-flags '(list "-k" "http"))) (propagated-inputs (list python-jaraco-context python-jaraco-functools)) - (native-inputs (list python-flake8 - python-pytest + (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs python-pytest-cov @@ -13706,8 +13701,7 @@ (define-public python-seaborn python-scipy python-statsmodels)) (native-inputs - (list python-flake8 - python-flit-core + (list python-flit-core python-ipykernel python-nbconvert python-numpydoc @@ -18691,8 +18685,7 @@ (define-public python-progressbar2 (propagated-inputs (list python-six python-utils)) (native-inputs - (list python-flake8 - python-freezegun + (list python-freezegun python-pycodestyle python-pytest python-pytest-cache @@ -20048,8 +20041,7 @@ (define-public python-codespell (inputs (list python-chardet)) (native-inputs - (list python-flake8 - python-pygments + (list python-pygments python-pytest python-pytest-cov python-pytest-dependency @@ -21140,8 +21132,7 @@ (define-public python-inflect (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (propagated-inputs (list python-pydantic)) - (native-inputs (list python-flake8 - python-pygments + (native-inputs (list python-pygments python-pytest python-pytest-black python-pytest-checkdocs @@ -23279,7 +23270,6 @@ (define-public python-argcomplete (invoke "python3" "./test/test.py" "-v"))))))) (native-inputs (list python-coverage - python-mypy python-pexpect python-setuptools python-setuptools-scm @@ -24415,8 +24405,7 @@ (define-public python-diff-cover python-setuptools ; For pkg_resources. python-tomli)) (native-inputs - (list python-flake8 - python-poetry-core + (list python-poetry-core python-pylint python-pytest python-pytest-flake8 @@ -25083,7 +25072,7 @@ (define-public python-validators (propagated-inputs (list python-decorator python-six)) (native-inputs - (list python-flake8 python-isort python-pytest)) + (list python-isort python-pytest)) (home-page "https://github.com/kvesteri/validators") (synopsis "Data validation library") (description @@ -25152,8 +25141,7 @@ (define-public python-marshmallow (propagated-inputs (list python-packaging)) (native-inputs - (list python-flake8 - python-flake8-bugbear + (list python-flake8-bugbear python-mypy python-pytest python-pytz @@ -25181,7 +25169,6 @@ (define-public python-marshmallow-jsonapi (list python-marshmallow)) (native-inputs (list python-faker - python-flake8 python-flake8-bugbear python-flask python-mock @@ -25216,8 +25203,7 @@ (define-public python-apispec (propagated-inputs (list python-packaging)) (native-inputs - (list python-flake8 - python-flake8-bugbear + (list python-flake8-bugbear python-marshmallow python-mypy python-pytest @@ -25245,7 +25231,6 @@ (define-public python-apispec-webframeworks (propagated-inputs (list python-apispec python-setuptools)) (native-inputs (list python-bottle - python-flake8 python-flake8-bugbear python-flask python-mock @@ -25294,7 +25279,6 @@ (define-public python-flasgger (list python-apispec python-apispec-webframeworks python-decorator - python-flake8 python-flask-jwt python-flask-restful python-flex @@ -26279,7 +26263,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-flake8 python-setuptools-scm python-wheel)) + (list python-coverage python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -27286,7 +27270,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-flake8 python-pytest)) + (native-inputs (list python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -31395,7 +31379,6 @@ (define-public python-eliot (native-inputs (list python-coverage python-dask - python-flake8 python-hypothesis python-pytest python-setuptools @@ -32184,7 +32167,7 @@ (define-public python-dateparser (list python-dateutil python-pytz python-regex python-ruamel.yaml python-tzlocal)) (native-inputs - (list python-flake8 python-pytest python-parameterized tzdata-for-tests + (list python-pytest python-parameterized tzdata-for-tests python-setuptools python-wheel)) (arguments `(#:phases @@ -32712,11 +32695,10 @@ (define-public python-versioneer (invoke "pyflakes" "setup.py" "versioneer.py" "git_version.py") (invoke "python" "test/run_pyflakes_src.py") (invoke "pyflakes" "test") - (invoke "flake8" "git_version.py" "versioneer.py") (invoke "pycodestyle" "--max-line-length=88" "git_version.py" "versioneer.py"))))))) (native-inputs - (list git-minimal python-flake8 python-pycodestyle python-pyflakes + (list git-minimal python-pycodestyle python-pyflakes python-pypa-build python-setuptools python-wheel)) (propagated-inputs (list python-tomli)) @@ -33519,7 +33501,7 @@ (define-public python-jinja2-cli (propagated-inputs (list python-jinja2)) (native-inputs - (list python-flake8 python-jinja2 python-pytest)) + (list python-jinja2 python-pytest)) (home-page "https://github.com/mattrobenolt/jinja2-cli") (synopsis "Command-line interface to Jinja2") (description @@ -35094,7 +35076,6 @@ (define-public nikola python-yapsy)) (native-inputs (list python-coverage - python-flake8 python-freezegun python-pytest python-pytest-cov)) @@ -35561,7 +35542,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-flake8 python-mypy + (native-inputs (list python-coverage python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases @@ -35960,7 +35941,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-flake8 python-shtab)) + (list python-coverage python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") @@ -35984,7 +35965,6 @@ (define-public python-arpeggio (build-system python-build-system) (native-inputs (list python-coverage python-coveralls - python-flake8 python-mike python-mkdocs python-pytest diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 99c0a121dde..7831802284f 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1220,7 +1220,6 @@ (define-public python-dolfin-adjoint (list pkg-config python-coverage python-decorator - python-flake8 python-pkgconfig python-pytest)) (propagated-inputs diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index c86ef1e5615..2057649ede5 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -90,7 +90,6 @@ (define-public python-sphinx python-colorama python-docutils python-filelock - python-flake8 python-html5lib python-imagesize python-importlib-metadata @@ -189,7 +188,6 @@ (define-public python-sphinx-5 python-colorama python-docutils python-filelock - python-flake8 python-html5lib python-imagesize python-importlib-metadata diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index c2dc1cefef3..0a6f61e2280 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2447,7 +2447,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-flake8 python-isort python-joblib python-matplotlib diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 9d3b93faf90..bf2da58a3ee 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1675,7 +1675,6 @@ (define-public python-panflute (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser python-coverage - python-flake8 python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 9da51cb5617..d52d872909d 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -970,7 +970,6 @@ (define-public sshuttle (native-inputs (list python-setuptools-scm ;; For tests only. - python-flake8 python-mock python-pytest-cov python-pytest-runner)) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index a1c94fe13a9..7da18bc821c 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -654,7 +654,6 @@ (define-public qtile python-xcffib)) (native-inputs (list pkg-config - python-flake8 python-pep8-naming python-pytest python-pytest-cov -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:03 GMT) Full text and rfc822 format available.Message #23 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 07/32] gnu: python-cram: Remove python-coverage native-input. Date: Fri, 10 May 2024 09:55:11 +0200
* gnu/packages/python-xyz.scm (python-cram): [native-inputs]: Remove python-coverage. [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Adapt check and patch-source phases to coverage removal. Change-Id: I83fafcdcfbc977f9d3e3411d01d23d9a0e120ec6 --- gnu/packages/python-xyz.scm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e84ce7df3eb..108b32d0459 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15081,25 +15081,17 @@ (define-public python-cram ;; causes the line showing the default shell to break into two ;; lines, but the test expects a single line... (("env\\['COLUMNS'\\] = '80'") - "env['COLUMNS'] = '160'")) - - (substitute* "Makefile" - ;; Recent versions of python-coverage have caused the test - ;; coverage to decrease (as of version 0.7). Allow that. - (("--fail-under=100") - "--fail-under=90")) - - #t)) + "env['COLUMNS'] = '160'")))) (replace 'check ;; The test phase uses the built library and executable. (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv "PATH" (string-append (getenv "PATH") ":" (assoc-ref outputs "out") "/bin")) - (invoke "make" "test")))))) - (build-system python-build-system) + (invoke "make" "quicktest")))))) + (build-system pyproject-build-system) (native-inputs - (list python-coverage python-setuptools python-wheel which)) + (list python-setuptools python-wheel which)) (synopsis "Simple testing framework for command line applications") (description "Cram is a functional testing framework for command line applications. -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:04 GMT) Full text and rfc822 format available.Message #26 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 06/32] build-system/pyproject: Remove python-coverage input. Date: Fri, 10 May 2024 09:55:10 +0200
* gnu/packages/android.scm (python-androguard): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt 'check phase replacement. * gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy, python-poliastro)[native-inputs]: Remove python-coverage. * gnu/packages/bioinformatics.scm (python-ega-download-client, python-scikit-bio, python-cooler)[native-inputs]: Remove python-coverage. * gnu/packages/check.scm (python-pytest-randomly, python-pytest-flakes, python-aiounittest)[native-inputs]: Remove python-coverage. * gnu/packages/cpp.scm (cpplint)[native-inputs]: Remove python-coverage. * gnu/packages/diffoscope.scm (reprotest)[native-inputs]: Remove python-coverage. * gnu/packages/django.scm (python-django-haystack)[native-inputs]: Remove python-coverage. * gnu/packages/engineering.scm (python-scikit-rf)[native-inputs]: Remove python-coverage. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-coverage. * gnu/packages/gpodder.scm (gpodder)[native-inputs]: Remove python-coverage. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coverage. * gnu/packages/jupyter.scm (python-jupyter-packaging)[native-inputs]: Remove python-coverage. * gnu/packages/machine-learning.scm (onnx, onnx-optimizer, python-lightning-utilities, python-pytorch-lightning, python-torchmetrics, python-gpytorch)[native-inputs]: Remove python-coverage. * gnu/packages/music.scm (python-pylast)[native-inputs]: Remove python-coverage. * gnu/packages/package-management.scm (python-anaconda-client, conda)[native-inputs]: Remove python-coverage. * gnu/packages/python-check.scm (python-vcrpy, python-re-assert)[native-inputs]: Remove python-coverage. * gnu/packages/python-compression.scm (python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr)[native-inputs]: Remove python-coverage. * gnu/packages/python-web.scm (python-ovh, python-flask-misaka, python-zope-interface, python-zope-hookable, python-url, python-transaction, python-sanic, python-woob, python-flask-combo-jsonapi)[native-inputs]: Remove python-coverage. * gnu/packages/python-xyz.scm (python-apprise, python-arpeggio, python-affine, python-colorful, python-lunr, python-mdit-py-plugins, python-bidict, python-sh, python-cftime, python-can, python-jsonargparse, python-extension-helpers, python-pyjwt, python-virtualenv-clone, python-lsp-server, python-pikepdf, python-tasklogger, python-notebook, python-structlog, binwalk, python-argcomplete, python-attrs, python-yq, python-stone, python-identify, python-nodeenv, python-anyio, python-forbiddenfruit, python-watchgod, python-eliot, python-pem, python-scikit-build, python-minikanren, nikola, python-verspec, python-mike) [native-inputs]: Remove python-coverage. * gnu/packages/simulation.scm (python-dolfin-adjoint)[native-inputs]: Remove python-coverage. * gnu/packages/statistics.scm (python-emcee, python-rpy2)[native-inputs]: Remove python-coverage. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coverage. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-coverage. * gnu/packages/textutils.scm (python-panflute)[native-inputs]: Remove python-coverage. * gnu/packages/version-control.scm (pre-commit)[native-inputs]: Remove python-coverage. * gnu/packages/web.scm (python-httpretty)[native-inputs]: Remove python-coverage. * gnu/packages/xml.scm (python-xmltodict)[native-inputs]: Remove python-coverage. Change-Id: I66b28e624aac94f1a2f6e4fae5cdb444193cd8d9 --- gnu/packages/android.scm | 6 +-- gnu/packages/astronomy.scm | 7 +-- gnu/packages/bioinformatics.scm | 8 ++-- gnu/packages/check.scm | 7 ++- gnu/packages/cpp.scm | 3 +- gnu/packages/diffoscope.scm | 1 - gnu/packages/django.scm | 1 - gnu/packages/engineering.scm | 3 +- gnu/packages/geo.scm | 1 - gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 3 +- gnu/packages/jupyter.scm | 2 +- gnu/packages/machine-learning.scm | 10 +--- gnu/packages/music.scm | 3 +- gnu/packages/package-management.scm | 6 +-- gnu/packages/python-check.scm | 5 +- gnu/packages/python-compression.scm | 12 ++--- gnu/packages/python-web.scm | 20 ++++---- gnu/packages/python-xyz.scm | 72 +++++++++-------------------- gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 6 +-- gnu/packages/syndication.scm | 4 +- gnu/packages/terminals.scm | 8 ++-- gnu/packages/textutils.scm | 1 - gnu/packages/version-control.scm | 1 - gnu/packages/web.scm | 3 +- gnu/packages/xml.scm | 2 +- 27 files changed, 63 insertions(+), 136 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index cbfbd6522f4..ab42f2be980 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1072,11 +1072,9 @@ (define-public python-androguard (replace 'check ;; Adapted from .travis.yml (lambda _ - (invoke "nosetests" "--with-coverage" "--with-timer" - "--timer-top-n" "50")))))) + (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-coverage python-mock python-nose - python-nose-timer)) + (list python-codecov python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ede10ab927a..0ff2511208d 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1678,7 +1678,6 @@ (define-public python-astropy (native-inputs (list pkg-config python-colorlog - python-coverage python-cython-3 python-extension-helpers python-h5py @@ -2604,8 +2603,7 @@ (define-public python-poliastro (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-mypy python-flit-core python-pytest @@ -4953,8 +4951,7 @@ (define-public python-asdf-astropy (add-before 'check 'set-home-env (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-h5py + (list python-h5py python-pandas python-pytest python-pytest-astropy diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4f3a3d0ba01..eabee35f70f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2766,8 +2766,7 @@ (define-public python-ega-download-client (("==") ">="))))))) (propagated-inputs (list python-htsget python-psutil python-requests python-tqdm python-urllib3)) - (native-inputs (list python-coverage - python-mock + (native-inputs (list python-mock python-pyfakefs python-pytest python-responses @@ -5359,7 +5358,7 @@ (define-public python-scikit-bio python-requests python-scipy)) (native-inputs - (list python-coverage python-pytest)) + (list python-pytest)) (home-page "https://scikit-bio.org") (synopsis "Data structures, algorithms and educational resources for bioinformatics") (description @@ -17971,8 +17970,7 @@ (define-public python-cooler python-scipy python-simplejson)) (native-inputs - (list python-coverage - python-hatchling + (list python-hatchling python-isort python-pytest python-pytest-cov)) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 880d3cb46f3..b7116b3f0e2 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1617,8 +1617,7 @@ (define-public python-pytest-randomly "not reordered " "and not test_it_runs_before_stepwise " "and not test_entrypoint_injection")))))))) - (native-inputs (list python-coverage - python-factory-boy + (native-inputs (list python-factory-boy python-faker python-numpy python-pytest-xdist)) @@ -2715,7 +2714,7 @@ (define-public python-pytest-flakes (add-installed-pythonpath inputs outputs) (invoke "py.test" "-vv" "-k" "not test_syntax_error")))))) (native-inputs - (list python-coverage python-pytest python-pytest-pep8)) + (list python-pytest python-pytest-pep8)) (propagated-inputs (list python-pyflakes)) (home-page "https://github.com/fschulze/pytest-flakes") @@ -3568,7 +3567,7 @@ (define-public python-aiounittest #t))))) (propagated-inputs (list python-wrapt)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/kwarunek/aiounittest") (synopsis "Test asyncio code more easily") diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 8a0bd62d6b6..ba2698056da 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1189,8 +1189,7 @@ (define-public cpplint (setenv "GUIX_PYTHONPATH" (getenv "TMP_PYTHONPATH"))))))) (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-pytest-cov python-pytest-runner python-testfixtures)) diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm index fd2146456d6..67567a6b310 100644 --- a/gnu/packages/diffoscope.scm +++ b/gnu/packages/diffoscope.scm @@ -269,7 +269,6 @@ (define-public reprotest `(("diffoscope" ,diffoscope) ("help2man" ,help2man) ("libfaketime" ,libfaketime) - ("python-coverage" ,python-coverage) ("python-docutils" ,python-docutils) ("python-magic " ,python-magic) ("python-pytest " ,python-pytest) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 4a271eaf0b5..298968d37c6 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -495,7 +495,6 @@ (define-public python-django-haystack (list python-django)) (native-inputs (list gdal - python-coverage python-dateutil python-geopy python-mock diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 610fb53087b..2620d5272b6 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2678,8 +2678,7 @@ (define-public python-scikit-rf python-pyqtgraph python-qtpy python-scipy)) - (native-inputs (list python-coverage - python-nbval + (native-inputs (list python-nbval python-networkx python-pytest python-pytest-cov diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 69cc7e6ddc5..806120e939d 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3264,7 +3264,6 @@ (define-public python-geopy (list python-geographiclib)) (native-inputs (list python-async-generator - python-coverage python-isort python-pytest python-pytest-aiohttp diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm index f9102d3a447..0786010471f 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -64,7 +64,6 @@ (define-public gpodder (build-system python-build-system) (native-inputs (list intltool - python-coverage python-minimock python-pytest python-pytest-cov @@ -173,7 +172,7 @@ (define-public python-mygpoclient "1fi5x6k1mngr0iviw2s4n1f3y2x7pwqy5ivkcrjdprzvwr37f0mh")))) (build-system python-build-system) (native-inputs - (list python-coverage python-minimock python-nose)) + (list python-minimock python-nose)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index eb8aa17fdfe..f83a23dd0be 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -476,7 +476,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coverage python-coveralls python-nose python-nose2 @@ -564,7 +563,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-pytest)) + (list python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index e2bef079ba0..456b0544a9a 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -486,7 +486,7 @@ (define-public python-jupyter-packaging (list python-deprecation python-packaging python-setuptools python-tomlkit python-wheel)) (native-inputs - (list python-pypa-build python-coverage python-pytest + (list python-pypa-build python-pytest python-pytest-cov python-pytest-mock)) (home-page "https://jupyter.org") (synopsis "Jupyter packaging utilities") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index b4f0f65c837..e6f6bfe410d 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1364,7 +1364,6 @@ (define args (list cmake googletest pybind11 - python-coverage python-nbval python-pytest python-pytest-runner)) @@ -1443,8 +1442,7 @@ (define-public onnx-optimizer #~(modify-phases #$phases (delete 'relax-requirements))))) (native-inputs - (list cmake python-pytest python-pytest-runner python-nbval - python-coverage)) + (list cmake python-pytest python-pytest-runner python-nbval)) (inputs (list onnx protobuf pybind11)) (propagated-inputs @@ -4487,7 +4485,6 @@ (define-public python-lightning-utilities (build-system python-build-system) (propagated-inputs (list python-importlib-metadata python-packaging python-typing-extensions)) - (native-inputs (list python-coverage)) (home-page "https://github.com/Lightning-AI/utilities") (synopsis "PyTorch Lightning sample project") (description "This package provides common Python utilities and GitHub @@ -4700,7 +4697,6 @@ (define-public python-pytorch-lightning (native-inputs (list python-aiohttp python-cloudpickle - python-coverage python-flaky python-pympler python-pytest @@ -4730,7 +4726,6 @@ (define-public python-torchmetrics python-typing-extensions)) (native-inputs (list python-cloudpickle - python-coverage python-fire python-mir-eval python-mypy @@ -5131,8 +5126,7 @@ (define-public python-gpytorch #~(list "-k" (string-append "not test_deprecated_methods" " and not test_t_matmul_matrix")))) (propagated-inputs (list python-linear-operator python-scikit-learn)) - (native-inputs (list python-coverage - python-flake8-print + (native-inputs (list python-flake8-print python-nbval python-pytest python-setuptools diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 3af2b79b419..5420a140657 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4069,8 +4069,7 @@ (define-public python-pylast ;; https://github.com/pylast/pylast/issues/105 (arguments '(#:tests? #f)) (native-inputs - (list python-coverage python-pytest python-flaky python-pyyaml - python-setuptools-scm)) + (list python-pytest python-flaky python-pyyaml python-setuptools-scm)) (home-page "https://github.com/pylast/pylast") (synopsis "Python interface to Last.fm and Libre.fm") (description "A Python interface to Last.fm and other API-compatible diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index feed16ebcef..4e7e46bf1b3 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1100,8 +1100,7 @@ (define-public python-anaconda-client (list python-clyent python-nbformat python-pyyaml python-requests python-setuptools)) (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-freezegun python-mock python-pillow @@ -1286,8 +1285,7 @@ (define-public conda ;; XXX: This is dragged in by libarchive and is needed at runtime. zstd)) (native-inputs - (list python-coverage - python-flaky + (list python-flaky python-pytest-timeout python-pytest-xprocess python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 83fd723d12b..574a93782ce 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -411,8 +411,7 @@ (define-public python-vcrpy (propagated-inputs (list python-pyyaml python-six python-wrapt python-yarl)) (native-inputs - (list python-coverage - python-flake8 + (list python-flake8 python-flask python-httplib2 python-ipaddress @@ -1145,7 +1144,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-coverage python-pytest)) + (list python-covdefaults python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 34a9cd73a20..b2d789c92d0 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -109,7 +109,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coverage python-coveralls python-hypothesis python-pyannotate @@ -247,8 +246,7 @@ (define-public python-pybcj (build-system pyproject-build-system) (propagated-inputs (list python-importlib-metadata)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-cov python-setuptools-scm @@ -281,8 +279,7 @@ (define-public python-bcj-cffi (propagated-inputs (list python-cffi python-toml python-setuptools-scm)) (native-inputs - (list python-setuptools python-coverage python-pytest - python-pytest-cov)) + (list python-setuptools python-pytest python-pytest-cov)) (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 / @@ -407,8 +404,7 @@ (define-public python-pyppmd "03w4x26mar0ha73c3v39psn1i0k6xrzwmaxfsxysic73jz99np07")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-benchmark python-pytest-cov @@ -441,7 +437,6 @@ (define-public python-ppmd-cffi (native-inputs (list python-hypothesis python-setuptools-scm - python-coverage python-pytest python-pytest-cov)) (home-page "https://github.com/miurahr/ppmd") @@ -479,7 +474,6 @@ (define-public python-py7zr (list python-setuptools python-wheel python-setuptools-scm - python-coverage python-coveralls python-libarchive-c python-py-cpuinfo diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4cf064e0742..942999f6cf9 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -977,8 +977,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-coverage - python-isort + (native-inputs (list python-isort python-pytest python-pytest-cov python-setuptools @@ -1856,7 +1855,7 @@ (define-public python-flask-misaka "12gm6hq3lvlj0ddw8p6lk5pky8jk3pw758ihffjl49shnnzc68zl")))) (build-system python-build-system) (native-inputs - (list python-coverage python-mock)) + (list python-mock)) (propagated-inputs (list python-flask python-misaka)) (home-page "https://github.com/singingwolfboy/flask-misaka/") @@ -2999,8 +2998,7 @@ (define-public python-zope-interface (build-system python-build-system) (arguments '(#:tests? #f)) ; test suite can't find python-zope-testing (native-inputs - (list python-coverage python-nose python-zope-event - python-zope-testing)) + (list python-nose python-zope-event python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.interface") (synopsis "Python implementation of the \"design by contract\" methodology") @@ -3293,7 +3291,7 @@ (define-public python-zope-hookable "0hc82lfr7bk53nvbxvjkibkarngyrzgfk2i6bg8wshl0ly0pdl19")))) (build-system python-build-system) (native-inputs - (list python-coverage python-zope-testing)) + (list python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.hookable") (synopsis "Zope hookable") (description "This package supports the efficient creation of hookable @@ -4500,7 +4498,7 @@ (define-public python-url (propagated-inputs (list python-publicsuffix)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (arguments `(#:tests? #f)) ; FIXME: tests fail with "ImportError: No module named 'tests'" (home-page "https://github.com/seomoz/url-py") @@ -7162,7 +7160,7 @@ (define-public python-transaction (propagated-inputs (list python-zope-interface)) (native-inputs - (list python-coverage python-mock python-nose)) + (list python-mock python-nose)) (home-page "https://github.com/zopefoundation/transaction") (synopsis "Transaction management for Python") (description "This package contains a generic transaction implementation @@ -7624,7 +7622,6 @@ (define-public python-sanic (list python-bandit python-beautifulsoup4 python-chardet - python-coverage python-cryptography python-docutils python-mypy @@ -8323,7 +8320,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-nose python-selenium python-xunitparser)) + (list python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -8372,8 +8369,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fa77102857c..e84ce7df3eb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -318,7 +318,6 @@ (define-public python-apprise python-requests python-requests-oauthlib)) (native-inputs (list python-babel - python-coverage python-cryptography python-paho-mqtt python-pytest @@ -1020,7 +1019,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-flake8 python-pydocstyle + (propagated-inputs (list python-coveralls python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -1182,7 +1181,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -1306,8 +1305,7 @@ (define-public python-lunr '(list "-k" "not TestLanguageSupport" "--ignore-glob=tests/acceptance_tests/*"))) (native-inputs - (list python-coverage - python-hatch-fancy-pypi-readme + (list python-hatch-fancy-pypi-readme python-hatchling python-pytest python-pytest-timeout @@ -1340,8 +1338,7 @@ (define-public python-mdit-py-plugins (list python-markdown-it-py python-attrs)) (native-inputs - (list python-coverage - python-flit-core + (list python-flit-core python-pytest python-pytest-cov python-pytest-regressions)) @@ -2689,8 +2686,7 @@ (define-public python-bidict "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g")))) (build-system python-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-py python-pytest python-pytest-benchmark @@ -3053,8 +3049,6 @@ (define-public python-sh ;; XXX: A Python 2 test fails when HOME=/homeless-shelter. (setenv "HOME" "/tmp") (invoke "python" "sh.py" "test")))))) - (native-inputs - (list python-coverage)) (home-page "https://github.com/amoffat/sh") (synopsis "Python subprocess replacement") (description "This package provides a replacement for Python's @@ -3076,7 +3070,6 @@ (define-public python-cftime (list python-numpy)) (native-inputs (list python-check-manifest - python-coverage python-coveralls python-cython python-pytest-cov @@ -3581,7 +3574,6 @@ (define-public python-can (native-inputs (list ;; python-canalystii ; Not packed yet python-codecov - python-coverage python-future python-hypothesis python-mock @@ -4519,7 +4511,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-coverage python-pycodestyle python-pydantic python-pytest @@ -5047,8 +5038,7 @@ (define-public python-extension-helpers ;; - _pytest.pathlib.ImportPathMismatchError: ('extension_helpers.conftes (arguments (list #:tests? #f)) (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-pytest-astropy python-pytest-cov python-setuptools-scm @@ -6008,8 +5998,7 @@ (define-public python-pyjwt "1z85kwr945rbzrn5wabrsmck5x8disa9wc7b3y5gci7w65z5qa39")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-cryptography + (list python-cryptography python-pytest python-sphinx python-sphinx-rtd-theme @@ -6237,7 +6226,6 @@ (define-public python-virtualenv-clone (native-inputs (list python-pytest python-tox python-virtualenv - python-coverage python-wheel python-tomli python-hypothesis)) @@ -8202,7 +8190,6 @@ (define-public python-lsp-server (native-inputs (list python-autopep8 python-flake8 - python-coverage python-flaky python-matplotlib python-numpy @@ -10212,7 +10199,6 @@ (define-public python-pikepdf (native-inputs (list pybind11 python-attrs - python-coverage python-hypothesis python-setuptools-scm python-psutil @@ -16044,7 +16030,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coverage python-coveralls python-nose2 + (native-inputs (list python-coveralls python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -17600,8 +17586,7 @@ (define-public python-notebook python-tornado-6 python-traitlets)) (native-inputs - (list python-coverage - python-jupyter-server + (list python-jupyter-server python-nbval python-pytest python-pytest-cov @@ -18363,7 +18348,6 @@ (define-public python-structlog python-hatch-vcs python-hatchling ;; For the tests - python-coverage python-freezegun python-pretend python-pytest @@ -22685,7 +22669,7 @@ (define-public binwalk (lambda _ (setenv "HOME" "")))))) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/ReFirmLabs/binwalk") (synopsis "Firmware analysis tool") (description "Binwalk is a tool for analyzing, reverse engineering, and @@ -23269,8 +23253,7 @@ (define-public python-argcomplete "def __disable_test_console_script")) (invoke "python3" "./test/test.py" "-v"))))))) (native-inputs - (list python-coverage - python-pexpect + (list python-pexpect python-setuptools python-setuptools-scm python-wheel @@ -26263,7 +26246,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-setuptools-scm python-wheel)) + (list python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -27332,7 +27315,7 @@ (define-public python-stone (propagated-inputs (list python-ply python-six)) (native-inputs - (list python-coverage python-mock python-pytest python-pytest-runner)) + (list python-mock python-pytest python-pytest-runner)) (home-page "https://github.com/dropbox/stone") (synopsis "Official Api Spec Language for Dropbox") (description @@ -27588,8 +27571,7 @@ (define-public python-identify ;; system-error "utime" "~A" ("No such file or directory") (delete 'ensure-no-mtimes-pre-1980)))) (native-inputs - (list python-coverage python-pytest python-setuptools - python-ukkonen python-wheel)) + (list python-pytest python-setuptools python-ukkonen python-wheel)) (propagated-inputs (list python-editdistance)) (home-page "https://github.com/chriskuehl/identify") @@ -27685,8 +27667,7 @@ (define-public python-nodeenv "not test_smoke" " and not test_smoke_n_system_special_chars")))) (native-inputs - (list python-coverage python-mock python-pytest - python-setuptools python-wheel)) + (list python-mock python-pytest python-setuptools python-wheel)) (home-page "https://ekalinin.github.io/nodeenv/") (synopsis "Create isolated node.js environments") (description @@ -30039,7 +30020,6 @@ (define-public python-anyio python-typing-extensions)) (native-inputs (list python-contextlib2 - python-coverage python-hypothesis python-mock python-pytest @@ -30405,7 +30385,7 @@ (define-public python-forbiddenfruit (lambda _ (invoke "make" "SKIP_DEPS=1")))))) (native-inputs - (list python-nose python-coverage)) + (list python-nose)) (home-page "https://github.com/clarete/forbiddenfruit") (synopsis "Patch python built-in objects") (description "This project allows Python code to extend built-in types.") @@ -30583,7 +30563,6 @@ (define-public python-watchgod "-k" "not test_watch_log and not test_awatch"))) (native-inputs (list python-anyio - python-coverage python-pygments python-pytest python-pytest-asyncio @@ -31377,8 +31356,7 @@ (define-public python-eliot (list python-boltons python-pyrsistent python-six python-zope-interface)) (native-inputs - (list python-coverage - python-dask + (list python-dask python-hypothesis python-pytest python-setuptools @@ -31410,7 +31388,6 @@ (define-public python-pem (build-system python-build-system) (native-inputs (list python-certifi - python-coverage python-pretend python-pyopenssl python-pytest @@ -33404,7 +33381,6 @@ (define-public python-scikit-build gfortran git-minimal/pinned ;for tests ninja - python-coverage python-cython python-hatchling python-hatch-fancy-pypi-readme @@ -34131,8 +34107,7 @@ (define-public python-minikanren python-pytest-cov python-pylint python-sympy - python-versioneer - python-coverage)) + python-versioneer)) (propagated-inputs (list python-toolz python-cons python-multipledispatch python-etuples python-logical-unification)) @@ -35075,8 +35050,7 @@ (define-public nikola python-unidecode python-yapsy)) (native-inputs - (list python-coverage - python-freezegun + (list python-freezegun python-pytest python-pytest-cov)) (arguments @@ -35542,8 +35516,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-mypy - python-pretend python-pytest)) + (native-inputs (list python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -35941,7 +35914,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-shtab)) + (list python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") @@ -35963,8 +35936,7 @@ (define-public python-arpeggio (base32 "0ggdsck1wpladd5bh9drhkmm86bblgk2wagrhn3sdf4v04wkic6n")))) (build-system python-build-system) - (native-inputs (list python-coverage - python-coveralls + (native-inputs (list python-coveralls python-mike python-mkdocs python-pytest diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 7831802284f..18d97ae44eb 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1218,7 +1218,6 @@ (define-public python-dolfin-adjoint (list fenics openmpi pybind11)) (native-inputs (list pkg-config - python-coverage python-decorator python-pkgconfig python-pytest)) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0a6f61e2280..bfc69062587 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2396,8 +2396,7 @@ (define-public python-emcee (base32 "1vbz67cwzig28dlndkm6g246p1vcvj6yy2w65z8cdyffigf1j3lf")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) - (native-inputs (list python-coverage - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-setuptools-scm @@ -6777,8 +6776,7 @@ (define-public python-rpy2 python-numpy zlib)) (native-inputs - (list python-coverage - python-ipython + (list python-ipython python-numpy python-pandas python-pytest diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 29febdf3453..0a6ff765c30 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -435,7 +435,6 @@ (define-public rtv (native-inputs (list ncurses python-coveralls - python-coverage python-mock python-pytest python-vcrpy)) @@ -468,8 +467,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-mock python-pytest python-vcrpy diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 26af13af498..e96ee664eff 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1196,7 +1196,7 @@ (define-public python-halo (build-system pyproject-build-system) (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) - (native-inputs (list python-coverage python-nose python-tox + (native-inputs (list python-nose python-tox python-twine python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") @@ -1224,8 +1224,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (propagated-inputs (list python-colorama)) - (native-inputs (list python-coverage python-nose - python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-log-symbols") (synopsis "Python library with graphical symbols for logging on the terminal") (description "This package provides a Python library with graphical symbols @@ -1252,8 +1251,7 @@ (define-public python-spinners (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) - (native-inputs (list python-coverage python-nose - python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") (description "Spinners is a Python library that contains graphical spinners diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index bf2da58a3ee..2c7fd0365ca 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1674,7 +1674,6 @@ (define-public python-panflute (build-system python-build-system) (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser - python-coverage python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index bccc219f679..f85e8b274cb 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2064,7 +2064,6 @@ (define-public pre-commit (native-inputs (list git-minimal python-covdefaults - python-coverage python-distlib python-pytest python-pytest-env diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index c29a8b3ca7b..736be82c90b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6893,8 +6893,7 @@ (define-public python-httpretty (when tests? (invoke "nosetests"))))))) (native-inputs - (list python-coverage - python-eventlet + (list python-eventlet python-nose python-rednose python-requests diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 2654f688d4b..1f767ba69b2 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1950,7 +1950,7 @@ (define-public python-xmltodict "08cadlb9vsb4pmzc99lz3a2lx6qcfazyvgk10pcqijvyxlwcdn2h")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-nose python-setuptools python-wheel)) + (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/martinblech/xmltodict") (synopsis "Work with XML like you are working with JSON") (description "This package provides a Python library to convert XML to -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:04 GMT) Full text and rfc822 format available.Message #29 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 08/32] gnu: u-boot-tools: Remove python-coverage native-input. Date: Fri, 10 May 2024 09:55:12 +0200
* gnu/packages/bootloaders.scm (u-boot-tools): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt patch phase. Change-Id: I94394544079197b4a3f8c53cc0b3d78d1f5dc8be --- gnu/packages/bootloaders.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 0e7bc66bd75..cf568b2bd6a 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -802,8 +802,7 @@ (define-public u-boot-tools (name "u-boot-tools") (native-inputs (modify-inputs (package-native-inputs u-boot) - (prepend python-coverage - python-filelock + (prepend python-filelock python-pycryptodomex python-pytest python-pytest-xdist @@ -820,14 +819,6 @@ (define-public u-boot-tools (("/bin/false") (which "false"))) (substitute* "tools/dtoc/fdt_util.py" (("'cc'") "'gcc'")) - (substitute* "tools/u_boot_pylib/test_util.py" - ;; python3-coverage is simply called coverage in guix. - (("python3-coverage") "coverage") - - ;; Don't require 100% coverage since it's brittle and can - ;; fail with newer versions of coverage or dependencies. - (("raise ValueError\\('Test coverage failure'\\)") - "print('Continuing anyway since Guix does not care :O')")) (substitute* "test/run" ;; Make it easier to find test failures. (("#!/bin/bash") "#!/bin/bash -x") @@ -838,9 +829,9 @@ (define-public u-boot-tools ;; FIXME: test_spl fails, needs further investiation (("test_ofplatdata or test_handoff or test_spl") "test_ofplatdata or test_handoff") - ;; FIXME: code coverage not working - (("run_test \"binman code coverage\"") - "# run_test \"binman code coverage\"") + ;; Disable code coverage tests. + (("run_test \"(\\w+) code coverage\"" all) + (string-append "# " all)) ;; This test would require internet access. (("\\./tools/buildman/buildman") (which "true"))) (substitute* "test/py/tests/test_sandbox_exit.py" -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:05 GMT) Full text and rfc822 format available.Message #32 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 09/32] gnu: python-aiosqlite: Remove python-coverage native-input. Date: Fri, 10 May 2024 09:55:13 +0200
* gnu/packages/databases.scm (python-aiosqlite): [arguments]<#:phases>: Adapt check phase. [native-inputs]: Remove python-coverage. Change-Id: I165d174426022f0603223e3def91ffe280f15899 --- gnu/packages/databases.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 96b2c2a0437..f9202639c53 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3935,11 +3935,8 @@ (define-public python-aiosqlite (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "python" "-m" "coverage" "run" "-m" - "aiosqlite.tests") - (invoke "python" "-m" "coverage" "report"))))))) + (invoke "python" "-m" "aiosqlite.tests"))))))) (native-inputs (list python-flit-core - python-coverage python-mypy)) (home-page "https://github.com/jreese/aiosqlite") (synopsis -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:06 GMT) Full text and rfc822 format available.Message #35 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 10/32] gnu: python-openid: Remove python-coverage native-input. Date: Fri, 10 May 2024 09:55:14 +0200
* gnu/packages/python-web.scm (python-openid): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Rewrite check phase. Change-Id: Id4ea5abc531f5fd84b60ff22407eb608f1e6ac29 --- gnu/packages/python-web.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 942999f6cf9..fe79f629bb8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2341,17 +2341,18 @@ (define-public python-openid "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "coverage" "run" "-m" - "unittest" "openid.test.test_suite"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "-m" "unittest" "openid.test.test_suite") + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-defusedxml)) (native-inputs - (list python-coverage python-psycopg2 python-django)) + (list python-psycopg2 python-django)) (home-page "https://github.com/necaris/python3-openid") (synopsis "OpenID support for servers and consumers") (description "This library provides OpenID authentication for Python, both -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:06 GMT) Full text and rfc822 format available.Message #38 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 11/32] build-system/pyproject: Remove python-coveralls native-input. Date: Fri, 10 May 2024 09:55:15 +0200
* gnu/packages/geo.scm (python-cartopy)[native-inputs]: Remove python-coveralls. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coveralls. * gnu/packages/python-compression.scm (python-multivolumefile, python-py7zr)[native-inputs]: Remove python-coveralls. * gnu/packages/python-science.scm (python-trimesh)[native-inputs]: Remove python-coveralls. * gnu/packages/python-web.scm (python-flask-combo-jsonapi) [native-inputs]: Remove python-coveralls. * gnu/packages/python-xyz.scm (python-affine, python-cftime, python-ddlparse, python-tasklogger, python-minikanren, python-arpeggio)[native-inputs]: Remove python-coveralls. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coveralls. * gnu/packages/telegram.scm (tgcli)[native-inputs]: Remove python-coveralls. Change-Id: I47b3c21f985175876618f1457b242e6841eb6d3b --- gnu/packages/geo.scm | 3 +-- gnu/packages/graph.scm | 3 +-- gnu/packages/python-compression.scm | 2 -- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 3 +-- gnu/packages/python-xyz.scm | 12 ++++-------- gnu/packages/syndication.scm | 4 +--- gnu/packages/telegram.scm | 3 +-- 8 files changed, 10 insertions(+), 23 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 806120e939d..be96e6800a3 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1479,8 +1479,7 @@ (define-public python-cartopy (inputs (list geos)) (native-inputs - (list python-coveralls - python-cython + (list python-cython python-pytest python-pytest-cov python-pytest-mpl diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index f83a23dd0be..d66a3676fd2 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -476,7 +476,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coveralls python-nose python-nose2 python-pandas @@ -563,7 +562,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coveralls python-pytest)) + (list python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index b2d789c92d0..5faf7b2a3cb 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -109,7 +109,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coveralls python-hypothesis python-pyannotate python-pytest @@ -474,7 +473,6 @@ (define-public python-py7zr (list python-setuptools python-wheel python-setuptools-scm - python-coveralls python-libarchive-c python-py-cpuinfo python-pyannotate diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f82feab0963..9301e82bb60 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -653,8 +653,7 @@ (define-public python-trimesh (("\\$MESH_PRE") "'$MESH_PRE'"))))))) (native-inputs - (list python-coveralls - python-pyinstrument + (list python-pyinstrument python-pytest python-pytest-cov)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fe79f629bb8..0e969eef306 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8370,8 +8370,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coveralls - python-pytest + (list python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") (synopsis "Flask extension to quickly create JSON:API 1.0 REST Web APIs") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 108b32d0459..c2926bf7497 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1019,7 +1019,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-pydocstyle + (propagated-inputs (list python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -3070,7 +3070,6 @@ (define-public python-cftime (list python-numpy)) (native-inputs (list python-check-manifest - python-coveralls python-cython python-pytest-cov python-sphinx @@ -5678,7 +5677,6 @@ (define-public python-ddlparse (build-system pyproject-build-system) (native-inputs (list python-codecov - python-coveralls python-pytest python-pytest-cov python-setuptools @@ -16022,7 +16020,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coveralls python-nose2 + (native-inputs (list python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -34093,8 +34091,7 @@ (define-public python-minikanren (invoke "python" "-m" "pytest" "-v" "tests/" "kanren/")) #t))))) (native-inputs - (list python-coveralls - python-pydocstyle + (list python-pydocstyle python-pytest python-pytest-cov python-pylint @@ -35928,8 +35925,7 @@ (define-public python-arpeggio (base32 "0ggdsck1wpladd5bh9drhkmm86bblgk2wagrhn3sdf4v04wkic6n")))) (build-system python-build-system) - (native-inputs (list python-coveralls - python-mike + (native-inputs (list python-mike python-mkdocs python-pytest python-pytest-runner diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 0a6ff765c30..a9980f1777d 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -434,7 +434,6 @@ (define-public rtv python-requests python-six)) (native-inputs (list ncurses - python-coveralls python-mock python-pytest python-vcrpy)) @@ -467,8 +466,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coveralls - python-mock + (list python-mock python-pytest python-vcrpy python-setuptools diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index 358374a5bb7..c5930180e6a 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -790,8 +790,7 @@ (define-public tgcli (add-installed-pythonpath inputs outputs) (invoke "pytest" "tests"))))))) (native-inputs - `(("coveralls" ,python-coveralls) - ("pytest" ,python-pytest) + `(("pytest" ,python-pytest) ("pytest-click" ,python-pytest-click) ("pytest-cov" ,python-pytest-cov) ("mkdocs" ,python-mkdocs) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:07 GMT) Full text and rfc822 format available.Message #41 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 13/32] gnu: python-versioneer: Remove python-pycodestyle native-input. Date: Fri, 10 May 2024 09:55:17 +0200
* gnu/packages/python-xyz.scm (python-versioneer): [arguments]<#:phases>: Remove pycodestyle invocation in check phase. [native-inputs]: Remove python-pycodestyle. Change-Id: Ida3fd1e16cb8656be2af666203a82cb9f6d65f75 --- gnu/packages/python-xyz.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 18e4d21f136..8e54608678d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32658,11 +32658,9 @@ (define-public python-versioneer (invoke "python" "setup.py" "make_long_version_py_git") (invoke "pyflakes" "setup.py" "versioneer.py" "git_version.py") (invoke "python" "test/run_pyflakes_src.py") - (invoke "pyflakes" "test") - (invoke "pycodestyle" "--max-line-length=88" - "git_version.py" "versioneer.py"))))))) + (invoke "pyflakes" "test"))))))) (native-inputs - (list git-minimal python-pycodestyle python-pyflakes + (list git-minimal python-pyflakes python-pypa-build python-setuptools python-wheel)) (propagated-inputs (list python-tomli)) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:07 GMT) Full text and rfc822 format available.Message #44 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 15/32] gnu: python-re-assert: Remove python-covdefaults native-input. Date: Fri, 10 May 2024 09:55:19 +0200
* gnu/packages/python-check.scm (python-re-assert): [native-inputs]: Remove python-covdefaults. Change-Id: Ib30c58b69aef7f255e5893ae6f9a33bdf41ac85d --- gnu/packages/python-check.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 574a93782ce..3281e5a772b 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1144,7 +1144,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-pytest)) + (list python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:08 GMT) Full text and rfc822 format available.Message #47 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 16/32] build-system/pyproject: Remove python-codecov native-input. Date: Fri, 10 May 2024 09:55:20 +0200
* gnu/packages/android.scm (python-androguard)[native-inputs]: Remove python-codecov. * gnu/packages/astronomy.scm (python-wiimatch, python-tweakwcs) [native-inputs]: Remove python-codecov. * gnu/packages/python-check.scm (python-pytest-trio): [arguments]<#:test-flags>: Remove --cov flag. [native-inputs]: Remove python-pytest-cov. * gnu/packages/python-xyz.scm (python-can, python-ddlparse)[native-inputs]: Remove python-codecov. Change-Id: Ic7d3789b3b30d3263f61442bb4e55fd332a4d2f6 --- gnu/packages/android.scm | 2 +- gnu/packages/astronomy.scm | 8 +++----- gnu/packages/python-check.scm | 5 ++--- gnu/packages/python-xyz.scm | 4 +--- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index ab42f2be980..7cc1fa4ef05 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1074,7 +1074,7 @@ (define-public python-androguard (lambda _ (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-mock python-nose python-nose-timer)) + (list python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 0ff2511208d..c2d874f8f3f 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4605,8 +4605,7 @@ (define-public python-tweakwcs python-stsci-imagestats python-stsci-stimage)) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-scipy python-setuptools @@ -5272,9 +5271,8 @@ (define-public python-wiimatch "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy python-setuptools)) - (native-inputs (list python-codecov python-pytest python-pytest-cov - python-pytest-doctestplus python-setuptools-scm - python-wheel)) + (native-inputs (list python-pytest python-pytest-cov python-wheel + python-pytest-doctestplus python-setuptools-scm)) (home-page "https://github.com/spacetelescope/wiimatch") (synopsis "Optimal matching of weighted N-dimensional image intensity data") diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 3281e5a772b..5345a15e108 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1191,7 +1191,7 @@ (define-public python-pytest-trio (arguments (list #:test-flags '(list "-W" "error" "-ra" "-v" "--pyargs" - "pytest_trio" "--verbose" "--cov" "-k" + "pytest_trio" "--verbose" "-k" (string-append ;; Needs network "not test_async_yield_fixture_with_nursery" @@ -1199,8 +1199,7 @@ (define-public python-pytest-trio ;; No keyboard interrupt in our build environment. " and not test_actual_test")))) (native-inputs - (list python-hypothesis python-pytest python-pytest-cov - python-setuptools python-wheel)) + (list python-hypothesis python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-async-generator python-outcome python-pytest python-trio)) (home-page "https://github.com/python-trio/pytest-trio") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c4167de452d..ca6d5279d19 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3572,7 +3572,6 @@ (define-public python-can python-setuptools)) (native-inputs (list ;; python-canalystii ; Not packed yet - python-codecov python-future python-hypothesis python-mock @@ -5675,8 +5674,7 @@ (define-public python-ddlparse (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) (build-system pyproject-build-system) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-setuptools python-tox -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:08 GMT) Full text and rfc822 format available.Message #50 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 12/32] build-system/pyproject: Remove python-pycodestyle native-input. Date: Fri, 10 May 2024 09:55:16 +0200
* gnu/packages/python-science.scm (python-scipy): [native-inputs]: Remove python-pycodestyle. * gnu/packages/python-xyz.scm (python-jsonargparse, python-lsp-server, python-orderedmultidict, python-progressbar2, python-stem) [native-inputs]: Remove python-pycodestyle. Change-Id: I4518bae13aa0e688bc6e0bb40c07082414e8130f --- gnu/packages/python-science.scm | 1 - gnu/packages/python-xyz.scm | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 9301e82bb60..e20cb56db9c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -296,7 +296,6 @@ (define-public python-scipy python-doit python-hypothesis python-pooch - python-pycodestyle python-pydevtool python-pytest python-pytest-cov diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c2926bf7497..18e4d21f136 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4510,7 +4510,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-pycodestyle python-pydantic python-pytest python-pytest-subtests @@ -8180,7 +8179,6 @@ (define-public python-lsp-server python-jedi python-lsp-jsonrpc python-pluggy - python-pycodestyle python-pydocstyle python-ujson python-whatthepatch @@ -9915,7 +9913,7 @@ (define-public python-orderedmultidict (propagated-inputs (list python-six)) (native-inputs - (list python-flake8 python-pycodestyle python-setuptools python-wheel)) + (list python-flake8 python-setuptools python-wheel)) (home-page "https://github.com/gruns/orderedmultidict") (synopsis "Python Ordered Multivalue Dictionary - omdict") (description "This package contains a library for ordered multivalue @@ -18660,7 +18658,6 @@ (define-public python-progressbar2 (list python-six python-utils)) (native-inputs (list python-freezegun - python-pycodestyle python-pytest python-pytest-cache python-pytest-cov @@ -22174,7 +22171,7 @@ (define-public python-stem (invoke "./run_tests.py" "--unit") #t))))) (native-inputs - (list python-mock python-pycodestyle python-pyflakes)) + (list python-mock python-pyflakes)) (home-page "https://stem.torproject.org/") (synopsis "Python controller library that allows applications to interact with Tor") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:09 GMT) Full text and rfc822 format available.Message #53 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 14/32] gnu: python-versioneer: Remove python-pyflakes native-input. Date: Fri, 10 May 2024 09:55:18 +0200
* gnu/packages/python-xyz.scm (python-versioneer): [arguments]<#:phases>: Remove pyflakes tests. [native-inputs]: Remove python-pyflakes. Change-Id: If2b8ab397f2ad25f73c434d28d8382f13d417f94 --- gnu/packages/python-xyz.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8e54608678d..c4167de452d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32655,13 +32655,9 @@ (define-public python-versioneer (invoke "python" "test/git/test_git.py" "-v") ;; Some invocation tests require the network. ;;(invoke "python" "test/git/test_invocations.py" "-v") - (invoke "python" "setup.py" "make_long_version_py_git") - (invoke "pyflakes" "setup.py" "versioneer.py" "git_version.py") - (invoke "python" "test/run_pyflakes_src.py") - (invoke "pyflakes" "test"))))))) + (invoke "python" "setup.py" "make_long_version_py_git"))))))) (native-inputs - (list git-minimal python-pyflakes - python-pypa-build python-setuptools python-wheel)) + (list git-minimal python-pypa-build python-setuptools python-wheel)) (propagated-inputs (list python-tomli)) (home-page "https://github.com/python-versioneer/python-versioneer") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:09 GMT) Full text and rfc822 format available.Message #56 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 17/32] build-system/pyproject: Remove python-tox native-input. Date: Fri, 10 May 2024 09:55:21 +0200
* gnu/packages/check.scm (python-pytest-regressions)[native-inputs]: Remove python-tox. * gnu/packages/diffoscope.scm (reprotest)[native-inputs]: Remove python-tox. * gnu/packages/django.scm (python-django-extensions)[native-inputs]: Remove python-tox. * gnu/packages/logging.scm (tailon)[native-inputs]: Remove python-tox. * gnu/packages/messaging.scm (python-harmony)[native-inputs]: Remove python-tox. * gnu/packages/python-check.scm (python-vcrpy)[native-inputs]: Remove python-tox. * gnu/packages/python-web.scm (python-omnipath, python-sanic)[native-inputs]: Remove python-tox. * gnu/packages/python-xyz.scm (python-lunr, python-bidict, python-jsonargparse, python-ddlparse, python-virtualenv-clone, python-honcho, python-pdfminer-six, python-shshsh, python-marshmallow-jsonapi, python-apispec-webframeworks, bpython, python-loguru, python-ansicolors)[native-inputs]: Remove python-tox. * gnu/packages/radio.scm (chirp)[native-inputs]: Remove python-tox. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-tox. Change-Id: I39dadb40a73ad1c64ba8b9ef9d1b3fe7d1498b5a --- gnu/packages/check.scm | 1 - gnu/packages/diffoscope.scm | 1 - gnu/packages/django.scm | 1 - gnu/packages/logging.scm | 2 +- gnu/packages/messaging.scm | 2 -- gnu/packages/python-check.scm | 1 - gnu/packages/python-web.scm | 2 -- gnu/packages/python-xyz.scm | 27 ++++++++------------------- gnu/packages/radio.scm | 3 +-- gnu/packages/terminals.scm | 6 +++--- 10 files changed, 13 insertions(+), 33 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index b7116b3f0e2..6042f763f15 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3675,7 +3675,6 @@ (define-public python-pytest-regressions python-pandas python-pillow python-restructuredtext-lint - python-tox python-setuptools-scm python-pytest)) (home-page "https://github.com/ESSS/pytest-regressions") diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm index 67567a6b310..bfe4ce99fdc 100644 --- a/gnu/packages/diffoscope.scm +++ b/gnu/packages/diffoscope.scm @@ -273,7 +273,6 @@ (define-public reprotest ("python-magic " ,python-magic) ("python-pytest " ,python-pytest) ("python-tlsh" ,python-tlsh) - ("python-tox" ,python-tox) ("unzip" ,unzip) ("xxd" ,xxd))) (build-system python-build-system) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 298968d37c6..f5b1e0462bb 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -260,7 +260,6 @@ (define-public python-django-extensions (native-inputs (list python-mock python-factory-boy - python-tox python-pytest python-pytest-cov python-pytest-django diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index a757c22154f..3c593001d00 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -134,7 +134,7 @@ (define-public tailon "0xkmrivzilsc9wqr8ms67v7399gxnh7pv5687k4rdpdgz4309fwc")))) (build-system python-build-system) (native-inputs - (list python-tox python-wheel)) + (list python-wheel)) (inputs (list python-pyyaml-5 python-sockjs-tornado python-tornado-http-auth python-tornado python-deepmerge)) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index cb72bfb3e25..35ff807e12c 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3504,8 +3504,6 @@ (define-public python-harmony (base32 "1bm9xcnzpnpj6rlhbrnl2abwclzl7ivgh1vb5644y9mnhcs489js")))) (build-system python-build-system) - (native-inputs - (list python-tox)) (inputs (list python-librecaptcha python-keyring python-requests)) (synopsis "Discord account management") diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 5345a15e108..7f1c73ee0ad 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -419,7 +419,6 @@ (define-public python-vcrpy python-pytest python-pytest-cov python-pytest-httpbin - python-tox python-urllib3)) (home-page "https://github.com/kevin1024/vcrpy") (synopsis "Automatically mock your HTTP interactions") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0e969eef306..fa908ceafd9 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2137,7 +2137,6 @@ (define-public python-omnipath python-pytest-socket python-requests-mock python-setuptools-scm - python-tox python-setuptools python-wheel)) (home-page "https://omnipathdb.org/") @@ -7634,7 +7633,6 @@ (define-public python-sanic python-setuptools python-slotscheck python-towncrier - python-tox python-types-ujson python-uvicorn python-wheel)) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ca6d5279d19..32a18f52d20 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1308,8 +1308,7 @@ (define-public python-lunr (list python-hatch-fancy-pypi-readme python-hatchling python-pytest - python-pytest-timeout - python-tox)) + python-pytest-timeout)) (propagated-inputs (list python-importlib-metadata python-typing-extensions)) (home-page @@ -2695,8 +2694,7 @@ (define-public python-bidict python-sortedcollections python-sortedcontainers python-sphinx - python-sphinx-autodoc-typehints - python-tox)) + python-sphinx-autodoc-typehints)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'relax-reqs @@ -4513,7 +4511,6 @@ (define-public python-jsonargparse python-pytest python-pytest-subtests python-responses - python-tox python-types-requests python-setuptools python-wheel)) @@ -5677,7 +5674,6 @@ (define-public python-ddlparse (list python-pytest python-pytest-cov python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-pyparsing)) (home-page "https://github.com/shinichi-takii/ddlparse") @@ -6219,7 +6215,6 @@ (define-public python-virtualenv-clone (delete-file "tox.ini") (invoke "pytest" "-vvv" "tests"))))))) (native-inputs (list python-pytest - python-tox python-virtualenv python-wheel python-tomli @@ -11332,7 +11327,7 @@ (define-public python-honcho (base32 "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj")))) (build-system python-build-system) (native-inputs - (list python-pytest python-mock python-tox which)) ;for tests + (list python-pytest python-mock which)) ;for tests (propagated-inputs (list python-jinja2)) (arguments @@ -20125,7 +20120,7 @@ (define-public python-pdfminer-six (propagated-inputs (list python-chardet python-cryptography python-sortedcontainers)) (native-inputs - (list python-nose python-tox)) + (list python-nose)) (home-page "https://github.com/pdfminer/pdfminer.six") (synopsis "PDF parser and analyzer") (description "@code{pdfminer.six} is a community maintained fork of @@ -21272,9 +21267,7 @@ (define-public python-shshsh "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f")))) (build-system pyproject-build-system) (native-inputs - (list python-poetry-core - python-pytest - python-tox)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/zqqqqz2000/shshsh") (synopsis "Write Shell commands simply and safely within Python") (description "This package provides a way to write Shell commands from @@ -25140,8 +25133,7 @@ (define-public python-marshmallow-jsonapi python-flake8-bugbear python-flask python-mock - python-pytest - python-tox)) + python-pytest)) (home-page "https://github.com/marshmallow-code/marshmallow-jsonapi") (synopsis "JSON:API 1.0 formatting with Marshmallow") (description @@ -25205,7 +25197,6 @@ (define-public python-apispec-webframeworks python-pytest python-pyyaml python-tornado - python-tox python-wheel)) (home-page "https://github.com/marshmallow-code/apispec-webframeworks") (synopsis "Web framework plugins for apispec") @@ -26663,7 +26654,7 @@ (define-public bpython python-watchdog python-jedi)) (native-inputs - (list python-sphinx python-mock python-tox python-wheel)) + (list python-sphinx python-mock python-wheel)) (home-page "https://bpython-interpreter.org/") (synopsis "Fancy interface to the Python interpreter") (description "Bpython is a fancy interface to the Python @@ -32923,7 +32914,6 @@ (define-public python-loguru python-sphinx python-sphinx-autobuild python-sphinx-rtd-theme - python-tox python-setuptools python-wheel)) (home-page "https://github.com/Delgan/loguru") @@ -35280,8 +35270,7 @@ (define-public python-ansicolors (base32 "1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr")))) (build-system python-build-system) (native-inputs - (list python-tox - python-pytest-cov + (list python-pytest-cov unzip)) (home-page "https://github.com/jonathaneunice/colors/") (synopsis "ANSI colors for Python") diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 56e674a8edc..bfd601564d8 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3171,8 +3171,7 @@ (define-public chirp python-pep8 python-pytest python-pytest-mock - python-pyyaml - python-tox)) + python-pyyaml)) (inputs (list python-future python-importlib-resources diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index e96ee664eff..a0acaa71769 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1196,7 +1196,7 @@ (define-public python-halo (build-system pyproject-build-system) (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) - (native-inputs (list python-nose python-tox + (native-inputs (list python-nose python-twine python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") @@ -1224,7 +1224,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (propagated-inputs (list python-colorama)) - (native-inputs (list python-nose python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/py-log-symbols") (synopsis "Python library with graphical symbols for logging on the terminal") (description "This package provides a Python library with graphical symbols @@ -1251,7 +1251,7 @@ (define-public python-spinners (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) - (native-inputs (list python-nose python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") (description "Spinners is a Python library that contains graphical spinners -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:10 GMT) Full text and rfc822 format available.Message #59 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 19/32] gnu: python-immutables: Remove python-mypy native-input. Date: Fri, 10 May 2024 09:55:23 +0200
* gnu/packages/python-xyz.scm (python-immutables): [origin]: Use git-fetch to use upstream test-data directory. [build-system]: Move to pyrpoject-build-system. [native-inputs]: Remove python-mypy. [arguments]<#:phases>: Add phase to remove python-mypy native-input. Change-Id: Ie67f634ffecbc3711f354e915b2fab54a1639925 --- gnu/packages/python-xyz.scm | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dd2b35eb35d..6fc3f0dbb06 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15819,13 +15819,21 @@ (define-public python-immutables (version "0.18") (source (origin - (method url-fetch) - (uri (pypi-uri "immutables" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/immutables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk")))) + (base32 "1xjbkgls0dqrvpg4yzkdzz6aayizxcv5chjc5gyynk196wyshw4m")))) (build-system pyproject-build-system) - (native-inputs (list python-mypy python-pytest - python-setuptools python-wheel)) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-mypy-dependency + (lambda _ + (delete-file "tests/test_mypy.py") + (delete-file "tests/conftest.py")))))) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/MagicStack/immutables") (synopsis "High-performance immutable mapping type for Python") (description -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:11 GMT) Full text and rfc822 format available.Message #62 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 18/32] build-system/pyproject: Remove python-mypy native-input. Date: Fri, 10 May 2024 09:55:22 +0200
* gnu/packages/astronomy.scm (python-poliastro)[native-inputs]: Remove python-mypy. * gnu/packages/databases.scm (python-psycopg2)[native-inputs]: Remove python-mypy. * gnu/packages/engineering.scm (uranium, cura)[native-inputs]: Remove python-mypy. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-mypy. * gnu/packages/machine-learning.scm (python-imbalanced-learn, python-captum, python-torchmetrics, python-pyro-ppl)[native-inputs]: Remove python-mypy. * gnu/packages/python-science.scm (python-scipy)[native-inputs]: Remove python-mypy. * gnu/packages/python-web.scm (python-huggingface-hub, python-asgiref, python-starsessions-for-pytorch-lightning, python-fastapi)[native-inputs]: Remove python-mypy. * gnu/packages/python-xyz.scm (python-pyls-black, kalamine, python-pydantic-cli, python-marshmallow, python-apispec, python-typeguard, python-trio-typing, python-verspec, python-catalogue, python-duckdb)[native-inputs]: Remove python-mypy. * gnu/packages/serialization.scm (python-msgspec)[native-inputs]: Remove python-mypy. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-mypy. Change-Id: I947656750aa0c7732291d826641736aaefab274e --- gnu/packages/astronomy.scm | 1 - gnu/packages/databases.scm | 1 - gnu/packages/engineering.scm | 2 -- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 4 ---- gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 5 +---- gnu/packages/python-xyz.scm | 22 +++++++++------------- gnu/packages/serialization.scm | 1 - gnu/packages/virtualization.scm | 3 +-- 10 files changed, 11 insertions(+), 30 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index c2d874f8f3f..426cfd8c88f 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2604,7 +2604,6 @@ (define-public python-poliastro (setenv "HOME" "/tmp")))))) (native-inputs (list python-hypothesis - python-mypy python-flit-core python-pytest python-pytest-cov diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index f9202639c53..ad27ec621ca 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4112,7 +4112,6 @@ (define-public python-psycopg (delete 'sanity-check)))) (native-inputs (list python-cython-3 - python-mypy python-psycopg-pool python-pytest python-pytest-asyncio diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 2620d5272b6..af79172e53b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3923,7 +3923,6 @@ (define-public uranium graphviz pkg-config python-pytest - python-mypy python-certifi python-twisted)) (propagated-inputs @@ -4126,7 +4125,6 @@ (define-public cura (build-system qt-build-system) (native-inputs (list python-certifi - python-mypy python-pytest python-requests)) (inputs diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index b396a97c0bc..ecc2dc2bb4c 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -218,7 +218,6 @@ (define-public python-uqbar (native-inputs (list graphviz python-isort - python-mypy python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index e6f6bfe410d..3e3b7ab8ea8 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1920,7 +1920,6 @@ (define-public python-imbalanced-learn (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) (native-inputs (list python-keras - python-mypy python-pandas python-pytest python-pytest-cov @@ -4521,7 +4520,6 @@ (define-public python-captum python-flask-compress python-ipython python-ipywidgets - python-mypy python-parameterized python-pytest python-pytest-cov @@ -4728,7 +4726,6 @@ (define-public python-torchmetrics (list python-cloudpickle python-fire python-mir-eval - python-mypy python-pandas python-psutil python-pytest @@ -5054,7 +5051,6 @@ (define-public python-pyro-ppl python-isort python-lap python-matplotlib - python-mypy python-nbformat python-nbsphinx python-nbstripout diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index e20cb56db9c..567fa5d1559 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -273,7 +273,6 @@ (define-public python-scipy '()) (list python-matplotlib python-mpmath - python-mypy python-numpy python-numpydoc python-pydata-sphinx-theme diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fa908ceafd9..04712745963 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -196,7 +196,6 @@ (define-public python-huggingface-hub python-fastapi python-jedi python-jinja2 - python-mypy python-numpy python-pillow python-pydantic @@ -717,7 +716,7 @@ (define-public python-asgiref (when tests? (invoke "pytest" "-vv"))))))) (native-inputs - (list python-mypy python-pytest python-pytest-asyncio)) + (list python-pytest python-pytest-asyncio)) (propagated-inputs (list python-typing-extensions)) (home-page "https://github.com/django/asgiref/") @@ -8957,7 +8956,6 @@ (define-public python-starsessions-for-pytorch-lightning python-starlette-for-fastapi-0.88)) (native-inputs (list python-httpx - python-mypy python-poetry-core python-pytest python-pytest-asyncio @@ -9003,7 +9001,6 @@ (define-public python-fastapi python-hatchling python-isort python-jose - python-mypy python-passlib python-peewee python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 32a18f52d20..dd2b35eb35d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3020,7 +3020,7 @@ (define-public python-pyls-black (propagated-inputs (list python-black python-lsp-server python-tomli)) (native-inputs - (list python-isort python-mypy python-pytest + (list python-isort python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") @@ -6785,7 +6785,7 @@ (define-public kalamine ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs - (list python-hatchling python-mypy python-pytest)) + (list python-hatchling python-pytest)) (home-page "https://github.com/OneDeadKey/kalamine") (synopsis "Keyboard layout maker") (description @@ -8002,8 +8002,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-mypy - python-pytest)) + (list python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") (description @@ -23457,6 +23456,8 @@ (define-public python-duckdb (list #:test-flags '(list "--ignore=tests/slow/test_h2oai_arrow.py" + ;; stubs require mypy and don't actually check functionality. + "--ignore=tests/stubs/test_stubs.py" ;; Don't install anything, thank you. "-k" "not test_install_non_existent_extension") #:phases @@ -23481,7 +23482,6 @@ (define-public python-duckdb (list pybind11 python-fsspec python-google-cloud-storage - python-mypy python-numpy python-pandas python-psutil @@ -25103,7 +25103,6 @@ (define-public python-marshmallow (list python-packaging)) (native-inputs (list python-flake8-bugbear - python-mypy python-pytest python-pytz python-simplejson @@ -25165,7 +25164,6 @@ (define-public python-apispec (native-inputs (list python-flake8-bugbear python-marshmallow - python-mypy python-pytest python-pyyaml python-setuptools @@ -26582,8 +26580,7 @@ (define-public python-typeguard ;; XXX: These fail when installed as a library: ;; https://github.com/agronholm/typeguard/issues/176 "not usefixtures and not test_cached_module"))))))) - (native-inputs (list python-mypy - python-pytest + (native-inputs (list python-pytest python-setuptools-scm python-typing-extensions)) (home-page "https://github.com/agronholm/typeguard") @@ -29050,8 +29047,7 @@ (define-public python-trio-typing (native-inputs (list python-attrs python-pytest python-setuptools python-wheel)) (propagated-inputs - (list python-mypy python-mypy-extensions python-trio - python-typing-extensions)) + (list python-mypy-extensions python-trio python-typing-extensions)) (home-page "https://github.com/python-trio/trio-typing") (synopsis "Static type checking support for Trio and related projects") (description @@ -35483,7 +35479,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-mypy python-pretend python-pytest)) + (native-inputs (list python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -36230,7 +36226,7 @@ (define-public python-catalogue "0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak")))) (build-system python-build-system) (native-inputs (list python-pytest)) - (inputs (list python python-zipp python-typing-extensions python-mypy)) + (inputs (list python python-zipp python-typing-extensions)) (home-page "https://github.com/explosion/catalogue") (synopsis "Lightweight function registries for your library") (description diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 728d6404bb9..b39ce176502 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -719,7 +719,6 @@ (define-public python-msgspec (native-inputs (list python-attrs python-gcovr python-msgpack - python-mypy python-pytest python-setuptools-scm python-versioneer diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index b564bd043cb..b4dce1cc9d6 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2809,8 +2809,7 @@ (define-public python-transient python-requests python-toml)) (native-inputs - (list python-mypy python-pyhamcrest python-twine - python-setuptools python-wheel)) + (list python-pyhamcrest python-twine python-setuptools python-wheel)) (home-page "https://github.com/ALSchwalm/transient") (synopsis "QEMU Wrapper written in Python") (description -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:11 GMT) Full text and rfc822 format available.Message #65 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 20/32] build-system/pyproject: Remove python-isort native-input. Date: Fri, 10 May 2024 09:55:24 +0200
* gnu/packages/bioinformatics.scm (python-cooler, scvelo)[native-inputs]: Remove python-isort. * gnu/packages/databases.scm (aerich)[native-inputs]: Remove python-isort. * gnu/packages/django.scm (python-django-taggit)[native-inputs]: Remove python-isort. * gnu/packages/finance.scm (python-trezor)[native-inputs]: Remove python-isort. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-isort. * gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-isort. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-isort. * gnu/packages/machine-learning.scm (python-funsor, python-pyro-ppl)[native-inputs]: Remove python-isort. * gnu/packages/mail.scm (python-hyperkitty, postorius)[native-inputs]: Remove python-isort. * gnu/packages/protobuf.scm (python-pure-protobuf)[native-inputs]: Remove python-isort. * gnu/packages/python-check.scm (python-pytest-toolbox) [native-inputs]: Remove python-pytest-isort. * gnu/packages/python-web.scm (python-ovh, python-tinycss2, python-fastapi)[native-inputs]: Remove python-isort. * gnu/packages/python-xyz.scm (python-jupytext, python-pyls-black, python-eventlet, python-textdistance, python-validators)[native-inputs]: Remove python-isort. * gnu/packages/sphinx.scm (python-sphinx, python-sphinx-5)[native-inputs]: Remove python-isort. * gnu/packages/statistics.scm (python-statsmodels)[native-inputs]: Remove python-isort. * gnu/packages/virtualization.scm (python-qemu-qmp)[native-inputs]: Remove python-isort. Change-Id: I6dc9a49cdbb10ddd33ea32854f891312d3a29e53 --- gnu/packages/bioinformatics.scm | 2 -- gnu/packages/databases.scm | 1 - gnu/packages/django.scm | 2 +- gnu/packages/finance.scm | 1 - gnu/packages/geo.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 4 +--- gnu/packages/mail.scm | 3 +-- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-web.scm | 4 +--- gnu/packages/python-xyz.scm | 7 ++----- gnu/packages/sphinx.scm | 2 -- gnu/packages/statistics.scm | 1 - gnu/packages/virtualization.scm | 1 - 16 files changed, 8 insertions(+), 28 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index eabee35f70f..3d5d381f0a0 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -17971,7 +17971,6 @@ (define-public python-cooler python-simplejson)) (native-inputs (list python-hatchling - python-isort python-pytest python-pytest-cov)) ;; Almost all the projects of the Mirnylab are moved under Open2C umbrella @@ -21815,7 +21814,6 @@ (define-public scvelo (propagated-inputs (list python-anndata python-hnswlib - python-isort python-igraph python-loompy python-louvain diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index ad27ec621ca..9ec7855109c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3251,7 +3251,6 @@ (define-public aerich (list poetry python-bandit python-cryptography - python-isort python-pydantic python-pytest python-pytest-asyncio diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index f5b1e0462bb..48b1b38a97f 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -387,7 +387,7 @@ (define-public python-django-taggit (lambda _ (invoke "python3" "-m" "django" "test" "--settings=tests.settings")))))) (propagated-inputs - (list python-django python-isort)) + (list python-django)) (native-inputs (list python-pytest python-mock)) (home-page diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 7579001dd1f..6f70d61f700 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1149,7 +1149,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-isort python-pillow python-protobuf python-pyqt diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index be96e6800a3..73644ab2bb4 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3263,7 +3263,6 @@ (define-public python-geopy (list python-geographiclib)) (native-inputs (list python-async-generator - python-isort python-pytest python-pytest-aiohttp python-readme-renderer diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index bbb19bd4cb8..39215a0ccb6 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -216,7 +216,6 @@ (define-public mdpo (list python-bump2version python-flake8-implicit-str-concat python-flake8-print - python-isort python-pytest python-pytest-cov python-sphinx diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index ecc2dc2bb4c..f6a58943ecb 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -217,7 +217,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-isort python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 3e3b7ab8ea8..d4ce01b0c1b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -175,8 +175,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-isort - python-nbsphinx + (native-inputs (list python-nbsphinx python-pandas python-pillow python-pyro-api @@ -5048,7 +5047,6 @@ (define-public python-pyro-ppl (list ninja jupyter python-graphviz - python-isort python-lap python-matplotlib python-nbformat diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 5743558e76b..7c4b6f2cb26 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -3724,7 +3724,6 @@ (define-public python-hyperkitty (native-inputs (list python-beautifulsoup4 python-elasticsearch - python-isort python-lxml python-mock python-whoosh)) @@ -3763,7 +3762,7 @@ (define-public postorius (list python-readme-renderer python-mailmanclient python-django python-django-mailman3)) (native-inputs - (list python-beautifulsoup4 python-isort python-mock python-vcrpy)) + (list python-beautifulsoup4 python-mock python-vcrpy)) (home-page "https://gitlab.com/mailman/postorius") (synopsis "Web user interface for GNU Mailman") (description diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 502ad09a3a6..9c4d56bd384 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -469,7 +469,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7f1c73ee0ad..d51c5e19bba 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1487,8 +1487,7 @@ (define-public python-pytest-toolbox (substitute* "setup.cfg" ((".*timeout.*") "")))))))) (native-inputs - (list python-pydantic python-pytest python-pytest-isort - python-setuptools python-wheel)) + (list python-pydantic python-pytest python-setuptools python-wheel)) (home-page "https://github.com/samuelcolvin/pytest-toolbox") (synopsis "Numerous useful plugins for Pytest") (description diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 04712745963..d4988620385 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -976,8 +976,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-isort - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-sphinx @@ -8999,7 +8998,6 @@ (define-public python-fastapi (native-inputs (list python-databases python-flask python-hatchling - python-isort python-jose python-passlib python-peewee diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6fc3f0dbb06..f467f5f5794 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -478,7 +478,6 @@ (define-public python-jupytext python-autopep8 python-flake8 python-gitpython - python-isort python-ipython-genutils python-jupyter-server python-pyaml @@ -3020,7 +3019,7 @@ (define-public python-pyls-black (propagated-inputs (list python-black python-lsp-server python-tomli)) (native-inputs - (list python-isort python-pytest + (list python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") @@ -4242,7 +4241,6 @@ (define-public python-eventlet python-hatchling python-hatch-vcs python-pytest - python-isort python-twine)) (arguments (list @@ -12910,7 +12908,6 @@ (define-public python-textdistance #t))))) (native-inputs (list python-hypothesis - python-isort python-numpy python-pytest python-pytest-runner @@ -25041,7 +25038,7 @@ (define-public python-validators (propagated-inputs (list python-decorator python-six)) (native-inputs - (list python-isort python-pytest)) + (list python-pytest)) (home-page "https://github.com/kvesteri/validators") (synopsis "Data validation library") (description diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 2057649ede5..e49e215de79 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -93,7 +93,6 @@ (define-public python-sphinx python-html5lib python-imagesize python-importlib-metadata - python-isort python-jinja2 python-mypy python-packaging @@ -191,7 +190,6 @@ (define-public python-sphinx-5 python-html5lib python-imagesize python-importlib-metadata - python-isort python-jinja2 python-mypy python-packaging diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index bfc69062587..de4fb6e3aa7 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2446,7 +2446,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-isort python-joblib python-matplotlib python-pytest diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index b4dce1cc9d6..90f46e6f23a 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2031,7 +2031,6 @@ (define-public python-qemu-qmp (native-inputs (list python-avocado-framework python-flake8 - python-isort python-pylint python-setuptools python-setuptools-scm -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:12 GMT) Full text and rfc822 format available.Message #68 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 21/32] build-system/pyproject: Remove python-twine native-input. Date: Fri, 10 May 2024 09:55:25 +0200
* gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-twine. * gnu/packages/machine-learning.scm (python-linear-operator, python-gpytorch)[native-inputs]: Remove python-twine. * gnu/packages/python-check.scm (python-testfixtures)[native-inputs]: Remove python-twine. * gnu/packages/python-web.scm (python-translation-finder) [native-inputs]: Remove python-twine. * gnu/packages/python-xyz.scm (python-cftime, python-eventlet, python-eliot, python-arpeggio)[native-inputs]: Remove python-twine. * gnu/packages/terminals.scm (python-halo)[native-inputs]: Remove python-twine. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-twine. Change-Id: Ie9ff17126810dc3e2b17ad42a1f765361401eae7 --- gnu/packages/gettext.scm | 1 - gnu/packages/machine-learning.scm | 6 ++---- gnu/packages/python-check.scm | 2 +- gnu/packages/python-web.scm | 2 +- gnu/packages/python-xyz.scm | 6 +----- gnu/packages/terminals.scm | 3 +-- gnu/packages/virtualization.scm | 2 +- 7 files changed, 7 insertions(+), 15 deletions(-) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 39215a0ccb6..b3c807c6774 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -221,7 +221,6 @@ (define-public mdpo python-sphinx python-sphinx-argparse python-sphinx-rtd-theme - python-twine python-yamllint)) (propagated-inputs (list python-polib python-pymd4c)) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d4ce01b0c1b..7c3faa94c5e 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5093,8 +5093,7 @@ (define-public python-linear-operator (native-inputs (list python-flake8-print python-pytest python-setuptools - python-setuptools-scm - python-twine)) + python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") (synopsis "Linear operator implementation") (description "LinearOperator is a PyTorch package for abstracting away the @@ -5123,8 +5122,7 @@ (define-public python-gpytorch (native-inputs (list python-flake8-print python-nbval python-pytest - python-setuptools - python-twine)) + python-setuptools)) (home-page "https://gpytorch.ai") (synopsis "Implementation of Gaussian Processes in PyTorch") (description diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index d51c5e19bba..4426e5af2f5 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -245,7 +245,7 @@ (define-public python-testfixtures (native-inputs (list python-pytest python-pytest-cov ;;("python-pytest-django" ,python-pytest-django) - python-twine python-wheel)) + python-wheel)) (synopsis "Tests components for Python") (description "Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d4988620385..3aadc9060a0 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6221,7 +6221,7 @@ (define-public python-translation-finder (list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (native-inputs (list python-codecov python-codacy-coverage python-pytest-cov - python-pytest-runner python-twine)) + python-pytest-runner)) (home-page "https://weblate.org/") (synopsis "Translation file finder for Weblate") (description "This package provides a function to find translation file in diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f467f5f5794..4e6f0e1a29a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3070,7 +3070,6 @@ (define-public python-cftime python-cython python-pytest-cov python-sphinx - python-twine python-wheel)) (home-page "https://unidata.github.io/cftime/") (synopsis "Library for time handling") @@ -4240,8 +4239,7 @@ (define-public python-eventlet (list python-black python-hatchling python-hatch-vcs - python-pytest - python-twine)) + python-pytest)) (arguments (list #:test-flags @@ -31340,7 +31338,6 @@ (define-public python-eliot python-sphinx python-sphinx-rtd-theme python-testtools - python-twine python-twisted)) (home-page "https://github.com/itamarst/eliot/") (synopsis "Eliot: the logging system that tells you why it happened") @@ -35908,7 +35905,6 @@ (define-public python-arpeggio python-mkdocs python-pytest python-pytest-runner - python-twine python-wheel)) (home-page "https://github.com/textX/Arpeggio") (synopsis "Packrat parser interpreter for Python") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index a0acaa71769..6a1946719a6 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1196,8 +1196,7 @@ (define-public python-halo (build-system pyproject-build-system) (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) - (native-inputs (list python-nose - python-twine python-setuptools python-wheel)) + (native-inputs (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") (description "Halo is a Python library to display graphical spinners in diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 90f46e6f23a..cf090aec9fc 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2808,7 +2808,7 @@ (define-public python-transient python-requests python-toml)) (native-inputs - (list python-pyhamcrest python-twine python-setuptools python-wheel)) + (list python-pyhamcrest python-setuptools python-wheel)) (home-page "https://github.com/ALSchwalm/transient") (synopsis "QEMU Wrapper written in Python") (description -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:13 GMT) Full text and rfc822 format available.Message #71 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 23/32] gnu: python-tinycss2: Remove python-pytest-cov native-input. Date: Fri, 10 May 2024 09:55:27 +0200
* gnu/packages/python-web.scm (python-tinycss2): [arguments]<#:phases>: Add phase remove-unwanted-dependency to ignore coverage options. [native-inputs]: Remove python-pytest-cov. Change-Id: I853fe3371be84be1655db0ee8d1dca8d23c50ef9 --- gnu/packages/python-web.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c73bc6294e9..8c51282c9cb 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5895,11 +5895,18 @@ (define-public python-tinycss2 (sha256 (base32 "0zyc48vbmczpqj7f3f0d7zb3bz29fyj50dg0m6bbwbr5i88kq3sq")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'remove-unwanted-dependencies + (lambda _ + (substitute* "pyproject.toml" + (("^addopts.*") ""))))))) (propagated-inputs (list python-webencodings)) (native-inputs - (list python-flit python-pytest python-pytest-cov - python-pytest-flake8 python-pytest-isort)) + (list python-flit python-pytest python-pytest-flake8 python-pytest-isort)) (home-page "https://tinycss2.readthedocs.io/") (synopsis "Low-level CSS parser for Python") (description "@code{tinycss2} can parse strings, return Python objects -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:13 GMT) Full text and rfc822 format available.Message #74 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 22/32] build-system/pyproject: Remove python-pytest-cov native-input. Date: Fri, 10 May 2024 09:55:26 +0200
* gnu/packages/astronomy.scm (python-astroml, python-casa-formats-io, python-cdflib, python-czml3, python-poliastro, python-tweakwcs, python-wiimatch, python-stcal)[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-timeout, 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/databases.scm (python-alembic)[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, python-pyro-ppl)[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-trimesh, 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-cloud-init, 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-legacy-api-wrap, python-path, python-pip-run, python-debugpy, python-notebook, python-ipywidgets, python-qstylizer, python-cookiecutter, python-pyqtgraph, python-codespell, python-inflect, python-lazy-loader, python-pymemcache, python-natsort, python-mwclient, python-flasgger, python-tempora, python-outcome, python-trio, 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, nikola, 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. Change-Id: Ia8c96b18a60b6ceb00b345ef06351eae1a68e070 --- gnu/packages/astronomy.scm | 12 +-- gnu/packages/audio.scm | 2 +- gnu/packages/backup.scm | 2 +- gnu/packages/bioinformatics.scm | 9 +- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 8 +- gnu/packages/cpp.scm | 1 - gnu/packages/databases.scm | 2 +- gnu/packages/dav.scm | 2 - gnu/packages/django.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.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 | 20 ++--- gnu/packages/mastodon.scm | 1 - 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 | 11 +-- gnu/packages/python-compression.scm | 9 +- gnu/packages/python-crypto.scm | 3 +- gnu/packages/python-science.scm | 16 ++-- gnu/packages/python-web.scm | 58 ++++--------- gnu/packages/python-xyz.scm | 123 +++++++--------------------- gnu/packages/sphinx.scm | 1 - gnu/packages/statistics.scm | 6 +- 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 - 37 files changed, 88 insertions(+), 234 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 426cfd8c88f..61ab7520aef 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -601,7 +601,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-setuptools python-wheel)) (home-page "https://astroml.org") @@ -2040,8 +2040,7 @@ (define-public python-casa-formats-io (lambda _ (invoke "python" "setup.py" "build_ext" "--inplace")))))) (native-inputs - (list python-pytest python-pytest-cov python-pytest-openfiles - python-setuptools)) + (list python-pytest python-pytest-openfiles python-setuptools)) (propagated-inputs (list python-astropy python-click python-dask python-numpy)) (home-page "https://casa-formats-io.readthedocs.io/") @@ -2111,7 +2110,6 @@ (define-public python-cdflib (list python-astropy python-hypothesis python-pytest - python-pytest-cov python-pytest-remotedata python-setuptools-scm python-xarray @@ -2228,7 +2226,6 @@ (define-public python-czml3 (native-inputs (list python-astropy python-pytest - python-pytest-cov python-pytest-mypy python-setuptools python-wheel)) @@ -2606,7 +2603,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)) @@ -3386,7 +3382,6 @@ (define-public python-stcal (list python-cython-3 python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-setuptools-scm python-setuptools @@ -4605,7 +4600,6 @@ (define-public python-tweakwcs python-stsci-stimage)) (native-inputs (list python-pytest - python-pytest-cov python-scipy python-setuptools python-setuptools-scm)) @@ -5270,7 +5264,7 @@ (define-public python-wiimatch "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy python-setuptools)) - (native-inputs (list python-pytest python-pytest-cov python-wheel + (native-inputs (list python-pytest python-wheel python-pytest-doctestplus python-setuptools-scm)) (home-page "https://github.com/spacetelescope/wiimatch") (synopsis diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index e6d16211fd4..724430dae36 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6197,7 +6197,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 663eb2568fe..566ea06338b 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -1357,7 +1357,7 @@ (define-public borgmatic python-jsonschema python-requests python-ruamel.yaml)) - (native-inputs (list python-flexmock python-pytest python-pytest-cov)) + (native-inputs (list python-flexmock python-pytest)) (home-page "https://torsion.org/borgmatic/") (synopsis "Simple, configuration-driven backup software") (description diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 3d5d381f0a0..5a4cf23eabb 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3010,7 +3010,7 @@ (define-public python-biom-format ;;python-scikit-bio ;mutually recursive dependency python-scipy)) (native-inputs - (list python-cython python-pytest python-pytest-cov python-nose)) + (list python-cython python-pytest python-nose)) (home-page "https://www.biom-format.org") (synopsis "Biological Observation Matrix (BIOM) format utilities") (description @@ -10187,7 +10187,7 @@ (define-public python-screed (base32 "0slva743xn93h4sl5zg2as4ricnnj5pp6nw9dm4qclk4i9xglkvk")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest-cov + (list python-pytest python-pytest-runner python-setuptools python-wheel)) @@ -17920,7 +17920,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") @@ -17970,9 +17969,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 8fec2f8e2f2..29974dfd8b6 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -376,7 +376,6 @@ (define-public meson-python python-cython 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 6042f763f15..6b16ec7711b 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1530,7 +1530,7 @@ (define-public python-pytest-nunit (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;no tests included (propagated-inputs (list python-attrs python-pytest)) - (native-inputs (list python-pytest python-pytest-cov python-setuptools + (native-inputs (list python-pytest python-setuptools python-wheel python-xmlschema)) (home-page "https://github.com/pytest-dev/pytest-nunit") (synopsis "Pytest plugin for generating NUnit3 test result XML output") @@ -1796,7 +1796,7 @@ (define-public python-pytest-timeout (add-installed-pythonpath inputs outputs) (invoke "pytest" "-vv")))))) (propagated-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest)) (native-inputs (list python-pexpect)) (home-page "https://github.com/pytest-dev/pytest-timeout") @@ -2493,7 +2493,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 @@ -2667,7 +2666,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 @@ -3242,7 +3240,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 ba2698056da..9c693fb16c3 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1190,7 +1190,6 @@ (define-public cpplint (getenv "TMP_PYTHONPATH"))))))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-runner python-testfixtures)) (home-page "https://github.com/cpplint/cpplint") diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 9ec7855109c..8abea7ec385 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3763,7 +3763,7 @@ (define-public python-alembic (base32 "0lxi2g2025lz5k7k5dd5fc1lfijqi2yw6qqyjzp073z6laa8cckw")))) (build-system pyproject-build-system) (native-inputs - (list python-mock python-pytest-cov)) + (list python-mock python-pytest)) (propagated-inputs (list python-dateutil python-sqlalchemy python-mako python-editor)) (home-page "https://bitbucket.org/zzzeek/alembic") diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index b30b1ef5a59..0612a72c831 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -58,7 +58,6 @@ (define-public radicale (build-system python-build-system) (native-inputs (list python-pytest - python-pytest-cov python-pytest-flake8 python-pytest-isort python-pytest-runner @@ -146,7 +145,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 48b1b38a97f..3ab2bc139d1 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -261,7 +261,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 1da41415194..542895c8779 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -1798,7 +1798,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 af79172e53b..eaff8546dc4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2681,7 +2681,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/fontutils.scm b/gnu/packages/fontutils.scm index 84eb33d19bf..46b06765f0c 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -856,7 +856,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 73644ab2bb4..a33de4bd669 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -935,7 +935,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") @@ -1481,7 +1481,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 b3c807c6774..d239dea20a4 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -217,7 +217,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 f6a58943ecb..44ff4dc20d4 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -159,7 +159,6 @@ (define-public python-graphviz graphviz python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) @@ -218,7 +217,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 456b0544a9a..c25663e4da6 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -486,8 +486,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 @@ -655,7 +654,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") @@ -1049,8 +1047,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 7c3faa94c5e..a3c598ba1c8 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -926,8 +926,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 @@ -1796,7 +1795,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") @@ -1921,7 +1920,6 @@ (define-public python-imbalanced-learn (native-inputs (list python-keras python-pandas python-pytest - python-pytest-cov python-setuptools python-wheel tensorflow)) @@ -3659,8 +3657,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 @@ -3686,7 +3683,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/") @@ -3828,7 +3824,6 @@ (define-public python-keras python-markdown python-pandas python-pytest - python-pytest-cov python-pytest-pep8 python-pytest-timeout python-pytest-xdist @@ -3924,7 +3919,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") @@ -4432,8 +4427,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 @@ -4521,7 +4515,7 @@ (define-public python-captum python-ipywidgets python-parameterized python-pytest - python-pytest-cov + python-scikit-learn python-setuptools)) (home-page "https://captum.ai") (synopsis "Model interpretability for PyTorch") @@ -4728,7 +4722,6 @@ (define-public python-torchmetrics python-pandas python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-rerunfailures python-pytest-timeout @@ -5057,7 +5050,6 @@ (define-public python-pyro-ppl python-pillow python-pypandoc python-pytest - python-pytest-cov python-pytest-xdist python-scikit-learn python-scipy diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm index b8006292cab..670a47ad821 100644 --- a/gnu/packages/mastodon.scm +++ b/gnu/packages/mastodon.scm @@ -179,7 +179,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/messaging.scm b/gnu/packages/messaging.scm index 35ff807e12c..1fd2ce391cf 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3213,7 +3213,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 @@ -3226,8 +3225,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 4e7e46bf1b3..2659fc8eff5 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1145,7 +1145,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 cdefa485836..870d5ae02c3 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 9c4d56bd384..91c8731726b 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -469,7 +469,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 4426e5af2f5..fdef98f6c8a 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -243,7 +243,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") @@ -417,7 +417,6 @@ (define-public python-vcrpy python-ipaddress python-mock python-pytest - python-pytest-cov python-pytest-httpbin python-urllib3)) (home-page "https://github.com/kevin1024/vcrpy") @@ -724,7 +723,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 @@ -1868,7 +1866,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 @@ -2691,7 +2689,7 @@ (define-public python-sybil (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest"))))))) - (native-inputs (list python-pytest python-pytest-cov)) + (native-inputs (list python-pytest)) (home-page "https://github.com/simplistix/sybil") (synopsis "Automated testing for examples in code and documentation") (description @@ -2823,8 +2821,7 @@ (define-public python-vulture ;; skip test that uses python-pint ;; pint has many dependencies "not test_whitelists_with_python"))))))) - (native-inputs (list python-pytest python-pytest-cov - python-setuptools python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-toml)) (home-page "https://github.com/jendrikseipp/vulture") (synopsis "Find dead Python code") diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5faf7b2a3cb..fd194571633 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -112,7 +112,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") @@ -247,7 +246,6 @@ (define-public python-pybcj (native-inputs (list python-hypothesis python-pytest - python-pytest-cov python-setuptools-scm python-setuptools python-wheel)) @@ -278,7 +276,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 / @@ -406,7 +404,6 @@ (define-public python-pyppmd (list python-hypothesis python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-timeout python-setuptools-scm python-setuptools @@ -436,8 +433,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 @@ -478,7 +474,6 @@ (define-public python-py7zr python-pyannotate python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-remotedata python-pytest-timeout)) (home-page "https://github.com/miurahr/py7zr") diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 7aaa37d7965..6965a330624 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -457,7 +457,7 @@ (define-public python-certauth (propagated-inputs (list python-pyopenssl python-tldextract)) (native-inputs - (list python-pytest-cov)) + (list python-pytest)) (home-page "https://github.com/ikreymer/certauth") (synopsis "Certificate authority creation tool") (description "This package provides a small library, built on top of @@ -1501,7 +1501,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 567fa5d1559..4511d9bc7c8 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -297,7 +297,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/") @@ -652,8 +651,7 @@ (define-public python-trimesh "'$MESH_PRE'"))))))) (native-inputs (list python-pyinstrument - python-pytest - python-pytest-cov)) + python-pytest)) (propagated-inputs (list python-chardet python-colorlog @@ -1122,7 +1120,6 @@ (define-public python-pandarallel (list python-mkdocs-material python-numpy python-pytest - python-pytest-cov python-pytest-xdist python-setuptools python-wheel)) @@ -1357,8 +1354,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 @@ -1899,7 +1895,7 @@ (define-public python-upsetplot (propagated-inputs (list python-matplotlib python-pandas)) (native-inputs - (list python-pytest-runner python-pytest-cov)) + (list python-pytest-runner)) (home-page "https://upsetplot.readthedocs.io") (synopsis "Draw UpSet plots with Pandas and Matplotlib") (description @@ -2048,7 +2044,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 @@ -3090,7 +3086,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 @@ -3179,7 +3175,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 3aadc9060a0..c73bc6294e9 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -201,7 +201,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 @@ -314,7 +313,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 @@ -432,7 +430,7 @@ (define-public python-aiosignal (build-system pyproject-build-system) (arguments (list #:test-flags #~(list "tests"))) (propagated-inputs (list python-frozenlist)) - (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov + (native-inputs (list python-pytest python-pytest-asyncio python-setuptools python-wheel)) (home-page "https://github.com/aio-libs/aiosignal") (synopsis "Callback manager for Python @code{asyncio} projects") @@ -681,12 +679,11 @@ (define-public python-aiostream (sha256 (base32 "0l2ijb7yk0820wiyf6zrzx8fhzf8925an7r06mcaw3in1mr6rssq")))) - (build-system python-build-system) + (build-system pyproject-build-system) (native-inputs (list python-setuptools python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-runner python-wheel)) (home-page "https://github.com/vxgmichel/aiostream") @@ -977,7 +974,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)) @@ -999,7 +995,6 @@ (define-public python-cbor2 (base32 "15y78xcc3zkmvj1mdzz8gyhf3apbl91073kwhzbjk5abc1civwlw")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -1270,7 +1265,6 @@ (define-public python-httplib2 python-future python-mock python-pytest - python-pytest-cov python-pytest-forked python-pytest-randomly python-pytest-timeout @@ -1300,8 +1294,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" @@ -1326,7 +1319,6 @@ (define-public python-cheroot python-pyopenssl python-pypytools python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-requests @@ -1402,7 +1394,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 @@ -1471,8 +1462,7 @@ (define-public python-jose #t))))) (native-inputs (list ;; All native inputs are for tests. - python-pyasn1 python-pytest python-pytest-cov - python-pytest-runner)) + python-pyasn1 python-pytest python-pytest-runner)) (propagated-inputs (list python-cryptography python-ecdsa python-rsa python-six)) (synopsis "JOSE implementation in Python") @@ -1518,7 +1508,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") @@ -1585,12 +1575,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 @@ -2537,8 +2526,7 @@ (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 - python-pytest-xdist)) + (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") (description @@ -2595,7 +2583,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/") @@ -3554,7 +3541,7 @@ (define-public python-apiron (propagated-inputs (list python-requests)) (native-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest)) (home-page "https://github.com/ithaka/apiron") (synopsis "Python wrapper for interacting with RESTful APIs") (description @@ -3817,7 +3804,6 @@ (define-public python-aioftp (native-inputs (list python-async-timeout python-pytest python-pytest-asyncio - python-pytest-cov python-setuptools python-trustme python-wheel)) @@ -3924,7 +3910,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") @@ -5878,7 +5864,7 @@ (define-public python-tinycss (list #:test-flags '(list "-k" "not test_speedups"))) (native-inputs - (list python-pytest-cov python-pytest-flake8 python-pytest-isort + (list python-pytest-flake8 python-pytest-isort python-pytest-runner python-setuptools python-wheel)) (home-page "https://tinycss.readthedocs.io/") (synopsis "Complete yet simple CSS parser for Python") @@ -5950,7 +5936,7 @@ (define-public python-cssselect2 (propagated-inputs (list python-tinycss2)) (native-inputs - (list python-pytest-cov python-pytest-runner)) + (list python-pytest-runner)) (home-page "https://cssselect2.readthedocs.io/") (synopsis "CSS selectors for Python ElementTree") (description "@code{cssselect2} is a straightforward implementation of @@ -6076,7 +6062,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)) @@ -6431,7 +6416,6 @@ (define-public python-httpcore (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpbin python-pytest-trio python-uvicorn @@ -6606,7 +6590,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 @@ -6646,9 +6630,7 @@ (define-public python-warcio "test_capture_https_proxy_same_session") " and not "))))) (native-inputs - ;; These inputs are required for the test suite. - (list python-httpbin python-pytest-cov python-requests - python-wsgiprox)) + (list python-httpbin python-pytest python-requests python-wsgiprox)) (home-page "https://github.com/webrecorder/warcio") (synopsis "Streaming web archival archive (WARC) library") (description "warcio is a Python library to read and write the WARC format @@ -6759,12 +6741,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))) - (arguments '(#:test-target "pytest")) + (list python-pytest python-pytest-runner)) (home-page "https://docs.pylonsproject.org/projects/venusian") (synopsis "Library for deferring decorator actions") (description @@ -7359,7 +7338,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)) (home-page "https://github.com/canonical/cloud-init") @@ -7745,8 +7723,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") @@ -8778,7 +8755,6 @@ (define-public python-zeep python-pretend python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpx python-requests-mock)) (home-page "https://docs.python-zeep.org/en/stable/") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4e6f0e1a29a..bc4761e4c38 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -321,7 +321,6 @@ (define-public python-apprise python-cryptography python-paho-mqtt python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-setuptools @@ -421,7 +420,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/") @@ -586,8 +585,7 @@ (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 - python-brotli)) + (list python-cython python-mock python-pytest python-brotli)) (home-page "https://github.com/getlogbook/logbook") (synopsis "Logbook is a logging replacement for Python") (description @@ -1018,8 +1016,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-pydocstyle - python-pytest python-pytest-cov)) + (propagated-inputs (list python-pydocstyle python-pytest )) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") (synopsis "Matrices describing affine transformation of the plane") @@ -1256,7 +1253,6 @@ (define-public python-contourpy pkg-config pybind11 python-pytest - python-pytest-cov python-wurlitzer)) (home-page "https://contourpy.readthedocs.io/") (synopsis @@ -1338,7 +1334,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") @@ -1669,7 +1664,7 @@ (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 + (list python-pytest python-pytest-benchmark python-pytest-mpl python-pytest-subtests python-setuptools python-setuptools-scm python-wheel)) (propagated-inputs @@ -2527,7 +2522,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") @@ -2688,7 +2682,6 @@ (define-public python-bidict python-py python-pytest python-pytest-benchmark - python-pytest-cov python-setuptools-scm python-sortedcollections python-sortedcontainers @@ -3574,7 +3567,6 @@ (define-public python-can python-parameterized python-pyserial python-pytest - python-pytest-cov python-pytest-runner python-pytest-timeout python-wheel)) @@ -4070,8 +4062,7 @@ (define-public dosage python-requests python-six)) (native-inputs - (list python-pytest-cov python-pytest-xdist python-responses - python-setuptools-scm)) + (list python-pytest-xdist python-responses python-setuptools-scm)) (home-page "https://github.com/webcomics/dosage") (synopsis "Comic strip downloader and archiver") (description "Dosage is designed to keep a local copy of specific webcomics and other @@ -4937,7 +4928,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 @@ -5030,7 +5020,6 @@ (define-public python-extension-helpers (native-inputs (list python-pytest python-pytest-astropy - python-pytest-cov python-setuptools-scm python-setuptools python-wheel)) @@ -5168,7 +5157,7 @@ (define-public python-mizani (list python-matplotlib python-numpy python-pandas python-scipy)) (native-inputs (list python-setuptools python-setuptools-scm - python-pytest python-pytest-cov tzdata)) + python-pytest tzdata)) (home-page "https://github.com/has2k1/mizani") (synopsis "Create data visualizations in Python") (description @@ -5557,8 +5546,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 @@ -5667,10 +5654,7 @@ (define-public python-ddlparse (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) (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-pyparsing)) (home-page "https://github.com/shinichi-takii/ddlparse") (synopsis "Parses and converts DDL to BigQuery JSON schema") @@ -7639,8 +7623,7 @@ (define-public python-robotframework-pythonlibcore (when tests? (invoke "utest/run.py"))))))) (native-inputs - (list python-pytest python-pytest-cov python-pytest-mockito - python-robotframework)) + (list python-pytest python-pytest-mockito python-robotframework)) (home-page "https://github.com/robotframework/PythonLibCore") (synopsis "Robot Framework Python library tools") (description "PythonLibCore provides tools for creating larger test @@ -8180,7 +8163,6 @@ (define-public python-lsp-server python-pandas python-pylint python-pytest - python-pytest-cov python-rope python-setuptools python-wheel)) @@ -8704,7 +8686,7 @@ (define-public python-sparse (list python-numba python-numpy python-scipy)) (native-inputs (list python-dask python-importlib-metadata python-pytest - python-pytest-black python-pytest-cov python-setuptools)) + python-pytest-black python-setuptools)) (home-page "https://github.com/pydata/sparse/") (synopsis "Library for multi-dimensional sparse arrays") (description @@ -9160,8 +9142,7 @@ (define-public python-numpydoc "-k" "not test_MyClass and not test_my_function"))) (propagated-inputs (list python-jinja2 python-sphinx)) (native-inputs - (list python-matplotlib python-pytest python-pytest-cov - python-setuptools python-wheel)) + (list python-matplotlib python-pytest python-setuptools python-wheel)) (home-page "https://pypi.org/project/numpydoc/") (synopsis "Numpy's Sphinx extensions") (description "Sphinx extension to support docstrings in Numpy format.") @@ -9880,7 +9861,7 @@ (define-public python-multidict "1kjrxav572j45xvr1iy60zb2g8zqvrinzdkl4ax36js4vczckl8d")))) (build-system pyproject-build-system) (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 @@ -10187,7 +10168,6 @@ (define-public python-pikepdf python-setuptools-scm python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-dateutil @@ -10766,8 +10746,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile python-setuptools)) (native-inputs - (list python-fsspec python-pytest - python-pytest-cov python-wheel)) + (list python-fsspec python-pytest python-wheel)) (home-page "https://imageio.github.io/") (synopsis "Library for reading and writing a wide range of image data") (description @@ -11054,7 +11033,6 @@ (define-public python-manimpango (list pkg-config python-cython python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs @@ -11547,7 +11525,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 @@ -11678,7 +11655,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 @@ -11712,7 +11688,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 @@ -11773,7 +11748,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 @@ -11808,7 +11782,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 @@ -11869,7 +11842,6 @@ (define-public python-jaraco-test (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -11903,7 +11875,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 @@ -12048,7 +12019,6 @@ (define-public python-ipyparallel (list python-ipython python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado python-testpath)) (propagated-inputs @@ -13352,7 +13322,7 @@ (define-public python-three-merge (propagated-inputs (list python-diff-match-patch)) (native-inputs - (list python-flaky python-pytest python-pytest-cov + (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") @@ -13676,7 +13646,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/") @@ -14315,7 +14284,6 @@ (define-public python-sentry-sdk python-mock python-pyrsistent python-pytest - python-pytest-cov python-pytest-django python-pytest-forked python-pytest-localserver @@ -16040,7 +16008,7 @@ (define-public python-sniffio (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-curio python-pytest python-pytest-cov)) + (list python-curio python-pytest)) (home-page "https://github.com/python-trio/sniffio") (synopsis "Detect which async library a program is running under") (description "This package detects which async library a program is @@ -16174,7 +16142,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") @@ -16289,7 +16256,7 @@ (define-public python-legacy-api-wrap (build-system python-build-system) (propagated-inputs (list python-get-version python-pytest python-pytest-black - python-pytest-cov python-setuptools)) + python-setuptools)) (home-page "https://github.com/flying-sheep/legacy-api-wrap") (synopsis "Legacy API wrapper") (description "This module defines a decorator to wrap legacy APIs. The @@ -16551,7 +16518,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))) @@ -16657,7 +16623,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))) @@ -17011,7 +16976,6 @@ (define-public python-debugpy python-flask python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-requests)) @@ -17572,7 +17536,6 @@ (define-public python-notebook (list python-jupyter-server python-nbval python-pytest - python-pytest-cov python-requests python-requests-unixsocket python-setuptools @@ -17624,7 +17587,7 @@ (define-public python-ipywidgets python-traitlets python-widgetsnbextension)) (native-inputs - (list python-mock python-pytest python-pytest-cov)) + (list python-mock python-pytest)) (home-page "https://ipython.org") (synopsis "IPython HTML widgets for Jupyter") (description "Ipywidgets are interactive HTML widgets for Jupyter @@ -18241,7 +18204,6 @@ (define-public python-qstylizer (list python-pbr python-pytest python-pytest-catchlog - python-pytest-cov python-pytest-mock python-pytest-runner python-pytest-xdist)) @@ -19429,7 +19391,6 @@ (define-public python-cookiecutter git python-freezegun python-pytest - python-pytest-cov python-pytest-mock)) (propagated-inputs (list python-arrow python-binaryornot @@ -19823,8 +19784,7 @@ (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 @@ -20009,7 +19969,6 @@ (define-public python-codespell (native-inputs (list python-pygments python-pytest - python-pytest-cov python-pytest-dependency python-tomli python-setuptools @@ -21102,7 +21061,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 @@ -21668,8 +21626,7 @@ (define-public python-lazy-loader "0dwghffnsjjf4pi4gwbl43rx04jmap375hdamafs5cpm6j78js1v")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest - python-pytest-cov)) + (list python-pytest)) (propagated-inputs (list python-flit-core)) (home-page "https://scientific-python.org/specs/spec-0001/") @@ -22236,8 +22193,7 @@ (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 - python-wheel)) + (list python-faker python-pytest python-setuptools python-wheel)) (home-page "https://github.com/pinterest/pymemcache") (synopsis "Comprehensive, fast, pure Python memcached client") (description @@ -22858,8 +22814,7 @@ (define-public python-natsort (when tests? (invoke "pytest" "-v"))))))) (native-inputs - (list python-hypothesis python-pytest-cov python-pytest-mock - python-pytest)) + (list python-hypothesis python-pytest-mock python-pytest)) (propagated-inputs ; TODO: Add python-fastnumbers. (list python-pyicu)) (home-page "https://github.com/SethMMorton/natsort") @@ -24286,7 +24241,7 @@ (define-public python-mwclient (propagated-inputs (list python-requests-oauthlib python-six)) (native-inputs - (list python-mock python-pytest python-pytest-cov + (list python-mock python-pytest python-pytest-runner python-responses)) (home-page "https://github.com/btongminh/mwclient") (synopsis "MediaWiki API client") @@ -25244,7 +25199,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/") @@ -25956,7 +25910,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 @@ -28941,7 +28894,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") @@ -29014,7 +28967,6 @@ (define-public python-trio python-pyopenssl python-pytest python-pytest-xdist - python-pytest-cov python-trustme python-setuptools python-wheel)) @@ -29257,7 +29209,6 @@ (define-public python-apscheduler python-pyside-6 python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado5)) (home-page "https://github.com/agronholm/apscheduler") (synopsis "Task scheduling library for Python") @@ -29925,7 +29876,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 @@ -30048,8 +29999,7 @@ (define-public python-argh (when tests? (invoke "pytest" "-vv"))))))) (propagated-inputs - (list python-iocapture python-mock python-pytest python-pytest-cov - python-pytest-xdist)) + (list python-iocapture python-mock python-pytest python-pytest-xdist)) (home-page "https://github.com/neithere/argh/") (synopsis "Argparse wrapper with natural syntax") (description @@ -30191,7 +30141,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)) @@ -30507,7 +30456,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") @@ -30541,7 +30489,6 @@ (define-public python-watchgod python-pygments python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-mock python-pytest-sugar python-pytest-toolbox @@ -31665,7 +31612,6 @@ (define-public python-cmd2 (list python-invoke python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-setuptools-scm @@ -32361,7 +32307,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") @@ -32907,7 +32853,6 @@ (define-public python-loguru python-mypy python-pre-commit python-pytest - python-pytest-cov python-pytest-mypy-plugins python-sphinx python-sphinx-autobuild @@ -32966,7 +32911,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") @@ -33356,7 +33301,6 @@ (define-public python-scikit-build python-packaging python-path python-pytest - python-pytest-cov python-pytest-mock python-pytest-virtualenv python-pytest-xdist @@ -33929,7 +33873,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") @@ -34070,7 +34014,6 @@ (define-public python-minikanren (native-inputs (list python-pydocstyle python-pytest - python-pytest-cov python-pylint python-sympy python-versioneer)) @@ -34227,7 +34170,7 @@ (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 @@ -34742,7 +34685,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") @@ -35017,8 +34960,7 @@ (define-public nikola python-yapsy)) (native-inputs (list python-freezegun - python-pytest - python-pytest-cov)) + python-pytest)) (arguments (list #:phases @@ -35268,8 +35210,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 @@ -35511,7 +35452,6 @@ (define-public python-shtab (native-inputs (list bash python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-setuptools-scm @@ -36098,7 +36038,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 e49e215de79..669120cad0a 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -716,7 +716,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 de4fb6e3aa7..b8b162b0602 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2268,7 +2268,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 @@ -2397,7 +2397,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)) @@ -6778,8 +6777,7 @@ (define-public python-rpy2 (list python-ipython python-numpy python-pandas - python-pytest - python-pytest-cov)) + python-pytest)) (home-page "https://rpy2.github.io") (synopsis "Python interface to the R language") (description "rpy2 is a redesign and rewrite of rpy. It is providing a diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 96df50d7470..4b372cb6148 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -463,7 +463,6 @@ (define-public todoman (native-inputs (list python-setuptools-scm python-pytest - python-pytest-cov python-freezegun)) (propagated-inputs (list python-atomicwrites diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 2c7fd0365ca..f9f0b96f48a 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1676,7 +1676,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 d91058b378f..1064467020f 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -391,7 +391,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") @@ -511,7 +510,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 d52d872909d..c0a4907b1b6 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -971,7 +971,6 @@ (define-public sshuttle (list python-setuptools-scm ;; For tests only. python-mock - python-pytest-cov python-pytest-runner)) (home-page "https://github.com/sshuttle/sshuttle") (synopsis "VPN that transparently forwards connections over SSH") diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 736be82c90b..2780672b1ce 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5111,7 +5111,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") @@ -8736,7 +8735,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 7da18bc821c..0f0b653ea2e 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -656,7 +656,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.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:14 GMT) Full text and rfc822 format available.Message #77 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 25/32] gnu: python-dateutil: Remove python-pytest-cov native-input. Date: Fri, 10 May 2024 09:55:29 +0200
* gnu/packages/time.scm (python-dateutil): [native-inputs]: Remove python-pytest-cov. [arguments]<#:phases>: Add remove-pytest-cov-dep phase. Change-Id: Id82a147d6e40383ecc2661ac896b65b858c181e0 --- gnu/packages/time.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 1064467020f..ad33306c7cf 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -246,14 +246,20 @@ (define-public python-dateutil (build-system pyproject-build-system) (arguments (list - #:test-flags '(list ; avoid freezegun dependency - "--ignore=dateutil/test/test_utils.py" - "--ignore=dateutil/test/test_rrule.py" - ;; XXX: Fails to get timezone from /etc/localtime. - "--ignore=dateutil/test/test_tz.py"))) + #:test-flags '(list "dateutil/test" "docs" + ;; avoid freezegun dependency + "--ignore=dateutil/test/test_utils.py" + "--ignore=dateutil/test/test_rrule.py" + ;; XXX: Fails to get timezone from /etc/localtime. + "--ignore=dateutil/test/test_tz.py") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-pytest-cov-dep + (lambda _ + (substitute* "dateutil/test/conftest.py" + (("item\\.add_marker\\(pytest\\.mark\\.no_cover\\)") + "pass"))))))) (native-inputs - (list python-pytest python-pytest-cov python-setuptools - python-setuptools-scm python-wheel)) + (list python-pytest python-setuptools python-setuptools-scm python-wheel)) (propagated-inputs (list python-six)) (home-page "https://dateutil.readthedocs.io/en/stable/") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:14 GMT) Full text and rfc822 format available.Message #80 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 26/32] build-system/pyproject: Remove python-pytest-isort native-input. Date: Fri, 10 May 2024 09:55:30 +0200
* gnu/packages/dav.scm (radicale): [native-inputs]: Remove python-pytest-isort. * gnu/packages/python-web.scm (python-tinycss): [arguments]<#:test-flags>: Ignore isort tests. [native-inputs]: Remove python-pytest-isort. Change-Id: I706e8c310adbeda49b91c6815d299172ce05df22 --- gnu/packages/dav.scm | 1 - gnu/packages/python-web.scm | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 0612a72c831..99284220846 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -59,7 +59,6 @@ (define-public radicale (native-inputs (list python-pytest python-pytest-flake8 - python-pytest-isort python-pytest-runner python-waitress)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8c51282c9cb..340ef0836b4 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5862,9 +5862,9 @@ (define-public python-tinycss (build-system pyproject-build-system) (arguments (list #:test-flags - '(list "-k" "not test_speedups"))) + '(list "-k" "not ISORT and not test_speedups"))) (native-inputs - (list python-pytest-flake8 python-pytest-isort + (list python-pytest-flake8 python-pytest-runner python-setuptools python-wheel)) (home-page "https://tinycss.readthedocs.io/") (synopsis "Complete yet simple CSS parser for Python") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:15 GMT) Full text and rfc822 format available.Message #83 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 27/32] build-system/pyproject: Remove python-pytest-black native-input. Date: Fri, 10 May 2024 09:55:31 +0200
* gnu/packages/check.scm (python-pytest-perf, python-pytest-enabler) [native-inputs]: Remove python-pytest-black. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-black. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-jaraco-text, python-legacy-api-wrap, python-path, python-pip-run, python-inflect, python-isort, python-tempora, python-sparse)[native-inputs]: Remove python-pytest-black. Change-Id: Ib46f1c4a3cc33821cda3d7b2172d36158aa812c9 --- gnu/packages/check.scm | 2 -- gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 22 +++++----------------- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 6b16ec7711b..f8ead8df4e4 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2491,7 +2491,6 @@ (define-public python-pytest-enabler python-jaraco-functools python-toml)) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -2664,7 +2663,6 @@ (define-public python-pytest-perf "and not upstream_url")))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 340ef0836b4..5f19d93ea19 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -311,7 +311,6 @@ (define-public python-portend (propagated-inputs (list python-tempora)) ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bc4761e4c38..9c15ca8e566 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8686,7 +8686,7 @@ (define-public python-sparse (list python-numba python-numpy python-scipy)) (native-inputs (list python-dask python-importlib-metadata python-pytest - python-pytest-black python-setuptools)) + python-setuptools)) (home-page "https://github.com/pydata/sparse/") (synopsis "Library for multi-dimensional sparse arrays") (description @@ -11523,7 +11523,6 @@ (define-public python-importlib-resources (string-append (getcwd) "/_custom_build"))))))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -11653,7 +11652,6 @@ (define-public python-jaraco-classes #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -11686,7 +11684,6 @@ (define-public python-jaraco-collections ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy @@ -11746,7 +11743,6 @@ (define-public python-jaraco-context #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -11780,7 +11776,6 @@ (define-public python-jaraco-functools (native-inputs (list python-jaraco-classes python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -11840,7 +11835,6 @@ (define-public python-jaraco-test (list #:test-flags '(list "-k" "http"))) (propagated-inputs (list python-jaraco-context python-jaraco-functools)) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -11873,7 +11867,6 @@ (define-public python-jaraco-text ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy @@ -16255,8 +16248,7 @@ (define-public python-legacy-api-wrap "06qhp0g543dy98vpa41hwdalvdbsjfc3ldk474yr9sd75mhl8jh3")))) (build-system python-build-system) (propagated-inputs - (list python-get-version python-pytest python-pytest-black - python-setuptools)) + (list python-get-version python-pytest python-setuptools)) (home-page "https://github.com/flying-sheep/legacy-api-wrap") (synopsis "Legacy API wrapper") (description "This module defines a decorator to wrap legacy APIs. The @@ -16516,7 +16508,6 @@ (define-public python-path python-packaging python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -16621,7 +16612,6 @@ (define-public python-pip-run (append python-nbformat python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -21059,7 +21049,6 @@ (define-public python-inflect (propagated-inputs (list python-pydantic)) (native-inputs (list python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -24089,7 +24078,8 @@ (define-public python-isort (arguments (list #:test-flags '(list "tests/unit/" "-k" "not test_gitignore" - "--ignore=tests/unit/test_deprecated_finders.py") + "--ignore=tests/unit/test_deprecated_finders.py" + "--ignore=tests/unit/profiles/test_black.py") #:phases #~(modify-phases %standard-phases (add-after 'install 'install-example-plugins @@ -24107,8 +24097,7 @@ (define-public python-isort (apply invoke "pip" "--no-cache-dir" "--no-input" "install" "--user" "--no-deps" example-whls))))))) (native-inputs - (list python-black - python-colorama + (list python-colorama python-hypothesmith python-libcst-minimal python-natsort @@ -25908,7 +25897,6 @@ (define-public python-tempora (native-inputs (list python-freezegun python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:15 GMT) Full text and rfc822 format available.Message #86 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 24/32] gnu: python-django-contact-form: Remove python-pytest-cov native-input. Date: Fri, 10 May 2024 09:55:28 +0200
* gnu/packages/django.scm (python-django-contact-form): [native-inputs]: Remove python-pytest-cov. [build-system]: Upgrade to pyproject-build-system. [arguments]<#:phases>: Remove coverage tests for check phase. Change-Id: I4d0fc406401b7e923f7efa084dbe8ea3753e50fc --- gnu/packages/django.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 3ab2bc139d1..726dd77639e 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -838,16 +838,13 @@ (define-public python-django-contact-form (sha256 (base32 "1my9hkrylckp5vfqg9b0kncrdlxjnwxll56sdciqn4v19i4wbq1y")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - (invoke "coverage" "run" "--source" "contact_form" - "runtests.py")))))) - (native-inputs - (list python-coverage)) + (invoke "python" "runtests.py")))))) (propagated-inputs (list python-django)) (home-page "https://github.com/ubernostrum/django-contact-form") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:16 GMT) Full text and rfc822 format available.Message #89 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 28/32] build-system/pyproject: Remove python-pytest-flake8 native-input. Date: Fri, 10 May 2024 09:55:32 +0200
* gnu/packages/check.scm (python-pytest-enabler, python-pytest-perf): [native-inputs]: Remove python-pytest-flake8. * gnu/packages/dav.scm (radicale)[native-inputs]: Remove python-pytest-flake8. * gnu/packages/jupyter.scm (python-nbstripout)[native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-check.scm (python-pytest-csv): [arguments]<#:test-flags>: Ignore flake8 test. [native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-web.scm (python-mechanicalsoup, python-tinycss2)[native-inputs]: Remove python-pytest-flake8. (python-tinycss): [arguments]<#:test-flags>: Ignore flake8 tests. [native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-context, python-jaraco-functools, python-jaraco-packaging, python-jaraco-test, python-path, python-pip-run, python-inflect, python-tempora, python-cairosvg) [native-inputs]: Remove python-pytest-flake8. Change-Id: I60ad04391d1c4b081e3293d50b3ac93c6430c7bf --- gnu/packages/check.scm | 2 -- gnu/packages/dav.scm | 1 - gnu/packages/jupyter.scm | 1 - gnu/packages/python-check.scm | 5 +++-- gnu/packages/python-web.scm | 10 ++++------ gnu/packages/python-xyz.scm | 12 +----------- 6 files changed, 8 insertions(+), 23 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index f8ead8df4e4..e8f121e9fe9 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2492,7 +2492,6 @@ (define-public python-pytest-enabler python-toml)) (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -2665,7 +2664,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools python-wheel)) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 99284220846..b5a1ba749d8 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -58,7 +58,6 @@ (define-public radicale (build-system python-build-system) (native-inputs (list python-pytest - python-pytest-flake8 python-pytest-runner python-waitress)) (propagated-inputs diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index c25663e4da6..4bc0bc2a8f4 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -817,7 +817,6 @@ (define-public python-nbstripout (native-inputs (list python-pytest python-pytest-cram - python-pytest-flake8 python-pytest-runner python-setuptools python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index fdef98f6c8a..4b5ca23569a 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -214,9 +214,10 @@ (define-public python-pytest-csv (base32 "17518f2fn5l98lyk9p8r7215c1whi61imzrh6ahrmcksr8w0zz04")))) (build-system pyproject-build-system) + (arguments + (list #:test-flags '(list "--ignore=tests/test_flake8.py"))) (native-inputs - (list python-pytest-flake8 - python-pytest-xdist + (list python-pytest-xdist python-setuptools python-tabulate python-wheel)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5f19d93ea19..2a7d083b9de 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1578,8 +1578,7 @@ (define-public python-mechanicalsoup (propagated-inputs (list python-beautifulsoup4 python-lxml python-requests python-six)) (native-inputs - (list python-pytest-flake8 - python-pytest-httpbin + (list python-pytest-httpbin python-pytest-mock python-pytest-runner python-requests-mock @@ -5861,10 +5860,9 @@ (define-public python-tinycss (build-system pyproject-build-system) (arguments (list #:test-flags - '(list "-k" "not ISORT and not test_speedups"))) + '(list "-k" "not ISORT and not FLAKE8 and not test_speedups"))) (native-inputs - (list python-pytest-flake8 - python-pytest-runner python-setuptools python-wheel)) + (list python-pytest-runner python-setuptools python-wheel)) (home-page "https://tinycss.readthedocs.io/") (synopsis "Complete yet simple CSS parser for Python") (description @@ -5905,7 +5903,7 @@ (define-public python-tinycss2 (propagated-inputs (list python-webencodings)) (native-inputs - (list python-flit python-pytest python-pytest-flake8 python-pytest-isort)) + (list python-flit python-pytest python-pytest-isort)) (home-page "https://tinycss2.readthedocs.io/") (synopsis "Low-level CSS parser for Python") (description "@code{tinycss2} can parse strings, return Python objects diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9c15ca8e566..1b3837dddc4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11525,7 +11525,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools-57 python-setuptools-scm)) @@ -11653,7 +11652,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -11744,7 +11742,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -11777,7 +11774,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -11807,7 +11803,6 @@ (define-public python-jaraco-packaging (propagated-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-rst.linker python-setuptools python-setuptools-scm @@ -11837,7 +11832,6 @@ (define-public python-jaraco-test (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools python-wheel)) @@ -16510,7 +16504,6 @@ (define-public python-path python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties @@ -16614,7 +16607,6 @@ (define-public python-pip-run python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -21051,7 +21043,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy ;; For the version number python-setuptools-scm @@ -25899,7 +25890,6 @@ (define-public python-tempora python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-freezegun python-pytest-mypy python-setuptools-scm @@ -29569,7 +29559,7 @@ (define-public python-cairosvg (list python-cairocffi python-cssselect2 python-defusedxml python-pillow python-tinycss2)) (native-inputs - (list python-pytest-flake8 python-pytest-isort python-pytest-runner + (list python-pytest-isort python-pytest-runner python-setuptools python-wheel)) (home-page "https://cairosvg.org/") (synopsis "SVG to PDF/PS/PNG converter based on Cairo") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:16 GMT) Full text and rfc822 format available.Message #92 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 29/32] build-system/pyproject: Remove python-pytest-mypy inputs. Date: Fri, 10 May 2024 09:55:33 +0200
* gnu/packages/astronomy.scm (python-czml3, python-poliastro) [native-inputs]: Remove python-pytest-mypy. * gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-jaraco-text, python-path, python-pip-run, python-inflect, python-tempora, python-loguru, python-portalocker)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/sphinx.scm (python-sphinx, python-sphinx-5): [propagated-inputs]: Remove python-mypy. Change-Id: Ia36ca82e0327a886f9c5317e9ef4ffc35dc8ac9d --- gnu/packages/astronomy.scm | 4 +--- gnu/packages/check.scm | 1 - gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 17 ++--------------- gnu/packages/sphinx.scm | 2 -- 5 files changed, 3 insertions(+), 22 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 61ab7520aef..2b78738f5a8 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2226,7 +2226,6 @@ (define-public python-czml3 (native-inputs (list python-astropy python-pytest - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/poliastro/czml3") @@ -2604,8 +2603,7 @@ (define-public python-poliastro python-flit-core python-pytest python-pytest-doctestplus - python-pytest-mpl - python-pytest-mypy)) + python-pytest-mpl)) (propagated-inputs (list python-astropy python-astroquery diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index e8f121e9fe9..8eac2b13563 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2664,7 +2664,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2a7d083b9de..425aa9d5d0f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -313,7 +313,6 @@ (define-public python-portend (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/portend") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1b3837dddc4..733a60b087d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4928,7 +4928,6 @@ (define-public python-portalocker "0lawjm736vs86wlnxc3qqh37l11z0yx81xq3dmrw33m86kaq2bh3")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-mypy python-pytest-timeout python-redis python-setuptools @@ -11525,7 +11524,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools-57 python-setuptools-scm)) (propagated-inputs @@ -11652,7 +11650,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -11684,7 +11681,6 @@ (define-public python-jaraco-collections (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.collections") @@ -11742,7 +11738,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -11774,7 +11769,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -11832,7 +11826,6 @@ (define-public python-jaraco-test (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.test") @@ -11863,7 +11856,6 @@ (define-public python-jaraco-text (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.text") @@ -16503,8 +16495,7 @@ (define-public python-path python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-path-bootstrap))))) @@ -16606,8 +16597,7 @@ (define-public python-pip-run python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -21043,7 +21033,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy ;; For the version number python-setuptools-scm python-setuptools @@ -25891,7 +25880,6 @@ (define-public python-tempora python-pytest-checkdocs python-pytest-enabler python-pytest-freezegun - python-pytest-mypy python-setuptools-scm python-types-freezegun python-types-pytz @@ -32828,7 +32816,6 @@ (define-public python-loguru (propagated-inputs (list python-colorama)) (native-inputs (list python-colorama python-freezegun - python-mypy python-pre-commit python-pytest python-pytest-mypy-plugins diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 669120cad0a..35eaef3036e 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -94,7 +94,6 @@ (define-public python-sphinx python-imagesize python-importlib-metadata python-jinja2 - python-mypy python-packaging python-pygments python-requests @@ -191,7 +190,6 @@ (define-public python-sphinx-5 python-imagesize python-importlib-metadata python-jinja2 - python-mypy python-packaging python-pygments python-requests -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:17 GMT) Full text and rfc822 format available.Message #95 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 30/32] build-system/pyproject: Stop hiding options. Date: Fri, 10 May 2024 09:55:34 +0200
* gnu/packages/pdf.scm (python-pydyf, weasyprint)[arguments] <#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-crypto.scm (python-keyring) [arguments]<#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-web.scm (python-asgi-csrf, python-asgi-lifespan, python-openapi-schema-validator, python-openapi-spec-validator, python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding coverage options. (python-openapi-schema-validator, python-openapi-spec-validator) [arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase. (python-cssselect2, python-tinycss2)[arguments]: Remove uneeded field. (python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded test-flags. * gnu/packages/python-xyz.scm (python-cattrs) [arguments]<#:phases>: Remove arguments hiding coverage options. Change-Id: Ibe08ecfebf8a24259c8658918d98fe9e5a8925b7 --- gnu/packages/pdf.scm | 6 +--- gnu/packages/python-crypto.scm | 1 - gnu/packages/python-web.scm | 51 ++++------------------------------ gnu/packages/python-xyz.scm | 4 +-- 4 files changed, 7 insertions(+), 55 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 4e260d614de..16d4d9336e3 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -816,9 +816,6 @@ (define-public python-pydyf (sha256 (base32 "18q43g5d9455msipcgd5fvnh8m4a2rz189slzfg80yycjw66rshs")))) (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~'("-c" "/dev/null"))) (propagated-inputs (list python-pillow)) (native-inputs (list ghostscript @@ -1635,8 +1632,7 @@ (define-public weasyprint (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "-c" "/dev/null" - "-n" (number->string (parallel-job-count))) + #:test-flags #~(list "-n" (number->string (parallel-job-count))) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-library-paths diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 6965a330624..6139856a906 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -288,7 +288,6 @@ (define-public python-keyring (build-system pyproject-build-system) (arguments (list - #:test-flags '(list "-c" "/dev/null") ;avoid extra test dependencies #:phases #~(modify-phases %standard-phases (add-before 'check 'workaround-test-failure diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 425aa9d5d0f..a149e561243 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -738,10 +738,7 @@ (define-public python-asgi-csrf (build-system pyproject-build-system) (arguments (list #:test-flags - ;; Provide a null config to avoid the extraneous dependency on - ;; python-pytest-coverage. - #~(list "-c" "/dev/null" - ;; Disable two failing tests (see: + #~(list ;; Disable two failing tests (see: ;; https://github.com/simonw/asgi-csrf/issues/24). "-k" (string-append "not (test_multipart " @@ -780,8 +777,7 @@ (define-public python-asgi-lifespan (arguments (list #:test-flags - '(list "-c" "/dev/null" ;ignore coverage-related options - "-k" + '(list "-k" (string-append ;; XXX: Some tests fail because of a 'lifespan.shutdown.failed' ;; extra event, perhaps because our version of trio is older. @@ -1528,10 +1524,7 @@ (define-public python-jsonpickle (build-system pyproject-build-system) (arguments (list - #:test-flags - ;; Prevent running the flake8 and black pytest plugins, which only tests - ;; style and frequently causes harmless failures. - '(list "-o" "addopts=''" "tests") + #:test-flags '(list "tests") #:phases '(modify-phases %standard-phases (add-before 'check 'pre-check @@ -2178,13 +2171,7 @@ (define-public python-openapi-schema-validator (list #:test-flags ;; This one returns 5 instead of 4 elements - '(list "-k" "not test_array_prefixitems_invalid") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") ""))))))) + '(list "-k" "not test_array_prefixitems_invalid"))) (native-inputs (list python-poetry-core python-pytest)) (propagated-inputs (list python-isodate @@ -2222,13 +2209,7 @@ (define-public python-openapi-spec-validator (list ;; These tests attempt to fetch resources from the Internet #:test-flags '(list "--ignore-glob=tests/integration/validation/**" - "-k" "not example") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") ""))))))) + "-k" "not example"))) (native-inputs (list python-poetry-core python-pytest)) @@ -2267,9 +2248,6 @@ (define-public python-openapi-core (list #:test-flags '(list "tests/unit" - ;; Ignore Pytest configuration in setup.cfg that adds - ;; unwanted flake8 and coverage options. - "-c" "/dev/null" "-k" (string-append ;; Type mismatches "not TestFlaskOpenAPIRequest" @@ -5891,14 +5869,6 @@ (define-public python-tinycss2 (sha256 (base32 "0zyc48vbmczpqj7f3f0d7zb3bz29fyj50dg0m6bbwbr5i88kq3sq")))) (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'remove-unwanted-dependencies - (lambda _ - (substitute* "pyproject.toml" - (("^addopts.*") ""))))))) (propagated-inputs (list python-webencodings)) (native-inputs @@ -5925,17 +5895,6 @@ (define-public python-cssselect2 (sha256 (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk")))) (build-system pyproject-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-linters - ;; Their check fails; none of our business. - (lambda _ - (substitute* '("setup.py" "pyproject.toml") - (("'pytest-flake8',") "") - (("'pytest-isort',") "") - (("--flake8") "") - (("--isort") ""))))))) (propagated-inputs (list python-tinycss2)) (native-inputs diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 733a60b087d..2bfeecf33e0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21316,9 +21316,7 @@ (define-public python-cattrs (substitute* "pyproject.toml" ;; Fix version string (("dynamic = \\[\"version\"\\]") - (string-append "version = \"" #$version "\"")) - ;; Just run pytest with no frills - (("addopts = \"-l.*") ""))))))) + (string-append "version = \"" #$version "\"")))))))) (native-inputs (list python-hatchling python-hatch-vcs -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:17 GMT) Full text and rfc822 format available.Message #98 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 31/32] gnu: python-linear-operator: Remove python-flake8-print native-input Date: Fri, 10 May 2024 09:55:35 +0200
* gnu/packages/machine-learning.scm (python-linear-operator): [native-inputs]: Remove pytest-flake8-print. Change-Id: Iba2670b47e479c20a3f4ae1c703ad9fe815e3764 --- gnu/packages/machine-learning.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a3c598ba1c8..cc33a3e9762 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5082,8 +5082,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8-print - python-pytest + (native-inputs (list python-pytest python-setuptools python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 10 May 2024 07:57:18 GMT) Full text and rfc822 format available.Message #101 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 32/32] gnu: abjad-ext-ipython: Remove uneeded inputs. Date: Fri, 10 May 2024 09:55:36 +0200
* gnu/packages/music.scm (abjad-ext-ipython): [arguments]<#:phases>: Remove unwanted dev dependencies in phase losen-requirements. [native-inputs]: Remove python-black, python-flake8, python-isort, python-mypy, python-pytest-cov, python-iniconfig, python-pytest-helpers-namespace. [propagated-inputs]: Remove python-sphinx-autodoc-typehints. Change-Id: Id337da7731bc04d69831096b31f52e0e4c6a13c0 --- gnu/packages/music.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 5420a140657..45daa9438ae 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1790,7 +1790,9 @@ (define-public abjad-ext-ipython (substitute* "setup.py" ;; Don't require a specific version of abjad. (("abjad==") - "abjad>=")))) + "abjad>=") + ;; XXX: Remove unwanted dev dependencies. + (("\"(black|flake8|isort|mypy|pytest)[^,]*,") "")))) (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? @@ -1800,17 +1802,9 @@ (define-public abjad-ext-ipython (invoke "jupyter" "nbconvert" "--to=html" "--ExecutePreprocessor.enabled=True" "tests/test.ipynb"))))))) (native-inputs - (list lilypond - python-black - python-flake8 - python-iniconfig - python-isort - python-mypy - python-pytest - python-pytest-cov - python-pytest-helpers-namespace)) + (list lilypond python-pytest)) (propagated-inputs - (list abjad jupyter python-sphinx-autodoc-typehints)) + (list abjad jupyter)) (home-page "https://abjad.github.io") (synopsis "Abjad IPython Extension") (description -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:01 GMT) Full text and rfc822 format available.Message #104 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 00/32] Remove unwanted native-inputs. Date: Sat, 1 Jun 2024 17:36:32 +0200
Simply rebased the v1, ontop of 69980. Nicolas Graves (32): guix: import: pypi: Ignore pypi-ignored-inputs. build-system/pyproject: Ignore unwanted pytest flags. build-system/pyproject: Remove python-black input. build-system/pyproject: Remove python-pylint native-input. build-system/pyproject: Remove python-flake8 inputs. build-system/pyproject: Remove python-coverage input. gnu: python-cram: Remove python-coverage native-input. gnu: u-boot-tools: Remove python-coverage native-input. gnu: python-aiosqlite: Remove python-coverage native-input. gnu: python-openid: Remove python-coverage native-input. build-system/pyproject: Remove python-coveralls native-input. build-system/pyproject: Remove python-pycodestyle native-input. gnu: python-versioneer: Remove python-pycodestyle native-input. gnu: python-versioneer: Remove python-pyflakes native-input. gnu: python-re-assert: Remove python-covdefaults native-input. build-system/pyproject: Remove python-codecov native-input. build-system/pyproject: Remove python-tox native-input. build-system/pyproject: Remove python-mypy native-input. gnu: python-immutables: Remove python-mypy native-input. build-system/pyproject: Remove python-isort native-input. build-system/pyproject: Remove python-twine native-input. build-system/pyproject: Remove python-pytest-cov native-input. gnu: python-tinycss2: Remove python-pytest-cov native-input. gnu: python-django-contact-form: Remove python-pytest-cov native-input. gnu: python-dateutil: Remove python-pytest-cov native-input. build-system/pyproject: Remove python-pytest-isort native-input. build-system/pyproject: Remove python-pytest-black native-input. build-system/pyproject: Remove python-pytest-flake8 native-input. build-system/pyproject: Remove python-pytest-mypy inputs. build-system/pyproject: Stop hiding options. gnu: python-linear-operator: Remove python-flake8-print native-input gnu: abjad-ext-ipython: Remove uneeded inputs. gnu/packages/android.scm | 6 +- gnu/packages/astronomy.scm | 31 +- gnu/packages/audio.scm | 2 +- gnu/packages/backup.scm | 2 +- gnu/packages/bioinformatics.scm | 31 +- gnu/packages/bootloaders.scm | 17 +- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 21 +- gnu/packages/cpp.scm | 4 +- gnu/packages/databases.scm | 17 +- gnu/packages/dav.scm | 4 - gnu/packages/diffoscope.scm | 2 - gnu/packages/django.scm | 12 +- gnu/packages/ebook.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 7 +- gnu/packages/finance.scm | 6 +- gnu/packages/fontutils.scm | 1 - gnu/packages/geo.scm | 9 +- gnu/packages/gettext.scm | 4 - gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 6 +- gnu/packages/graphviz.scm | 5 - gnu/packages/jupyter.scm | 8 +- gnu/packages/logging.scm | 2 +- gnu/packages/machine-learning.scm | 64 +--- gnu/packages/mail.scm | 3 +- gnu/packages/mastodon.scm | 1 - gnu/packages/messaging.scm | 6 +- gnu/packages/music.scm | 23 +- gnu/packages/package-management.scm | 7 +- gnu/packages/patchutils.scm | 2 +- gnu/packages/pdf.scm | 6 +- gnu/packages/potassco.scm | 3 +- gnu/packages/protobuf.scm | 4 +- gnu/packages/python-check.scm | 29 +- gnu/packages/python-compression.scm | 21 +- gnu/packages/python-crypto.scm | 4 +- gnu/packages/python-science.scm | 21 +- gnu/packages/python-web.scm | 175 +++-------- gnu/packages/python-xyz.scm | 414 +++++++------------------- gnu/packages/radio.scm | 3 +- gnu/packages/serialization.scm | 1 - gnu/packages/simulation.scm | 2 - gnu/packages/sphinx.scm | 7 - gnu/packages/statistics.scm | 14 +- gnu/packages/syndication.scm | 8 +- gnu/packages/task-management.scm | 1 - gnu/packages/telegram.scm | 3 +- gnu/packages/terminals.scm | 12 +- gnu/packages/textutils.scm | 3 - gnu/packages/time.scm | 20 +- gnu/packages/version-control.scm | 1 - gnu/packages/virtualization.scm | 6 +- gnu/packages/vpn.scm | 2 - gnu/packages/web.scm | 6 +- gnu/packages/wm.scm | 2 - gnu/packages/xml.scm | 2 +- guix/build/pyproject-build-system.scm | 99 +++++- guix/import/pypi.scm | 21 +- guix/lint.scm | 12 +- tests/pypi.scm | 3 +- 62 files changed, 405 insertions(+), 809 deletions(-) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:02 GMT) Full text and rfc822 format available.Message #107 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 01/32] guix: import: pypi: Ignore pypi-ignored-inputs. Date: Sat, 1 Jun 2024 17:36:33 +0200
* guix/import/pypi.scm (pypi-ignored-inputs): New variable. (compute-inputs): Use it. * tests/pypi.scm (parse-requires.txt): Add ignored input to test the feature. * guix/lint.scm (check-inputs-should-be-native): Adapt list. (check-inputs-should-not-be-an-input-at-all): Use pypi-ignored-list. Change-Id: I774e526c5a090026e778ee44049637174a1dca95 --- guix/import/pypi.scm | 21 ++++++++++++++++++--- guix/lint.scm | 12 +++++++----- tests/pypi.scm | 3 ++- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 6719fde330a..d4b70061e86 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Vivien Kraus <vivien <at> planete-kraus.eu> ;;; Copyright © 2021 Simon Tournier <zimon.toutoune <at> gmail.com> ;;; Copyright © 2022 Hartmut Goebel <h.goebel <at> crazy-compilers.com> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -61,6 +62,7 @@ (define-module (guix import pypi) #:use-module (guix upstream) #:use-module ((guix licenses) #:prefix license:) #:export (%pypi-base-url + pypi-ignored-inputs parse-requires.txt parse-wheel-metadata specification->requirement-name @@ -77,6 +79,18 @@ (define %pypi-base-url ;; Base URL of the PyPI API. (make-parameter "https://pypi.org/pypi/")) +(define pypi-ignored-inputs + ;; This list contains packages that are useful for development or quality + ;; testing, but that most of the time are not necessary to have as an input. + (list "argparse" ; native + "tox" ; test wrapper for other environments + "codecov" "coverage" ; coverage + "black" "isort" "pycodestyle" "pep8" ; style + "pyflakes" "flake8" "pylint" "mypy" ; style+lint + "coveralls" "twine" ; upload integration tools + "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black" + "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit")) ; variants + (define non-empty-string-or-false (match-lambda ("" #f) @@ -424,9 +438,10 @@ (define (compute-inputs source-url wheel-url archive) "Given the SOURCE-URL and WHEEL-URL of an already downloaded ARCHIVE, return the corresponding list of <upstream-input> records." (define (requirements->upstream-inputs deps type) - (filter-map (match-lambda - ("argparse" #f) - (name (upstream-input + (filter-map (lambda (name) + (if (member name pypi-ignored-inputs) + #f + (upstream-input (name name) (downstream-name (python->package-name name)) (type type)))) diff --git a/guix/lint.scm b/guix/lint.scm index 68d532968de..f689cc2a2a8 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -71,6 +71,7 @@ (define-module (guix lint) hg-reference-url) #:autoload (guix bzr-download) (bzr-reference? bzr-reference-url) + #:use-module ((guix import pypi) #:select (pypi-ignored-inputs)) #:use-module (guix import stackage) #:use-module (ice-9 match) #:use-module (ice-9 regex) @@ -557,14 +558,12 @@ (define (check-inputs-should-be-native package) "m4" "qttools-5" "yasm" "nasm" "fasm" - "python-coverage" "python-cython" "python-docutils" "python-mock" "python-nose" "python-pbr" "python-pytest" - "python-pytest-cov" "python-setuptools-scm" "python-sphinx" "scdoc" @@ -586,9 +585,12 @@ (define (check-inputs-should-be-native package) (define (check-inputs-should-not-be-an-input-at-all package) ;; Emit a warning if some inputs of PACKAGE are likely to should not be ;; an input at all. - (let ((input-names '("python-setuptools" - "python-pip" - "python-pre-commit"))) + (let ((input-names (append + '("python-setuptools" + "python-pip" + "pre-commit") + (map (cut string-append "python-" <>) + pypi-ignored-inputs)))) (map (lambda (input) (make-warning package diff --git a/tests/pypi.scm b/tests/pypi.scm index 42b39cde730..fe01ab3beb3 100644 --- a/tests/pypi.scm +++ b/tests/pypi.scm @@ -97,6 +97,7 @@ (define test-requires.txt "\ [test] pytest (>=2.5.0) +pytest-cov # read but ignored ") ;; Beaker contains only optional dependencies. @@ -244,7 +245,7 @@ (define-syntax-rule (with-pypi responses body ...) (map specification->requirement-name test-specifications)) (test-equal "parse-requires.txt" - (list '("foo" "bar") '("pytest")) + (list '("foo" "bar") '("pytest" "pytest-cov")) (mock ((ice-9 ports) call-with-input-file call-with-input-string) (parse-requires.txt test-requires.txt))) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:03 GMT) Full text and rfc822 format available.Message #110 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 02/32] build-system/pyproject: Ignore unwanted pytest flags. Date: Sat, 1 Jun 2024 17:36:34 +0200
* guix/build/pyproject-build-system.scm : Ignore unwanted pytest flags. Change-Id: Ib9f1602e5af11227e5b7ce124f0f9be4fa2b78e4 --- guix/build/pyproject-build-system.scm | 99 ++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 3 deletions(-) diff --git a/guix/build/pyproject-build-system.scm b/guix/build/pyproject-build-system.scm index 947d240114a..2df9f2f4798 100644 --- a/guix/build/pyproject-build-system.scm +++ b/guix/build/pyproject-build-system.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Lars-Dominik Braun <lars <at> 6xq.net> ;;; Copyright © 2022 Marius Bakke <marius <at> gnu.org> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,8 @@ (define-module (guix build pyproject-build-system) add-installed-pythonpath site-packages python-version - pyproject-build)) + pyproject-build + with-guix-pytest-plugin)) ;;; Commentary: ;;; @@ -142,7 +144,94 @@ (define* (build #:key outputs build-backend backend-path configure-flags #:allow wheel-dir config-settings))) -(define* (check #:key tests? test-backend test-flags #:allow-other-keys) +(define pytest-default-ignore-alist + '(("cov" . ("--cov" "--cov-reset" "--cov-report" "--cov-config" + "--no-cov-on-fail" "--no-cov" "--cov-fail-under" + "--cov-append" "--cov-branch" "--cov-context")) + ("mypy" . ("--mypy" "--mypy-config-file" "--mypy-ignore-missing-imports")) + ("isort" . ("--isort")) + ("flake8" . ("--flake8")) + ("black" . ("--black")) + ("flakes" . ("--flakes")) + ("pep8" . ("--pep8")))) + +(define (pytest-ignore-flags-plugin flags) + "This function converts an list of flags into a string that can + be instantiated as a python pytest plugin." + (format #f "\ +import pytest + +def pytest_addoption(parser): + group = parser.getgroup('guix','Guix ignored options') + options = [~{~s, ~}] + for option in options: + group.addoption(option, action='append', nargs='?')" + flags)) + +(define (call-with-guix-pytest-plugin inputs thunk) + "This function emulates command line options provided by pytest plugins in +the absence of the plugins defining these options. + +This is done by selecting absent plugins, gettings their flags defined in +PYTEST-DEFAULT-IGNORE-ALIST, and generating the plugin from there with +PYTEST-IGNORE-FLAGS-PLUGIN." + (let* ((former-path (getenv "PYTHONPATH")) + (input-names + (map car + (filter (match-lambda + ((name . _) + (if (string-prefix? "python-pytest-" name) + name + #f)) + ( _ #f)) + inputs))) + (filtered-flags + (filter identity + (append-map + (match-lambda + ((group . flags) + (if (member (string-append "python-pytest-" group) + input-names) + (list #f) + flags)) + (_ (list #f))) + pytest-default-ignore-alist))) + (dir (string-append + (if (access? (dirname (getcwd)) W_OK) + (dirname (getcwd)) + ;; fallback if we're already out-of-source + (getcwd)) + "/.guix-pytest"))) + (dynamic-wind + (lambda () + (setenv "PYTHONPATH" + (string-append + (if former-path + (string-append former-path ":") + "") + dir)) + (setenv "PYTEST_PLUGINS" + (string-append + (if (getenv "PYTEST_PLUGINS") + (string-append former-path ",") + "") + "pytest_guix_plugin")) + (mkdir-p dir) + (with-output-to-file (string-append dir "/__init__.py") + (lambda _ (display ""))) + (with-output-to-file (string-append dir "/pytest_guix_plugin.py") + (lambda _ + (display (pytest-ignore-flags-plugin filtered-flags))))) + thunk + (lambda () + (setenv "PYTHONPATH" former-path) + (unsetenv "PYTEST_PLUGINS"))))) + +(define-syntax-rule (with-guix-pytest-plugin inputs exp ...) + "Evaluate EXP in a context where the Guix pytest plugin is added." + (call-with-guix-pytest-plugin inputs (lambda () exp ...))) + +(define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) "Run the test suite of a given Python package." (if tests? ;; Unfortunately with PEP 517 there is no common method to specify test @@ -165,7 +254,8 @@ (define* (check #:key tests? test-backend test-flags #:allow-other-keys) (format #t "Using ~a~%" use-test-backend) (match use-test-backend ('pytest - (apply invoke pytest "-vv" test-flags)) + (with-guix-pytest-plugin inputs + (apply invoke pytest "-vv" test-flags))) ('nose (apply invoke nosetests "-v" test-flags)) ('nose2 @@ -386,3 +476,6 @@ (define* (pyproject-build #:key inputs (phases %standard-phases) (apply python:python-build #:inputs inputs #:phases phases args)) ;;; pyproject-build-system.scm ends here +;;; Local Variables: +;;; eval: (put 'with-guix-pytest-plugin 'scheme-indent-function 1) +;;; End: -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:04 GMT) Full text and rfc822 format available.Message #113 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 03/32] build-system/pyproject: Remove python-black input. Date: Sat, 1 Jun 2024 17:36:35 +0200
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-liana-py, scvelo)[native-inputs]: Remove python-black. * gnu/packages/databases.scm (datasette): [arguments]<#:test-flags>: Ignore black tests. <#:phases>: Remove parts related to black in relax-requirements added phase. [native-inputs]: Remove python-black. * gnu/packages/finance.scm (python-trezor)[native-inputs]: Remove python-black. * gnu/packages/graph.scm (python-graphtools)[native-inputs]: Remove python-black. * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-hyperopt, python-captum, python-pyro-ppl)[native-inputs]: Remove python-black. * gnu/packages/python-check.scm (python-vcrpy)[native-inputs]: Remove python-black. * gnu/packages/python-web.scm (python-ovh, python-openai, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-black. * gnu/packages/python-xyz.scm (python-pydantic-cli, python-imageio, python-update-checker, python-eliot, python-minikanren, python-jupytext)[native-inputs]: Remove python-black. (ptpython)[propagated-inputs]: Remove python-black. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-black. Change-Id: Ie8098afda264bf9a5ab2cfe5d915bc7a41fdc604 --- gnu/packages/bioinformatics.scm | 11 +++-------- gnu/packages/databases.scm | 8 ++------ gnu/packages/finance.scm | 1 - gnu/packages/graph.scm | 1 - gnu/packages/machine-learning.scm | 11 +++-------- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-web.scm | 8 +++----- gnu/packages/python-xyz.scm | 15 +++++---------- gnu/packages/virtualization.scm | 3 +-- 9 files changed, 18 insertions(+), 43 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index d4a39fd3e1a..adeb7b1c3be 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2152,8 +2152,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") @@ -2278,10 +2277,7 @@ (define-public python-liana-py python-tqdm tzdata)) (native-inputs - (list python-black - python-poetry-core - python-pytest - python-pytest-cov)) + (list python-poetry-core python-pytest python-pytest-cov)) (home-page "https://github.com/saezlab/liana-py") (synopsis "LIANA is a ligand-receptor analysis framework") (description "This is a Ligand-Receptor inference framework. The @@ -21838,8 +21834,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-hypothesis python-pytest python-setuptools-scm diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 67e6ced7c32..96b2c2a0437 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -5537,16 +5537,13 @@ (define-public datasette " or test_custom_query_with_unicode_characters" " or test_searchmode)") "-n" (number->string (parallel-job-count)) - "-m" "not serial") ;cannot run in parallel + "-m" "not serial" ;cannot run in parallel + "--ignore=tests/test_black.py") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'relax-requirements (lambda _ - ;; The package needlessly specifies exact versions - ;; of dependencies, when it works fine with others. (substitute* "setup.py" - (("(black)==[0-9\\.]+" _ package) - package) (("click-default-group-wheel") "click-default-group"))))))) (propagated-inputs @@ -5569,7 +5566,6 @@ (define-public datasette python-uvicorn)) (native-inputs (list python-beautifulsoup4 - python-black python-cogapp python-pip python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3c32a220c4e..7d1efde8187 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1149,7 +1149,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-black python-isort python-pillow python-protobuf diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index eda8365a424..033027a5aa9 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -476,7 +476,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-black python-coverage python-coveralls python-nose diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d5ce3bfe7de..494d7174859 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -175,8 +175,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-isort python-nbsphinx python-pandas @@ -1923,8 +1922,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-keras python-mypy python-pandas @@ -2359,8 +2357,7 @@ (define-public python-hyperopt python-six python-tqdm)) (native-inputs - (list python-black - python-nose + (list python-nose python-pymongo python-pytest python-wheel)) @@ -4525,7 +4522,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-black python-flake8 python-flask python-flask-compress @@ -5064,7 +5060,6 @@ (define-public python-pyro-ppl (native-inputs (list ninja jupyter - python-black python-flake8 python-graphviz python-isort diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e3f0499fecb..ca87289a1e1 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -411,8 +411,7 @@ (define-public python-vcrpy (propagated-inputs (list python-pyyaml python-six python-wrapt python-yarl)) (native-inputs - (list python-black - python-coverage + (list python-coverage python-flake8 python-flask python-httplib2 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e417fc2bb47..4f5d7baab97 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -977,8 +977,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-black - python-coverage + (native-inputs (list python-coverage python-flake8 python-isort python-pytest @@ -2171,7 +2170,7 @@ (define-public python-openai and not test_file_cli"))) (propagated-inputs (list python-aiohttp python-requests python-tqdm python-typing-extensions)) - (native-inputs (list python-black python-pytest python-pytest-asyncio + (native-inputs (list python-pytest python-pytest-asyncio python-pytest-mock python-setuptools python-wheel)) (home-page "https://github.com/openai/openai-python") (synopsis "Python client library for the OpenAI API") @@ -8974,8 +8973,7 @@ (define-public python-starsessions-for-pytorch-lightning python-itsdangerous python-starlette-for-fastapi-0.88)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-httpx python-mypy python-poetry-core diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d81de891c4f..0388cefee4c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -478,7 +478,6 @@ (define-public python-jupytext (native-inputs (list git-minimal python-autopep8 - python-black python-flake8 python-gitpython python-isort @@ -8029,8 +8028,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") @@ -10812,7 +10810,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile python-setuptools)) (native-inputs - (list python-black python-flake8 python-fsspec python-pytest + (list python-flake8 python-fsspec python-pytest python-pytest-cov python-wheel)) (home-page "https://imageio.github.io/") (synopsis "Library for reading and writing a wide range of image data") @@ -22112,8 +22110,7 @@ (define-public ptpython (arguments `(#:tests? #f)) ;there are no tests (propagated-inputs - (list python-appdirs python-black python-jedi python-prompt-toolkit - python-pygments)) + (list python-appdirs python-jedi python-prompt-toolkit python-pygments)) (home-page "https://github.com/jonathanslenders/ptpython") (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features") (description @@ -27295,7 +27292,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-black python-flake8 python-pytest)) + (native-inputs (list python-flake8 python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -31409,8 +31406,7 @@ (define-public python-eliot (list python-boltons python-pyrsistent python-six python-zope-interface)) (native-inputs - (list python-black - python-coverage + (list python-coverage python-dask python-flake8 python-hypothesis @@ -34165,7 +34161,6 @@ (define-public python-minikanren python-pytest python-pytest-cov python-pylint - python-black python-sympy python-versioneer python-coverage)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 6d28b32c863..85ad5031059 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2809,8 +2809,7 @@ (define-public python-transient python-requests python-toml)) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pyhamcrest python-setuptools python-twine -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:05 GMT) Full text and rfc822 format available.Message #116 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 04/32] build-system/pyproject: Remove python-pylint native-input. Date: Sat, 1 Jun 2024 17:36:36 +0200
* gnu/packages/potassco.scm (python-clingraph): [native-inputs]: Remove python-pylint. * gnu/packages/python-xyz.scm (python-mediapy, python-fastjsonschema, python-trio)[native-inputs]: Remove python-pylint. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-pylint. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-pylint. Change-Id: If6a20e0b790f7157013a6868bba9e4a8d7e5ba28 --- gnu/packages/potassco.scm | 3 +-- gnu/packages/python-xyz.scm | 3 --- gnu/packages/syndication.scm | 2 -- gnu/packages/terminals.scm | 5 ++--- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm index 9af307b4a90..054f9e9b180 100644 --- a/gnu/packages/potassco.scm +++ b/gnu/packages/potassco.scm @@ -563,8 +563,7 @@ (define-public python-clingraph python-jsonschema python-networkx python-setuptools)) - (native-inputs (list dot2tex graphviz python-pylint python-pytest - python-wheel)) + (native-inputs (list dot2tex graphviz python-pytest python-wheel)) (home-page "https://github.com/potassco/clingraph") (synopsis "Visualizer for graphs defined as logic programs") (description diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0388cefee4c..8d4ce3f9844 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4440,7 +4440,6 @@ (define-public python-mediapy python-pillow)) (native-inputs (list python-flit-core - python-pylint python-pytest python-pytest-xdist)) (home-page "https://github.com/google/mediapy") @@ -17189,7 +17188,6 @@ (define-public python-fastjsonschema (list python-colorama python-json-spec python-jsonschema - python-pylint python-pytest python-pytest-benchmark python-pytest-cache @@ -29079,7 +29077,6 @@ (define-public python-trio (list python-astor python-ipython python-jedi - python-pylint python-pyopenssl python-pytest python-pytest-xdist diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index bbb89099b06..0f12f94d0bc 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -437,7 +437,6 @@ (define-public rtv python-coveralls python-coverage python-mock - python-pylint python-pytest python-vcrpy)) (home-page "https://github.com/michael-lazar/rtv") @@ -472,7 +471,6 @@ (define-public tuir (list python-coverage python-coveralls python-mock - python-pylint python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 8d9157fd949..90dc011a70e 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1199,7 +1199,6 @@ (define-public python-halo (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-twine @@ -1230,7 +1229,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (propagated-inputs (list python-colorama)) - (native-inputs (list python-coverage python-nose python-pylint + (native-inputs (list python-coverage python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-log-symbols") (synopsis "Python library with graphical symbols for logging on the terminal") @@ -1258,7 +1257,7 @@ (define-public python-spinners (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) - (native-inputs (list python-coverage python-nose python-pylint + (native-inputs (list python-coverage python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:06 GMT) Full text and rfc822 format available.Message #119 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 05/32] build-system/pyproject: Remove python-flake8 inputs. Date: Sat, 1 Jun 2024 17:36:37 +0200
* gnu/packages/astronomy.scm (python-crds)[native-inputs]: Remove python-flake8. * gnu/packages/bioinformatics.scm (python-doubletdetection, python-biom-format)[native-inputs]: Remove python-flake8. * gnu/packages/ebook.scm (calibre)[native-inputs]: Remove python-flake8. * gnu/packages/engineering.scm (python-scikit-rf)[native-inputs]: Remove python-flake8. * gnu/packages/finance.scm (python-mt-940)[native-inputs]: Remove python-flake8. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-flake8. * gnu/packages/gettext.scm (python-mdpo)[native-inputs]: Remove python-flake8. * gnu/packages/graph.scm (python-pygsp)[native-inputs]: Remove python-flake8. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-flake8. * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-captum, python-pyro-api, python-pyro-ppl, python-linear-operator, python-gpytorch)[native-inputs]: Remove python-flake8. * gnu/packages/music.scm (python-mutagen): [arguments]<#:test-flags>: Ignore flake8 quality tests. [native-inputs]: Remove python-flake8. * gnu/packages/protobuf.scm (python-pure-protobuf): [arguments]<#:phases>: Remove flake8 invocation from check phase. [native-inputs]: Remove python-flake8. * gnu/packages/python-web.scm (python-ovh, python-furl, python-httplib2, python-http-ece, python-woob, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-flake8. * gnu/packages/python-xyz.scm (python-apispec, python-apispec-webframeworks, python-apprise, python-colorful, python-pymd4c, python-pyls-black, python-docx, python-flasgger, python-imageio, python-importlib-ressources, python-jaraco-test, python-seaborn, python-progressbar2, python-inflect, python-argcomplete, python-diff-cover, python-validators, python-marshmallow, python-marshmallow-jsonapi, python-yq, python-update-checker, python-eliot, python-dateparser, python-jinja2-cli, python-nikola, python-verspec, python-mike, python-arpeggio, python-versioneer, python-codespell)[native-inputs]: Remove python-flake8. * gnu/packages/simulation.scm (python-dolfin-adjoint)[native-inputs]: Remove python-flake8. * gnu/packages/sphinx.scm (python-sphinx, python-sphinx-5)[propagated-inputs]: Remove python-flake8. * gnu/packages/statistics.scm (python-statsmodels)[native-inputs]: Remove python-flake8. * gnu/packages/vpn.scm (sshuttle)[native-inputs]: Remove python-flake8. * gnu/packages/wm.scm (qtile)[native-inputs]: Remove python-flake8. * gnu/packages/textutils.scm (python-panflute)[native-inputs]: Remove python-flake8. Change-Id: I196a9c0b7497106c8f98598535cb8e0ea667481c --- gnu/packages/astronomy.scm | 3 +- gnu/packages/bioinformatics.scm | 7 +--- gnu/packages/ebook.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/finance.scm | 4 +- gnu/packages/geo.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/graph.scm | 3 +- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 15 ++------ gnu/packages/music.scm | 4 +- gnu/packages/protobuf.scm | 4 +- gnu/packages/python-web.scm | 12 ++---- gnu/packages/python-xyz.scm | 62 +++++++++++-------------------- gnu/packages/simulation.scm | 1 - gnu/packages/sphinx.scm | 2 - gnu/packages/statistics.scm | 1 - gnu/packages/textutils.scm | 1 - gnu/packages/vpn.scm | 1 - gnu/packages/wm.scm | 1 - 20 files changed, 36 insertions(+), 90 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index c05f8e51885..02d0726b9be 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2188,8 +2188,7 @@ (define-public python-crds python-roman-datamodels python-stsynphot python-requests)) - (native-inputs (list python-flake8 - python-ipython + (native-inputs (list python-ipython python-lockfile python-mock python-nose diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index adeb7b1c3be..aa7f2988191 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2152,8 +2152,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-flake8 - python-poetry-core + (list python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") (synopsis @@ -3006,7 +3005,6 @@ (define-public python-biom-format (propagated-inputs (list python-anndata python-click - python-flake8 python-future python-h5py python-numpy @@ -21834,8 +21832,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools-scm python-wheel)) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 16d4fcd6e36..3d536e59add 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -154,7 +154,6 @@ (define-public calibre (native-inputs (list bash-minimal pkg-config - python-flake8 python-pyqt-builder qtbase-5 ; for qmake xdg-utils)) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f082f346278..610fb53087b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2679,7 +2679,6 @@ (define-public python-scikit-rf python-qtpy python-scipy)) (native-inputs (list python-coverage - python-flake8 python-nbval python-networkx python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 7d1efde8187..7579001dd1f 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2307,9 +2307,7 @@ (define-public python-mt-940 ;; Remove custom --cov flags. (delete-file "pytest.ini") (invoke "pytest" "-vv"))))))) - (native-inputs (list python-flake8 - python-pytest - python-pyyaml)) + (native-inputs (list python-pytest python-pyyaml)) (home-page "https://mt940.readthedocs.io/") (synopsis "Python parser for MT940-encoded SWIFT data") (description diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 81a854f8a2a..69cc7e6ddc5 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3265,7 +3265,6 @@ (define-public python-geopy (native-inputs (list python-async-generator python-coverage - python-flake8 python-isort python-pytest python-pytest-aiohttp diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 1408cc4cb46..bbb19bd4cb8 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -214,7 +214,6 @@ (define-public mdpo (build-system python-build-system) (native-inputs (list python-bump2version - python-flake8 python-flake8-implicit-str-concat python-flake8-print python-isort diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 033027a5aa9..eb8aa17fdfe 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -564,8 +564,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-flake8 - python-pytest)) + (list python-coverage python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index db40b99928a..b396a97c0bc 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -217,7 +217,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-flake8 python-isort python-mypy python-pytest diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 494d7174859..bf09c9ec4c1 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -175,8 +175,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-flake8 - python-isort + (native-inputs (list python-isort python-nbsphinx python-pandas python-pillow @@ -1922,8 +1921,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-flake8 - python-keras + (native-inputs (list python-keras python-mypy python-pandas python-pytest @@ -4522,7 +4520,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-flake8 python-flask python-flask-compress python-ipython @@ -5010,8 +5007,7 @@ (define-public python-pyro-api (build-system python-build-system) (arguments '(#:tests? #false)) ;requires pyro (native-inputs - (list python-flake8 - python-ipython + (list python-ipython python-pytest python-sphinx python-sphinx-rtd-theme)) @@ -5060,7 +5056,6 @@ (define-public python-pyro-ppl (native-inputs (list ninja jupyter - python-flake8 python-graphviz python-isort python-lap @@ -5107,8 +5102,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8 - python-flake8-print + (native-inputs (list python-flake8-print python-pytest python-setuptools python-setuptools-scm @@ -5139,7 +5133,6 @@ (define-public python-gpytorch " and not test_t_matmul_matrix")))) (propagated-inputs (list python-linear-operator python-scikit-learn)) (native-inputs (list python-coverage - python-flake8 python-flake8-print python-nbval python-pytest diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index ab3fe970997..ad026f5d359 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -3968,6 +3968,7 @@ (define-public python-mutagen (build-system pyproject-build-system) (arguments (list + #:test-flags '(list "--ignore=tests/quality/test_flake8.py") #:phases #~(modify-phases %standard-phases (add-before 'check 'remove-hypothesis-deadlines @@ -3978,8 +3979,7 @@ (define-public python-mutagen (("( +)@given" all spaces) (string-append spaces "@settings(deadline=None)\n" all)))))))) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools python-wheel)) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 8ca730df3c3..502ad09a3a6 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -469,7 +469,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-flake8 python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov python-isort)) (arguments `(#:phases (modify-phases %standard-phases @@ -477,8 +477,6 @@ (define-public python-pure-protobuf (lambda _ (invoke "pytest" "--cov-report" "term-missing" "--cov" "pure_protobuf") - (invoke "flake8" "pure_protobuf" "tests" - "--ignore=F541") (invoke "isort" "-rc" "-c" "pure_protobuf" "tests")))))) (home-page "https://pypi.org/project/pure-protobuf/") (synopsis "Protobuf implementation using dataclasses") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4f5d7baab97..ba378088cf8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -978,7 +978,6 @@ (define-public python-ovh (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) (native-inputs (list python-coverage - python-flake8 python-isort python-pytest python-pytest-cov @@ -1240,8 +1239,6 @@ (define-public python-furl (build-system python-build-system) (propagated-inputs (list python-six python-orderedmultidict)) - (native-inputs - (list python-flake8)) (home-page "https://github.com/gruns/furl") (synopsis "URL manipulation in Python") (description "Furl provides an easy-to-use alternative to the @@ -1274,7 +1271,6 @@ (define-public python-httplib2 (("==") ">="))))))) (native-inputs (list python-cryptography - python-flake8 python-future python-mock python-pytest @@ -7313,7 +7309,7 @@ (define-public python-http-ece (propagated-inputs (list python-cryptography)) (native-inputs - (list python-coverage python-flake8 python-mock python-nose)) + (list python-coverage python-mock python-nose)) (home-page "https://github.com/web-push-libs/encrypted-content-encoding") (synopsis "Encrypted Content Encoding for HTTP") (description @@ -8333,8 +8329,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-flake8 python-nose python-selenium - python-xunitparser)) + (list python-coverage python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -8973,8 +8968,7 @@ (define-public python-starsessions-for-pytorch-lightning python-itsdangerous python-starlette-for-fastapi-0.88)) (native-inputs - (list python-flake8 - python-httpx + (list python-httpx python-mypy python-poetry-core python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8d4ce3f9844..3ca12d05ee5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -320,7 +320,6 @@ (define-public python-apprise (native-inputs (list python-babel python-coverage python-cryptography - python-flake8 python-paho-mqtt python-pytest python-pytest-cov @@ -1183,8 +1182,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-flake8 python-pytest python-setuptools - python-wheel)) + (list python-coverage python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -2370,7 +2368,7 @@ (define-public python-pymd4c (inputs (list md4c)) (native-inputs - (list python-flake8 python-pkgconfig pkg-config)) + (list python-pkgconfig pkg-config)) (home-page "https://github.com/dominickpastore/pymd4c") (synopsis "Python bindings for MD4C") (description @@ -3028,7 +3026,7 @@ (define-public python-pyls-black (propagated-inputs (list python-black python-lsp-server python-toml python-tomli)) (native-inputs - (list python-flake8 python-isort python-mypy python-pytest + (list python-isort python-mypy python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") @@ -7006,7 +7004,6 @@ (define-public python-docx (build-system pyproject-build-system) (native-inputs (list behave - python-flake8 python-mock python-pyparsing python-pytest @@ -10809,7 +10806,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile python-setuptools)) (native-inputs - (list python-flake8 python-fsspec python-pytest + (list python-fsspec python-pytest python-pytest-cov python-wheel)) (home-page "https://imageio.github.io/") (synopsis "Library for reading and writing a wide range of image data") @@ -11587,8 +11584,7 @@ (define-public python-importlib-resources (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (native-inputs - (list python-flake8 - python-pytest + (list python-pytest python-pytest-black python-pytest-checkdocs python-pytest-cov @@ -11910,8 +11906,7 @@ (define-public python-jaraco-test (arguments (list #:test-flags '(list "-k" "http"))) (propagated-inputs (list python-jaraco-context python-jaraco-functools)) - (native-inputs (list python-flake8 - python-pytest + (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs python-pytest-cov @@ -13710,8 +13705,7 @@ (define-public python-seaborn python-scipy python-statsmodels)) (native-inputs - (list python-flake8 - python-flit-core + (list python-flit-core python-ipykernel python-nbconvert python-numpydoc @@ -18695,8 +18689,7 @@ (define-public python-progressbar2 (propagated-inputs (list python-six python-utils)) (native-inputs - (list python-flake8 - python-freezegun + (list python-freezegun python-pycodestyle python-pytest python-pytest-cache @@ -20052,8 +20045,7 @@ (define-public python-codespell (inputs (list python-chardet)) (native-inputs - (list python-flake8 - python-pygments + (list python-pygments python-pytest python-pytest-cov python-pytest-dependency @@ -21144,8 +21136,7 @@ (define-public python-inflect (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (propagated-inputs (list python-pydantic)) - (native-inputs (list python-flake8 - python-pygments + (native-inputs (list python-pygments python-pytest python-pytest-black python-pytest-checkdocs @@ -23283,7 +23274,6 @@ (define-public python-argcomplete (invoke "python3" "./test/test.py" "-v"))))))) (native-inputs (list python-coverage - python-mypy python-pexpect python-setuptools python-setuptools-scm @@ -24419,8 +24409,7 @@ (define-public python-diff-cover python-setuptools ; For pkg_resources. python-tomli)) (native-inputs - (list python-flake8 - python-poetry-core + (list python-poetry-core python-pylint python-pytest python-pytest-flake8 @@ -25087,7 +25076,7 @@ (define-public python-validators (propagated-inputs (list python-decorator python-six)) (native-inputs - (list python-flake8 python-isort python-pytest)) + (list python-isort python-pytest)) (home-page "https://github.com/kvesteri/validators") (synopsis "Data validation library") (description @@ -25156,8 +25145,7 @@ (define-public python-marshmallow (propagated-inputs (list python-packaging)) (native-inputs - (list python-flake8 - python-flake8-bugbear + (list python-flake8-bugbear python-mypy python-pytest python-pytz @@ -25185,7 +25173,6 @@ (define-public python-marshmallow-jsonapi (list python-marshmallow)) (native-inputs (list python-faker - python-flake8 python-flake8-bugbear python-flask python-mock @@ -25220,8 +25207,7 @@ (define-public python-apispec (propagated-inputs (list python-packaging)) (native-inputs - (list python-flake8 - python-flake8-bugbear + (list python-flake8-bugbear python-marshmallow python-mypy python-pytest @@ -25249,7 +25235,6 @@ (define-public python-apispec-webframeworks (propagated-inputs (list python-apispec python-setuptools)) (native-inputs (list python-bottle - python-flake8 python-flake8-bugbear python-flask python-mock @@ -25298,7 +25283,6 @@ (define-public python-flasgger (list python-apispec python-apispec-webframeworks python-decorator - python-flake8 python-flask-jwt python-flask-restful python-flex @@ -26283,7 +26267,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-flake8 python-setuptools-scm python-wheel)) + (list python-coverage python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -27290,7 +27274,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-flake8 python-pytest)) + (native-inputs (list python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -31405,7 +31389,6 @@ (define-public python-eliot (native-inputs (list python-coverage python-dask - python-flake8 python-hypothesis python-pytest python-setuptools @@ -32194,7 +32177,7 @@ (define-public python-dateparser (list python-dateutil python-pytz python-regex python-ruamel.yaml python-tzlocal)) (native-inputs - (list python-flake8 python-pytest python-parameterized tzdata-for-tests + (list python-pytest python-parameterized tzdata-for-tests python-setuptools python-wheel)) (arguments `(#:phases @@ -32722,11 +32705,10 @@ (define-public python-versioneer (invoke "pyflakes" "setup.py" "versioneer.py" "git_version.py") (invoke "python" "test/run_pyflakes_src.py") (invoke "pyflakes" "test") - (invoke "flake8" "git_version.py" "versioneer.py") (invoke "pycodestyle" "--max-line-length=88" "git_version.py" "versioneer.py"))))))) (native-inputs - (list git-minimal python-flake8 python-pycodestyle python-pyflakes + (list git-minimal python-pycodestyle python-pyflakes python-pypa-build python-setuptools python-wheel)) (propagated-inputs (list python-tomli)) @@ -33529,7 +33511,7 @@ (define-public python-jinja2-cli (propagated-inputs (list python-jinja2)) (native-inputs - (list python-flake8 python-jinja2 python-pytest)) + (list python-jinja2 python-pytest)) (home-page "https://github.com/mattrobenolt/jinja2-cli") (synopsis "Command-line interface to Jinja2") (description @@ -35104,7 +35086,6 @@ (define-public nikola python-yapsy)) (native-inputs (list python-coverage - python-flake8 python-freezegun python-pytest python-pytest-cov)) @@ -35576,7 +35557,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-flake8 python-mypy + (native-inputs (list python-coverage python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases @@ -35975,7 +35956,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-flake8 python-shtab)) + (list python-coverage python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") @@ -35999,7 +35980,6 @@ (define-public python-arpeggio (build-system python-build-system) (native-inputs (list python-coverage python-coveralls - python-flake8 python-mike python-mkdocs python-pytest diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 99c0a121dde..7831802284f 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1220,7 +1220,6 @@ (define-public python-dolfin-adjoint (list pkg-config python-coverage python-decorator - python-flake8 python-pkgconfig python-pytest)) (propagated-inputs diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 4be9febb96c..ed3fba059d8 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -90,7 +90,6 @@ (define-public python-sphinx python-colorama python-docutils python-filelock - python-flake8 python-html5lib python-imagesize python-importlib-metadata @@ -194,7 +193,6 @@ (define-public python-sphinx-5 python-colorama python-docutils python-filelock - python-flake8 python-html5lib python-imagesize python-importlib-metadata diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index c2dc1cefef3..0a6f61e2280 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2447,7 +2447,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-flake8 python-isort python-joblib python-matplotlib diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 9d3b93faf90..bf2da58a3ee 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1675,7 +1675,6 @@ (define-public python-panflute (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser python-coverage - python-flake8 python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 9da51cb5617..d52d872909d 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -970,7 +970,6 @@ (define-public sshuttle (native-inputs (list python-setuptools-scm ;; For tests only. - python-flake8 python-mock python-pytest-cov python-pytest-runner)) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index a1c94fe13a9..7da18bc821c 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -654,7 +654,6 @@ (define-public qtile python-xcffib)) (native-inputs (list pkg-config - python-flake8 python-pep8-naming python-pytest python-pytest-cov -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:08 GMT) Full text and rfc822 format available.Message #122 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 06/32] build-system/pyproject: Remove python-coverage input. Date: Sat, 1 Jun 2024 17:36:38 +0200
* gnu/packages/android.scm (python-androguard): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt 'check phase replacement. * gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy, python-poliastro)[native-inputs]: Remove python-coverage. * gnu/packages/bioinformatics.scm (python-ega-download-client, python-scikit-bio, python-cooler)[native-inputs]: Remove python-coverage. * gnu/packages/check.scm (python-pytest-randomly, python-pytest-flakes, python-aiounittest)[native-inputs]: Remove python-coverage. * gnu/packages/cpp.scm (cpplint)[native-inputs]: Remove python-coverage. * gnu/packages/diffoscope.scm (reprotest)[native-inputs]: Remove python-coverage. * gnu/packages/django.scm (python-django-haystack)[native-inputs]: Remove python-coverage. * gnu/packages/engineering.scm (python-scikit-rf)[native-inputs]: Remove python-coverage. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-coverage. * gnu/packages/gpodder.scm (gpodder)[native-inputs]: Remove python-coverage. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coverage. * gnu/packages/jupyter.scm (python-jupyter-packaging)[native-inputs]: Remove python-coverage. * gnu/packages/machine-learning.scm (onnx, onnx-optimizer, python-lightning-utilities, python-pytorch-lightning, python-torchmetrics, python-gpytorch)[native-inputs]: Remove python-coverage. * gnu/packages/music.scm (python-pylast)[native-inputs]: Remove python-coverage. * gnu/packages/package-management.scm (python-anaconda-client, conda)[native-inputs]: Remove python-coverage. * gnu/packages/python-check.scm (python-vcrpy, python-re-assert)[native-inputs]: Remove python-coverage. * gnu/packages/python-compression.scm (python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr)[native-inputs]: Remove python-coverage. * gnu/packages/python-web.scm (python-ovh, python-flask-misaka, python-zope-interface, python-zope-hookable, python-url, python-transaction, python-sanic, python-woob, python-flask-combo-jsonapi)[native-inputs]: Remove python-coverage. * gnu/packages/python-xyz.scm (python-apprise, python-arpeggio, python-affine, python-colorful, python-lunr, python-mdit-py-plugins, python-bidict, python-sh, python-cftime, python-can, python-jsonargparse, python-extension-helpers, python-pyjwt, python-virtualenv-clone, python-lsp-server, python-pikepdf, python-tasklogger, python-notebook, python-structlog, binwalk, python-argcomplete, python-attrs, python-yq, python-stone, python-identify, python-nodeenv, python-anyio, python-forbiddenfruit, python-watchgod, python-eliot, python-pem, python-scikit-build, python-minikanren, nikola, python-verspec, python-mike) [native-inputs]: Remove python-coverage. * gnu/packages/simulation.scm (python-dolfin-adjoint)[native-inputs]: Remove python-coverage. * gnu/packages/statistics.scm (python-emcee, python-rpy2)[native-inputs]: Remove python-coverage. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coverage. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-coverage. * gnu/packages/textutils.scm (python-panflute)[native-inputs]: Remove python-coverage. * gnu/packages/version-control.scm (pre-commit)[native-inputs]: Remove python-coverage. * gnu/packages/web.scm (python-httpretty)[native-inputs]: Remove python-coverage. * gnu/packages/xml.scm (python-xmltodict)[native-inputs]: Remove python-coverage. Change-Id: I66b28e624aac94f1a2f6e4fae5cdb444193cd8d9 --- gnu/packages/android.scm | 6 +-- gnu/packages/astronomy.scm | 7 +-- gnu/packages/bioinformatics.scm | 8 ++-- gnu/packages/check.scm | 7 ++- gnu/packages/cpp.scm | 3 +- gnu/packages/diffoscope.scm | 1 - gnu/packages/django.scm | 1 - gnu/packages/engineering.scm | 3 +- gnu/packages/geo.scm | 1 - gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 3 +- gnu/packages/jupyter.scm | 2 +- gnu/packages/machine-learning.scm | 10 +--- gnu/packages/music.scm | 3 +- gnu/packages/package-management.scm | 6 +-- gnu/packages/python-check.scm | 5 +- gnu/packages/python-compression.scm | 12 ++--- gnu/packages/python-web.scm | 20 ++++---- gnu/packages/python-xyz.scm | 72 +++++++++-------------------- gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 6 +-- gnu/packages/syndication.scm | 4 +- gnu/packages/terminals.scm | 9 ++-- gnu/packages/textutils.scm | 1 - gnu/packages/version-control.scm | 1 - gnu/packages/web.scm | 3 +- gnu/packages/xml.scm | 2 +- 27 files changed, 63 insertions(+), 137 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index cbfbd6522f4..ab42f2be980 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1072,11 +1072,9 @@ (define-public python-androguard (replace 'check ;; Adapted from .travis.yml (lambda _ - (invoke "nosetests" "--with-coverage" "--with-timer" - "--timer-top-n" "50")))))) + (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-coverage python-mock python-nose - python-nose-timer)) + (list python-codecov python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 02d0726b9be..7589ecbb8ae 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1678,7 +1678,6 @@ (define-public python-astropy (native-inputs (list pkg-config python-colorlog - python-coverage python-cython-3 python-extension-helpers python-h5py @@ -2606,8 +2605,7 @@ (define-public python-poliastro (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-mypy python-flit-core python-pytest @@ -4955,8 +4953,7 @@ (define-public python-asdf-astropy (add-before 'check 'set-home-env (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-h5py + (list python-h5py python-pandas python-pytest python-pytest-astropy diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index aa7f2988191..d8994cf65fa 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2767,8 +2767,7 @@ (define-public python-ega-download-client (propagated-inputs (list python-htsget python-psutil python-requests python-tqdm python-urllib3)) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pyfakefs python-pytest python-responses @@ -5360,7 +5359,7 @@ (define-public python-scikit-bio python-requests python-scipy)) (native-inputs - (list python-coverage python-pytest)) + (list python-pytest)) (home-page "https://scikit-bio.org") (synopsis "Data structures, algorithms and educational resources for bioinformatics") (description @@ -17972,8 +17971,7 @@ (define-public python-cooler python-scipy python-simplejson)) (native-inputs - (list python-coverage - python-hatchling + (list python-hatchling python-isort python-pytest python-pytest-cov)) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 880d3cb46f3..b7116b3f0e2 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1617,8 +1617,7 @@ (define-public python-pytest-randomly "not reordered " "and not test_it_runs_before_stepwise " "and not test_entrypoint_injection")))))))) - (native-inputs (list python-coverage - python-factory-boy + (native-inputs (list python-factory-boy python-faker python-numpy python-pytest-xdist)) @@ -2715,7 +2714,7 @@ (define-public python-pytest-flakes (add-installed-pythonpath inputs outputs) (invoke "py.test" "-vv" "-k" "not test_syntax_error")))))) (native-inputs - (list python-coverage python-pytest python-pytest-pep8)) + (list python-pytest python-pytest-pep8)) (propagated-inputs (list python-pyflakes)) (home-page "https://github.com/fschulze/pytest-flakes") @@ -3568,7 +3567,7 @@ (define-public python-aiounittest #t))))) (propagated-inputs (list python-wrapt)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/kwarunek/aiounittest") (synopsis "Test asyncio code more easily") diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 8a0bd62d6b6..ba2698056da 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1189,8 +1189,7 @@ (define-public cpplint (setenv "GUIX_PYTHONPATH" (getenv "TMP_PYTHONPATH"))))))) (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-pytest-cov python-pytest-runner python-testfixtures)) diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm index fd2146456d6..67567a6b310 100644 --- a/gnu/packages/diffoscope.scm +++ b/gnu/packages/diffoscope.scm @@ -269,7 +269,6 @@ (define-public reprotest `(("diffoscope" ,diffoscope) ("help2man" ,help2man) ("libfaketime" ,libfaketime) - ("python-coverage" ,python-coverage) ("python-docutils" ,python-docutils) ("python-magic " ,python-magic) ("python-pytest " ,python-pytest) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 4a271eaf0b5..298968d37c6 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -495,7 +495,6 @@ (define-public python-django-haystack (list python-django)) (native-inputs (list gdal - python-coverage python-dateutil python-geopy python-mock diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 610fb53087b..2620d5272b6 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2678,8 +2678,7 @@ (define-public python-scikit-rf python-pyqtgraph python-qtpy python-scipy)) - (native-inputs (list python-coverage - python-nbval + (native-inputs (list python-nbval python-networkx python-pytest python-pytest-cov diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 69cc7e6ddc5..806120e939d 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3264,7 +3264,6 @@ (define-public python-geopy (list python-geographiclib)) (native-inputs (list python-async-generator - python-coverage python-isort python-pytest python-pytest-aiohttp diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm index f9102d3a447..0786010471f 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -64,7 +64,6 @@ (define-public gpodder (build-system python-build-system) (native-inputs (list intltool - python-coverage python-minimock python-pytest python-pytest-cov @@ -173,7 +172,7 @@ (define-public python-mygpoclient "1fi5x6k1mngr0iviw2s4n1f3y2x7pwqy5ivkcrjdprzvwr37f0mh")))) (build-system python-build-system) (native-inputs - (list python-coverage python-minimock python-nose)) + (list python-minimock python-nose)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index eb8aa17fdfe..f83a23dd0be 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -476,7 +476,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coverage python-coveralls python-nose python-nose2 @@ -564,7 +563,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-pytest)) + (list python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 9175780b748..6600aab6c6b 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -512,7 +512,7 @@ (define-public python-jupyter-packaging (list python-deprecation python-packaging python-setuptools python-tomlkit python-wheel)) (native-inputs - (list python-pypa-build python-coverage python-pytest + (list python-pypa-build python-pytest python-pytest-cov python-pytest-mock)) (home-page "https://jupyter.org") (synopsis "Jupyter packaging utilities") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index bf09c9ec4c1..19f73d562e7 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1364,7 +1364,6 @@ (define args (list cmake googletest pybind11 - python-coverage python-nbval python-pytest python-pytest-runner)) @@ -1443,8 +1442,7 @@ (define-public onnx-optimizer #~(modify-phases #$phases (delete 'relax-requirements))))) (native-inputs - (list cmake python-pytest python-pytest-runner python-nbval - python-coverage)) + (list cmake python-pytest python-pytest-runner python-nbval)) (inputs (list onnx protobuf pybind11)) (propagated-inputs @@ -4487,7 +4485,6 @@ (define-public python-lightning-utilities (build-system python-build-system) (propagated-inputs (list python-importlib-metadata python-packaging python-typing-extensions)) - (native-inputs (list python-coverage)) (home-page "https://github.com/Lightning-AI/utilities") (synopsis "PyTorch Lightning sample project") (description "This package provides common Python utilities and GitHub @@ -4701,7 +4698,6 @@ (define-public python-pytorch-lightning (native-inputs (list python-aiohttp python-cloudpickle - python-coverage python-flaky python-pympler python-pytest @@ -4731,7 +4727,6 @@ (define-public python-torchmetrics python-typing-extensions)) (native-inputs (list python-cloudpickle - python-coverage python-fire python-mir-eval python-mypy @@ -5132,8 +5127,7 @@ (define-public python-gpytorch #~(list "-k" (string-append "not test_deprecated_methods" " and not test_t_matmul_matrix")))) (propagated-inputs (list python-linear-operator python-scikit-learn)) - (native-inputs (list python-coverage - python-flake8-print + (native-inputs (list python-flake8-print python-nbval python-pytest python-setuptools diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index ad026f5d359..fb9ff038de5 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4072,8 +4072,7 @@ (define-public python-pylast ;; https://github.com/pylast/pylast/issues/105 (arguments '(#:tests? #f)) (native-inputs - (list python-coverage python-pytest python-flaky python-pyyaml - python-setuptools-scm)) + (list python-pytest python-flaky python-pyyaml python-setuptools-scm)) (home-page "https://github.com/pylast/pylast") (synopsis "Python interface to Last.fm and Libre.fm") (description "A Python interface to Last.fm and other API-compatible diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index feed16ebcef..4e7e46bf1b3 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1100,8 +1100,7 @@ (define-public python-anaconda-client (list python-clyent python-nbformat python-pyyaml python-requests python-setuptools)) (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-freezegun python-mock python-pillow @@ -1286,8 +1285,7 @@ (define-public conda ;; XXX: This is dragged in by libarchive and is needed at runtime. zstd)) (native-inputs - (list python-coverage - python-flaky + (list python-flaky python-pytest-timeout python-pytest-xprocess python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index ca87289a1e1..eb48ae3fadf 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -411,8 +411,7 @@ (define-public python-vcrpy (propagated-inputs (list python-pyyaml python-six python-wrapt python-yarl)) (native-inputs - (list python-coverage - python-flake8 + (list python-flake8 python-flask python-httplib2 python-ipaddress @@ -1145,7 +1144,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-coverage python-pytest)) + (list python-covdefaults python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 34a9cd73a20..b2d789c92d0 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -109,7 +109,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coverage python-coveralls python-hypothesis python-pyannotate @@ -247,8 +246,7 @@ (define-public python-pybcj (build-system pyproject-build-system) (propagated-inputs (list python-importlib-metadata)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-cov python-setuptools-scm @@ -281,8 +279,7 @@ (define-public python-bcj-cffi (propagated-inputs (list python-cffi python-toml python-setuptools-scm)) (native-inputs - (list python-setuptools python-coverage python-pytest - python-pytest-cov)) + (list python-setuptools python-pytest python-pytest-cov)) (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 / @@ -407,8 +404,7 @@ (define-public python-pyppmd "03w4x26mar0ha73c3v39psn1i0k6xrzwmaxfsxysic73jz99np07")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-benchmark python-pytest-cov @@ -441,7 +437,6 @@ (define-public python-ppmd-cffi (native-inputs (list python-hypothesis python-setuptools-scm - python-coverage python-pytest python-pytest-cov)) (home-page "https://github.com/miurahr/ppmd") @@ -479,7 +474,6 @@ (define-public python-py7zr (list python-setuptools python-wheel python-setuptools-scm - python-coverage python-coveralls python-libarchive-c python-py-cpuinfo diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ba378088cf8..ffac7968e02 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -977,8 +977,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-coverage - python-isort + (native-inputs (list python-isort python-pytest python-pytest-cov python-setuptools @@ -1857,7 +1856,7 @@ (define-public python-flask-misaka "12gm6hq3lvlj0ddw8p6lk5pky8jk3pw758ihffjl49shnnzc68zl")))) (build-system python-build-system) (native-inputs - (list python-coverage python-mock)) + (list python-mock)) (propagated-inputs (list python-flask python-misaka)) (home-page "https://github.com/singingwolfboy/flask-misaka/") @@ -2996,8 +2995,7 @@ (define-public python-zope-interface (build-system python-build-system) (arguments '(#:tests? #f)) ; test suite can't find python-zope-testing (native-inputs - (list python-coverage python-nose python-zope-event - python-zope-testing)) + (list python-nose python-zope-event python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.interface") (synopsis "Python implementation of the \"design by contract\" methodology") @@ -3290,7 +3288,7 @@ (define-public python-zope-hookable "0hc82lfr7bk53nvbxvjkibkarngyrzgfk2i6bg8wshl0ly0pdl19")))) (build-system python-build-system) (native-inputs - (list python-coverage python-zope-testing)) + (list python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.hookable") (synopsis "Zope hookable") (description "This package supports the efficient creation of hookable @@ -4499,7 +4497,7 @@ (define-public python-url (propagated-inputs (list python-publicsuffix)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (arguments `(#:tests? #f)) ; FIXME: tests fail with "ImportError: No module named 'tests'" (home-page "https://github.com/seomoz/url-py") @@ -7168,7 +7166,7 @@ (define-public python-transaction (propagated-inputs (list python-zope-interface)) (native-inputs - (list python-coverage python-mock python-nose)) + (list python-mock python-nose)) (home-page "https://github.com/zopefoundation/transaction") (synopsis "Transaction management for Python") (description "This package contains a generic transaction implementation @@ -7630,7 +7628,6 @@ (define-public python-sanic (list python-bandit python-beautifulsoup4 python-chardet - python-coverage python-cryptography python-docutils python-mypy @@ -8329,7 +8326,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-nose python-selenium python-xunitparser)) + (list python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -8378,8 +8375,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3ca12d05ee5..b849f6fdaa2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -318,7 +318,6 @@ (define-public python-apprise python-requests python-requests-oauthlib)) (native-inputs (list python-babel - python-coverage python-cryptography python-paho-mqtt python-pytest @@ -1020,7 +1019,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-flake8 python-pydocstyle + (propagated-inputs (list python-coveralls python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -1182,7 +1181,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -1306,8 +1305,7 @@ (define-public python-lunr '(list "-k" "not TestLanguageSupport" "--ignore-glob=tests/acceptance_tests/*"))) (native-inputs - (list python-coverage - python-hatch-fancy-pypi-readme + (list python-hatch-fancy-pypi-readme python-hatchling python-pytest python-pytest-timeout @@ -1340,8 +1338,7 @@ (define-public python-mdit-py-plugins (list python-markdown-it-py python-attrs)) (native-inputs - (list python-coverage - python-flit-core + (list python-flit-core python-pytest python-pytest-cov python-pytest-regressions)) @@ -2689,8 +2686,7 @@ (define-public python-bidict "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g")))) (build-system python-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-py python-pytest python-pytest-benchmark @@ -3053,8 +3049,6 @@ (define-public python-sh ;; XXX: A Python 2 test fails when HOME=/homeless-shelter. (setenv "HOME" "/tmp") (invoke "python" "sh.py" "test")))))) - (native-inputs - (list python-coverage)) (home-page "https://github.com/amoffat/sh") (synopsis "Python subprocess replacement") (description "This package provides a replacement for Python's @@ -3076,7 +3070,6 @@ (define-public python-cftime (list python-numpy)) (native-inputs (list python-check-manifest - python-coverage python-coveralls python-cython python-pytest-cov @@ -3581,7 +3574,6 @@ (define-public python-can (native-inputs (list ;; python-canalystii ; Not packed yet python-codecov - python-coverage python-future python-hypothesis python-mock @@ -4519,7 +4511,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-coverage python-pycodestyle python-pydantic python-pytest @@ -5047,8 +5038,7 @@ (define-public python-extension-helpers ;; - _pytest.pathlib.ImportPathMismatchError: ('extension_helpers.conftes (arguments (list #:tests? #f)) (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-pytest-astropy python-pytest-cov python-setuptools-scm @@ -6008,8 +5998,7 @@ (define-public python-pyjwt "1z85kwr945rbzrn5wabrsmck5x8disa9wc7b3y5gci7w65z5qa39")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-cryptography + (list python-cryptography python-pytest python-sphinx python-sphinx-rtd-theme @@ -6237,7 +6226,6 @@ (define-public python-virtualenv-clone (native-inputs (list python-pytest python-tox python-virtualenv - python-coverage python-wheel python-tomli python-hypothesis)) @@ -8202,7 +8190,6 @@ (define-public python-lsp-server (native-inputs (list python-autopep8 python-flake8 - python-coverage python-flaky python-matplotlib python-numpy @@ -10222,7 +10209,6 @@ (define-public python-pikepdf (native-inputs (list pybind11 python-attrs - python-coverage python-hypothesis python-setuptools-scm python-psutil @@ -16049,7 +16035,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coverage python-coveralls python-nose2 + (native-inputs (list python-coveralls python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -17605,8 +17591,7 @@ (define-public python-notebook python-tornado-6 python-traitlets)) (native-inputs - (list python-coverage - python-jupyter-server + (list python-jupyter-server python-nbval python-pytest python-pytest-cov @@ -18367,7 +18352,6 @@ (define-public python-structlog python-hatch-vcs python-hatchling ;; For the tests - python-coverage python-freezegun python-pretend python-pytest @@ -22689,7 +22673,7 @@ (define-public binwalk (lambda _ (setenv "HOME" "")))))) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/ReFirmLabs/binwalk") (synopsis "Firmware analysis tool") (description "Binwalk is a tool for analyzing, reverse engineering, and @@ -23273,8 +23257,7 @@ (define-public python-argcomplete "def __disable_test_console_script")) (invoke "python3" "./test/test.py" "-v"))))))) (native-inputs - (list python-coverage - python-pexpect + (list python-pexpect python-setuptools python-setuptools-scm python-wheel @@ -26267,7 +26250,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-setuptools-scm python-wheel)) + (list python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -27336,7 +27319,7 @@ (define-public python-stone (propagated-inputs (list python-ply python-six)) (native-inputs - (list python-coverage python-mock python-pytest python-pytest-runner)) + (list python-mock python-pytest python-pytest-runner)) (home-page "https://github.com/dropbox/stone") (synopsis "Official Api Spec Language for Dropbox") (description @@ -27592,8 +27575,7 @@ (define-public python-identify ;; system-error "utime" "~A" ("No such file or directory") (delete 'ensure-no-mtimes-pre-1980)))) (native-inputs - (list python-coverage python-pytest python-setuptools - python-ukkonen python-wheel)) + (list python-pytest python-setuptools python-ukkonen python-wheel)) (propagated-inputs (list python-editdistance)) (home-page "https://github.com/chriskuehl/identify") @@ -27689,8 +27671,7 @@ (define-public python-nodeenv "not test_smoke" " and not test_smoke_n_system_special_chars")))) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pytest python-setuptools python-wheel)) @@ -30049,7 +30030,6 @@ (define-public python-anyio python-typing-extensions)) (native-inputs (list python-contextlib2 - python-coverage python-hypothesis python-mock python-pytest @@ -30415,7 +30395,7 @@ (define-public python-forbiddenfruit (lambda _ (invoke "make" "SKIP_DEPS=1")))))) (native-inputs - (list python-nose python-coverage)) + (list python-nose)) (home-page "https://github.com/clarete/forbiddenfruit") (synopsis "Patch python built-in objects") (description "This project allows Python code to extend built-in types.") @@ -30593,7 +30573,6 @@ (define-public python-watchgod "-k" "not test_watch_log and not test_awatch"))) (native-inputs (list python-anyio - python-coverage python-pygments python-pytest python-pytest-asyncio @@ -31387,8 +31366,7 @@ (define-public python-eliot (list python-boltons python-pyrsistent python-six python-zope-interface)) (native-inputs - (list python-coverage - python-dask + (list python-dask python-hypothesis python-pytest python-setuptools @@ -31420,7 +31398,6 @@ (define-public python-pem (build-system python-build-system) (native-inputs (list python-certifi - python-coverage python-pretend python-pyopenssl python-pytest @@ -33414,7 +33391,6 @@ (define-public python-scikit-build gfortran git-minimal/pinned ;for tests ninja - python-coverage python-cython python-hatchling python-hatch-fancy-pypi-readme @@ -34141,8 +34117,7 @@ (define-public python-minikanren python-pytest-cov python-pylint python-sympy - python-versioneer - python-coverage)) + python-versioneer)) (propagated-inputs (list python-toolz python-cons python-multipledispatch python-etuples python-logical-unification)) @@ -35085,8 +35060,7 @@ (define-public nikola python-unidecode python-yapsy)) (native-inputs - (list python-coverage - python-freezegun + (list python-freezegun python-pytest python-pytest-cov)) (arguments @@ -35557,8 +35531,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-mypy - python-pretend python-pytest)) + (native-inputs (list python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -35956,7 +35929,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-shtab)) + (list python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") @@ -35978,8 +35951,7 @@ (define-public python-arpeggio (base32 "0ggdsck1wpladd5bh9drhkmm86bblgk2wagrhn3sdf4v04wkic6n")))) (build-system python-build-system) - (native-inputs (list python-coverage - python-coveralls + (native-inputs (list python-coveralls python-mike python-mkdocs python-pytest diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 7831802284f..18d97ae44eb 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1218,7 +1218,6 @@ (define-public python-dolfin-adjoint (list fenics openmpi pybind11)) (native-inputs (list pkg-config - python-coverage python-decorator python-pkgconfig python-pytest)) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0a6f61e2280..bfc69062587 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2396,8 +2396,7 @@ (define-public python-emcee (base32 "1vbz67cwzig28dlndkm6g246p1vcvj6yy2w65z8cdyffigf1j3lf")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) - (native-inputs (list python-coverage - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-setuptools-scm @@ -6777,8 +6776,7 @@ (define-public python-rpy2 python-numpy zlib)) (native-inputs - (list python-coverage - python-ipython + (list python-ipython python-numpy python-pandas python-pytest diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 0f12f94d0bc..397a477972e 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -435,7 +435,6 @@ (define-public rtv (native-inputs (list ncurses python-coveralls - python-coverage python-mock python-pytest python-vcrpy)) @@ -468,8 +467,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-mock python-pytest python-setuptools diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 90dc011a70e..e424e41a222 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1197,8 +1197,7 @@ (define-public python-halo (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-twine @@ -1229,8 +1228,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (propagated-inputs (list python-colorama)) - (native-inputs (list python-coverage python-nose - python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-log-symbols") (synopsis "Python library with graphical symbols for logging on the terminal") (description "This package provides a Python library with graphical symbols @@ -1257,8 +1255,7 @@ (define-public python-spinners (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) - (native-inputs (list python-coverage python-nose - python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") (description "Spinners is a Python library that contains graphical spinners diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index bf2da58a3ee..2c7fd0365ca 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1674,7 +1674,6 @@ (define-public python-panflute (build-system python-build-system) (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser - python-coverage python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 0016c5bc9b6..1c21f512754 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2064,7 +2064,6 @@ (define-public pre-commit (native-inputs (list git-minimal python-covdefaults - python-coverage python-distlib python-pytest python-pytest-env diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index c29a8b3ca7b..736be82c90b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6893,8 +6893,7 @@ (define-public python-httpretty (when tests? (invoke "nosetests"))))))) (native-inputs - (list python-coverage - python-eventlet + (list python-eventlet python-nose python-rednose python-requests diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 2654f688d4b..1f767ba69b2 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1950,7 +1950,7 @@ (define-public python-xmltodict "08cadlb9vsb4pmzc99lz3a2lx6qcfazyvgk10pcqijvyxlwcdn2h")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-nose python-setuptools python-wheel)) + (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/martinblech/xmltodict") (synopsis "Work with XML like you are working with JSON") (description "This package provides a Python library to convert XML to -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:09 GMT) Full text and rfc822 format available.Message #125 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 07/32] gnu: python-cram: Remove python-coverage native-input. Date: Sat, 1 Jun 2024 17:36:39 +0200
* gnu/packages/python-xyz.scm (python-cram): [native-inputs]: Remove python-coverage. [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Adapt check and patch-source phases to coverage removal. Change-Id: I83fafcdcfbc977f9d3e3411d01d23d9a0e120ec6 --- gnu/packages/python-xyz.scm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b849f6fdaa2..f45f375f38e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15086,25 +15086,17 @@ (define-public python-cram ;; causes the line showing the default shell to break into two ;; lines, but the test expects a single line... (("env\\['COLUMNS'\\] = '80'") - "env['COLUMNS'] = '160'")) - - (substitute* "Makefile" - ;; Recent versions of python-coverage have caused the test - ;; coverage to decrease (as of version 0.7). Allow that. - (("--fail-under=100") - "--fail-under=90")) - - #t)) + "env['COLUMNS'] = '160'")))) (replace 'check ;; The test phase uses the built library and executable. (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv "PATH" (string-append (getenv "PATH") ":" (assoc-ref outputs "out") "/bin")) - (invoke "make" "test")))))) - (build-system python-build-system) + (invoke "make" "quicktest")))))) + (build-system pyproject-build-system) (native-inputs - (list python-coverage python-setuptools python-wheel which)) + (list python-setuptools python-wheel which)) (synopsis "Simple testing framework for command line applications") (description "Cram is a functional testing framework for command line applications. -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:10 GMT) Full text and rfc822 format available.Message #128 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 08/32] gnu: u-boot-tools: Remove python-coverage native-input. Date: Sat, 1 Jun 2024 17:36:40 +0200
* gnu/packages/bootloaders.scm (u-boot-tools): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt patch phase. Change-Id: I94394544079197b4a3f8c53cc0b3d78d1f5dc8be --- gnu/packages/bootloaders.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 0e7bc66bd75..cf568b2bd6a 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -802,8 +802,7 @@ (define-public u-boot-tools (name "u-boot-tools") (native-inputs (modify-inputs (package-native-inputs u-boot) - (prepend python-coverage - python-filelock + (prepend python-filelock python-pycryptodomex python-pytest python-pytest-xdist @@ -820,14 +819,6 @@ (define-public u-boot-tools (("/bin/false") (which "false"))) (substitute* "tools/dtoc/fdt_util.py" (("'cc'") "'gcc'")) - (substitute* "tools/u_boot_pylib/test_util.py" - ;; python3-coverage is simply called coverage in guix. - (("python3-coverage") "coverage") - - ;; Don't require 100% coverage since it's brittle and can - ;; fail with newer versions of coverage or dependencies. - (("raise ValueError\\('Test coverage failure'\\)") - "print('Continuing anyway since Guix does not care :O')")) (substitute* "test/run" ;; Make it easier to find test failures. (("#!/bin/bash") "#!/bin/bash -x") @@ -838,9 +829,9 @@ (define-public u-boot-tools ;; FIXME: test_spl fails, needs further investiation (("test_ofplatdata or test_handoff or test_spl") "test_ofplatdata or test_handoff") - ;; FIXME: code coverage not working - (("run_test \"binman code coverage\"") - "# run_test \"binman code coverage\"") + ;; Disable code coverage tests. + (("run_test \"(\\w+) code coverage\"" all) + (string-append "# " all)) ;; This test would require internet access. (("\\./tools/buildman/buildman") (which "true"))) (substitute* "test/py/tests/test_sandbox_exit.py" -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:10 GMT) Full text and rfc822 format available.Message #131 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 10/32] gnu: python-openid: Remove python-coverage native-input. Date: Sat, 1 Jun 2024 17:36:42 +0200
* gnu/packages/python-web.scm (python-openid): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Rewrite check phase. Change-Id: Id4ea5abc531f5fd84b60ff22407eb608f1e6ac29 --- gnu/packages/python-web.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ffac7968e02..5e585d7b60d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2338,17 +2338,18 @@ (define-public python-openid "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "coverage" "run" "-m" - "unittest" "openid.test.test_suite"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "-m" "unittest" "openid.test.test_suite") + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-defusedxml)) (native-inputs - (list python-coverage python-psycopg2 python-django)) + (list python-psycopg2 python-django)) (home-page "https://github.com/necaris/python3-openid") (synopsis "OpenID support for servers and consumers") (description "This library provides OpenID authentication for Python, both -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:10 GMT) Full text and rfc822 format available.Message #134 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 09/32] gnu: python-aiosqlite: Remove python-coverage native-input. Date: Sat, 1 Jun 2024 17:36:41 +0200
* gnu/packages/databases.scm (python-aiosqlite): [arguments]<#:phases>: Adapt check phase. [native-inputs]: Remove python-coverage. Change-Id: I165d174426022f0603223e3def91ffe280f15899 --- gnu/packages/databases.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 96b2c2a0437..f9202639c53 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3935,11 +3935,8 @@ (define-public python-aiosqlite (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "python" "-m" "coverage" "run" "-m" - "aiosqlite.tests") - (invoke "python" "-m" "coverage" "report"))))))) + (invoke "python" "-m" "aiosqlite.tests"))))))) (native-inputs (list python-flit-core - python-coverage python-mypy)) (home-page "https://github.com/jreese/aiosqlite") (synopsis -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:11 GMT) Full text and rfc822 format available.Message #137 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 11/32] build-system/pyproject: Remove python-coveralls native-input. Date: Sat, 1 Jun 2024 17:36:43 +0200
* gnu/packages/geo.scm (python-cartopy)[native-inputs]: Remove python-coveralls. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coveralls. * gnu/packages/python-compression.scm (python-multivolumefile, python-py7zr)[native-inputs]: Remove python-coveralls. * gnu/packages/python-science.scm (python-trimesh)[native-inputs]: Remove python-coveralls. * gnu/packages/python-web.scm (python-flask-combo-jsonapi) [native-inputs]: Remove python-coveralls. * gnu/packages/python-xyz.scm (python-affine, python-cftime, python-ddlparse, python-tasklogger, python-minikanren, python-arpeggio)[native-inputs]: Remove python-coveralls. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coveralls. * gnu/packages/telegram.scm (tgcli)[native-inputs]: Remove python-coveralls. Change-Id: I47b3c21f985175876618f1457b242e6841eb6d3b --- gnu/packages/geo.scm | 3 +-- gnu/packages/graph.scm | 3 +-- gnu/packages/python-compression.scm | 2 -- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 3 +-- gnu/packages/python-xyz.scm | 12 ++++-------- gnu/packages/syndication.scm | 4 +--- gnu/packages/telegram.scm | 3 +-- 8 files changed, 10 insertions(+), 23 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 806120e939d..be96e6800a3 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1479,8 +1479,7 @@ (define-public python-cartopy (inputs (list geos)) (native-inputs - (list python-coveralls - python-cython + (list python-cython python-pytest python-pytest-cov python-pytest-mpl diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index f83a23dd0be..d66a3676fd2 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -476,7 +476,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coveralls python-nose python-nose2 python-pandas @@ -563,7 +562,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coveralls python-pytest)) + (list python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index b2d789c92d0..5faf7b2a3cb 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -109,7 +109,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coveralls python-hypothesis python-pyannotate python-pytest @@ -474,7 +473,6 @@ (define-public python-py7zr (list python-setuptools python-wheel python-setuptools-scm - python-coveralls python-libarchive-c python-py-cpuinfo python-pyannotate diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f82feab0963..9301e82bb60 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -653,8 +653,7 @@ (define-public python-trimesh (("\\$MESH_PRE") "'$MESH_PRE'"))))))) (native-inputs - (list python-coveralls - python-pyinstrument + (list python-pyinstrument python-pytest python-pytest-cov)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5e585d7b60d..8265ef41aff 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8376,8 +8376,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coveralls - python-pytest + (list python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") (synopsis "Flask extension to quickly create JSON:API 1.0 REST Web APIs") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f45f375f38e..b2a5d234eab 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1019,7 +1019,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-pydocstyle + (propagated-inputs (list python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -3070,7 +3070,6 @@ (define-public python-cftime (list python-numpy)) (native-inputs (list python-check-manifest - python-coveralls python-cython python-pytest-cov python-sphinx @@ -5678,7 +5677,6 @@ (define-public python-ddlparse (build-system pyproject-build-system) (native-inputs (list python-codecov - python-coveralls python-pytest python-pytest-cov python-setuptools @@ -16027,7 +16025,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coveralls python-nose2 + (native-inputs (list python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -34103,8 +34101,7 @@ (define-public python-minikanren (invoke "python" "-m" "pytest" "-v" "tests/" "kanren/")) #t))))) (native-inputs - (list python-coveralls - python-pydocstyle + (list python-pydocstyle python-pytest python-pytest-cov python-pylint @@ -35943,8 +35940,7 @@ (define-public python-arpeggio (base32 "0ggdsck1wpladd5bh9drhkmm86bblgk2wagrhn3sdf4v04wkic6n")))) (build-system python-build-system) - (native-inputs (list python-coveralls - python-mike + (native-inputs (list python-mike python-mkdocs python-pytest python-pytest-runner diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 397a477972e..d102548bb9c 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -434,7 +434,6 @@ (define-public rtv python-requests python-six)) (native-inputs (list ncurses - python-coveralls python-mock python-pytest python-vcrpy)) @@ -467,8 +466,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coveralls - python-mock + (list python-mock python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index 358374a5bb7..c5930180e6a 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -790,8 +790,7 @@ (define-public tgcli (add-installed-pythonpath inputs outputs) (invoke "pytest" "tests"))))))) (native-inputs - `(("coveralls" ,python-coveralls) - ("pytest" ,python-pytest) + `(("pytest" ,python-pytest) ("pytest-click" ,python-pytest-click) ("pytest-cov" ,python-pytest-cov) ("mkdocs" ,python-mkdocs) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:11 GMT) Full text and rfc822 format available.Message #140 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 12/32] build-system/pyproject: Remove python-pycodestyle native-input. Date: Sat, 1 Jun 2024 17:36:44 +0200
* gnu/packages/python-science.scm (python-scipy): [native-inputs]: Remove python-pycodestyle. * gnu/packages/python-xyz.scm (python-jsonargparse, python-lsp-server, python-orderedmultidict, python-progressbar2, python-stem) [native-inputs]: Remove python-pycodestyle. Change-Id: I4518bae13aa0e688bc6e0bb40c07082414e8130f --- gnu/packages/python-science.scm | 1 - gnu/packages/python-xyz.scm | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 9301e82bb60..e20cb56db9c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -296,7 +296,6 @@ (define-public python-scipy python-doit python-hypothesis python-pooch - python-pycodestyle python-pydevtool python-pytest python-pytest-cov diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b2a5d234eab..0b618024383 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4510,7 +4510,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-pycodestyle python-pydantic python-pytest python-pytest-subtests @@ -8180,7 +8179,6 @@ (define-public python-lsp-server python-jedi python-lsp-jsonrpc python-pluggy - python-pycodestyle python-pydocstyle python-ujson python-whatthepatch @@ -9925,7 +9923,7 @@ (define-public python-orderedmultidict (propagated-inputs (list python-six)) (native-inputs - (list python-flake8 python-pycodestyle python-setuptools python-wheel)) + (list python-flake8 python-setuptools python-wheel)) (home-page "https://github.com/gruns/orderedmultidict") (synopsis "Python Ordered Multivalue Dictionary - omdict") (description "This package contains a library for ordered multivalue @@ -18664,7 +18662,6 @@ (define-public python-progressbar2 (list python-six python-utils)) (native-inputs (list python-freezegun - python-pycodestyle python-pytest python-pytest-cache python-pytest-cov @@ -22178,7 +22175,7 @@ (define-public python-stem (invoke "./run_tests.py" "--unit") #t))))) (native-inputs - (list python-mock python-pycodestyle python-pyflakes)) + (list python-mock python-pyflakes)) (home-page "https://stem.torproject.org/") (synopsis "Python controller library that allows applications to interact with Tor") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:12 GMT) Full text and rfc822 format available.Message #143 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 13/32] gnu: python-versioneer: Remove python-pycodestyle native-input. Date: Sat, 1 Jun 2024 17:36:45 +0200
* gnu/packages/python-xyz.scm (python-versioneer): [arguments]<#:phases>: Remove pycodestyle invocation in check phase. [native-inputs]: Remove python-pycodestyle. Change-Id: Ida3fd1e16cb8656be2af666203a82cb9f6d65f75 --- gnu/packages/python-xyz.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0b618024383..3f5cac16d45 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32668,11 +32668,9 @@ (define-public python-versioneer (invoke "python" "setup.py" "make_long_version_py_git") (invoke "pyflakes" "setup.py" "versioneer.py" "git_version.py") (invoke "python" "test/run_pyflakes_src.py") - (invoke "pyflakes" "test") - (invoke "pycodestyle" "--max-line-length=88" - "git_version.py" "versioneer.py"))))))) + (invoke "pyflakes" "test"))))))) (native-inputs - (list git-minimal python-pycodestyle python-pyflakes + (list git-minimal python-pyflakes python-pypa-build python-setuptools python-wheel)) (propagated-inputs (list python-tomli)) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:12 GMT) Full text and rfc822 format available.Message #146 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 14/32] gnu: python-versioneer: Remove python-pyflakes native-input. Date: Sat, 1 Jun 2024 17:36:46 +0200
* gnu/packages/python-xyz.scm (python-versioneer): [arguments]<#:phases>: Remove pyflakes tests. [native-inputs]: Remove python-pyflakes. Change-Id: If2b8ab397f2ad25f73c434d28d8382f13d417f94 --- gnu/packages/python-xyz.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3f5cac16d45..b6260c13f65 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32665,13 +32665,9 @@ (define-public python-versioneer (invoke "python" "test/git/test_git.py" "-v") ;; Some invocation tests require the network. ;;(invoke "python" "test/git/test_invocations.py" "-v") - (invoke "python" "setup.py" "make_long_version_py_git") - (invoke "pyflakes" "setup.py" "versioneer.py" "git_version.py") - (invoke "python" "test/run_pyflakes_src.py") - (invoke "pyflakes" "test"))))))) + (invoke "python" "setup.py" "make_long_version_py_git"))))))) (native-inputs - (list git-minimal python-pyflakes - python-pypa-build python-setuptools python-wheel)) + (list git-minimal python-pypa-build python-setuptools python-wheel)) (propagated-inputs (list python-tomli)) (home-page "https://github.com/python-versioneer/python-versioneer") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:13 GMT) Full text and rfc822 format available.Message #149 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 15/32] gnu: python-re-assert: Remove python-covdefaults native-input. Date: Sat, 1 Jun 2024 17:36:47 +0200
* gnu/packages/python-check.scm (python-re-assert): [native-inputs]: Remove python-covdefaults. Change-Id: Ib30c58b69aef7f255e5893ae6f9a33bdf41ac85d --- gnu/packages/python-check.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index eb48ae3fadf..b7ea36cbea7 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1144,7 +1144,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-pytest)) + (list python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:13 GMT) Full text and rfc822 format available.Message #152 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 16/32] build-system/pyproject: Remove python-codecov native-input. Date: Sat, 1 Jun 2024 17:36:48 +0200
* gnu/packages/android.scm (python-androguard)[native-inputs]: Remove python-codecov. * gnu/packages/astronomy.scm (python-wiimatch, python-tweakwcs) [native-inputs]: Remove python-codecov. * gnu/packages/python-check.scm (python-pytest-trio): [arguments]<#:test-flags>: Remove --cov flag. [native-inputs]: Remove python-pytest-cov. * gnu/packages/python-xyz.scm (python-can, python-ddlparse)[native-inputs]: Remove python-codecov. Change-Id: Ic7d3789b3b30d3263f61442bb4e55fd332a4d2f6 --- gnu/packages/android.scm | 2 +- gnu/packages/astronomy.scm | 8 +++----- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-xyz.scm | 4 +--- 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index ab42f2be980..7cc1fa4ef05 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1074,7 +1074,7 @@ (define-public python-androguard (lambda _ (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-mock python-nose python-nose-timer)) + (list python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 7589ecbb8ae..32fc07d8d86 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4607,8 +4607,7 @@ (define-public python-tweakwcs python-stsci-imagestats python-stsci-stimage)) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-scipy python-setuptools @@ -5274,9 +5273,8 @@ (define-public python-wiimatch "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy python-setuptools)) - (native-inputs (list python-codecov python-pytest python-pytest-cov - python-pytest-doctestplus python-setuptools-scm - python-wheel)) + (native-inputs (list python-pytest python-pytest-cov python-wheel + python-pytest-doctestplus python-setuptools-scm)) (home-page "https://github.com/spacetelescope/wiimatch") (synopsis "Optimal matching of weighted N-dimensional image intensity data") diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b7ea36cbea7..ed3625421ae 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1194,7 +1194,7 @@ (define-public python-pytest-trio (arguments (list #:test-flags '(list "-W" "error" "-ra" "-v" "--pyargs" - "pytest_trio" "--verbose" "--cov" "-k" + "pytest_trio" "--verbose" "-k" (string-append ;; Needs network "not test_async_yield_fixture_with_nursery" @@ -1204,7 +1204,6 @@ (define-public python-pytest-trio (native-inputs (list python-hypothesis python-pytest - python-pytest-cov python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b6260c13f65..446326afc74 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3572,7 +3572,6 @@ (define-public python-can python-setuptools)) (native-inputs (list ;; python-canalystii ; Not packed yet - python-codecov python-future python-hypothesis python-mock @@ -5675,8 +5674,7 @@ (define-public python-ddlparse (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) (build-system pyproject-build-system) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-setuptools python-tox -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:14 GMT) Full text and rfc822 format available.Message #155 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 17/32] build-system/pyproject: Remove python-tox native-input. Date: Sat, 1 Jun 2024 17:36:49 +0200
* gnu/packages/check.scm (python-pytest-regressions)[native-inputs]: Remove python-tox. * gnu/packages/diffoscope.scm (reprotest)[native-inputs]: Remove python-tox. * gnu/packages/django.scm (python-django-extensions)[native-inputs]: Remove python-tox. * gnu/packages/logging.scm (tailon)[native-inputs]: Remove python-tox. * gnu/packages/messaging.scm (python-harmony)[native-inputs]: Remove python-tox. * gnu/packages/python-check.scm (python-vcrpy)[native-inputs]: Remove python-tox. * gnu/packages/python-web.scm (python-omnipath, python-sanic)[native-inputs]: Remove python-tox. * gnu/packages/python-xyz.scm (python-lunr, python-bidict, python-jsonargparse, python-ddlparse, python-virtualenv-clone, python-honcho, python-pdfminer-six, python-shshsh, python-marshmallow-jsonapi, python-apispec-webframeworks, bpython, python-loguru, python-ansicolors)[native-inputs]: Remove python-tox. * gnu/packages/radio.scm (chirp)[native-inputs]: Remove python-tox. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-tox. Change-Id: I39dadb40a73ad1c64ba8b9ef9d1b3fe7d1498b5a --- gnu/packages/check.scm | 1 - gnu/packages/diffoscope.scm | 1 - gnu/packages/django.scm | 1 - gnu/packages/logging.scm | 2 +- gnu/packages/messaging.scm | 2 -- gnu/packages/python-check.scm | 1 - gnu/packages/python-web.scm | 2 -- gnu/packages/python-xyz.scm | 27 ++++++++------------------- gnu/packages/radio.scm | 3 +-- gnu/packages/terminals.scm | 5 ++--- 10 files changed, 12 insertions(+), 33 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index b7116b3f0e2..6042f763f15 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3675,7 +3675,6 @@ (define-public python-pytest-regressions python-pandas python-pillow python-restructuredtext-lint - python-tox python-setuptools-scm python-pytest)) (home-page "https://github.com/ESSS/pytest-regressions") diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm index 67567a6b310..bfe4ce99fdc 100644 --- a/gnu/packages/diffoscope.scm +++ b/gnu/packages/diffoscope.scm @@ -273,7 +273,6 @@ (define-public reprotest ("python-magic " ,python-magic) ("python-pytest " ,python-pytest) ("python-tlsh" ,python-tlsh) - ("python-tox" ,python-tox) ("unzip" ,unzip) ("xxd" ,xxd))) (build-system python-build-system) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 298968d37c6..f5b1e0462bb 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -260,7 +260,6 @@ (define-public python-django-extensions (native-inputs (list python-mock python-factory-boy - python-tox python-pytest python-pytest-cov python-pytest-django diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index a757c22154f..3c593001d00 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -134,7 +134,7 @@ (define-public tailon "0xkmrivzilsc9wqr8ms67v7399gxnh7pv5687k4rdpdgz4309fwc")))) (build-system python-build-system) (native-inputs - (list python-tox python-wheel)) + (list python-wheel)) (inputs (list python-pyyaml-5 python-sockjs-tornado python-tornado-http-auth python-tornado python-deepmerge)) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index cb72bfb3e25..35ff807e12c 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3504,8 +3504,6 @@ (define-public python-harmony (base32 "1bm9xcnzpnpj6rlhbrnl2abwclzl7ivgh1vb5644y9mnhcs489js")))) (build-system python-build-system) - (native-inputs - (list python-tox)) (inputs (list python-librecaptcha python-keyring python-requests)) (synopsis "Discord account management") diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index ed3625421ae..8fd3a8924f1 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -419,7 +419,6 @@ (define-public python-vcrpy python-pytest python-pytest-cov python-pytest-httpbin - python-tox python-urllib3)) (home-page "https://github.com/kevin1024/vcrpy") (synopsis "Automatically mock your HTTP interactions") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8265ef41aff..51753adae77 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2134,7 +2134,6 @@ (define-public python-omnipath python-pytest-socket python-requests-mock python-setuptools-scm - python-tox python-setuptools python-wheel)) (home-page "https://omnipathdb.org/") @@ -7640,7 +7639,6 @@ (define-public python-sanic python-setuptools python-slotscheck python-towncrier - python-tox python-types-ujson python-uvicorn python-wheel)) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 446326afc74..c83146372bf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1308,8 +1308,7 @@ (define-public python-lunr (list python-hatch-fancy-pypi-readme python-hatchling python-pytest - python-pytest-timeout - python-tox)) + python-pytest-timeout)) (propagated-inputs (list python-importlib-metadata python-typing-extensions)) (home-page @@ -2695,8 +2694,7 @@ (define-public python-bidict python-sortedcollections python-sortedcontainers python-sphinx - python-sphinx-autodoc-typehints - python-tox)) + python-sphinx-autodoc-typehints)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'relax-reqs @@ -4513,7 +4511,6 @@ (define-public python-jsonargparse python-pytest python-pytest-subtests python-responses - python-tox python-types-requests python-setuptools python-wheel)) @@ -5677,7 +5674,6 @@ (define-public python-ddlparse (list python-pytest python-pytest-cov python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-pyparsing)) (home-page "https://github.com/shinichi-takii/ddlparse") @@ -6219,7 +6215,6 @@ (define-public python-virtualenv-clone (delete-file "tox.ini") (invoke "pytest" "-vvv" "tests"))))))) (native-inputs (list python-pytest - python-tox python-virtualenv python-wheel python-tomli @@ -11342,7 +11337,7 @@ (define-public python-honcho (base32 "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj")))) (build-system python-build-system) (native-inputs - (list python-pytest python-mock python-tox which)) ;for tests + (list python-pytest python-mock which)) ;for tests (propagated-inputs (list python-jinja2)) (arguments @@ -20129,7 +20124,7 @@ (define-public python-pdfminer-six (propagated-inputs (list python-chardet python-cryptography python-sortedcontainers)) (native-inputs - (list python-nose python-tox)) + (list python-nose)) (home-page "https://github.com/pdfminer/pdfminer.six") (synopsis "PDF parser and analyzer") (description "@code{pdfminer.six} is a community maintained fork of @@ -21276,9 +21271,7 @@ (define-public python-shshsh "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f")))) (build-system pyproject-build-system) (native-inputs - (list python-poetry-core - python-pytest - python-tox)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/zqqqqz2000/shshsh") (synopsis "Write Shell commands simply and safely within Python") (description "This package provides a way to write Shell commands from @@ -25144,8 +25137,7 @@ (define-public python-marshmallow-jsonapi python-flake8-bugbear python-flask python-mock - python-pytest - python-tox)) + python-pytest)) (home-page "https://github.com/marshmallow-code/marshmallow-jsonapi") (synopsis "JSON:API 1.0 formatting with Marshmallow") (description @@ -25209,7 +25201,6 @@ (define-public python-apispec-webframeworks python-pytest python-pyyaml python-tornado - python-tox python-wheel)) (home-page "https://github.com/marshmallow-code/apispec-webframeworks") (synopsis "Web framework plugins for apispec") @@ -26667,7 +26658,7 @@ (define-public bpython python-watchdog python-jedi)) (native-inputs - (list python-sphinx python-mock python-tox python-wheel)) + (list python-sphinx python-mock python-wheel)) (home-page "https://bpython-interpreter.org/") (synopsis "Fancy interface to the Python interpreter") (description "Bpython is a fancy interface to the Python @@ -32933,7 +32924,6 @@ (define-public python-loguru python-sphinx python-sphinx-autobuild python-sphinx-rtd-theme - python-tox python-setuptools python-wheel)) (home-page "https://github.com/Delgan/loguru") @@ -35290,8 +35280,7 @@ (define-public python-ansicolors (base32 "1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr")))) (build-system python-build-system) (native-inputs - (list python-tox - python-pytest-cov + (list python-pytest-cov unzip)) (home-page "https://github.com/jonathaneunice/colors/") (synopsis "ANSI colors for Python") diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 56e674a8edc..bfd601564d8 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3171,8 +3171,7 @@ (define-public chirp python-pep8 python-pytest python-pytest-mock - python-pyyaml - python-tox)) + python-pyyaml)) (inputs (list python-future python-importlib-resources diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index e424e41a222..d61dc6cb3c7 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1199,7 +1199,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-tox python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") @@ -1228,7 +1227,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (propagated-inputs (list python-colorama)) - (native-inputs (list python-nose python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/py-log-symbols") (synopsis "Python library with graphical symbols for logging on the terminal") (description "This package provides a Python library with graphical symbols @@ -1255,7 +1254,7 @@ (define-public python-spinners (substitute* "requirements-dev.txt" (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) - (native-inputs (list python-nose python-setuptools python-tox python-wheel)) + (native-inputs (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") (description "Spinners is a Python library that contains graphical spinners -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:14 GMT) Full text and rfc822 format available.Message #158 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 18/32] build-system/pyproject: Remove python-mypy native-input. Date: Sat, 1 Jun 2024 17:36:50 +0200
* gnu/packages/astronomy.scm (python-poliastro)[native-inputs]: Remove python-mypy. * gnu/packages/databases.scm (python-psycopg2)[native-inputs]: Remove python-mypy. * gnu/packages/engineering.scm (uranium, cura)[native-inputs]: Remove python-mypy. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-mypy. * gnu/packages/machine-learning.scm (python-imbalanced-learn, python-captum, python-torchmetrics, python-pyro-ppl)[native-inputs]: Remove python-mypy. * gnu/packages/python-science.scm (python-scipy)[native-inputs]: Remove python-mypy. * gnu/packages/python-web.scm (python-huggingface-hub, python-asgiref, python-starsessions-for-pytorch-lightning, python-fastapi)[native-inputs]: Remove python-mypy. * gnu/packages/python-xyz.scm (python-pyls-black, kalamine, python-pydantic-cli, python-marshmallow, python-apispec, python-typeguard, python-trio-typing, python-verspec, python-catalogue, python-duckdb)[native-inputs]: Remove python-mypy. * gnu/packages/serialization.scm (python-msgspec)[native-inputs]: Remove python-mypy. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-mypy. Change-Id: I947656750aa0c7732291d826641736aaefab274e --- gnu/packages/astronomy.scm | 1 - gnu/packages/databases.scm | 1 - gnu/packages/engineering.scm | 2 -- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 4 ---- gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 5 +---- gnu/packages/python-xyz.scm | 22 +++++++++------------- gnu/packages/serialization.scm | 1 - gnu/packages/virtualization.scm | 3 +-- 10 files changed, 11 insertions(+), 30 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 32fc07d8d86..77bf41b68b9 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2606,7 +2606,6 @@ (define-public python-poliastro (setenv "HOME" "/tmp")))))) (native-inputs (list python-hypothesis - python-mypy python-flit-core python-pytest python-pytest-cov diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index f9202639c53..ad27ec621ca 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4112,7 +4112,6 @@ (define-public python-psycopg (delete 'sanity-check)))) (native-inputs (list python-cython-3 - python-mypy python-psycopg-pool python-pytest python-pytest-asyncio diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 2620d5272b6..af79172e53b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3923,7 +3923,6 @@ (define-public uranium graphviz pkg-config python-pytest - python-mypy python-certifi python-twisted)) (propagated-inputs @@ -4126,7 +4125,6 @@ (define-public cura (build-system qt-build-system) (native-inputs (list python-certifi - python-mypy python-pytest python-requests)) (inputs diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index b396a97c0bc..ecc2dc2bb4c 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -218,7 +218,6 @@ (define-public python-uqbar (native-inputs (list graphviz python-isort - python-mypy python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 19f73d562e7..686cd726e37 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1920,7 +1920,6 @@ (define-public python-imbalanced-learn (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) (native-inputs (list python-keras - python-mypy python-pandas python-pytest python-pytest-cov @@ -4521,7 +4520,6 @@ (define-public python-captum python-flask-compress python-ipython python-ipywidgets - python-mypy python-parameterized python-pytest python-pytest-cov @@ -4729,7 +4727,6 @@ (define-public python-torchmetrics (list python-cloudpickle python-fire python-mir-eval - python-mypy python-pandas python-psutil python-pytest @@ -5055,7 +5052,6 @@ (define-public python-pyro-ppl python-isort python-lap python-matplotlib - python-mypy python-nbformat python-nbsphinx python-nbstripout diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index e20cb56db9c..567fa5d1559 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -273,7 +273,6 @@ (define-public python-scipy '()) (list python-matplotlib python-mpmath - python-mypy python-numpy python-numpydoc python-pydata-sphinx-theme diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 51753adae77..db815812299 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -196,7 +196,6 @@ (define-public python-huggingface-hub python-fastapi python-jedi python-jinja2 - python-mypy python-numpy python-pillow python-pydantic @@ -717,7 +716,7 @@ (define-public python-asgiref (when tests? (invoke "pytest" "-vv"))))))) (native-inputs - (list python-mypy python-pytest python-pytest-asyncio)) + (list python-pytest python-pytest-asyncio)) (propagated-inputs (list python-typing-extensions)) (home-page "https://github.com/django/asgiref/") @@ -8963,7 +8962,6 @@ (define-public python-starsessions-for-pytorch-lightning python-starlette-for-fastapi-0.88)) (native-inputs (list python-httpx - python-mypy python-poetry-core python-pytest python-pytest-asyncio @@ -9009,7 +9007,6 @@ (define-public python-fastapi python-hatchling python-isort python-jose - python-mypy python-passlib python-peewee python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c83146372bf..963747bb06a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3020,7 +3020,7 @@ (define-public python-pyls-black (propagated-inputs (list python-black python-lsp-server python-toml python-tomli)) (native-inputs - (list python-isort python-mypy python-pytest + (list python-isort python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") @@ -6785,7 +6785,7 @@ (define-public kalamine ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs - (list python-hatchling python-mypy python-pytest)) + (list python-hatchling python-pytest)) (home-page "https://github.com/OneDeadKey/kalamine") (synopsis "Keyboard layout maker") (description @@ -8002,8 +8002,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-mypy - python-pytest)) + (list python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") (description @@ -23461,6 +23460,8 @@ (define-public python-duckdb (list #:test-flags '(list "--ignore=tests/slow/test_h2oai_arrow.py" + ;; stubs require mypy and don't actually check functionality. + "--ignore=tests/stubs/test_stubs.py" ;; Don't install anything, thank you. "-k" "not test_install_non_existent_extension") #:phases @@ -23485,7 +23486,6 @@ (define-public python-duckdb (list pybind11 python-fsspec python-google-cloud-storage - python-mypy python-numpy python-pandas python-psutil @@ -25107,7 +25107,6 @@ (define-public python-marshmallow (list python-packaging)) (native-inputs (list python-flake8-bugbear - python-mypy python-pytest python-pytz python-simplejson @@ -25169,7 +25168,6 @@ (define-public python-apispec (native-inputs (list python-flake8-bugbear python-marshmallow - python-mypy python-pytest python-pyyaml python-setuptools @@ -26586,8 +26584,7 @@ (define-public python-typeguard ;; XXX: These fail when installed as a library: ;; https://github.com/agronholm/typeguard/issues/176 "not usefixtures and not test_cached_module"))))))) - (native-inputs (list python-mypy - python-pytest + (native-inputs (list python-pytest python-setuptools-scm python-typing-extensions)) (home-page "https://github.com/agronholm/typeguard") @@ -29057,8 +29054,7 @@ (define-public python-trio-typing (native-inputs (list python-attrs python-pytest python-setuptools python-wheel)) (propagated-inputs - (list python-mypy python-mypy-extensions python-trio - python-typing-extensions)) + (list python-mypy-extensions python-trio python-typing-extensions)) (home-page "https://github.com/python-trio/trio-typing") (synopsis "Static type checking support for Trio and related projects") (description @@ -35498,7 +35494,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-mypy python-pretend python-pytest)) + (native-inputs (list python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -36245,7 +36241,7 @@ (define-public python-catalogue "0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak")))) (build-system python-build-system) (native-inputs (list python-pytest)) - (inputs (list python python-zipp python-typing-extensions python-mypy)) + (inputs (list python python-zipp python-typing-extensions)) (home-page "https://github.com/explosion/catalogue") (synopsis "Lightweight function registries for your library") (description diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 728d6404bb9..b39ce176502 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -719,7 +719,6 @@ (define-public python-msgspec (native-inputs (list python-attrs python-gcovr python-msgpack - python-mypy python-pytest python-setuptools-scm python-versioneer diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 85ad5031059..1a75ae0a09e 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2809,8 +2809,7 @@ (define-public python-transient python-requests python-toml)) (native-inputs - (list python-mypy - python-pyhamcrest + (list python-pyhamcrest python-setuptools python-twine python-wheel)) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:15 GMT) Full text and rfc822 format available.Message #161 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 19/32] gnu: python-immutables: Remove python-mypy native-input. Date: Sat, 1 Jun 2024 17:36:51 +0200
* gnu/packages/python-xyz.scm (python-immutables): [origin]: Use git-fetch to use upstream test-data directory. [build-system]: Move to pyrpoject-build-system. [native-inputs]: Remove python-mypy. [arguments]<#:phases>: Add phase to remove python-mypy native-input. Change-Id: Ie67f634ffecbc3711f354e915b2fab54a1639925 --- gnu/packages/python-xyz.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 963747bb06a..180158e3b64 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15824,13 +15824,22 @@ (define-public python-immutables (version "0.18") (source (origin - (method url-fetch) - (uri (pypi-uri "immutables" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/immutables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk")))) + (base32 "1xjbkgls0dqrvpg4yzkdzz6aayizxcv5chjc5gyynk196wyshw4m")))) (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-mypy-dependency + (lambda _ + (delete-file "tests/test_mypy.py") + (delete-file "tests/conftest.py")))))) (native-inputs - (list python-mypy python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/MagicStack/immutables") (synopsis "High-performance immutable mapping type for Python") (description -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:15 GMT) Full text and rfc822 format available.Message #164 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 20/32] build-system/pyproject: Remove python-isort native-input. Date: Sat, 1 Jun 2024 17:36:52 +0200
* gnu/packages/bioinformatics.scm (python-cooler, scvelo)[native-inputs]: Remove python-isort. * gnu/packages/databases.scm (aerich)[native-inputs]: Remove python-isort. * gnu/packages/django.scm (python-django-taggit)[native-inputs]: Remove python-isort. * gnu/packages/finance.scm (python-trezor)[native-inputs]: Remove python-isort. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-isort. * gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-isort. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-isort. * gnu/packages/machine-learning.scm (python-funsor, python-pyro-ppl)[native-inputs]: Remove python-isort. * gnu/packages/mail.scm (python-hyperkitty, postorius)[native-inputs]: Remove python-isort. * gnu/packages/protobuf.scm (python-pure-protobuf)[native-inputs]: Remove python-isort. * gnu/packages/python-check.scm (python-pytest-toolbox) [native-inputs]: Remove python-pytest-isort. * gnu/packages/python-web.scm (python-ovh, python-tinycss2, python-fastapi)[native-inputs]: Remove python-isort. * gnu/packages/python-xyz.scm (python-jupytext, python-pyls-black, python-eventlet, python-textdistance, python-validators)[native-inputs]: Remove python-isort. * gnu/packages/sphinx.scm (python-sphinx, python-sphinx-5)[native-inputs]: Remove python-isort. * gnu/packages/statistics.scm (python-statsmodels)[native-inputs]: Remove python-isort. * gnu/packages/virtualization.scm (python-qemu-qmp)[native-inputs]: Remove python-isort. Change-Id: I6dc9a49cdbb10ddd33ea32854f891312d3a29e53 --- gnu/packages/bioinformatics.scm | 2 -- gnu/packages/databases.scm | 1 - gnu/packages/django.scm | 2 +- gnu/packages/finance.scm | 1 - gnu/packages/geo.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 4 +--- gnu/packages/mail.scm | 3 +-- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-check.scm | 1 - gnu/packages/python-web.scm | 4 +--- gnu/packages/python-xyz.scm | 7 ++----- gnu/packages/sphinx.scm | 2 -- gnu/packages/statistics.scm | 1 - gnu/packages/virtualization.scm | 1 - 16 files changed, 7 insertions(+), 27 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index d8994cf65fa..366caec31fd 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -17972,7 +17972,6 @@ (define-public python-cooler python-simplejson)) (native-inputs (list python-hatchling - python-isort python-pytest python-pytest-cov)) ;; Almost all the projects of the Mirnylab are moved under Open2C umbrella @@ -21816,7 +21815,6 @@ (define-public scvelo (propagated-inputs (list python-anndata python-hnswlib - python-isort python-igraph python-loompy python-louvain diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index ad27ec621ca..9ec7855109c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3251,7 +3251,6 @@ (define-public aerich (list poetry python-bandit python-cryptography - python-isort python-pydantic python-pytest python-pytest-asyncio diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index f5b1e0462bb..48b1b38a97f 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -387,7 +387,7 @@ (define-public python-django-taggit (lambda _ (invoke "python3" "-m" "django" "test" "--settings=tests.settings")))))) (propagated-inputs - (list python-django python-isort)) + (list python-django)) (native-inputs (list python-pytest python-mock)) (home-page diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 7579001dd1f..6f70d61f700 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1149,7 +1149,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-isort python-pillow python-protobuf python-pyqt diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index be96e6800a3..73644ab2bb4 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3263,7 +3263,6 @@ (define-public python-geopy (list python-geographiclib)) (native-inputs (list python-async-generator - python-isort python-pytest python-pytest-aiohttp python-readme-renderer diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index bbb19bd4cb8..39215a0ccb6 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -216,7 +216,6 @@ (define-public mdpo (list python-bump2version python-flake8-implicit-str-concat python-flake8-print - python-isort python-pytest python-pytest-cov python-sphinx diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index ecc2dc2bb4c..f6a58943ecb 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -217,7 +217,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-isort python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 686cd726e37..bec948a4bfd 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -175,8 +175,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-isort - python-nbsphinx + (native-inputs (list python-nbsphinx python-pandas python-pillow python-pyro-api @@ -5049,7 +5048,6 @@ (define-public python-pyro-ppl (list ninja jupyter python-graphviz - python-isort python-lap python-matplotlib python-nbformat diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 5743558e76b..7c4b6f2cb26 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -3724,7 +3724,6 @@ (define-public python-hyperkitty (native-inputs (list python-beautifulsoup4 python-elasticsearch - python-isort python-lxml python-mock python-whoosh)) @@ -3763,7 +3762,7 @@ (define-public postorius (list python-readme-renderer python-mailmanclient python-django python-django-mailman3)) (native-inputs - (list python-beautifulsoup4 python-isort python-mock python-vcrpy)) + (list python-beautifulsoup4 python-mock python-vcrpy)) (home-page "https://gitlab.com/mailman/postorius") (synopsis "Web user interface for GNU Mailman") (description diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 502ad09a3a6..9c4d56bd384 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -469,7 +469,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 8fd3a8924f1..1087f7b9168 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1495,7 +1495,6 @@ (define-public python-pytest-toolbox (native-inputs (list python-pydantic python-pytest - python-pytest-isort python-setuptools python-wheel)) (home-page "https://github.com/samuelcolvin/pytest-toolbox") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index db815812299..a040eb81448 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -976,8 +976,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-isort - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-sphinx @@ -9005,7 +9004,6 @@ (define-public python-fastapi (native-inputs (list python-databases python-flask python-hatchling - python-isort python-jose python-passlib python-peewee diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 180158e3b64..4538dccd84c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -478,7 +478,6 @@ (define-public python-jupytext python-autopep8 python-flake8 python-gitpython - python-isort python-ipython-genutils python-jupyter-server python-pyaml @@ -3020,7 +3019,7 @@ (define-public python-pyls-black (propagated-inputs (list python-black python-lsp-server python-toml python-tomli)) (native-inputs - (list python-isort python-pytest + (list python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") @@ -4242,7 +4241,6 @@ (define-public python-eventlet python-hatchling python-hatch-vcs python-pytest - python-isort python-twine)) (arguments (list @@ -12914,7 +12912,6 @@ (define-public python-textdistance #t))))) (native-inputs (list python-hypothesis - python-isort python-numpy python-pytest python-pytest-runner @@ -25046,7 +25043,7 @@ (define-public python-validators (propagated-inputs (list python-decorator python-six)) (native-inputs - (list python-isort python-pytest)) + (list python-pytest)) (home-page "https://github.com/kvesteri/validators") (synopsis "Data validation library") (description diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index ed3fba059d8..26ee93b3aaf 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -93,7 +93,6 @@ (define-public python-sphinx python-html5lib python-imagesize python-importlib-metadata - python-isort python-jinja2 python-mypy python-packaging @@ -196,7 +195,6 @@ (define-public python-sphinx-5 python-html5lib python-imagesize python-importlib-metadata - python-isort python-jinja2 python-mypy python-packaging diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index bfc69062587..de4fb6e3aa7 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2446,7 +2446,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-isort python-joblib python-matplotlib python-pytest diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 1a75ae0a09e..b0b71cceaf5 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2031,7 +2031,6 @@ (define-public python-qemu-qmp (native-inputs (list python-avocado-framework python-flake8 - python-isort python-pylint python-setuptools python-setuptools-scm -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:15 GMT) Full text and rfc822 format available.Message #167 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 21/32] build-system/pyproject: Remove python-twine native-input. Date: Sat, 1 Jun 2024 17:36:53 +0200
* gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-twine. * gnu/packages/machine-learning.scm (python-linear-operator, python-gpytorch)[native-inputs]: Remove python-twine. * gnu/packages/python-check.scm (python-testfixtures)[native-inputs]: Remove python-twine. * gnu/packages/python-web.scm (python-translation-finder) [native-inputs]: Remove python-twine. * gnu/packages/python-xyz.scm (python-cftime, python-eventlet, python-eliot, python-arpeggio)[native-inputs]: Remove python-twine. * gnu/packages/terminals.scm (python-halo)[native-inputs]: Remove python-twine. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-twine. Change-Id: Ie9ff17126810dc3e2b17ad42a1f765361401eae7 --- gnu/packages/gettext.scm | 1 - gnu/packages/machine-learning.scm | 6 ++---- gnu/packages/python-check.scm | 2 +- gnu/packages/python-web.scm | 2 +- gnu/packages/python-xyz.scm | 6 +----- gnu/packages/terminals.scm | 1 - gnu/packages/virtualization.scm | 1 - 7 files changed, 5 insertions(+), 14 deletions(-) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 39215a0ccb6..b3c807c6774 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -221,7 +221,6 @@ (define-public mdpo python-sphinx python-sphinx-argparse python-sphinx-rtd-theme - python-twine python-yamllint)) (propagated-inputs (list python-polib python-pymd4c)) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index bec948a4bfd..27749093ee5 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5094,8 +5094,7 @@ (define-public python-linear-operator (native-inputs (list python-flake8-print python-pytest python-setuptools - python-setuptools-scm - python-twine)) + python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") (synopsis "Linear operator implementation") (description "LinearOperator is a PyTorch package for abstracting away the @@ -5124,8 +5123,7 @@ (define-public python-gpytorch (native-inputs (list python-flake8-print python-nbval python-pytest - python-setuptools - python-twine)) + python-setuptools)) (home-page "https://gpytorch.ai") (synopsis "Implementation of Gaussian Processes in PyTorch") (description diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1087f7b9168..d2618807bc7 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -245,7 +245,7 @@ (define-public python-testfixtures (native-inputs (list python-pytest python-pytest-cov ;;("python-pytest-django" ,python-pytest-django) - python-twine python-wheel)) + python-wheel)) (synopsis "Tests components for Python") (description "Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a040eb81448..08be81ad1c5 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6224,7 +6224,7 @@ (define-public python-translation-finder (list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (native-inputs (list python-codecov python-codacy-coverage python-pytest-cov - python-pytest-runner python-twine)) + python-pytest-runner)) (home-page "https://weblate.org/") (synopsis "Translation file finder for Weblate") (description "This package provides a function to find translation file in diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4538dccd84c..9396290401d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3070,7 +3070,6 @@ (define-public python-cftime python-cython python-pytest-cov python-sphinx - python-twine python-wheel)) (home-page "https://unidata.github.io/cftime/") (synopsis "Library for time handling") @@ -4240,8 +4239,7 @@ (define-public python-eventlet (list python-black python-hatchling python-hatch-vcs - python-pytest - python-twine)) + python-pytest)) (arguments (list #:test-flags @@ -31351,7 +31349,6 @@ (define-public python-eliot python-sphinx python-sphinx-rtd-theme python-testtools - python-twine python-twisted)) (home-page "https://github.com/itamarst/eliot/") (synopsis "Eliot: the logging system that tells you why it happened") @@ -35924,7 +35921,6 @@ (define-public python-arpeggio python-mkdocs python-pytest python-pytest-runner - python-twine python-wheel)) (home-page "https://github.com/textX/Arpeggio") (synopsis "Packrat parser interpreter for Python") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index d61dc6cb3c7..d39d1347a2c 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1199,7 +1199,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index b0b71cceaf5..16919ccee51 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2810,7 +2810,6 @@ (define-public python-transient (native-inputs (list python-pyhamcrest python-setuptools - python-twine python-wheel)) (home-page "https://github.com/ALSchwalm/transient") (synopsis "QEMU Wrapper written in Python") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:16 GMT) Full text and rfc822 format available.Message #170 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 23/32] gnu: python-tinycss2: Remove python-pytest-cov native-input. Date: Sat, 1 Jun 2024 17:36:55 +0200
* gnu/packages/python-web.scm (python-tinycss2): [arguments]<#:phases>: Add phase remove-unwanted-dependency to ignore coverage options. [native-inputs]: Remove python-pytest-cov. Change-Id: I853fe3371be84be1655db0ee8d1dca8d23c50ef9 --- gnu/packages/python-web.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c1f803cb131..707bf903bd1 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5897,11 +5897,18 @@ (define-public python-tinycss2 (sha256 (base32 "0zyc48vbmczpqj7f3f0d7zb3bz29fyj50dg0m6bbwbr5i88kq3sq")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'remove-unwanted-dependencies + (lambda _ + (substitute* "pyproject.toml" + (("^addopts.*") ""))))))) (propagated-inputs (list python-webencodings)) (native-inputs - (list python-flit python-pytest python-pytest-cov - python-pytest-flake8 python-pytest-isort)) + (list python-flit python-pytest python-pytest-flake8 python-pytest-isort)) (home-page "https://tinycss2.readthedocs.io/") (synopsis "Low-level CSS parser for Python") (description "@code{tinycss2} can parse strings, return Python objects -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:16 GMT) Full text and rfc822 format available.Message #173 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 24/32] gnu: python-django-contact-form: Remove python-pytest-cov native-input. Date: Sat, 1 Jun 2024 17:36:56 +0200
* gnu/packages/django.scm (python-django-contact-form): [native-inputs]: Remove python-pytest-cov. [build-system]: Upgrade to pyproject-build-system. [arguments]<#:phases>: Remove coverage tests for check phase. Change-Id: I4d0fc406401b7e923f7efa084dbe8ea3753e50fc --- gnu/packages/django.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 3ab2bc139d1..726dd77639e 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -838,16 +838,13 @@ (define-public python-django-contact-form (sha256 (base32 "1my9hkrylckp5vfqg9b0kncrdlxjnwxll56sdciqn4v19i4wbq1y")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - (invoke "coverage" "run" "--source" "contact_form" - "runtests.py")))))) - (native-inputs - (list python-coverage)) + (invoke "python" "runtests.py")))))) (propagated-inputs (list python-django)) (home-page "https://github.com/ubernostrum/django-contact-form") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:17 GMT) Full text and rfc822 format available.Message #176 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 25/32] gnu: python-dateutil: Remove python-pytest-cov native-input. Date: Sat, 1 Jun 2024 17:36:57 +0200
* gnu/packages/time.scm (python-dateutil): [native-inputs]: Remove python-pytest-cov. [arguments]<#:phases>: Add remove-pytest-cov-dep phase. Change-Id: Id82a147d6e40383ecc2661ac896b65b858c181e0 --- gnu/packages/time.scm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 6e34f80a79d..99cf7ceb6a6 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -246,14 +246,20 @@ (define-public python-dateutil (build-system pyproject-build-system) (arguments (list - #:test-flags '(list ; avoid freezegun dependency - "--ignore=dateutil/test/test_utils.py" - "--ignore=dateutil/test/test_rrule.py" - ;; XXX: Fails to get timezone from /etc/localtime. - "--ignore=dateutil/test/test_tz.py"))) + #:test-flags '(list "dateutil/test" "docs" + ;; avoid freezegun dependency + "--ignore=dateutil/test/test_utils.py" + "--ignore=dateutil/test/test_rrule.py" + ;; XXX: Fails to get timezone from /etc/localtime. + "--ignore=dateutil/test/test_tz.py") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-pytest-cov-dep + (lambda _ + (substitute* "dateutil/test/conftest.py" + (("item\\.add_marker\\(pytest\\.mark\\.no_cover\\)") + "pass"))))))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:40:17 GMT) Full text and rfc822 format available.Message #179 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 26/32] build-system/pyproject: Remove python-pytest-isort native-input. Date: Sat, 1 Jun 2024 17:36:58 +0200
* gnu/packages/dav.scm (radicale): [native-inputs]: Remove python-pytest-isort. * gnu/packages/python-web.scm (python-tinycss): [arguments]<#:test-flags>: Ignore isort tests. [native-inputs]: Remove python-pytest-isort. Change-Id: I706e8c310adbeda49b91c6815d299172ce05df22 --- gnu/packages/dav.scm | 1 - gnu/packages/python-web.scm | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 0612a72c831..99284220846 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -59,7 +59,6 @@ (define-public radicale (native-inputs (list python-pytest python-pytest-flake8 - python-pytest-isort python-pytest-runner python-waitress)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 707bf903bd1..0b794590620 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5861,10 +5861,9 @@ (define-public python-tinycss (build-system pyproject-build-system) (arguments (list #:test-flags - '(list "-k" "not test_speedups"))) + '(list "-k" "not ISORT and not test_speedups"))) (native-inputs (list python-pytest-flake8 - python-pytest-isort python-pytest-runner python-setuptools python-wheel)) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:41:02 GMT) Full text and rfc822 format available.Message #182 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 22/32] build-system/pyproject: Remove python-pytest-cov native-input. Date: Sat, 1 Jun 2024 17:36:54 +0200
* gnu/packages/astronomy.scm (python-astroml, python-casa-formats-io, python-cdflib, python-czml3, python-poliastro, python-tweakwcs, python-wiimatch, python-stcal)[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-timeout, 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/databases.scm (python-alembic)[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, python-pyro-ppl)[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-trimesh, 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-cloud-init, 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-legacy-api-wrap, python-path, python-pip-run, python-debugpy, python-notebook, python-ipywidgets, python-qstylizer, python-cookiecutter, python-pyqtgraph, python-codespell, python-inflect, python-lazy-loader, python-pymemcache, python-natsort, python-mwclient, python-flasgger, python-tempora, python-outcome, python-trio, 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, nikola, 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. Change-Id: Ia8c96b18a60b6ceb00b345ef06351eae1a68e070 --- gnu/packages/astronomy.scm | 10 +-- gnu/packages/audio.scm | 2 +- gnu/packages/backup.scm | 2 +- gnu/packages/bioinformatics.scm | 9 +-- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 8 +- gnu/packages/cpp.scm | 1 - gnu/packages/databases.scm | 2 +- gnu/packages/dav.scm | 2 - gnu/packages/django.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.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 | 19 ++--- gnu/packages/mastodon.scm | 1 - 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 | 11 +-- gnu/packages/python-compression.scm | 9 +-- gnu/packages/python-crypto.scm | 3 +- gnu/packages/python-science.scm | 16 ++-- gnu/packages/python-web.scm | 59 ++++---------- gnu/packages/python-xyz.scm | 121 +++++++--------------------- gnu/packages/sphinx.scm | 1 - gnu/packages/statistics.scm | 6 +- 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 - 37 files changed, 84 insertions(+), 234 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 77bf41b68b9..1510ecab6de 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -601,7 +601,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-setuptools python-wheel)) (home-page "https://astroml.org") @@ -2041,7 +2041,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)) (propagated-inputs @@ -2113,7 +2112,6 @@ (define-public python-cdflib (list python-astropy python-hypothesis python-pytest - python-pytest-cov python-pytest-remotedata python-setuptools-scm python-xarray @@ -2230,7 +2228,6 @@ (define-public python-czml3 (native-inputs (list python-astropy python-pytest - python-pytest-cov python-pytest-mypy python-setuptools python-wheel)) @@ -2608,7 +2605,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)) @@ -3388,7 +3384,6 @@ (define-public python-stcal (list python-cython-3 python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-setuptools-scm python-setuptools @@ -4607,7 +4602,6 @@ (define-public python-tweakwcs python-stsci-stimage)) (native-inputs (list python-pytest - python-pytest-cov python-scipy python-setuptools python-setuptools-scm)) @@ -5272,7 +5266,7 @@ (define-public python-wiimatch "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy python-setuptools)) - (native-inputs (list python-pytest python-pytest-cov python-wheel + (native-inputs (list python-pytest python-wheel python-pytest-doctestplus python-setuptools-scm)) (home-page "https://github.com/spacetelescope/wiimatch") (synopsis diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index e6d16211fd4..724430dae36 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6197,7 +6197,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 663eb2568fe..566ea06338b 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -1357,7 +1357,7 @@ (define-public borgmatic python-jsonschema python-requests python-ruamel.yaml)) - (native-inputs (list python-flexmock python-pytest python-pytest-cov)) + (native-inputs (list python-flexmock python-pytest)) (home-page "https://torsion.org/borgmatic/") (synopsis "Simple, configuration-driven backup software") (description diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 366caec31fd..84e03a65e1f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3011,7 +3011,7 @@ (define-public python-biom-format ;;python-scikit-bio ;mutually recursive dependency python-scipy)) (native-inputs - (list python-cython python-pytest python-pytest-cov python-nose)) + (list python-cython python-pytest python-nose)) (home-page "https://www.biom-format.org") (synopsis "Biological Observation Matrix (BIOM) format utilities") (description @@ -10188,7 +10188,7 @@ (define-public python-screed (base32 "0slva743xn93h4sl5zg2as4ricnnj5pp6nw9dm4qclk4i9xglkvk")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest-cov + (list python-pytest python-pytest-runner python-setuptools python-wheel)) @@ -17921,7 +17921,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") @@ -17971,9 +17970,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 8fec2f8e2f2..29974dfd8b6 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -376,7 +376,6 @@ (define-public meson-python python-cython 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 6042f763f15..6b16ec7711b 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1530,7 +1530,7 @@ (define-public python-pytest-nunit (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;no tests included (propagated-inputs (list python-attrs python-pytest)) - (native-inputs (list python-pytest python-pytest-cov python-setuptools + (native-inputs (list python-pytest python-setuptools python-wheel python-xmlschema)) (home-page "https://github.com/pytest-dev/pytest-nunit") (synopsis "Pytest plugin for generating NUnit3 test result XML output") @@ -1796,7 +1796,7 @@ (define-public python-pytest-timeout (add-installed-pythonpath inputs outputs) (invoke "pytest" "-vv")))))) (propagated-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest)) (native-inputs (list python-pexpect)) (home-page "https://github.com/pytest-dev/pytest-timeout") @@ -2493,7 +2493,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 @@ -2667,7 +2666,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 @@ -3242,7 +3240,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 ba2698056da..9c693fb16c3 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1190,7 +1190,6 @@ (define-public cpplint (getenv "TMP_PYTHONPATH"))))))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-runner python-testfixtures)) (home-page "https://github.com/cpplint/cpplint") diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 9ec7855109c..8abea7ec385 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3763,7 +3763,7 @@ (define-public python-alembic (base32 "0lxi2g2025lz5k7k5dd5fc1lfijqi2yw6qqyjzp073z6laa8cckw")))) (build-system pyproject-build-system) (native-inputs - (list python-mock python-pytest-cov)) + (list python-mock python-pytest)) (propagated-inputs (list python-dateutil python-sqlalchemy python-mako python-editor)) (home-page "https://bitbucket.org/zzzeek/alembic") diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index b30b1ef5a59..0612a72c831 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -58,7 +58,6 @@ (define-public radicale (build-system python-build-system) (native-inputs (list python-pytest - python-pytest-cov python-pytest-flake8 python-pytest-isort python-pytest-runner @@ -146,7 +145,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 48b1b38a97f..3ab2bc139d1 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -261,7 +261,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 1da41415194..542895c8779 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -1798,7 +1798,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 af79172e53b..eaff8546dc4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2681,7 +2681,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/fontutils.scm b/gnu/packages/fontutils.scm index 84eb33d19bf..46b06765f0c 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -856,7 +856,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 73644ab2bb4..a33de4bd669 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -935,7 +935,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") @@ -1481,7 +1481,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 b3c807c6774..d239dea20a4 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -217,7 +217,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 f6a58943ecb..44ff4dc20d4 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -159,7 +159,6 @@ (define-public python-graphviz graphviz python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) @@ -218,7 +217,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 6600aab6c6b..1745cd1f491 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -512,8 +512,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 @@ -681,7 +680,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") @@ -1081,8 +1079,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 27749093ee5..a3c598ba1c8 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -926,8 +926,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 @@ -1796,7 +1795,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") @@ -1921,7 +1920,6 @@ (define-public python-imbalanced-learn (native-inputs (list python-keras python-pandas python-pytest - python-pytest-cov python-setuptools python-wheel tensorflow)) @@ -3659,8 +3657,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 @@ -3686,7 +3683,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/") @@ -3828,7 +3824,6 @@ (define-public python-keras python-markdown python-pandas python-pytest - python-pytest-cov python-pytest-pep8 python-pytest-timeout python-pytest-xdist @@ -3924,7 +3919,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") @@ -4432,8 +4427,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 @@ -4521,7 +4515,6 @@ (define-public python-captum python-ipywidgets python-parameterized python-pytest - python-pytest-cov python-scikit-learn python-setuptools)) (home-page "https://captum.ai") @@ -4729,7 +4722,6 @@ (define-public python-torchmetrics python-pandas python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-rerunfailures python-pytest-timeout @@ -5058,7 +5050,6 @@ (define-public python-pyro-ppl python-pillow python-pypandoc python-pytest - python-pytest-cov python-pytest-xdist python-scikit-learn python-scipy diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm index b8006292cab..670a47ad821 100644 --- a/gnu/packages/mastodon.scm +++ b/gnu/packages/mastodon.scm @@ -179,7 +179,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/messaging.scm b/gnu/packages/messaging.scm index 35ff807e12c..1fd2ce391cf 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3213,7 +3213,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 @@ -3226,8 +3225,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 4e7e46bf1b3..2659fc8eff5 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1145,7 +1145,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 cdefa485836..870d5ae02c3 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 9c4d56bd384..91c8731726b 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -469,7 +469,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 d2618807bc7..4643ce91e2e 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -243,7 +243,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") @@ -417,7 +417,6 @@ (define-public python-vcrpy python-ipaddress python-mock python-pytest - python-pytest-cov python-pytest-httpbin python-urllib3)) (home-page "https://github.com/kevin1024/vcrpy") @@ -724,7 +723,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 @@ -1880,7 +1878,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 @@ -2703,7 +2701,7 @@ (define-public python-sybil (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest"))))))) - (native-inputs (list python-pytest python-pytest-cov)) + (native-inputs (list python-pytest)) (home-page "https://github.com/simplistix/sybil") (synopsis "Automated testing for examples in code and documentation") (description @@ -2835,8 +2833,7 @@ (define-public python-vulture ;; skip test that uses python-pint ;; pint has many dependencies "not test_whitelists_with_python"))))))) - (native-inputs (list python-pytest python-pytest-cov - python-setuptools python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-toml)) (home-page "https://github.com/jendrikseipp/vulture") (synopsis "Find dead Python code") diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5faf7b2a3cb..fd194571633 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -112,7 +112,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") @@ -247,7 +246,6 @@ (define-public python-pybcj (native-inputs (list python-hypothesis python-pytest - python-pytest-cov python-setuptools-scm python-setuptools python-wheel)) @@ -278,7 +276,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 / @@ -406,7 +404,6 @@ (define-public python-pyppmd (list python-hypothesis python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-timeout python-setuptools-scm python-setuptools @@ -436,8 +433,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 @@ -478,7 +474,6 @@ (define-public python-py7zr python-pyannotate python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-remotedata python-pytest-timeout)) (home-page "https://github.com/miurahr/py7zr") diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 7aaa37d7965..6965a330624 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -457,7 +457,7 @@ (define-public python-certauth (propagated-inputs (list python-pyopenssl python-tldextract)) (native-inputs - (list python-pytest-cov)) + (list python-pytest)) (home-page "https://github.com/ikreymer/certauth") (synopsis "Certificate authority creation tool") (description "This package provides a small library, built on top of @@ -1501,7 +1501,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 567fa5d1559..4511d9bc7c8 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -297,7 +297,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/") @@ -652,8 +651,7 @@ (define-public python-trimesh "'$MESH_PRE'"))))))) (native-inputs (list python-pyinstrument - python-pytest - python-pytest-cov)) + python-pytest)) (propagated-inputs (list python-chardet python-colorlog @@ -1122,7 +1120,6 @@ (define-public python-pandarallel (list python-mkdocs-material python-numpy python-pytest - python-pytest-cov python-pytest-xdist python-setuptools python-wheel)) @@ -1357,8 +1354,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 @@ -1899,7 +1895,7 @@ (define-public python-upsetplot (propagated-inputs (list python-matplotlib python-pandas)) (native-inputs - (list python-pytest-runner python-pytest-cov)) + (list python-pytest-runner)) (home-page "https://upsetplot.readthedocs.io") (synopsis "Draw UpSet plots with Pandas and Matplotlib") (description @@ -2048,7 +2044,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 @@ -3090,7 +3086,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 @@ -3179,7 +3175,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 08be81ad1c5..c1f803cb131 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -201,7 +201,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 @@ -314,7 +313,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 @@ -432,7 +430,7 @@ (define-public python-aiosignal (build-system pyproject-build-system) (arguments (list #:test-flags #~(list "tests"))) (propagated-inputs (list python-frozenlist)) - (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov + (native-inputs (list python-pytest python-pytest-asyncio python-setuptools python-wheel)) (home-page "https://github.com/aio-libs/aiosignal") (synopsis "Callback manager for Python @code{asyncio} projects") @@ -681,12 +679,11 @@ (define-public python-aiostream (sha256 (base32 "0l2ijb7yk0820wiyf6zrzx8fhzf8925an7r06mcaw3in1mr6rssq")))) - (build-system python-build-system) + (build-system pyproject-build-system) (native-inputs (list python-setuptools python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-runner python-wheel)) (home-page "https://github.com/vxgmichel/aiostream") @@ -977,7 +974,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)) @@ -1000,7 +996,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)) @@ -1271,7 +1266,6 @@ (define-public python-httplib2 python-future python-mock python-pytest - python-pytest-cov python-pytest-forked python-pytest-randomly python-pytest-timeout @@ -1301,8 +1295,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" @@ -1327,7 +1320,6 @@ (define-public python-cheroot python-pyopenssl python-pypytools python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-requests @@ -1403,7 +1395,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 @@ -1472,8 +1463,7 @@ (define-public python-jose #t))))) (native-inputs (list ;; All native inputs are for tests. - python-pyasn1 python-pytest python-pytest-cov - python-pytest-runner)) + python-pyasn1 python-pytest python-pytest-runner)) (propagated-inputs (list python-cryptography python-ecdsa python-rsa python-six)) (synopsis "JOSE implementation in Python") @@ -1519,7 +1509,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") @@ -1586,12 +1576,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 @@ -2534,8 +2523,7 @@ (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 - python-pytest-xdist)) + (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") (description @@ -2592,7 +2580,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/") @@ -3551,7 +3538,7 @@ (define-public python-apiron (propagated-inputs (list python-requests)) (native-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest)) (home-page "https://github.com/ithaka/apiron") (synopsis "Python wrapper for interacting with RESTful APIs") (description @@ -3815,7 +3802,6 @@ (define-public python-aioftp (list python-async-timeout python-pytest python-pytest-asyncio - python-pytest-cov python-setuptools python-trustme python-wheel)) @@ -3922,7 +3908,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") @@ -5877,8 +5863,7 @@ (define-public python-tinycss (list #:test-flags '(list "-k" "not test_speedups"))) (native-inputs - (list python-pytest-cov - python-pytest-flake8 + (list python-pytest-flake8 python-pytest-isort python-pytest-runner python-setuptools @@ -5953,7 +5938,7 @@ (define-public python-cssselect2 (propagated-inputs (list python-tinycss2)) (native-inputs - (list python-pytest-cov python-pytest-runner)) + (list python-pytest-runner)) (home-page "https://cssselect2.readthedocs.io/") (synopsis "CSS selectors for Python ElementTree") (description "@code{cssselect2} is a straightforward implementation of @@ -6079,7 +6064,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)) @@ -6434,7 +6418,6 @@ (define-public python-httpcore (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpbin python-pytest-trio python-uvicorn @@ -6609,7 +6592,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 @@ -6649,9 +6632,7 @@ (define-public python-warcio "test_capture_https_proxy_same_session") " and not "))))) (native-inputs - ;; These inputs are required for the test suite. - (list python-httpbin python-pytest-cov python-requests - python-wsgiprox)) + (list python-httpbin python-pytest python-requests python-wsgiprox)) (home-page "https://github.com/webrecorder/warcio") (synopsis "Streaming web archival archive (WARC) library") (description "warcio is a Python library to read and write the WARC format @@ -6765,12 +6746,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))) - (arguments '(#:test-target "pytest")) + (list python-pytest python-pytest-runner)) (home-page "https://docs.pylonsproject.org/projects/venusian") (synopsis "Library for deferring decorator actions") (description @@ -7365,7 +7343,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)) (home-page "https://github.com/canonical/cloud-init") @@ -7751,8 +7728,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") @@ -8784,7 +8760,6 @@ (define-public python-zeep python-pretend python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpx python-requests-mock)) (home-page "https://docs.python-zeep.org/en/stable/") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9396290401d..c8766db819b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -321,7 +321,6 @@ (define-public python-apprise python-cryptography python-paho-mqtt python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-setuptools @@ -421,7 +420,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/") @@ -586,8 +585,7 @@ (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 - python-brotli)) + (list python-cython python-mock python-pytest python-brotli)) (home-page "https://github.com/getlogbook/logbook") (synopsis "Logbook is a logging replacement for Python") (description @@ -1018,8 +1016,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-pydocstyle - python-pytest python-pytest-cov)) + (propagated-inputs (list python-pydocstyle python-pytest )) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") (synopsis "Matrices describing affine transformation of the plane") @@ -1256,7 +1253,6 @@ (define-public python-contourpy pkg-config pybind11 python-pytest - python-pytest-cov python-wurlitzer)) (home-page "https://contourpy.readthedocs.io/") (synopsis @@ -1338,7 +1334,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") @@ -1669,7 +1664,7 @@ (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 + (list python-pytest python-pytest-benchmark python-pytest-mpl python-pytest-subtests python-setuptools python-setuptools-scm python-wheel)) (propagated-inputs @@ -2527,7 +2522,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") @@ -2688,7 +2682,6 @@ (define-public python-bidict python-py python-pytest python-pytest-benchmark - python-pytest-cov python-setuptools-scm python-sortedcollections python-sortedcontainers @@ -3574,7 +3567,6 @@ (define-public python-can python-parameterized python-pyserial python-pytest - python-pytest-cov python-pytest-runner python-pytest-timeout python-wheel)) @@ -4070,8 +4062,7 @@ (define-public dosage python-requests python-six)) (native-inputs - (list python-pytest-cov python-pytest-xdist python-responses - python-setuptools-scm)) + (list python-pytest-xdist python-responses python-setuptools-scm)) (home-page "https://github.com/webcomics/dosage") (synopsis "Comic strip downloader and archiver") (description "Dosage is designed to keep a local copy of specific webcomics and other @@ -4937,7 +4928,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 @@ -5030,7 +5020,6 @@ (define-public python-extension-helpers (native-inputs (list python-pytest python-pytest-astropy - python-pytest-cov python-setuptools-scm python-setuptools python-wheel)) @@ -5168,7 +5157,7 @@ (define-public python-mizani (list python-matplotlib python-numpy python-pandas python-scipy)) (native-inputs (list python-setuptools python-setuptools-scm - python-pytest python-pytest-cov tzdata)) + python-pytest tzdata)) (home-page "https://github.com/has2k1/mizani") (synopsis "Create data visualizations in Python") (description @@ -5557,8 +5546,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 @@ -5667,10 +5654,7 @@ (define-public python-ddlparse (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) (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-pyparsing)) (home-page "https://github.com/shinichi-takii/ddlparse") (synopsis "Parses and converts DDL to BigQuery JSON schema") @@ -7639,8 +7623,7 @@ (define-public python-robotframework-pythonlibcore (when tests? (invoke "utest/run.py"))))))) (native-inputs - (list python-pytest python-pytest-cov python-pytest-mockito - python-robotframework)) + (list python-pytest python-pytest-mockito python-robotframework)) (home-page "https://github.com/robotframework/PythonLibCore") (synopsis "Robot Framework Python library tools") (description "PythonLibCore provides tools for creating larger test @@ -8180,7 +8163,6 @@ (define-public python-lsp-server python-pandas python-pylint python-pytest - python-pytest-cov python-rope python-setuptools python-wheel)) @@ -8710,7 +8692,6 @@ (define-public python-sparse python-importlib-metadata python-pytest python-pytest-black - python-pytest-cov python-setuptools)) (home-page "https://github.com/pydata/sparse/") (synopsis "Library for multi-dimensional sparse arrays") @@ -9169,7 +9150,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/") @@ -9890,7 +9870,7 @@ (define-public python-multidict "1kjrxav572j45xvr1iy60zb2g8zqvrinzdkl4ax36js4vczckl8d")))) (build-system pyproject-build-system) (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 @@ -10197,7 +10177,6 @@ (define-public python-pikepdf python-setuptools-scm python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-dateutil @@ -10776,8 +10755,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile python-setuptools)) (native-inputs - (list python-fsspec python-pytest - python-pytest-cov python-wheel)) + (list python-fsspec python-pytest python-wheel)) (home-page "https://imageio.github.io/") (synopsis "Library for reading and writing a wide range of image data") (description @@ -11064,7 +11042,6 @@ (define-public python-manimpango (list pkg-config python-cython python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs @@ -11557,7 +11534,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 @@ -11688,7 +11664,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 @@ -11722,7 +11697,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 @@ -11783,7 +11757,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 @@ -11818,7 +11791,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 @@ -11879,7 +11851,6 @@ (define-public python-jaraco-test (native-inputs (list python-pytest python-pytest-black python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -11913,7 +11884,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 @@ -12058,7 +12028,6 @@ (define-public python-ipyparallel (list python-ipython python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado python-testpath)) (propagated-inputs @@ -13356,7 +13325,7 @@ (define-public python-three-merge (propagated-inputs (list python-diff-match-patch)) (native-inputs - (list python-flaky python-pytest python-pytest-cov + (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") @@ -13680,7 +13649,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/") @@ -14319,7 +14287,6 @@ (define-public python-sentry-sdk python-mock python-pyrsistent python-pytest - python-pytest-cov python-pytest-django python-pytest-forked python-pytest-localserver @@ -16046,7 +16013,7 @@ (define-public python-sniffio (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-curio python-pytest python-pytest-cov)) + (list python-curio python-pytest)) (home-page "https://github.com/python-trio/sniffio") (synopsis "Detect which async library a program is running under") (description "This package detects which async library a program is @@ -16180,7 +16147,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") @@ -16295,7 +16261,7 @@ (define-public python-legacy-api-wrap (build-system python-build-system) (propagated-inputs (list python-get-version python-pytest python-pytest-black - python-pytest-cov python-setuptools)) + python-setuptools)) (home-page "https://github.com/flying-sheep/legacy-api-wrap") (synopsis "Legacy API wrapper") (description "This module defines a decorator to wrap legacy APIs. The @@ -16557,7 +16523,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))) @@ -16663,7 +16628,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))) @@ -17017,7 +16981,6 @@ (define-public python-debugpy python-flask python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-requests)) @@ -17578,7 +17541,6 @@ (define-public python-notebook (list python-jupyter-server python-nbval python-pytest - python-pytest-cov python-requests python-requests-unixsocket python-setuptools @@ -17628,8 +17590,7 @@ (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 - python-pytz)) + (list python-ipykernel python-jsonschema python-pytest python-pytz)) (home-page "https://ipython.org") (synopsis "IPython HTML widgets for Jupyter") (description "Ipywidgets are interactive HTML widgets for Jupyter @@ -18246,7 +18207,6 @@ (define-public python-qstylizer (list python-pbr python-pytest python-pytest-catchlog - python-pytest-cov python-pytest-mock python-pytest-runner python-pytest-xdist)) @@ -19434,7 +19394,6 @@ (define-public python-cookiecutter git python-freezegun python-pytest - python-pytest-cov python-pytest-mock)) (propagated-inputs (list python-arrow python-binaryornot @@ -19828,8 +19787,7 @@ (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 @@ -20014,7 +19972,6 @@ (define-public python-codespell (native-inputs (list python-pygments python-pytest - python-pytest-cov python-pytest-dependency python-tomli python-setuptools @@ -21107,7 +21064,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 @@ -21673,8 +21629,7 @@ (define-public python-lazy-loader "0dwghffnsjjf4pi4gwbl43rx04jmap375hdamafs5cpm6j78js1v")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest - python-pytest-cov)) + (list python-pytest)) (propagated-inputs (list python-flit-core)) (home-page "https://scientific-python.org/specs/spec-0001/") @@ -22241,8 +22196,7 @@ (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 - python-wheel)) + (list python-faker python-pytest python-setuptools python-wheel)) (home-page "https://github.com/pinterest/pymemcache") (synopsis "Comprehensive, fast, pure Python memcached client") (description @@ -22863,8 +22817,7 @@ (define-public python-natsort (when tests? (invoke "pytest" "-v"))))))) (native-inputs - (list python-hypothesis python-pytest-cov python-pytest-mock - python-pytest)) + (list python-hypothesis python-pytest-mock python-pytest)) (propagated-inputs ; TODO: Add python-fastnumbers. (list python-pyicu)) (home-page "https://github.com/SethMMorton/natsort") @@ -24291,7 +24244,7 @@ (define-public python-mwclient (propagated-inputs (list python-requests-oauthlib python-six)) (native-inputs - (list python-mock python-pytest python-pytest-cov + (list python-mock python-pytest python-pytest-runner python-responses)) (home-page "https://github.com/btongminh/mwclient") (synopsis "MediaWiki API client") @@ -25249,7 +25202,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/") @@ -25961,7 +25913,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 @@ -28949,7 +28900,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") @@ -29022,7 +28973,6 @@ (define-public python-trio python-pyopenssl python-pytest python-pytest-xdist - python-pytest-cov python-trustme python-setuptools python-wheel)) @@ -29265,7 +29215,6 @@ (define-public python-apscheduler python-pyside-6 python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado5)) (home-page "https://github.com/agronholm/apscheduler") (synopsis "Task scheduling library for Python") @@ -29936,7 +29885,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 @@ -30059,8 +30008,7 @@ (define-public python-argh (when tests? (invoke "pytest" "-vv"))))))) (propagated-inputs - (list python-iocapture python-mock python-pytest python-pytest-cov - python-pytest-xdist)) + (list python-iocapture python-mock python-pytest python-pytest-xdist)) (home-page "https://github.com/neithere/argh/") (synopsis "Argparse wrapper with natural syntax") (description @@ -30202,7 +30150,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)) @@ -30518,7 +30465,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") @@ -30552,7 +30498,6 @@ (define-public python-watchgod python-pygments python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-mock python-pytest-sugar python-pytest-toolbox @@ -31676,7 +31621,6 @@ (define-public python-cmd2 (list python-invoke python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-setuptools-scm @@ -32372,7 +32316,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") @@ -32918,7 +32862,6 @@ (define-public python-loguru python-mypy python-pre-commit python-pytest - python-pytest-cov python-pytest-mypy-plugins python-sphinx python-sphinx-autobuild @@ -32977,7 +32920,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") @@ -33367,7 +33310,6 @@ (define-public python-scikit-build python-packaging python-path python-pytest - python-pytest-cov python-pytest-mock python-pytest-virtualenv python-pytest-xdist @@ -33940,7 +33882,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") @@ -34081,7 +34023,6 @@ (define-public python-minikanren (native-inputs (list python-pydocstyle python-pytest - python-pytest-cov python-pylint python-sympy python-versioneer)) @@ -34238,7 +34179,7 @@ (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 @@ -34753,7 +34694,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") @@ -35028,8 +34969,7 @@ (define-public nikola python-yapsy)) (native-inputs (list python-freezegun - python-pytest - python-pytest-cov)) + python-pytest)) (arguments (list #:phases @@ -35279,8 +35219,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 @@ -35527,7 +35466,6 @@ (define-public python-shtab (native-inputs (list bash python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-setuptools-scm @@ -36114,7 +36052,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 26ee93b3aaf..b977367ee35 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -721,7 +721,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 de4fb6e3aa7..b8b162b0602 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2268,7 +2268,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 @@ -2397,7 +2397,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)) @@ -6778,8 +6777,7 @@ (define-public python-rpy2 (list python-ipython python-numpy python-pandas - python-pytest - python-pytest-cov)) + python-pytest)) (home-page "https://rpy2.github.io") (synopsis "Python interface to the R language") (description "rpy2 is a redesign and rewrite of rpy. It is providing a diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 96df50d7470..4b372cb6148 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -463,7 +463,6 @@ (define-public todoman (native-inputs (list python-setuptools-scm python-pytest - python-pytest-cov python-freezegun)) (propagated-inputs (list python-atomicwrites diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 2c7fd0365ca..f9f0b96f48a 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1676,7 +1676,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 2b5236279b5..6e34f80a79d 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -394,7 +394,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") @@ -514,7 +513,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 d52d872909d..c0a4907b1b6 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -971,7 +971,6 @@ (define-public sshuttle (list python-setuptools-scm ;; For tests only. python-mock - python-pytest-cov python-pytest-runner)) (home-page "https://github.com/sshuttle/sshuttle") (synopsis "VPN that transparently forwards connections over SSH") diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 736be82c90b..2780672b1ce 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5111,7 +5111,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") @@ -8736,7 +8735,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 7da18bc821c..0f0b653ea2e 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -656,7 +656,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.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:41:02 GMT) Full text and rfc822 format available.Message #185 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 27/32] build-system/pyproject: Remove python-pytest-black native-input. Date: Sat, 1 Jun 2024 17:36:59 +0200
* gnu/packages/check.scm (python-pytest-perf, python-pytest-enabler) [native-inputs]: Remove python-pytest-black. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-black. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-jaraco-text, python-legacy-api-wrap, python-path, python-pip-run, python-inflect, python-isort, python-tempora, python-sparse)[native-inputs]: Remove python-pytest-black. Change-Id: Ib46f1c4a3cc33821cda3d7b2172d36158aa812c9 --- gnu/packages/check.scm | 2 -- gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 21 ++++----------------- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 6b16ec7711b..f8ead8df4e4 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2491,7 +2491,6 @@ (define-public python-pytest-enabler python-jaraco-functools python-toml)) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -2664,7 +2663,6 @@ (define-public python-pytest-perf "and not upstream_url")))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0b794590620..98dc11a9e48 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -311,7 +311,6 @@ (define-public python-portend (propagated-inputs (list python-tempora)) ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c8766db819b..8dd5bf2e9e3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8691,7 +8691,6 @@ (define-public python-sparse (list python-dask python-importlib-metadata python-pytest - python-pytest-black python-setuptools)) (home-page "https://github.com/pydata/sparse/") (synopsis "Library for multi-dimensional sparse arrays") @@ -11532,7 +11531,6 @@ (define-public python-importlib-resources (string-append (getcwd) "/_custom_build"))))))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -11662,7 +11660,6 @@ (define-public python-jaraco-classes #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -11695,7 +11692,6 @@ (define-public python-jaraco-collections ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy @@ -11755,7 +11751,6 @@ (define-public python-jaraco-context #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -11789,7 +11784,6 @@ (define-public python-jaraco-functools (native-inputs (list python-jaraco-classes python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -11849,7 +11843,6 @@ (define-public python-jaraco-test (list #:test-flags '(list "-k" "http"))) (propagated-inputs (list python-jaraco-context python-jaraco-functools)) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -11882,7 +11875,6 @@ (define-public python-jaraco-text ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy @@ -16260,8 +16252,7 @@ (define-public python-legacy-api-wrap "06qhp0g543dy98vpa41hwdalvdbsjfc3ldk474yr9sd75mhl8jh3")))) (build-system python-build-system) (propagated-inputs - (list python-get-version python-pytest python-pytest-black - python-setuptools)) + (list python-get-version python-pytest python-setuptools)) (home-page "https://github.com/flying-sheep/legacy-api-wrap") (synopsis "Legacy API wrapper") (description "This module defines a decorator to wrap legacy APIs. The @@ -16521,7 +16512,6 @@ (define-public python-path python-packaging python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -16626,7 +16616,6 @@ (define-public python-pip-run (append python-nbformat python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -21062,7 +21051,6 @@ (define-public python-inflect (propagated-inputs (list python-pydantic)) (native-inputs (list python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -24092,7 +24080,8 @@ (define-public python-isort (arguments (list #:test-flags '(list "tests/unit/" "-k" "not test_gitignore" - "--ignore=tests/unit/test_deprecated_finders.py") + "--ignore=tests/unit/test_deprecated_finders.py" + "--ignore=tests/unit/profiles/test_black.py") #:phases #~(modify-phases %standard-phases (add-after 'install 'install-example-plugins @@ -24110,8 +24099,7 @@ (define-public python-isort (apply invoke "pip" "--no-cache-dir" "--no-input" "install" "--user" "--no-deps" example-whls))))))) (native-inputs - (list python-black - python-colorama + (list python-colorama python-hypothesmith python-libcst-minimal python-natsort @@ -25911,7 +25899,6 @@ (define-public python-tempora (native-inputs (list python-freezegun python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:41:02 GMT) Full text and rfc822 format available.Message #188 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 28/32] build-system/pyproject: Remove python-pytest-flake8 native-input. Date: Sat, 1 Jun 2024 17:37:00 +0200
* gnu/packages/check.scm (python-pytest-enabler, python-pytest-perf): [native-inputs]: Remove python-pytest-flake8. * gnu/packages/dav.scm (radicale)[native-inputs]: Remove python-pytest-flake8. * gnu/packages/jupyter.scm (python-nbstripout)[native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-check.scm (python-pytest-csv): [arguments]<#:test-flags>: Ignore flake8 test. [native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-web.scm (python-mechanicalsoup, python-tinycss2)[native-inputs]: Remove python-pytest-flake8. (python-tinycss): [arguments]<#:test-flags>: Ignore flake8 tests. [native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-context, python-jaraco-functools, python-jaraco-packaging, python-jaraco-test, python-path, python-pip-run, python-inflect, python-tempora, python-cairosvg) [native-inputs]: Remove python-pytest-flake8. Change-Id: I60ad04391d1c4b081e3293d50b3ac93c6430c7bf --- gnu/packages/check.scm | 2 -- gnu/packages/dav.scm | 1 - gnu/packages/jupyter.scm | 1 - gnu/packages/python-check.scm | 5 +++-- gnu/packages/python-web.scm | 10 ++++------ gnu/packages/python-xyz.scm | 13 +------------ 6 files changed, 8 insertions(+), 24 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index f8ead8df4e4..e8f121e9fe9 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2492,7 +2492,6 @@ (define-public python-pytest-enabler python-toml)) (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -2665,7 +2664,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools python-wheel)) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 99284220846..b5a1ba749d8 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -58,7 +58,6 @@ (define-public radicale (build-system python-build-system) (native-inputs (list python-pytest - python-pytest-flake8 python-pytest-runner python-waitress)) (propagated-inputs diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 1745cd1f491..18b9c8db522 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -849,7 +849,6 @@ (define-public python-nbstripout (native-inputs (list python-pytest python-pytest-cram - python-pytest-flake8 python-pytest-runner python-setuptools python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 4643ce91e2e..e9903c89166 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -214,9 +214,10 @@ (define-public python-pytest-csv (base32 "17518f2fn5l98lyk9p8r7215c1whi61imzrh6ahrmcksr8w0zz04")))) (build-system pyproject-build-system) + (arguments + (list #:test-flags '(list "--ignore=tests/test_flake8.py"))) (native-inputs - (list python-pytest-flake8 - python-pytest-xdist + (list python-pytest-xdist python-setuptools python-tabulate python-wheel)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 98dc11a9e48..93f8394ee98 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1579,8 +1579,7 @@ (define-public python-mechanicalsoup (propagated-inputs (list python-beautifulsoup4 python-lxml python-requests python-six)) (native-inputs - (list python-pytest-flake8 - python-pytest-httpbin + (list python-pytest-httpbin python-pytest-mock python-pytest-runner python-requests-mock @@ -5860,10 +5859,9 @@ (define-public python-tinycss (build-system pyproject-build-system) (arguments (list #:test-flags - '(list "-k" "not ISORT and not test_speedups"))) + '(list "-k" "not ISORT and not FLAKE8 and not test_speedups"))) (native-inputs - (list python-pytest-flake8 - python-pytest-runner + (list python-pytest-runner python-setuptools python-wheel)) (home-page "https://tinycss.readthedocs.io/") @@ -5906,7 +5904,7 @@ (define-public python-tinycss2 (propagated-inputs (list python-webencodings)) (native-inputs - (list python-flit python-pytest python-pytest-flake8 python-pytest-isort)) + (list python-flit python-pytest python-pytest-isort)) (home-page "https://tinycss2.readthedocs.io/") (synopsis "Low-level CSS parser for Python") (description "@code{tinycss2} can parse strings, return Python objects diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8dd5bf2e9e3..88bea23d3b3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11533,7 +11533,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools-57 python-setuptools-scm)) @@ -11661,7 +11660,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -11752,7 +11750,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -11785,7 +11782,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -11815,7 +11811,6 @@ (define-public python-jaraco-packaging (propagated-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-rst.linker python-setuptools python-setuptools-scm @@ -11845,7 +11840,6 @@ (define-public python-jaraco-test (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools python-wheel)) @@ -16514,7 +16508,6 @@ (define-public python-path python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties @@ -16618,7 +16611,6 @@ (define-public python-pip-run python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -21053,7 +21045,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy ;; For the version number python-setuptools-scm @@ -25901,7 +25892,6 @@ (define-public python-tempora python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-freezegun python-pytest-mypy python-setuptools-scm @@ -29574,8 +29564,7 @@ (define-public python-cairosvg (list python-cairocffi python-cssselect2 python-defusedxml python-pillow python-tinycss2)) (native-inputs - (list python-pytest-flake8 - python-pytest-isort + (list python-pytest-isort python-pytest-runner python-setuptools python-wheel)) -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:41:03 GMT) Full text and rfc822 format available.Message #191 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 29/32] build-system/pyproject: Remove python-pytest-mypy inputs. Date: Sat, 1 Jun 2024 17:37:01 +0200
* gnu/packages/astronomy.scm (python-czml3, python-poliastro) [native-inputs]: Remove python-pytest-mypy. * gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-jaraco-text, python-path, python-pip-run, python-inflect, python-tempora, python-loguru, python-portalocker)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/sphinx.scm (python-sphinx, python-sphinx-5): [propagated-inputs]: Remove python-mypy. Change-Id: Ia36ca82e0327a886f9c5317e9ef4ffc35dc8ac9d --- gnu/packages/astronomy.scm | 4 +--- gnu/packages/check.scm | 1 - gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 17 ++--------------- gnu/packages/sphinx.scm | 2 -- 5 files changed, 3 insertions(+), 22 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 1510ecab6de..a670f3b12d9 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2228,7 +2228,6 @@ (define-public python-czml3 (native-inputs (list python-astropy python-pytest - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/poliastro/czml3") @@ -2606,8 +2605,7 @@ (define-public python-poliastro python-flit-core python-pytest python-pytest-doctestplus - python-pytest-mpl - python-pytest-mypy)) + python-pytest-mpl)) (propagated-inputs (list python-astropy python-astroquery diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index e8f121e9fe9..8eac2b13563 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2664,7 +2664,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 93f8394ee98..f956ad5b0c2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -313,7 +313,6 @@ (define-public python-portend (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/portend") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 88bea23d3b3..1069f6292f8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4928,7 +4928,6 @@ (define-public python-portalocker "0lawjm736vs86wlnxc3qqh37l11z0yx81xq3dmrw33m86kaq2bh3")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-mypy python-pytest-timeout python-redis python-setuptools @@ -11533,7 +11532,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools-57 python-setuptools-scm)) (propagated-inputs @@ -11660,7 +11658,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -11692,7 +11689,6 @@ (define-public python-jaraco-collections (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.collections") @@ -11750,7 +11746,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -11782,7 +11777,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -11840,7 +11834,6 @@ (define-public python-jaraco-test (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.test") @@ -11871,7 +11864,6 @@ (define-public python-jaraco-text (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.text") @@ -16507,8 +16499,7 @@ (define-public python-path python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-path-bootstrap))))) @@ -16610,8 +16601,7 @@ (define-public python-pip-run python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -21045,7 +21035,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy ;; For the version number python-setuptools-scm python-setuptools @@ -25893,7 +25882,6 @@ (define-public python-tempora python-pytest-checkdocs python-pytest-enabler python-pytest-freezegun - python-pytest-mypy python-setuptools-scm python-types-freezegun python-types-pytz @@ -32835,7 +32823,6 @@ (define-public python-loguru (propagated-inputs (list python-colorama)) (native-inputs (list python-colorama python-freezegun - python-mypy python-pre-commit python-pytest python-pytest-mypy-plugins diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index b977367ee35..3dbcce04b32 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -94,7 +94,6 @@ (define-public python-sphinx python-imagesize python-importlib-metadata python-jinja2 - python-mypy python-packaging python-pygments python-requests @@ -196,7 +195,6 @@ (define-public python-sphinx-5 python-imagesize python-importlib-metadata python-jinja2 - python-mypy python-packaging python-pygments python-requests -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:41:03 GMT) Full text and rfc822 format available.Message #194 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 30/32] build-system/pyproject: Stop hiding options. Date: Sat, 1 Jun 2024 17:37:02 +0200
* gnu/packages/pdf.scm (python-pydyf, weasyprint)[arguments] <#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-crypto.scm (python-keyring) [arguments]<#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-web.scm (python-asgi-csrf, python-asgi-lifespan, python-openapi-schema-validator, python-openapi-spec-validator, python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding coverage options. (python-openapi-schema-validator, python-openapi-spec-validator) [arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase. (python-cssselect2, python-tinycss2)[arguments]: Remove uneeded field. (python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded test-flags. * gnu/packages/python-xyz.scm (python-cattrs) [arguments]<#:phases>: Remove arguments hiding coverage options. Change-Id: Ibe08ecfebf8a24259c8658918d98fe9e5a8925b7 --- gnu/packages/pdf.scm | 6 +--- gnu/packages/python-crypto.scm | 1 - gnu/packages/python-web.scm | 51 ++++------------------------------ gnu/packages/python-xyz.scm | 4 +-- 4 files changed, 7 insertions(+), 55 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 4e260d614de..16d4d9336e3 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -816,9 +816,6 @@ (define-public python-pydyf (sha256 (base32 "18q43g5d9455msipcgd5fvnh8m4a2rz189slzfg80yycjw66rshs")))) (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~'("-c" "/dev/null"))) (propagated-inputs (list python-pillow)) (native-inputs (list ghostscript @@ -1635,8 +1632,7 @@ (define-public weasyprint (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "-c" "/dev/null" - "-n" (number->string (parallel-job-count))) + #:test-flags #~(list "-n" (number->string (parallel-job-count))) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-library-paths diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 6965a330624..6139856a906 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -288,7 +288,6 @@ (define-public python-keyring (build-system pyproject-build-system) (arguments (list - #:test-flags '(list "-c" "/dev/null") ;avoid extra test dependencies #:phases #~(modify-phases %standard-phases (add-before 'check 'workaround-test-failure diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f956ad5b0c2..ef786e59308 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -738,10 +738,7 @@ (define-public python-asgi-csrf (build-system pyproject-build-system) (arguments (list #:test-flags - ;; Provide a null config to avoid the extraneous dependency on - ;; python-pytest-coverage. - #~(list "-c" "/dev/null" - ;; Disable two failing tests (see: + #~(list ;; Disable two failing tests (see: ;; https://github.com/simonw/asgi-csrf/issues/24). "-k" (string-append "not (test_multipart " @@ -780,8 +777,7 @@ (define-public python-asgi-lifespan (arguments (list #:test-flags - '(list "-c" "/dev/null" ;ignore coverage-related options - "-k" + '(list "-k" (string-append ;; XXX: Some tests fail because of a 'lifespan.shutdown.failed' ;; extra event, perhaps because our version of trio is older. @@ -1529,10 +1525,7 @@ (define-public python-jsonpickle (build-system pyproject-build-system) (arguments (list - #:test-flags - ;; Prevent running the flake8 and black pytest plugins, which only tests - ;; style and frequently causes harmless failures. - '(list "-o" "addopts=''" "tests") + #:test-flags '(list "tests") #:phases '(modify-phases %standard-phases (add-before 'check 'pre-check @@ -2175,13 +2168,7 @@ (define-public python-openapi-schema-validator (list #:test-flags ;; This one returns 5 instead of 4 elements - '(list "-k" "not test_array_prefixitems_invalid") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") ""))))))) + '(list "-k" "not test_array_prefixitems_invalid"))) (native-inputs (list python-poetry-core python-pytest)) (propagated-inputs (list python-isodate @@ -2219,13 +2206,7 @@ (define-public python-openapi-spec-validator (list ;; These tests attempt to fetch resources from the Internet #:test-flags '(list "--ignore-glob=tests/integration/validation/**" - "-k" "not example") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") ""))))))) + "-k" "not example"))) (native-inputs (list python-poetry-core python-pytest)) @@ -2264,9 +2245,6 @@ (define-public python-openapi-core (list #:test-flags '(list "tests/unit" - ;; Ignore Pytest configuration in setup.cfg that adds - ;; unwanted flake8 and coverage options. - "-c" "/dev/null" "-k" (string-append ;; Type mismatches "not TestFlaskOpenAPIRequest" @@ -5892,14 +5870,6 @@ (define-public python-tinycss2 (sha256 (base32 "0zyc48vbmczpqj7f3f0d7zb3bz29fyj50dg0m6bbwbr5i88kq3sq")))) (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'remove-unwanted-dependencies - (lambda _ - (substitute* "pyproject.toml" - (("^addopts.*") ""))))))) (propagated-inputs (list python-webencodings)) (native-inputs @@ -5926,17 +5896,6 @@ (define-public python-cssselect2 (sha256 (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk")))) (build-system pyproject-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-linters - ;; Their check fails; none of our business. - (lambda _ - (substitute* '("setup.py" "pyproject.toml") - (("'pytest-flake8',") "") - (("'pytest-isort',") "") - (("--flake8") "") - (("--isort") ""))))))) (propagated-inputs (list python-tinycss2)) (native-inputs diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1069f6292f8..7bcd4c299c3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21318,9 +21318,7 @@ (define-public python-cattrs (substitute* "pyproject.toml" ;; Fix version string (("dynamic = \\[\"version\"\\]") - (string-append "version = \"" #$version "\"")) - ;; Just run pytest with no frills - (("addopts = \"-l.*") ""))))))) + (string-append "version = \"" #$version "\"")))))))) (native-inputs (list python-hatchling python-hatch-vcs -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:41:04 GMT) Full text and rfc822 format available.Message #197 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 31/32] gnu: python-linear-operator: Remove python-flake8-print native-input Date: Sat, 1 Jun 2024 17:37:03 +0200
* gnu/packages/machine-learning.scm (python-linear-operator): [native-inputs]: Remove pytest-flake8-print. Change-Id: Iba2670b47e479c20a3f4ae1c703ad9fe815e3764 --- gnu/packages/machine-learning.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a3c598ba1c8..cc33a3e9762 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5082,8 +5082,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8-print - python-pytest + (native-inputs (list python-pytest python-setuptools python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") -- 2.41.0
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Sat, 01 Jun 2024 15:41:04 GMT) Full text and rfc822 format available.Message #200 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH python-team v2 32/32] gnu: abjad-ext-ipython: Remove uneeded inputs. Date: Sat, 1 Jun 2024 17:37:04 +0200
* gnu/packages/music.scm (abjad-ext-ipython): [arguments]<#:phases>: Remove unwanted dev dependencies in phase losen-requirements. [native-inputs]: Remove python-black, python-flake8, python-isort, python-mypy, python-pytest-cov, python-iniconfig, python-pytest-helpers-namespace. [propagated-inputs]: Remove python-sphinx-autodoc-typehints. Change-Id: Id337da7731bc04d69831096b31f52e0e4c6a13c0 --- gnu/packages/music.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index fb9ff038de5..b87e6390f90 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1790,7 +1790,9 @@ (define-public abjad-ext-ipython (substitute* "setup.py" ;; Don't require a specific version of abjad. (("abjad==") - "abjad>=")))) + "abjad>=") + ;; XXX: Remove unwanted dev dependencies. + (("\"(black|flake8|isort|mypy|pytest)[^,]*,") "")))) (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? @@ -1800,17 +1802,9 @@ (define-public abjad-ext-ipython (invoke "jupyter" "nbconvert" "--to=html" "--ExecutePreprocessor.enabled=True" "tests/test.ipynb"))))))) (native-inputs - (list lilypond - python-black - python-flake8 - python-iniconfig - python-isort - python-mypy - python-pytest - python-pytest-cov - python-pytest-helpers-namespace)) + (list lilypond python-pytest)) (propagated-inputs - (list abjad jupyter python-sphinx-autodoc-typehints)) + (list abjad jupyter)) (home-page "https://abjad.github.io") (synopsis "Abjad IPython Extension") (description -- 2.41.0
Nicolas Graves <ngraves <at> ngraves.fr>
to control <at> debbugs.gnu.org
.
(Sat, 01 Jun 2024 15:43:02 GMT) Full text and rfc822 format available.guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 05 Jun 2024 16:54:02 GMT) Full text and rfc822 format available.Message #205 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>, 70858 <at> debbugs.gnu.org Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>, maxim.cournoyer <at> gmail.com, me <at> bonfacemunyoki.com, Lars-Dominik Braun <lars <at> 6xq.net>, jgart <jgart <at> dismail.de>, Marius Bakke <marius <at> gnu.org>, tanguy <at> bioneland.org Subject: Re: [bug#70858] [PATCH python-team v2 00/32] Remove unwanted native-inputs. Date: Wed, 05 Jun 2024 18:53:26 +0200
Hi python-team, Just to let you know, ci.guix seems to have proceeded the current python-team mostly. There are a lot of failures due to urllib's update, I can try and update those, though I would also love a review of those patches now that they are done. It can actually be split in two series, one about python-pytest-* patches, the other about other removed native-inputs. Tell me if that's more convenient. Nicolas On 2024-06-01 17:36, Nicolas Graves via Guix-patches via wrote: > Simply rebased the v1, ontop of 69980. > > Nicolas Graves (32): > guix: import: pypi: Ignore pypi-ignored-inputs. > build-system/pyproject: Ignore unwanted pytest flags. > build-system/pyproject: Remove python-black input. > build-system/pyproject: Remove python-pylint native-input. > build-system/pyproject: Remove python-flake8 inputs. > build-system/pyproject: Remove python-coverage input. > gnu: python-cram: Remove python-coverage native-input. > gnu: u-boot-tools: Remove python-coverage native-input. > gnu: python-aiosqlite: Remove python-coverage native-input. > gnu: python-openid: Remove python-coverage native-input. > build-system/pyproject: Remove python-coveralls native-input. > build-system/pyproject: Remove python-pycodestyle native-input. > gnu: python-versioneer: Remove python-pycodestyle native-input. > gnu: python-versioneer: Remove python-pyflakes native-input. > gnu: python-re-assert: Remove python-covdefaults native-input. > build-system/pyproject: Remove python-codecov native-input. > build-system/pyproject: Remove python-tox native-input. > build-system/pyproject: Remove python-mypy native-input. > gnu: python-immutables: Remove python-mypy native-input. > build-system/pyproject: Remove python-isort native-input. > build-system/pyproject: Remove python-twine native-input. > build-system/pyproject: Remove python-pytest-cov native-input. > gnu: python-tinycss2: Remove python-pytest-cov native-input. > gnu: python-django-contact-form: Remove python-pytest-cov > native-input. > gnu: python-dateutil: Remove python-pytest-cov native-input. > build-system/pyproject: Remove python-pytest-isort native-input. > build-system/pyproject: Remove python-pytest-black native-input. > build-system/pyproject: Remove python-pytest-flake8 native-input. > build-system/pyproject: Remove python-pytest-mypy inputs. > build-system/pyproject: Stop hiding options. > gnu: python-linear-operator: Remove python-flake8-print native-input > gnu: abjad-ext-ipython: Remove uneeded inputs. > > gnu/packages/android.scm | 6 +- > gnu/packages/astronomy.scm | 31 +- > gnu/packages/audio.scm | 2 +- > gnu/packages/backup.scm | 2 +- > gnu/packages/bioinformatics.scm | 31 +- > gnu/packages/bootloaders.scm | 17 +- > gnu/packages/build-tools.scm | 1 - > gnu/packages/check.scm | 21 +- > gnu/packages/cpp.scm | 4 +- > gnu/packages/databases.scm | 17 +- > gnu/packages/dav.scm | 4 - > gnu/packages/diffoscope.scm | 2 - > gnu/packages/django.scm | 12 +- > gnu/packages/ebook.scm | 1 - > gnu/packages/embedded.scm | 1 - > gnu/packages/engineering.scm | 7 +- > gnu/packages/finance.scm | 6 +- > gnu/packages/fontutils.scm | 1 - > gnu/packages/geo.scm | 9 +- > gnu/packages/gettext.scm | 4 - > gnu/packages/gpodder.scm | 3 +- > gnu/packages/graph.scm | 6 +- > gnu/packages/graphviz.scm | 5 - > gnu/packages/jupyter.scm | 8 +- > gnu/packages/logging.scm | 2 +- > gnu/packages/machine-learning.scm | 64 +--- > gnu/packages/mail.scm | 3 +- > gnu/packages/mastodon.scm | 1 - > gnu/packages/messaging.scm | 6 +- > gnu/packages/music.scm | 23 +- > gnu/packages/package-management.scm | 7 +- > gnu/packages/patchutils.scm | 2 +- > gnu/packages/pdf.scm | 6 +- > gnu/packages/potassco.scm | 3 +- > gnu/packages/protobuf.scm | 4 +- > gnu/packages/python-check.scm | 29 +- > gnu/packages/python-compression.scm | 21 +- > gnu/packages/python-crypto.scm | 4 +- > gnu/packages/python-science.scm | 21 +- > gnu/packages/python-web.scm | 175 +++-------- > gnu/packages/python-xyz.scm | 414 +++++++------------------- > gnu/packages/radio.scm | 3 +- > gnu/packages/serialization.scm | 1 - > gnu/packages/simulation.scm | 2 - > gnu/packages/sphinx.scm | 7 - > gnu/packages/statistics.scm | 14 +- > gnu/packages/syndication.scm | 8 +- > gnu/packages/task-management.scm | 1 - > gnu/packages/telegram.scm | 3 +- > gnu/packages/terminals.scm | 12 +- > gnu/packages/textutils.scm | 3 - > gnu/packages/time.scm | 20 +- > gnu/packages/version-control.scm | 1 - > gnu/packages/virtualization.scm | 6 +- > gnu/packages/vpn.scm | 2 - > gnu/packages/web.scm | 6 +- > gnu/packages/wm.scm | 2 - > gnu/packages/xml.scm | 2 +- > guix/build/pyproject-build-system.scm | 99 +++++- > guix/import/pypi.scm | 21 +- > guix/lint.scm | 12 +- > tests/pypi.scm | 3 +- > 62 files changed, 405 insertions(+), 809 deletions(-) -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 05 Jun 2024 18:27:02 GMT) Full text and rfc822 format available.guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 29 Jan 2025 20:44:01 GMT) Full text and rfc822 format available.Message #211 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Sharlatan Hellseher <sharlatanus <at> gmail.com> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 00/32] python-team: Remove native inputs Date: Wed, 29 Jan 2025 20:43:23 +0000
[Message part 1 (text/plain, inline)]
Hi Nicolas, Thank you for your work, I would like to apply it on the current python-team branch which is about to be merged by the end of Feb. May you check if the series is still applicable as #69980 was resolved. -- Oleg
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 30 Jan 2025 16:20:02 GMT) Full text and rfc822 format available.Message #214 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: Sharlatan Hellseher <sharlatanus <at> gmail.com>, 70858 <at> debbugs.gnu.org Subject: Re: [bug#70858] [PATCH 00/32] python-team: Remove native inputs Date: Thu, 30 Jan 2025 17:19:49 +0100
On 2025-01-29 20:43, Sharlatan Hellseher wrote: > Hi Nicolas, > > Thank you for your work, I would like to apply it on the current > python-team branch which is about to be merged by the end of Feb. > > May you check if the series is still applicable as #69980 was > resolved. Probably not applicable anymore, I'll rebase that. -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:11:02 GMT) Full text and rfc822 format available.Message #217 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 00/28] python-team: Remove native-inputs Date: Fri, 31 Jan 2025 03:03:00 +0100
This is a rebase of the v2. To note : I've rebased and updated patch commit messages. BUT: * I've not rebuild anything locally, untested in this sense, but CI will do the work here. * I've not updated in the sense of searching to remove unwanted native-inputs in packages added since v2. More removing is needed if we want this patch series to be exhaustive. From what was rejected and untested : * maybe datasette will require an additional "--ignore=tests/test_black.py" flag. From what was injected and untested : * maybe the injected arguments in python-immutables are now unnecessary or incorrect Nicolas Graves (28): guix: import: pypi: Ignore pypi-ignored-inputs. build-system/pyproject: Ignore unwanted pytest flags. build-system/pyproject: Remove python-black input. build-system/pyproject: Remove python-pylint native-input. build-system/pyproject: Remove python-flake8 inputs. build-system/pyproject: Remove python-coverage input. gnu: python-cram: Remove python-coverage native-input. gnu: u-boot-tools: Remove python-coverage native-input. gnu: python-aiosqlite: Remove python-coverage native-input. gnu: python-openid: Remove python-coverage native-input. build-system/pyproject: Remove python-coveralls native-input. build-system/pyproject: Remove python-pycodestyle native-input. gnu: python-re-assert: Remove python-covdefaults native-input. build-system/pyproject: Remove python-codecov native-input. build-system/pyproject: Remove python-tox native-input. build-system/pyproject: Remove python-mypy native-input. gnu: python-immutables: Remove python-mypy native-input. build-system/pyproject: Remove python-isort native-input. build-system/pyproject: Remove python-twine native-input. build-system/pyproject: Remove python-pytest-cov native-input. gnu: python-django-contact-form: Remove python-pytest-cov native-input. gnu: python-dateutil: Remove python-pytest-cov native-input. build-system/pyproject: Remove python-pytest-isort native-input. build-system/pyproject: Remove python-pytest-black native-input. build-system/pyproject: Remove python-pytest-flake8 native-input. build-system/pyproject: Remove python-pytest-mypy inputs. build-system/pyproject: Stop hiding options. gnu: python-linear-operator: Remove python-flake8-print native-input gnu/packages/android.scm | 6 +- gnu/packages/astronomy.scm | 26 +- gnu/packages/audio.scm | 2 +- gnu/packages/backup.scm | 1 - gnu/packages/bioinformatics.scm | 31 +-- gnu/packages/bootloaders.scm | 17 +- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 361 +++++++++----------------- gnu/packages/cpp.scm | 4 +- gnu/packages/databases.scm | 8 +- gnu/packages/dav.scm | 4 - gnu/packages/django.scm | 12 +- gnu/packages/ebook.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 7 +- gnu/packages/fediverse.scm | 1 - gnu/packages/finance.scm | 6 +- gnu/packages/fontutils.scm | 1 - gnu/packages/geo.scm | 6 +- gnu/packages/gettext.scm | 4 - gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 6 +- gnu/packages/graphviz.scm | 5 - gnu/packages/jupyter.scm | 7 +- gnu/packages/logging.scm | 2 +- gnu/packages/machine-learning.scm | 61 ++--- gnu/packages/mail.scm | 2 +- gnu/packages/messaging.scm | 6 +- gnu/packages/music.scm | 7 +- gnu/packages/package-management.scm | 7 +- gnu/packages/patchutils.scm | 2 +- gnu/packages/pdf.scm | 6 +- gnu/packages/potassco.scm | 3 +- gnu/packages/protobuf.scm | 4 +- gnu/packages/python-check.scm | 17 +- gnu/packages/python-compression.scm | 23 +- gnu/packages/python-crypto.scm | 4 +- gnu/packages/python-science.scm | 21 +- gnu/packages/python-web.scm | 156 ++++------- gnu/packages/python-xyz.scm | 329 ++++++++--------------- gnu/packages/radio.scm | 3 +- gnu/packages/serialization.scm | 1 - gnu/packages/simulation.scm | 2 - gnu/packages/sphinx.scm | 1 - gnu/packages/statistics.scm | 12 +- gnu/packages/syndication.scm | 8 +- gnu/packages/task-management.scm | 1 - gnu/packages/telegram.scm | 3 +- gnu/packages/terminals.scm | 16 +- gnu/packages/textutils.scm | 3 - gnu/packages/time.scm | 20 +- gnu/packages/version-control.scm | 1 - gnu/packages/virtualization.scm | 6 +- gnu/packages/vpn.scm | 2 - gnu/packages/web.scm | 4 +- gnu/packages/wm.scm | 2 - gnu/packages/xml.scm | 2 +- guix/build/pyproject-build-system.scm | 99 ++++++- guix/import/pypi.scm | 21 +- guix/lint.scm | 10 +- tests/pypi.scm | 3 +- 61 files changed, 505 insertions(+), 886 deletions(-) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:11:02 GMT) Full text and rfc822 format available.Message #220 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 01/28] guix: import: pypi: Ignore pypi-ignored-inputs. Date: Fri, 31 Jan 2025 03:03:01 +0100
* guix/import/pypi.scm (pypi-ignored-inputs): New variable. (compute-inputs): Use it. * tests/pypi.scm (parse-requires.txt): Add ignored input to test the feature. * guix/lint.scm (check-inputs-should-be-native): Adapt list. (check-inputs-should-not-be-an-input-at-all): Use pypi-ignored-list. Change-Id: I774e526c5a090026e778ee44049637174a1dca95 --- guix/import/pypi.scm | 21 ++++++++++++++++++--- guix/lint.scm | 10 ++++++---- tests/pypi.scm | 3 ++- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 4af02dd250..a49ab1e429 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Vivien Kraus <vivien <at> planete-kraus.eu> ;;; Copyright © 2021 Simon Tournier <zimon.toutoune <at> gmail.com> ;;; Copyright © 2022 Hartmut Goebel <h.goebel <at> crazy-compilers.com> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -62,6 +63,7 @@ (define-module (guix import pypi) #:use-module (guix upstream) #:use-module ((guix licenses) #:prefix license:) #:export (%pypi-base-url + pypi-ignored-inputs parse-requires.txt parse-wheel-metadata specification->requirement-name @@ -78,6 +80,18 @@ (define %pypi-base-url ;; Base URL of the PyPI API. (make-parameter "https://pypi.org/pypi/")) +(define pypi-ignored-inputs + ;; This list contains packages that are useful for development or quality + ;; testing, but that most of the time are not necessary to have as an input. + (list "argparse" ; native + "tox" ; test wrapper for other environments + "codecov" "coverage" ; coverage + "black" "isort" "pycodestyle" "pep8" ; style + "pyflakes" "flake8" "pylint" "mypy" ; style+lint + "coveralls" "twine" ; upload integration tools + "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black" + "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit")) ; variants + (define non-empty-string-or-false (match-lambda ("" #f) @@ -464,9 +478,10 @@ (define (compute-inputs source-url wheel-url archive) "Given the SOURCE-URL and WHEEL-URL of an already downloaded ARCHIVE, return the corresponding list of <upstream-input> records." (define (requirements->upstream-inputs deps type) - (filter-map (match-lambda - ("argparse" #f) - (name (upstream-input + (filter-map (lambda (name) + (if (member name pypi-ignored-inputs) + #f + (upstream-input (name name) (downstream-name (python->package-name name)) (type type)))) diff --git a/guix/lint.scm b/guix/lint.scm index 46b2e99241..302043c929 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -73,6 +73,7 @@ (define-module (guix lint) hg-reference-url) #:autoload (guix bzr-download) (bzr-reference? bzr-reference-url) + #:use-module ((guix import pypi) #:select (pypi-ignored-inputs)) #:use-module (guix import stackage) #:use-module (ice-9 match) #:use-module (ice-9 regex) @@ -582,14 +583,12 @@ (define (check-inputs-should-be-native package) "m4" "qttools-5" "yasm" "nasm" "fasm" - "python-coverage" "python-cython" "python-docutils" "python-mock" "python-nose" "python-pbr" "python-pytest" - "python-pytest-cov" "python-setuptools-scm" "python-sphinx" "scdoc" @@ -611,8 +610,11 @@ (define (check-inputs-should-be-native package) (define (check-inputs-should-not-be-an-input-at-all package) ;; Emit a warning if some inputs of PACKAGE are likely to should not be ;; an input at all. - (let ((input-names '("python-pip" - "python-pre-commit"))) + (let ((input-names (append + '("python-pip" + "python-pre-commit") + (map (cut string-append "python-" <>) + pypi-ignored-inputs)))) (map (lambda (input) (make-warning package diff --git a/tests/pypi.scm b/tests/pypi.scm index 3fbce1786f..f848325ad7 100644 --- a/tests/pypi.scm +++ b/tests/pypi.scm @@ -97,6 +97,7 @@ (define test-requires.txt "\ [test] pytest (>=2.5.0) +pytest-cov # read but ignored ") ;; Beaker contains only optional dependencies. @@ -258,7 +259,7 @@ (define-syntax-rule (with-pypi responses body ...) (map specification->requirement-name test-specifications)) (test-equal "parse-requires.txt" - (list '("foo" "bar") '("pytest")) + (list '("foo" "bar") '("pytest" "pytest-cov")) (mock ((ice-9 ports) call-with-input-file call-with-input-string) (parse-requires.txt test-requires.txt))) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:11:03 GMT) Full text and rfc822 format available.Message #223 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 02/28] build-system/pyproject: Ignore unwanted pytest flags. Date: Fri, 31 Jan 2025 03:03:02 +0100
* guix/build/pyproject-build-system.scm : Ignore unwanted pytest flags. Change-Id: Ib9f1602e5af11227e5b7ce124f0f9be4fa2b78e4 --- guix/build/pyproject-build-system.scm | 99 ++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 3 deletions(-) diff --git a/guix/build/pyproject-build-system.scm b/guix/build/pyproject-build-system.scm index 947d240114..2df9f2f479 100644 --- a/guix/build/pyproject-build-system.scm +++ b/guix/build/pyproject-build-system.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Lars-Dominik Braun <lars <at> 6xq.net> ;;; Copyright © 2022 Marius Bakke <marius <at> gnu.org> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,8 @@ (define-module (guix build pyproject-build-system) add-installed-pythonpath site-packages python-version - pyproject-build)) + pyproject-build + with-guix-pytest-plugin)) ;;; Commentary: ;;; @@ -142,7 +144,94 @@ (define* (build #:key outputs build-backend backend-path configure-flags #:allow wheel-dir config-settings))) -(define* (check #:key tests? test-backend test-flags #:allow-other-keys) +(define pytest-default-ignore-alist + '(("cov" . ("--cov" "--cov-reset" "--cov-report" "--cov-config" + "--no-cov-on-fail" "--no-cov" "--cov-fail-under" + "--cov-append" "--cov-branch" "--cov-context")) + ("mypy" . ("--mypy" "--mypy-config-file" "--mypy-ignore-missing-imports")) + ("isort" . ("--isort")) + ("flake8" . ("--flake8")) + ("black" . ("--black")) + ("flakes" . ("--flakes")) + ("pep8" . ("--pep8")))) + +(define (pytest-ignore-flags-plugin flags) + "This function converts an list of flags into a string that can + be instantiated as a python pytest plugin." + (format #f "\ +import pytest + +def pytest_addoption(parser): + group = parser.getgroup('guix','Guix ignored options') + options = [~{~s, ~}] + for option in options: + group.addoption(option, action='append', nargs='?')" + flags)) + +(define (call-with-guix-pytest-plugin inputs thunk) + "This function emulates command line options provided by pytest plugins in +the absence of the plugins defining these options. + +This is done by selecting absent plugins, gettings their flags defined in +PYTEST-DEFAULT-IGNORE-ALIST, and generating the plugin from there with +PYTEST-IGNORE-FLAGS-PLUGIN." + (let* ((former-path (getenv "PYTHONPATH")) + (input-names + (map car + (filter (match-lambda + ((name . _) + (if (string-prefix? "python-pytest-" name) + name + #f)) + ( _ #f)) + inputs))) + (filtered-flags + (filter identity + (append-map + (match-lambda + ((group . flags) + (if (member (string-append "python-pytest-" group) + input-names) + (list #f) + flags)) + (_ (list #f))) + pytest-default-ignore-alist))) + (dir (string-append + (if (access? (dirname (getcwd)) W_OK) + (dirname (getcwd)) + ;; fallback if we're already out-of-source + (getcwd)) + "/.guix-pytest"))) + (dynamic-wind + (lambda () + (setenv "PYTHONPATH" + (string-append + (if former-path + (string-append former-path ":") + "") + dir)) + (setenv "PYTEST_PLUGINS" + (string-append + (if (getenv "PYTEST_PLUGINS") + (string-append former-path ",") + "") + "pytest_guix_plugin")) + (mkdir-p dir) + (with-output-to-file (string-append dir "/__init__.py") + (lambda _ (display ""))) + (with-output-to-file (string-append dir "/pytest_guix_plugin.py") + (lambda _ + (display (pytest-ignore-flags-plugin filtered-flags))))) + thunk + (lambda () + (setenv "PYTHONPATH" former-path) + (unsetenv "PYTEST_PLUGINS"))))) + +(define-syntax-rule (with-guix-pytest-plugin inputs exp ...) + "Evaluate EXP in a context where the Guix pytest plugin is added." + (call-with-guix-pytest-plugin inputs (lambda () exp ...))) + +(define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) "Run the test suite of a given Python package." (if tests? ;; Unfortunately with PEP 517 there is no common method to specify test @@ -165,7 +254,8 @@ (define* (check #:key tests? test-backend test-flags #:allow-other-keys) (format #t "Using ~a~%" use-test-backend) (match use-test-backend ('pytest - (apply invoke pytest "-vv" test-flags)) + (with-guix-pytest-plugin inputs + (apply invoke pytest "-vv" test-flags))) ('nose (apply invoke nosetests "-v" test-flags)) ('nose2 @@ -386,3 +476,6 @@ (define* (pyproject-build #:key inputs (phases %standard-phases) (apply python:python-build #:inputs inputs #:phases phases args)) ;;; pyproject-build-system.scm ends here +;;; Local Variables: +;;; eval: (put 'with-guix-pytest-plugin 'scheme-indent-function 1) +;;; End: -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:11:03 GMT) Full text and rfc822 format available.Message #226 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 03/28] build-system/pyproject: Remove python-black input. Date: Fri, 31 Jan 2025 03:03:03 +0100
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-liana-py, scvelo)[native-inputs]: Remove python-black. * gnu/packages/databases.scm (datasette): [native-inputs]: Remove python-black. * gnu/packages/finance.scm (python-trezor)[native-inputs]: Remove python-black. * gnu/packages/graph.scm (python-graphtools)[native-inputs]: Remove python-black. * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-hyperopt, python-captum) [native-inputs]: Remove python-black. * gnu/packages/python-check.scm (python-vcrpy)[native-inputs]: Remove python-black. * gnu/packages/python-web.scm (python-ovh, python-openai, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-black. * gnu/packages/python-xyz.scm (python-pydantic-cli, python-imageio, python-update-checker, python-eliot, python-minikanren) [native-inputs]: Remove python-black. (ptpython)[propagated-inputs]: Remove python-black. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-black. --- gnu/packages/bioinformatics.scm | 11 +++-------- gnu/packages/databases.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/graph.scm | 1 - gnu/packages/machine-learning.scm | 10 +++------- gnu/packages/python-web.scm | 8 +++----- gnu/packages/python-xyz.scm | 15 +++++---------- gnu/packages/virtualization.scm | 3 +-- 8 files changed, 15 insertions(+), 35 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 5dca1bb3d4..546aa97c71 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2765,8 +2765,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") @@ -2985,10 +2984,7 @@ (define-public python-liana-py python-tqdm tzdata)) (native-inputs - (list python-black - python-poetry-core - python-pytest - python-pytest-cov)) + (list python-poetry-core python-pytest python-pytest-cov)) (home-page "https://github.com/saezlab/liana-py") (synopsis "LIANA is a ligand-receptor analysis framework") (description "This is a Ligand-Receptor inference framework. The @@ -23577,8 +23573,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-hypothesis python-pytest python-setuptools-scm diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index e7295337af..3fe9a76a0f 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -5799,7 +5799,6 @@ (define-public datasette (native-inputs (list nss-certs-for-test python-beautifulsoup4 - python-black python-cogapp python-pip python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b7413063af..0bb2f46abb 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1159,7 +1159,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-black python-isort python-pillow python-protobuf diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index c8bd25af9c..02268f4391 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-black python-coverage python-coveralls python-nose diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d36dca2d91..439c3c9c77 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-isort python-nbsphinx python-pandas @@ -2151,8 +2150,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-keras python-mypy python-pandas @@ -2591,8 +2589,7 @@ (define-public python-hyperopt python-six python-tqdm)) (native-inputs - (list python-black - python-nose + (list python-nose python-pymongo python-pytest python-wheel)) @@ -5323,7 +5320,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-black python-flake8 python-flask python-flask-compress diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d17b61f29f..25407f4d7f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1515,8 +1515,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-black - python-coverage + (native-inputs (list python-coverage python-flake8 python-isort python-pytest @@ -2925,7 +2924,7 @@ (define-public python-openai and not test_file_cli"))) (propagated-inputs (list python-aiohttp python-requests python-tqdm python-typing-extensions)) - (native-inputs (list python-black python-pytest python-pytest-asyncio + (native-inputs (list python-pytest python-pytest-asyncio python-pytest-mock python-setuptools python-wheel)) (home-page "https://github.com/openai/openai-python") (synopsis "Python client library for the OpenAI API") @@ -10211,8 +10210,7 @@ (define-public python-starsessions python-itsdangerous python-starlette)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-httpx python-mypy python-poetry-core diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b4b233d464..6cbc2f92f5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8714,8 +8714,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") @@ -11762,8 +11761,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-fsspec python-pytest python-pytest-cov @@ -23623,8 +23621,7 @@ (define-public ptpython (arguments `(#:tests? #f)) ;there are no tests (propagated-inputs - (list python-appdirs python-black python-jedi python-prompt-toolkit - python-pygments)) + (list python-appdirs python-jedi python-prompt-toolkit python-pygments)) (home-page "https://github.com/jonathanslenders/ptpython") (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features") (description @@ -28962,7 +28959,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-black python-flake8 python-pytest)) + (native-inputs (list python-flake8 python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -33267,8 +33264,7 @@ (define-public python-eliot (propagated-inputs (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs - (list python-black - python-coverage + (list python-coverage python-flake8 python-hypothesis python-pytest @@ -36597,7 +36593,6 @@ (define-public python-minikanren python-pytest python-pytest-cov python-pylint - python-black python-sympy python-versioneer python-coverage)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index b8819bb14d..568b50fcf9 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2972,8 +2972,7 @@ (define-public python-transient (("==") ">="))))))) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pyhamcrest python-setuptools python-twine -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:11:04 GMT) Full text and rfc822 format available.Message #229 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 04/28] build-system/pyproject: Remove python-pylint native-input. Date: Fri, 31 Jan 2025 03:03:04 +0100
* gnu/packages/potassco.scm (python-clingraph): [native-inputs]: Remove python-pylint. * gnu/packages/python-xyz.scm (python-mediapy) [native-inputs]: Remove python-pylint. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-pylint. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-pylint. --- gnu/packages/potassco.scm | 3 +-- gnu/packages/python-xyz.scm | 1 - gnu/packages/syndication.scm | 2 -- gnu/packages/terminals.scm | 3 --- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm index 8330c23300..cb1364d95a 100644 --- a/gnu/packages/potassco.scm +++ b/gnu/packages/potassco.scm @@ -699,8 +699,7 @@ (define-public python-clingraph python-jsonschema python-networkx python-setuptools)) - (native-inputs (list dot2tex graphviz python-pylint python-pytest - python-wheel)) + (native-inputs (list dot2tex graphviz python-pytest python-wheel)) (home-page "https://github.com/potassco/clingraph") (synopsis "Visualizer for graphs defined as logic programs") (description diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6cbc2f92f5..d9a4b3340b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4961,7 +4961,6 @@ (define-public python-mediapy python-pillow)) (native-inputs (list python-flit-core - python-pylint python-pytest python-pytest-xdist)) (home-page "https://github.com/google/mediapy") diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index a84893786c..9fbccf6087 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -501,7 +501,6 @@ (define-public rtv python-coveralls python-coverage python-mock - python-pylint python-pytest python-vcrpy)) (home-page "https://github.com/michael-lazar/rtv") @@ -545,7 +544,6 @@ (define-public tuir (list python-coverage python-coveralls python-mock - python-pylint python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 88e84ce647..662a40c689 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-twine @@ -1211,7 +1210,6 @@ (define-public python-log-symbols (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-wheel)) @@ -1245,7 +1243,6 @@ (define-public python-spinners (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:11:04 GMT) Full text and rfc822 format available.Message #232 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 05/28] build-system/pyproject: Remove python-flake8 inputs. Date: Fri, 31 Jan 2025 03:03:05 +0100
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-biom-format)[native-inputs]: Remove python-flake8. * gnu/packages/ebook.scm (calibre)[native-inputs]: Remove python-flake8. * gnu/packages/engineering.scm (python-scikit-rf)[native-inputs]: Remove python-flake8. * gnu/packages/finance.scm (python-mt-940)[native-inputs]: Remove python-flake8. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-flake8. * gnu/packages/gettext.scm (python-mdpo)[native-inputs]: Remove python-flake8. * gnu/packages/graph.scm (python-pygsp)[native-inputs]: Remove python-flake8. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-flake8. * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-captum, python-pyro-api, python-pyro-ppl, python-linear-operator, python-gpytorch)[native-inputs]: Remove python-flake8. * gnu/packages/music.scm (python-mutagen): [arguments]<#:test-flags>: Ignore flake8 quality tests. [native-inputs]: Remove python-flake8. * gnu/packages/protobuf.scm (python-pure-protobuf): [arguments]<#:phases>: Remove flake8 invocation from check phase. [native-inputs]: Remove python-flake8. * gnu/packages/python-web.scm (python-ovh, python-furl, python-httplib2, python-http-ece, python-woob, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-flake8. * gnu/packages/python-xyz.scm (python-colorful, python-pymd4c, python-flasgger, python-imageio, python-importlib-ressources, python-seaborn, python-inflect, python-yq, python-update-checker, python-eliot, python-dateparser, python-jinja2-cli, python-verspec, python-mike)[native-inputs]: Remove python-flake8. * gnu/packages/simulation.scm (python-dolfin-adjoint)[native-inputs]: Remove python-flake8. * gnu/packages/statistics.scm (python-statsmodels)[native-inputs]: Remove python-flake8. * gnu/packages/vpn.scm (sshuttle)[native-inputs]: Remove python-flake8. * gnu/packages/wm.scm (qtile)[native-inputs]: Remove python-flake8. * gnu/packages/textutils.scm (python-panflute)[native-inputs]: Remove python-flake8. --- gnu/packages/bioinformatics.scm | 7 ++----- gnu/packages/ebook.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/finance.scm | 4 +--- gnu/packages/gettext.scm | 1 - gnu/packages/graph.scm | 3 +-- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 14 ++++---------- gnu/packages/music.scm | 4 ++-- gnu/packages/protobuf.scm | 4 +--- gnu/packages/python-web.scm | 12 +++--------- gnu/packages/python-xyz.scm | 30 ++++++++++++------------------ gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 1 - gnu/packages/textutils.scm | 1 - gnu/packages/vpn.scm | 1 - gnu/packages/wm.scm | 1 - 17 files changed, 26 insertions(+), 61 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 546aa97c71..fca21ebd73 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2765,8 +2765,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-flake8 - python-poetry-core + (list python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") (synopsis @@ -3813,7 +3812,6 @@ (define-public python-biom-format (propagated-inputs (list python-anndata python-click - python-flake8 python-future python-h5py python-numpy @@ -23573,8 +23571,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools-scm python-wheel)) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 46ec951916..75e14801dd 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -156,7 +156,6 @@ (define-public calibre (native-inputs (list bash-minimal pkg-config - python-flake8 python-pyqt-builder qtbase-5 ; for qmake xdg-utils)) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 009629307d..d19b58b3e7 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2828,7 +2828,6 @@ (define-public python-scikit-rf python-qtpy python-scipy)) (native-inputs (list python-coverage - python-flake8 python-nbval python-networkx python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 0bb2f46abb..5cf2db24a2 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2309,9 +2309,7 @@ (define-public python-mt-940 ;; Remove custom --cov flags. (delete-file "pytest.ini") (invoke "pytest" "-vv"))))))) - (native-inputs (list python-flake8 - python-pytest - python-pyyaml)) + (native-inputs (list python-pytest python-pyyaml)) (home-page "https://mt940.readthedocs.io/") (synopsis "Python parser for MT940-encoded SWIFT data") (description diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 7862c296bd..29cdbab915 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -226,7 +226,6 @@ (define-public mdpo (build-system python-build-system) (native-inputs (list python-bump2version - python-flake8 python-flake8-implicit-str-concat python-flake8-print python-isort diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 02268f4391..85cb1d6437 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -570,8 +570,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-flake8 - python-pytest)) + (list python-coverage python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index defd53df73..0d3db31212 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -224,7 +224,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-flake8 python-isort python-mypy python-pytest diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 439c3c9c77..b93bfb551f 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-flake8 - python-isort + (native-inputs (list python-isort python-nbsphinx python-pandas python-pillow @@ -2150,8 +2149,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-flake8 - python-keras + (native-inputs (list python-keras python-mypy python-pandas python-pytest @@ -5320,7 +5318,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-flake8 python-flask python-flask-compress python-ipython @@ -5841,8 +5838,7 @@ (define-public python-pyro-api (build-system python-build-system) (arguments '(#:tests? #false)) ;requires pyro (native-inputs - (list python-flake8 - python-ipython + (list python-ipython python-pytest python-sphinx python-sphinx-rtd-theme)) @@ -5899,8 +5895,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8 - python-flake8-print + (native-inputs (list python-flake8-print python-pytest python-setuptools python-setuptools-scm @@ -5931,7 +5926,6 @@ (define-public python-gpytorch python-scikit-learn python-scipy)) (native-inputs (list python-coverage - python-flake8 python-flake8-print python-nbval python-pytest diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 6659dc0d53..dc82cfa570 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4112,6 +4112,7 @@ (define-public python-mutagen (build-system pyproject-build-system) (arguments (list + #:test-flags '(list "--ignore=tests/quality/test_flake8.py") #:phases #~(modify-phases %standard-phases (add-before 'check 'remove-hypothesis-deadlines @@ -4122,8 +4123,7 @@ (define-public python-mutagen (("( +)@given" all spaces) (string-append spaces "@settings(deadline=None)\n" all)))))))) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools python-wheel)) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index d4b48e585b..4f18d1e6e2 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-flake8 python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov python-isort)) (arguments `(#:phases (modify-phases %standard-phases @@ -513,8 +513,6 @@ (define-public python-pure-protobuf (lambda _ (invoke "pytest" "--cov-report" "term-missing" "--cov" "pure_protobuf") - (invoke "flake8" "pure_protobuf" "tests" - "--ignore=F541") (invoke "isort" "-rc" "-c" "pure_protobuf" "tests")))))) (home-page "https://pypi.org/project/pure-protobuf/") (synopsis "Protobuf implementation using dataclasses") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 25407f4d7f..8f88693e56 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1516,7 +1516,6 @@ (define-public python-ovh (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) (native-inputs (list python-coverage - python-flake8 python-isort python-pytest python-pytest-cov @@ -1832,8 +1831,6 @@ (define-public python-furl (build-system python-build-system) (propagated-inputs (list python-six python-orderedmultidict)) - (native-inputs - (list python-flake8)) (home-page "https://github.com/gruns/furl") (synopsis "URL manipulation in Python") (description "Furl provides an easy-to-use alternative to the @@ -1866,7 +1863,6 @@ (define-public python-httplib2 (("==") ">="))))))) (native-inputs (list python-cryptography - python-flake8 python-future python-mock python-pytest @@ -8472,7 +8468,7 @@ (define-public python-http-ece (propagated-inputs (list python-cryptography)) (native-inputs - (list python-coverage python-flake8 python-mock python-nose)) + (list python-coverage python-mock python-nose)) (home-page "https://github.com/web-push-libs/encrypted-content-encoding") (synopsis "Encrypted Content Encoding for HTTP") (description @@ -9549,8 +9545,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-flake8 python-nose python-selenium - python-xunitparser)) + (list python-coverage python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -10210,8 +10205,7 @@ (define-public python-starsessions python-itsdangerous python-starlette)) (native-inputs - (list python-flake8 - python-httpx + (list python-httpx python-mypy python-poetry-core python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d9a4b3340b..c4cd591093 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1470,8 +1470,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-flake8 python-pytest python-setuptools - python-wheel)) + (list python-coverage python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -2815,7 +2814,7 @@ (define-public python-pymd4c (inputs (list md4c)) (native-inputs - (list python-flake8 python-pkgconfig pkg-config)) + (list python-pkgconfig pkg-config)) (home-page "https://github.com/dominickpastore/pymd4c") (synopsis "Python bindings for MD4C") (description @@ -11760,8 +11759,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile)) (native-inputs - (list python-flake8 - python-fsspec + (list python-fsspec python-pytest python-pytest-cov python-setuptools @@ -12585,8 +12583,7 @@ (define-public python-importlib-resources (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (native-inputs - (list python-flake8 - python-pytest + (list python-pytest python-pytest-black python-pytest-checkdocs python-pytest-cov @@ -14858,8 +14855,7 @@ (define-public python-seaborn python-scipy python-statsmodels)) (native-inputs - (list python-flake8 - python-flit-core + (list python-flit-core python-ipykernel python-nbconvert python-numpydoc @@ -22488,8 +22484,7 @@ (define-public python-inflect (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (propagated-inputs (list python-pydantic)) - (native-inputs (list python-flake8 - python-pygments + (native-inputs (list python-pygments python-pytest python-pytest-black python-pytest-checkdocs @@ -27950,7 +27945,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-flake8 python-setuptools-scm python-wheel)) + (list python-coverage python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -28958,7 +28953,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-flake8 python-pytest)) + (native-inputs (list python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -33264,7 +33259,6 @@ (define-public python-eliot (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs (list python-coverage - python-flake8 python-hypothesis python-pytest python-pytest-xdist @@ -34073,7 +34067,7 @@ (define-public python-dateparser (list python-dateutil python-pytz python-regex python-ruamel.yaml python-tzlocal)) (native-inputs - (list python-flake8 python-pytest python-parameterized tzdata-for-tests + (list python-pytest python-parameterized tzdata-for-tests python-setuptools python-wheel)) (arguments `(#:phases @@ -35496,7 +35490,7 @@ (define-public python-jinja2-cli (propagated-inputs (list python-jinja2)) (native-inputs - (list python-flake8 python-jinja2 python-pytest)) + (list python-jinja2 python-pytest)) (home-page "https://github.com/mattrobenolt/jinja2-cli") (synopsis "Command-line interface to Jinja2") (description @@ -38051,7 +38045,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-flake8 python-mypy + (native-inputs (list python-coverage python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases @@ -38451,7 +38445,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-flake8 python-shtab)) + (list python-coverage python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 3af29aeeaa..1eed4fd180 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1252,7 +1252,6 @@ (define-public python-dolfin-adjoint (list pkg-config python-coverage python-decorator - python-flake8 python-pkgconfig python-pytest)) (propagated-inputs diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0e9a07f7b8..37abd291d2 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2670,7 +2670,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-flake8 python-isort python-joblib python-matplotlib diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 229e69a2b3..5424f6a28c 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1758,7 +1758,6 @@ (define-public python-panflute (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser python-coverage - python-flake8 python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 0b62e8c7cf..53706a8de1 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -1034,7 +1034,6 @@ (define (install-man-page file) (native-inputs (list python-setuptools-scm ;; For tests only. - python-flake8 python-mock python-poetry-core python-pytest-cov diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 0d4f7860c6..9d6725ee5c 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -860,7 +860,6 @@ (define-public qtile python-xcffib)) (native-inputs (list pkg-config - python-flake8 python-pep8-naming python-pytest python-pytest-cov -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:01 GMT) Full text and rfc822 format available.Message #235 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 09/28] gnu: python-aiosqlite: Remove python-coverage native-input. Date: Fri, 31 Jan 2025 03:03:09 +0100
* gnu/packages/databases.scm (python-aiosqlite): [arguments]<#:phases>: Adapt check phase. [native-inputs]: Remove python-coverage. Change-Id: I165d174426022f0603223e3def91ffe280f15899 --- gnu/packages/databases.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 3fe9a76a0f..af5eaed244 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4139,11 +4139,8 @@ (define-public python-aiosqlite (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "python" "-m" "coverage" "run" "-m" - "aiosqlite.tests") - (invoke "python" "-m" "coverage" "report"))))))) + (invoke "python" "-m" "aiosqlite.tests"))))))) (native-inputs (list python-flit-core - python-coverage python-mypy)) (home-page "https://github.com/jreese/aiosqlite") (synopsis -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:02 GMT) Full text and rfc822 format available.Message #238 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 08/28] gnu: u-boot-tools: Remove python-coverage native-input. Date: Fri, 31 Jan 2025 03:03:08 +0100
* gnu/packages/bootloaders.scm (u-boot-tools): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt patch phase. Change-Id: I94394544079197b4a3f8c53cc0b3d78d1f5dc8be --- gnu/packages/bootloaders.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index b5cfacca4b..c4c585e463 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -825,8 +825,7 @@ (define-public u-boot-tools (name "u-boot-tools") (native-inputs (modify-inputs (package-native-inputs u-boot) - (prepend python-coverage - python-filelock + (prepend python-filelock python-pycryptodomex python-pytest python-pytest-xdist))) @@ -842,14 +841,6 @@ (define-public u-boot-tools (("/bin/false") (which "false"))) (substitute* "tools/dtoc/fdt_util.py" (("'cc'") "'gcc'")) - (substitute* "tools/u_boot_pylib/test_util.py" - ;; python3-coverage is simply called coverage in guix. - (("python3-coverage") "coverage") - - ;; Don't require 100% coverage since it's brittle and can - ;; fail with newer versions of coverage or dependencies. - (("raise ValueError\\('Test coverage failure'\\)") - "print('Continuing anyway since Guix does not care :O')")) (substitute* "test/run" ;; Make it easier to find test failures. (("#!/bin/bash") "#!/bin/bash -x") @@ -862,9 +853,9 @@ (define-public u-boot-tools "# run_test \"sandbox_noinst\"") (("run_test \"sandbox_vpl\"") "# run_test \"sandbox_vpl\"") - ;; FIXME: code coverage not working - (("run_test \"binman code coverage\"") - "# run_test \"binman code coverage\"") + ;; Disable code coverage tests. + (("run_test \"(\\w+) code coverage\"" all) + (string-append "# " all)) ;; This test would require internet access. (("\\./tools/buildman/buildman") (which "true"))) (substitute* "test/py/tests/test_sandbox_exit.py" -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:02 GMT) Full text and rfc822 format available.Message #241 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 10/28] gnu: python-openid: Remove python-coverage native-input. Date: Fri, 31 Jan 2025 03:03:10 +0100
* gnu/packages/python-web.scm (python-openid): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Rewrite check phase. Change-Id: Id4ea5abc531f5fd84b60ff22407eb608f1e6ac29 --- gnu/packages/python-web.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2db955df6f..735073e96f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3094,17 +3094,18 @@ (define-public python-openid "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "coverage" "run" "-m" - "unittest" "openid.test.test_suite"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "-m" "unittest" "openid.test.test_suite") + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-defusedxml)) (native-inputs - (list python-coverage python-psycopg2 python-django)) + (list python-psycopg2 python-django)) (home-page "https://github.com/necaris/python3-openid") (synopsis "OpenID support for servers and consumers") (description "This library provides OpenID authentication for Python, both -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:03 GMT) Full text and rfc822 format available.Message #244 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 11/28] build-system/pyproject: Remove python-coveralls native-input. Date: Fri, 31 Jan 2025 03:03:11 +0100
* gnu/packages/geo.scm (python-cartopy)[native-inputs]: Remove python-coveralls. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coveralls. * gnu/packages/python-compression.scm (python-multivolumefile, python-py7zr)[native-inputs]: Remove python-coveralls. * gnu/packages/python-science.scm (python-trimesh)[native-inputs]: Remove python-coveralls. * gnu/packages/python-web.scm (python-flask-combo-jsonapi) [native-inputs]: Remove python-coveralls. * gnu/packages/python-xyz.scm (python-affine, python-cftime, python-ddlparse, python-tasklogger, python-minikanren) [native-inputs]: Remove python-coveralls. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coveralls. * gnu/packages/telegram.scm (tgcli)[native-inputs]: Remove python-coveralls. --- gnu/packages/geo.scm | 3 +-- gnu/packages/graph.scm | 3 +-- gnu/packages/python-compression.scm | 2 -- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 3 +-- gnu/packages/python-xyz.scm | 9 +++------ gnu/packages/syndication.scm | 4 +--- gnu/packages/telegram.scm | 3 +-- 8 files changed, 9 insertions(+), 21 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 3317271802..a4fa352390 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1608,8 +1608,7 @@ (define-public python-cartopy (inputs (list geos)) (native-inputs - (list python-coveralls - python-cython + (list python-cython python-pytest python-pytest-cov python-pytest-mpl diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 9f91d39194..3ec6180953 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coveralls python-nose python-nose2 python-pandas @@ -569,7 +568,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coveralls python-pytest)) + (list python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index dfe819733e..b2e62e1d49 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -163,7 +163,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coveralls python-hypothesis python-pyannotate python-pytest @@ -531,7 +530,6 @@ (define-public python-py7zr python-texttable)) (native-inputs (list python-setuptools - python-coveralls python-libarchive-c python-py-cpuinfo python-pyannotate diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index fbed7ed83e..bcd0f9e550 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -934,8 +934,7 @@ (define-public python-trimesh ;; module 'trimesh' has no attribute '__main__'. (delete 'sanity-check)))) (native-inputs - (list python-coveralls - python-pyinstrument + (list python-pyinstrument python-pytest)) (propagated-inputs (list ;; python-cascadio ; not packed yet, optional diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 735073e96f..52a63157b2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -9592,8 +9592,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coveralls - python-pytest + (list python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") (synopsis "Flask extension to quickly create JSON:API 1.0 REST Web APIs") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9207f479c8..eaca74f0d8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1303,7 +1303,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-pydocstyle + (propagated-inputs (list python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -3606,7 +3606,6 @@ (define-public python-cftime (list python-numpy)) (native-inputs (list python-check-manifest - python-coveralls python-cython python-pytest-cov python-sphinx @@ -6262,7 +6261,6 @@ (define-public python-ddlparse (build-system pyproject-build-system) (native-inputs (list python-codecov - python-coveralls python-pytest python-pytest-cov python-setuptools @@ -17203,7 +17201,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coveralls python-nose2 + (native-inputs (list python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -36554,8 +36552,7 @@ (define-public python-minikanren (invoke "python" "-m" "pytest" "-v" "tests/" "kanren/")) #t))))) (native-inputs - (list python-coveralls - python-pydocstyle + (list python-pydocstyle python-pytest python-pytest-cov python-pylint diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index becb3c6bc8..cc94672e9e 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -498,7 +498,6 @@ (define-public rtv python-requests python-six)) (native-inputs (list ncurses - python-coveralls python-mock python-pytest python-vcrpy)) @@ -540,8 +539,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coveralls - python-mock + (list python-mock python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index cfcd92fcbc..a4cfc6a9ef 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -839,8 +839,7 @@ (define-public tgcli (add-installed-pythonpath inputs outputs) (invoke "pytest" "tests"))))))) (native-inputs - `(("coveralls" ,python-coveralls) - ("pytest" ,python-pytest) + `(("pytest" ,python-pytest) ("pytest-click" ,python-pytest-click) ("pytest-cov" ,python-pytest-cov) ("mkdocs" ,python-mkdocs) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:03 GMT) Full text and rfc822 format available.Message #247 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 06/28] build-system/pyproject: Remove python-coverage input. Date: Fri, 31 Jan 2025 03:03:06 +0100
* gnu/packages/android.scm (python-androguard): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt 'check phase replacement. * gnu/packages/astronomy.scm (python-asdf-astropy, python-poliastro)[native-inputs]: Remove python-coverage. * gnu/packages/bioinformatics.scm (python-ega-download-client, python-scikit-bio, python-cooler)[native-inputs]: Remove python-coverage. * gnu/packages/check.scm (python-pytest-randomly, python-pytest-flakes, python-aiounittest)[native-inputs]: Remove python-coverage. * gnu/packages/cpp.scm (cpplint)[native-inputs]: Remove python-coverage. * gnu/packages/django.scm (python-django-haystack)[native-inputs]: Remove python-coverage. * gnu/packages/engineering.scm (python-scikit-rf)[native-inputs]: Remove python-coverage. * gnu/packages/geo.scm (python-geopy)[native-inputs]: Remove python-coverage. * gnu/packages/gpodder.scm (gpodder)[native-inputs]: Remove python-coverage. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coverage. * gnu/packages/jupyter.scm (python-jupyter-packaging)[native-inputs]: Remove python-coverage. * gnu/packages/machine-learning.scm (onnx, onnx-optimizer, python-lightning-utilities, python-pytorch-lightning, python-torchmetrics, python-gpytorch)[native-inputs]: Remove python-coverage. * gnu/packages/music.scm (python-pylast)[native-inputs]: Remove python-coverage. * gnu/packages/package-management.scm (python-anaconda-client, conda)[native-inputs]: Remove python-coverage. * gnu/packages/python-check.scm (python-vcrpy, python-re-assert)[native-inputs]: Remove python-coverage. * gnu/packages/python-compression.scm (python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr)[native-inputs]: Remove python-coverage. * gnu/packages/python-web.scm (python-ovh, python-zope-interface, python-zope-hookable, python-url, python-transaction, python-sanic, python-woob, python-flask-combo-jsonapi)[native-inputs]: Remove python-coverage. * gnu/packages/python-xyz.scm (python-affine, python-colorful, python-lunr, python-mdit-py-plugins, python-bidict, python-sh, python-cftime, python-can, python-jsonargparse, python-pyjwt, python-virtualenv-clone, python-pikepdf, python-tasklogger, python-notebook, python-structlog, binwalk, python-argcomplete, python-attrs, python-yq, python-stone, python-identify, python-nodeenv, python-forbiddenfruit, python-watchgod, python-eliot, python-pem, python-scikit-build, python-minikanren, python-verspec, python-mike) [native-inputs]: Remove python-coverage. * gnu/packages/simulation.scm (python-dolfin-adjoint)[native-inputs]: Remove python-coverage. * gnu/packages/statistics.scm (python-emcee, python-rpy2)[native-inputs]: Remove python-coverage. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coverage. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-coverage. * gnu/packages/textutils.scm (python-panflute)[native-inputs]: Remove python-coverage. * gnu/packages/version-control.scm (pre-commit)[native-inputs]: Remove python-coverage. * gnu/packages/web.scm (python-httpretty)[native-inputs]: Remove python-coverage. * gnu/packages/xml.scm (python-xmltodict)[native-inputs]: Remove python-coverage. --- gnu/packages/android.scm | 6 +-- gnu/packages/astronomy.scm | 6 +-- gnu/packages/bioinformatics.scm | 8 ++-- gnu/packages/check.scm | 7 ++-- gnu/packages/cpp.scm | 3 +- gnu/packages/django.scm | 3 +- gnu/packages/engineering.scm | 3 +- gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 3 +- gnu/packages/jupyter.scm | 2 +- gnu/packages/machine-learning.scm | 12 ++---- gnu/packages/music.scm | 3 +- gnu/packages/package-management.scm | 6 +-- gnu/packages/python-check.scm | 2 +- gnu/packages/python-compression.scm | 14 ++----- gnu/packages/python-web.scm | 18 ++++----- gnu/packages/python-xyz.scm | 57 +++++++++-------------------- gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 6 +-- gnu/packages/syndication.scm | 4 +- gnu/packages/terminals.scm | 9 ++--- gnu/packages/textutils.scm | 1 - gnu/packages/version-control.scm | 1 - gnu/packages/web.scm | 1 - gnu/packages/xml.scm | 2 +- 25 files changed, 59 insertions(+), 122 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 9c71a4ee47..10845bc40c 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1072,11 +1072,9 @@ (define-public python-androguard (replace 'check ;; Adapted from .travis.yml (lambda _ - (invoke "nosetests" "--with-coverage" "--with-timer" - "--timer-top-n" "50")))))) + (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-coverage python-mock python-nose - python-nose-timer)) + (list python-codecov python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index f2d5bb2fe9..fa39f3f83a 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1683,8 +1683,7 @@ (define-public python-asdf-astropy (add-before 'check 'set-home-env (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-h5py + (list python-h5py python-pandas python-pytest python-pytest-astropy @@ -4342,8 +4341,7 @@ (define-public python-poliastro (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-mypy python-flit-core python-pytest diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index fca21ebd73..0d603ca73e 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3592,8 +3592,7 @@ (define-public python-ega-download-client (propagated-inputs (list python-htsget python-psutil python-requests python-tqdm python-urllib3)) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pyfakefs python-pytest python-responses @@ -6353,7 +6352,7 @@ (define-public python-scikit-bio python-requests python-scipy)) (native-inputs - (list python-coverage python-pytest)) + (list python-pytest)) (home-page "https://scikit-bio.org") (synopsis "Data structures, algorithms and educational resources for bioinformatics") (description @@ -19606,8 +19605,7 @@ (define-public python-cooler python-scipy python-simplejson)) (native-inputs - (list python-coverage - python-hatchling + (list python-hatchling python-isort python-pytest python-pytest-cov)) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index a46062868a..e9d9b5b9e1 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1969,8 +1969,7 @@ (define-public python-pytest-randomly "not reordered " "and not test_it_runs_before_stepwise " "and not test_entrypoint_injection")))))))) - (native-inputs (list python-coverage - python-factory-boy + (native-inputs (list python-factory-boy python-faker python-numpy python-pytest-xdist)) @@ -3204,7 +3203,7 @@ (define-public python-pytest-flakes (add-installed-pythonpath inputs outputs) (invoke "py.test" "-vv" "-k" "not test_syntax_error")))))) (native-inputs - (list python-coverage python-pytest python-pytest-pep8)) + (list python-pytest python-pytest-pep8)) (propagated-inputs (list python-pyflakes)) (home-page "https://github.com/fschulze/pytest-flakes") @@ -4200,7 +4199,7 @@ (define-public python-aiounittest #t))))) (propagated-inputs (list python-wrapt)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/kwarunek/aiounittest") (synopsis "Test asyncio code more easily") diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index c8199af9ce..656b68e5bd 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1347,8 +1347,7 @@ (define-public cpplint (setenv "GUIX_PYTHONPATH" (getenv "TMP_PYTHONPATH"))))))) (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-pytest-cov python-pytest-runner python-setuptools diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 7f481f785a..fcc73c6d88 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -509,8 +509,7 @@ (define-public python-django-haystack (list python-django python-packaging)) ;; (inputs (list gdal)) ; it's optional, tests fail when provided (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-geopy python-pysolr python-requests diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index d19b58b3e7..8bd5f155d3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2827,8 +2827,7 @@ (define-public python-scikit-rf python-pyqtgraph python-qtpy python-scipy)) - (native-inputs (list python-coverage - python-nbval + (native-inputs (list python-nbval python-networkx python-pytest python-pytest-cov diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm index c3e1c9b496..57e14ee93f 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -65,7 +65,6 @@ (define-public gpodder (build-system python-build-system) (native-inputs (list intltool - python-coverage python-minimock python-pytest python-pytest-cov @@ -169,7 +168,7 @@ (define-public python-mygpoclient "05hmjdb73m7vl6lzvh58bnliy4227pv8hprwfka0bg19cnvgpyf5")))) (build-system python-build-system) (native-inputs - (list python-coverage python-minimock python-nose python-pytest)) + (list python-minimock python-nose python-pytest)) (arguments '(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 85cb1d6437..9f91d39194 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coverage python-coveralls python-nose python-nose2 @@ -570,7 +569,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-pytest)) + (list python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index d5c298056c..5be51fc425 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -519,7 +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-coverage python-pytest + (list python-pypa-build python-pytest python-pytest-cov python-pytest-mock)) (home-page "https://jupyter.org") (synopsis "Jupyter packaging utilities") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index b93bfb551f..53eb637ce8 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1591,7 +1591,6 @@ (define args (list cmake-minimal googletest pybind11 - python-coverage python-fb-re2 python-parameterized python-pytest @@ -1669,8 +1668,7 @@ (define-public onnx-optimizer " and not test_fuse_transpose"))))))))) (native-inputs (append - (list cmake-minimal python-pytest python-pytest-runner - python-coverage) + (list cmake-minimal python-pytest python-pytest-runner) (filter (lambda (pkg) (member (or (%current-target-system) @@ -5279,8 +5277,7 @@ (define-public python-lightning-utilities "016zikn39apig3y6xyipw34w0w02c73z483radddbf68ivpjgz3r")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-setuptools + (list python-setuptools python-wheel)) (propagated-inputs (list python-importlib-metadata @@ -5471,7 +5468,6 @@ (define-public python-pytorch-lightning (native-inputs (list python-aiohttp python-cloudpickle - python-coverage python-flaky python-pympler python-pytest @@ -5509,7 +5505,6 @@ (define-public python-torchmetrics python-lightning-utilities)) (native-inputs (list python-cloudpickle - python-coverage python-fire python-mir-eval python-mypy @@ -5925,8 +5920,7 @@ (define-public python-gpytorch python-mpmath python-scikit-learn python-scipy)) - (native-inputs (list python-coverage - python-flake8-print + (native-inputs (list python-flake8-print python-nbval python-pytest python-setuptools diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index dc82cfa570..f8c34ff529 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4225,8 +4225,7 @@ (define-public python-pylast ;; https://github.com/pylast/pylast/issues/105 (arguments '(#:tests? #f)) (native-inputs - (list python-coverage python-pytest python-flaky python-pyyaml - python-setuptools-scm)) + (list python-pytest python-flaky python-pyyaml python-setuptools-scm)) (home-page "https://github.com/pylast/pylast") (synopsis "Python interface to Last.fm and Libre.fm") (description "A Python interface to Last.fm and other API-compatible diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index d06df2c55b..f42a6d002b 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1098,8 +1098,7 @@ (define-public python-anaconda-client python-requests python-setuptools)) (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-freezegun python-mock python-pillow @@ -1284,8 +1283,7 @@ (define-public conda ;; XXX: This is dragged in by libarchive and is needed at runtime. zstd)) (native-inputs - (list python-coverage - python-flaky + (list python-flaky python-pytest-timeout python-pytest-xprocess python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index fae03b7606..58fc1d296a 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1573,7 +1573,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-coverage python-pytest)) + (list python-covdefaults python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5b994d408f..dfe819733e 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -163,7 +163,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coverage python-coveralls python-hypothesis python-pyannotate @@ -306,8 +305,7 @@ (define-public python-pybcj (build-system pyproject-build-system) (propagated-inputs (list python-importlib-metadata)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-cov python-setuptools-scm @@ -340,8 +338,7 @@ (define-public python-bcj-cffi (propagated-inputs (list python-cffi python-toml python-setuptools-scm)) (native-inputs - (list python-setuptools python-coverage python-pytest - python-pytest-cov)) + (list python-setuptools python-pytest python-pytest-cov)) (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 / @@ -466,8 +463,7 @@ (define-public python-pyppmd "03w4x26mar0ha73c3v39psn1i0k6xrzwmaxfsxysic73jz99np07")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-benchmark python-pytest-cov @@ -500,7 +496,6 @@ (define-public python-ppmd-cffi (native-inputs (list python-hypothesis python-setuptools-scm - python-coverage python-pytest python-pytest-cov)) (home-page "https://github.com/miurahr/ppmd") @@ -535,8 +530,7 @@ (define-public python-py7zr python-pyzstd python-texttable)) (native-inputs - (list python-coverage - python-setuptools + (list python-setuptools python-coveralls python-libarchive-c python-py-cpuinfo diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8f88693e56..2db955df6f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1515,8 +1515,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-coverage - python-isort + (native-inputs (list python-isort python-pytest python-pytest-cov python-setuptools @@ -3767,8 +3766,7 @@ (define-public python-zope-interface (build-system python-build-system) (arguments '(#:tests? #f)) ; test suite can't find python-zope-testing (native-inputs - (list python-coverage python-nose python-zope-event - python-zope-testing)) + (list python-nose python-zope-event python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.interface") (synopsis "Python implementation of the \"design by contract\" methodology") @@ -4064,7 +4062,7 @@ (define-public python-zope-hookable "0hc82lfr7bk53nvbxvjkibkarngyrzgfk2i6bg8wshl0ly0pdl19")))) (build-system python-build-system) (native-inputs - (list python-coverage python-zope-testing)) + (list python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.hookable") (synopsis "Zope hookable") (description "This package supports the efficient creation of hookable @@ -5536,7 +5534,7 @@ (define-public python-url (propagated-inputs (list python-publicsuffix)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (arguments `(#:tests? #f)) ; FIXME: tests fail with "ImportError: No module named 'tests'" (home-page "https://github.com/seomoz/url-py") @@ -8323,7 +8321,7 @@ (define-public python-transaction (propagated-inputs (list python-zope-interface)) (native-inputs - (list python-coverage python-mock python-nose)) + (list python-mock python-nose)) (home-page "https://github.com/zopefoundation/transaction") (synopsis "Transaction management for Python") (description "This package contains a generic transaction implementation @@ -8800,7 +8798,6 @@ (define-public python-sanic (list python-bandit python-beautifulsoup4 python-chardet - python-coverage python-cryptography python-docutils python-mypy @@ -9545,7 +9542,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-nose python-selenium python-xunitparser)) + (list python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -9594,8 +9591,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c4cd591093..8515060e03 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1303,7 +1303,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-flake8 python-pydocstyle + (propagated-inputs (list python-coveralls python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -1470,7 +1470,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -1595,8 +1595,7 @@ (define-public python-lunr '(list "-k" "not TestLanguageSupport" "--ignore-glob=tests/acceptance_tests/*"))) (native-inputs - (list python-coverage - python-hatch-fancy-pypi-readme + (list python-hatch-fancy-pypi-readme python-hatchling python-pytest python-pytest-timeout @@ -1629,8 +1628,7 @@ (define-public python-mdit-py-plugins (list python-markdown-it-py python-attrs)) (native-inputs - (list python-coverage - python-flit-core + (list python-flit-core python-pytest python-pytest-cov python-pytest-regressions)) @@ -3227,8 +3225,7 @@ (define-public python-bidict "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g")))) (build-system python-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-py python-pytest python-pytest-benchmark @@ -3588,8 +3585,6 @@ (define-public python-sh ;; XXX: A Python 2 test fails when HOME=/homeless-shelter. (setenv "HOME" "/tmp") (invoke "python" "sh.py" "test")))))) - (native-inputs - (list python-coverage)) (home-page "https://github.com/amoffat/sh") (synopsis "Python subprocess replacement") (description "This package provides a replacement for Python's @@ -3611,7 +3606,6 @@ (define-public python-cftime (list python-numpy)) (native-inputs (list python-check-manifest - python-coverage python-coveralls python-cython python-pytest-cov @@ -4156,7 +4150,6 @@ (define-public python-can (native-inputs (list ;; python-canalystii ; Not packed yet python-codecov - python-coverage python-future python-hypothesis python-mock @@ -5070,7 +5063,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-coverage python-pycodestyle python-pydantic python-pytest @@ -6580,8 +6572,7 @@ (define-public python-pyjwt "1z85kwr945rbzrn5wabrsmck5x8disa9wc7b3y5gci7w65z5qa39")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-cryptography + (list python-cryptography python-pytest python-sphinx python-sphinx-rtd-theme @@ -6847,7 +6838,6 @@ (define-public python-virtualenv-clone (native-inputs (list python-pytest python-tox python-virtualenv - python-coverage python-wheel python-tomli python-hypothesis)) @@ -11102,7 +11092,6 @@ (define-public python-pikepdf (native-inputs (list pybind11 python-attrs - python-coverage python-hypothesis python-setuptools-scm python-psutil @@ -17222,7 +17211,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coverage python-coveralls python-nose2 + (native-inputs (list python-coveralls python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -18829,8 +18818,7 @@ (define-public python-notebook python-tornado-6 python-traitlets)) (native-inputs - (list python-coverage - python-jupyter-server + (list python-jupyter-server python-nbval python-pytest python-pytest-cov @@ -19614,7 +19602,6 @@ (define-public python-structlog python-hatch-vcs python-hatchling ;; For the tests - python-coverage python-freezegun python-pretend python-pytest @@ -24232,7 +24219,7 @@ (define-public binwalk (lambda _ (setenv "HOME" "")))))) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/ReFirmLabs/binwalk") (synopsis "Firmware analysis tool") (description "Binwalk is a tool for analyzing, reverse engineering, and @@ -27945,7 +27932,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-setuptools-scm python-wheel)) + (list python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -29015,7 +29002,7 @@ (define-public python-stone (propagated-inputs (list python-ply python-six)) (native-inputs - (list python-coverage python-mock python-pytest python-pytest-runner)) + (list python-mock python-pytest python-pytest-runner)) (home-page "https://github.com/dropbox/stone") (synopsis "Official Api Spec Language for Dropbox") (description @@ -29290,8 +29277,7 @@ (define-public python-identify ;; system-error "utime" "~A" ("No such file or directory") (delete 'ensure-no-mtimes-pre-1980)))) (native-inputs - (list python-coverage python-pytest python-setuptools - python-ukkonen python-wheel)) + (list python-pytest python-setuptools python-ukkonen python-wheel)) (propagated-inputs (list python-editdistance)) (home-page "https://github.com/chriskuehl/identify") @@ -29390,8 +29376,7 @@ (define-public python-nodeenv "not test_smoke" " and not test_smoke_n_system_special_chars")))) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pytest python-setuptools python-wheel)) @@ -32209,7 +32194,7 @@ (define-public python-forbiddenfruit (lambda _ (invoke "make" "SKIP_DEPS=1")))))) (native-inputs - (list python-nose python-coverage)) + (list python-nose)) (home-page "https://github.com/clarete/forbiddenfruit") (synopsis "Patch python built-in objects") (description "This project allows Python code to extend built-in types.") @@ -32396,7 +32381,6 @@ (define-public python-watchgod (delete 'sanity-check)))) (native-inputs (list python-anyio - python-coverage python-pygments python-pytest python-pytest-asyncio @@ -33258,8 +33242,7 @@ (define-public python-eliot (propagated-inputs (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-xdist python-setuptools @@ -33292,7 +33275,6 @@ (define-public python-pem (build-system python-build-system) (native-inputs (list python-certifi - python-coverage python-pretend python-pyopenssl python-pytest @@ -35393,7 +35375,6 @@ (define-public python-scikit-build gfortran git-minimal/pinned ;for tests ninja - python-coverage python-cython python-hatchling python-hatch-fancy-pypi-readme @@ -36587,8 +36568,7 @@ (define-public python-minikanren python-pytest-cov python-pylint python-sympy - python-versioneer - python-coverage)) + python-versioneer)) (propagated-inputs (list python-toolz python-cons python-multipledispatch python-etuples python-logical-unification)) @@ -38045,8 +38025,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-mypy - python-pretend python-pytest)) + (native-inputs (list python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -38445,7 +38424,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-shtab)) + (list python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 1eed4fd180..375531b1ee 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1250,7 +1250,6 @@ (define-public python-dolfin-adjoint (list fenics openmpi pybind11)) (native-inputs (list pkg-config - python-coverage python-decorator python-pkgconfig python-pytest)) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 37abd291d2..89aed7f961 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2619,8 +2619,7 @@ (define-public python-emcee (base32 "0zb3ihja3hyj6zjbhkpxhyyppnv58q2jjg0yd1lwmydqdaplvbqi")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) - (native-inputs (list python-coverage - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-setuptools-scm @@ -7131,8 +7130,7 @@ (define-public python-rpy2 r-dbplyr zlib)) (native-inputs - (list python-coverage - python-ipython + (list python-ipython python-numpy python-pandas python-pytest diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 9fbccf6087..becb3c6bc8 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -499,7 +499,6 @@ (define-public rtv (native-inputs (list ncurses python-coveralls - python-coverage python-mock python-pytest python-vcrpy)) @@ -541,8 +540,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-mock python-pytest python-setuptools diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 662a40c689..590cf2a1e7 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1176,8 +1176,7 @@ (define-public python-halo (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-twine @@ -1208,8 +1207,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-wheel)) @@ -1241,8 +1239,7 @@ (define-public python-spinners (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-wheel)) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 5424f6a28c..ce9847a168 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1757,7 +1757,6 @@ (define-public python-panflute (build-system python-build-system) (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser - python-coverage python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 8fb046dad2..005e270071 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2456,7 +2456,6 @@ (define-public pre-commit (native-inputs (list git-minimal/pinned python-covdefaults - python-coverage python-distlib python-pytest python-pytest-env diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 1a1d9e7604..93c8146d4f 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7103,7 +7103,6 @@ (define-public python-httpretty (invoke "nosetests" "--exclude=(passthrough|streaming|httpretty_should_handle)"))))))) (native-inputs (list nss-certs-for-test - python-coverage python-eventlet python-freezegun python-httplib2 diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 10cd6d98fa..4b9f7566a1 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1996,7 +1996,7 @@ (define-public python-xmltodict "08cadlb9vsb4pmzc99lz3a2lx6qcfazyvgk10pcqijvyxlwcdn2h")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-nose python-setuptools python-wheel)) + (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/martinblech/xmltodict") (synopsis "Work with XML like you are working with JSON") (description "This package provides a Python library to convert XML to -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:04 GMT) Full text and rfc822 format available.Message #250 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 07/28] gnu: python-cram: Remove python-coverage native-input. Date: Fri, 31 Jan 2025 03:03:07 +0100
* gnu/packages/python-xyz.scm (python-cram): [native-inputs]: Remove python-coverage. [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Adapt check and patch-source phases to coverage removal. Change-Id: I83fafcdcfbc977f9d3e3411d01d23d9a0e120ec6 --- gnu/packages/python-xyz.scm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8515060e03..9207f479c8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16260,25 +16260,17 @@ (define-public python-cram ;; causes the line showing the default shell to break into two ;; lines, but the test expects a single line... (("env\\['COLUMNS'\\] = '80'") - "env['COLUMNS'] = '160'")) - - (substitute* "Makefile" - ;; Recent versions of python-coverage have caused the test - ;; coverage to decrease (as of version 0.7). Allow that. - (("--fail-under=100") - "--fail-under=90")) - - #t)) + "env['COLUMNS'] = '160'")))) (replace 'check ;; The test phase uses the built library and executable. (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv "PATH" (string-append (getenv "PATH") ":" (assoc-ref outputs "out") "/bin")) - (invoke "make" "test")))))) - (build-system python-build-system) + (invoke "make" "quicktest")))))) + (build-system pyproject-build-system) (native-inputs - (list python-coverage python-setuptools python-wheel which)) + (list python-setuptools python-wheel which)) (synopsis "Simple testing framework for command line applications") (description "Cram is a functional testing framework for command line applications. -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:04 GMT) Full text and rfc822 format available.Message #253 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 13/28] gnu: python-re-assert: Remove python-covdefaults native-input. Date: Fri, 31 Jan 2025 03:03:13 +0100
* gnu/packages/python-check.scm (python-re-assert): [native-inputs]: Remove python-covdefaults. Change-Id: Ib30c58b69aef7f255e5893ae6f9a33bdf41ac85d --- gnu/packages/python-check.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 58fc1d296a..7b12c05926 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1573,7 +1573,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-pytest)) + (list python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:05 GMT) Full text and rfc822 format available.Message #256 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 14/28] build-system/pyproject: Remove python-codecov native-input. Date: Fri, 31 Jan 2025 03:03:14 +0100
* gnu/packages/android.scm (python-androguard)[native-inputs]: Remove python-codecov. * gnu/packages/astronomy.scm (python-wiimatch, python-tweakwcs) [native-inputs]: Remove python-codecov. * gnu/packages/python-xyz.scm (python-can, python-ddlparse)[native-inputs]: Remove python-codecov. --- gnu/packages/android.scm | 2 +- gnu/packages/astronomy.scm | 9 +++++---- gnu/packages/python-xyz.scm | 4 +--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 10845bc40c..1198e9591d 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1074,7 +1074,7 @@ (define-public python-androguard (lambda _ (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-mock python-nose python-nose-timer)) + (list python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index fa39f3f83a..9c7423e521 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6399,8 +6399,7 @@ (define-public python-tweakwcs python-stsci-imagestats python-stsci-stimage)) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-scipy python-setuptools @@ -6523,8 +6522,10 @@ (define-public python-wiimatch "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy)) - (native-inputs (list python-codecov python-pytest python-pytest-cov - python-pytest-doctestplus python-setuptools-scm + (native-inputs (list python-pytest + python-pytest-cov + python-pytest-doctestplus + python-setuptools-scm python-wheel)) (home-page "https://github.com/spacetelescope/wiimatch") (synopsis diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a71eeeb645..50d073724f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4148,7 +4148,6 @@ (define-public python-can python-setuptools)) (native-inputs (list ;; python-canalystii ; Not packed yet - python-codecov python-future python-hypothesis python-mock @@ -6259,8 +6258,7 @@ (define-public python-ddlparse (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) (build-system pyproject-build-system) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-setuptools python-tox -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:05 GMT) Full text and rfc822 format available.Message #259 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 12/28] build-system/pyproject: Remove python-pycodestyle native-input. Date: Fri, 31 Jan 2025 03:03:12 +0100
* gnu/packages/python-science.scm (python-scipy): [native-inputs]: Remove python-pycodestyle. * gnu/packages/python-xyz.scm (python-jsonargparse, python-lsp-server, python-orderedmultidict, python-stem) [native-inputs]: Remove python-pycodestyle. --- gnu/packages/python-science.scm | 1 - gnu/packages/python-xyz.scm | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index bcd0f9e550..190ccd7f1d 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -416,7 +416,6 @@ (define-public python-scipy python-doit python-hypothesis python-pooch - python-pycodestyle python-pydevtool python-pytest python-pytest-cov diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index eaca74f0d8..a71eeeb645 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5062,7 +5062,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-pycodestyle python-pydantic python-pytest python-pytest-subtests @@ -8892,7 +8891,6 @@ (define-public python-lsp-server python-jedi python-lsp-jsonrpc python-pluggy - python-pycodestyle python-pydocstyle python-ujson python-whatthepatch @@ -10767,7 +10765,7 @@ (define-public python-orderedmultidict (propagated-inputs (list python-six)) (native-inputs - (list python-flake8 python-pycodestyle python-setuptools python-wheel)) + (list python-flake8 python-setuptools python-wheel)) (home-page "https://github.com/gruns/orderedmultidict") (synopsis "Python Ordered Multivalue Dictionary - omdict") (description "This package contains a library for ordered multivalue @@ -23697,7 +23695,7 @@ (define-public python-stem (invoke "./run_tests.py" "--unit") #t))))) (native-inputs - (list python-mock python-pycodestyle python-pyflakes)) + (list python-mock python-pyflakes)) (home-page "https://stem.torproject.org/") (synopsis "Python controller library that allows applications to interact with Tor") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:06 GMT) Full text and rfc822 format available.Message #262 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 15/28] build-system/pyproject: Remove python-tox native-input. Date: Fri, 31 Jan 2025 03:03:15 +0100
* gnu/packages/django.scm (python-django-extensions)[native-inputs]: Remove python-tox. * gnu/packages/logging.scm (tailon)[native-inputs]: Remove python-tox. * gnu/packages/messaging.scm (python-harmony)[native-inputs]: Remove python-tox. * gnu/packages/python-web.scm (python-omnipath, python-sanic)[native-inputs]: Remove python-tox. * gnu/packages/python-xyz.scm (python-lunr, python-bidict, python-jsonargparse, python-ddlparse, python-virtualenv-clone, python-honcho, python-shshsh, python-ansicolors)[native-inputs]: Remove python-tox. * gnu/packages/radio.scm (chirp)[native-inputs]: Remove python-tox. * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners)[native-inputs]: Remove python-tox. --- gnu/packages/django.scm | 1 - gnu/packages/logging.scm | 2 +- gnu/packages/messaging.scm | 2 -- gnu/packages/python-web.scm | 2 -- gnu/packages/python-xyz.scm | 18 +++++------------- gnu/packages/radio.scm | 3 +-- gnu/packages/terminals.scm | 3 --- 7 files changed, 7 insertions(+), 24 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index fcc73c6d88..905a889de8 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -268,7 +268,6 @@ (define-public python-django-extensions (native-inputs (list python-mock python-factory-boy - python-tox python-pytest python-pytest-cov python-pytest-django diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 9cc28279d7..55a1db4123 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -159,7 +159,7 @@ (define-public tailon "0xkmrivzilsc9wqr8ms67v7399gxnh7pv5687k4rdpdgz4309fwc")))) (build-system python-build-system) (native-inputs - (list python-tox python-wheel)) + (list python-wheel)) (inputs (list python-pyyaml-5 python-sockjs-tornado python-tornado-http-auth python-tornado python-deepmerge)) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index f6ac865512..e13625c64d 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3624,8 +3624,6 @@ (define-public python-harmony (base32 "1bm9xcnzpnpj6rlhbrnl2abwclzl7ivgh1vb5644y9mnhcs489js")))) (build-system python-build-system) - (native-inputs - (list python-tox)) (inputs (list python-librecaptcha python-keyring python-requests)) (synopsis "Discord account management") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 52a63157b2..1a73051889 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2889,7 +2889,6 @@ (define-public python-omnipath python-requests-mock python-setuptools python-setuptools-scm - python-tox python-wheel)) (home-page "https://omnipathdb.org/") (synopsis "Python client for the OmniPath web service") @@ -8810,7 +8809,6 @@ (define-public python-sanic python-setuptools python-slotscheck python-towncrier - python-tox python-types-ujson python-uvicorn python-wheel)) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 50d073724f..1c0dfe8a41 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1598,8 +1598,7 @@ (define-public python-lunr (list python-hatch-fancy-pypi-readme python-hatchling python-pytest - python-pytest-timeout - python-tox)) + python-pytest-timeout)) (propagated-inputs (list python-importlib-metadata python-typing-extensions)) (home-page @@ -3234,8 +3233,7 @@ (define-public python-bidict python-sortedcollections python-sortedcontainers python-sphinx - python-sphinx-autodoc-typehints - python-tox)) + python-sphinx-autodoc-typehints)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'relax-reqs @@ -5065,7 +5063,6 @@ (define-public python-jsonargparse python-pytest python-pytest-subtests python-responses - python-tox python-types-requests python-setuptools python-wheel)) @@ -6261,7 +6258,6 @@ (define-public python-ddlparse (list python-pytest python-pytest-cov python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-pyparsing)) (home-page "https://github.com/shinichi-takii/ddlparse") @@ -6831,7 +6827,6 @@ (define-public python-virtualenv-clone (delete-file "tox.ini") (invoke "pytest" "-vvv" "tests"))))))) (native-inputs (list python-pytest - python-tox python-virtualenv python-wheel python-tomli @@ -12308,7 +12303,7 @@ (define-public python-honcho (base32 "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj")))) (build-system python-build-system) (native-inputs - (list python-pytest python-mock python-tox which)) ;for tests + (list python-pytest python-mock which)) ;for tests (propagated-inputs (list python-jinja2)) (arguments @@ -22628,9 +22623,7 @@ (define-public python-shshsh "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f")))) (build-system pyproject-build-system) (native-inputs - (list python-poetry-core - python-pytest - python-tox)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/zqqqqz2000/shshsh") (synopsis "Write Shell commands simply and safely within Python") (description "This package provides a way to write Shell commands from @@ -37789,8 +37782,7 @@ (define-public python-ansicolors (base32 "1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr")))) (build-system python-build-system) (native-inputs - (list python-tox - python-pytest-cov + (list python-pytest-cov unzip)) (home-page "https://github.com/jonathaneunice/colors/") (synopsis "ANSI colors for Python") diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 417c787144..c05b2b9075 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3265,8 +3265,7 @@ (define-public chirp python-pep8 python-pytest python-pytest-mock - python-pyyaml - python-tox)) + python-pyyaml)) (inputs (list python-future python-importlib-resources diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 590cf2a1e7..b32393c1ec 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-tox python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") @@ -1209,7 +1208,6 @@ (define-public python-log-symbols (native-inputs (list python-nose python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-colorama)) (home-page "https://github.com/manrajgrover/py-log-symbols") @@ -1241,7 +1239,6 @@ (define-public python-spinners (native-inputs (list python-nose python-setuptools - python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:06 GMT) Full text and rfc822 format available.Message #265 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 16/28] build-system/pyproject: Remove python-mypy native-input. Date: Fri, 31 Jan 2025 03:03:16 +0100
* gnu/packages/astronomy.scm (python-poliastro)[native-inputs]: Remove python-mypy. * gnu/packages/databases.scm (python-psycopg2)[native-inputs]: Remove python-mypy. * gnu/packages/engineering.scm (uranium, cura)[native-inputs]: Remove python-mypy. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-mypy. * gnu/packages/machine-learning.scm (python-imbalanced-learn, python-captum, python-torchmetrics)[native-inputs]: Remove python-mypy. * gnu/packages/python-science.scm (python-scipy)[native-inputs]: Remove python-mypy. * gnu/packages/python-web.scm (python-huggingface-hub, python-asgiref, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-mypy. * gnu/packages/python-xyz.scm (kalamine, python-pydantic-cli, python-apispec, python-typeguard, python-verspec, python-catalogue)[native-inputs]: Remove python-mypy. * gnu/packages/serialization.scm (python-msgspec)[native-inputs]: Remove python-mypy. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-mypy. --- gnu/packages/astronomy.scm | 1 - gnu/packages/databases.scm | 1 - gnu/packages/engineering.scm | 2 -- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 3 --- gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 6 +++--- gnu/packages/python-xyz.scm | 13 +++++-------- gnu/packages/serialization.scm | 1 - gnu/packages/virtualization.scm | 3 +-- 10 files changed, 9 insertions(+), 23 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9c7423e521..ad9dcffaed 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4342,7 +4342,6 @@ (define-public python-poliastro (setenv "HOME" "/tmp")))))) (native-inputs (list python-hypothesis - python-mypy python-flit-core python-pytest python-pytest-cov diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index af5eaed244..24bcb35134 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4303,7 +4303,6 @@ (define-public python-psycopg "-c" "CREATE DATABASE nixbld;")))))))) (native-inputs (list python-cython-3 - python-mypy python-psycopg-pool python-pytest python-pytest-asyncio diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8bd5f155d3..67f0d95316 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -4404,7 +4404,6 @@ (define-public uranium graphviz pkg-config python-pytest - python-mypy python-certifi python-twisted)) (propagated-inputs @@ -4607,7 +4606,6 @@ (define-public cura (build-system qt-build-system) (native-inputs (list python-certifi - python-mypy python-pytest python-requests)) (inputs diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 0d3db31212..6bfe5325ac 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -225,7 +225,6 @@ (define-public python-uqbar (native-inputs (list graphviz python-isort - python-mypy python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 53eb637ce8..5d24d3f8f0 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -2148,7 +2148,6 @@ (define-public python-imbalanced-learn (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) (native-inputs (list python-keras - python-mypy python-pandas python-pytest python-pytest-cov @@ -5319,7 +5318,6 @@ (define-public python-captum python-flask-compress python-ipython python-ipywidgets - python-mypy python-parameterized python-pytest python-pytest-cov @@ -5507,7 +5505,6 @@ (define-public python-torchmetrics (list python-cloudpickle python-fire python-mir-eval - python-mypy python-pandas python-psutil python-pytest diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 190ccd7f1d..54160f01c0 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -393,7 +393,6 @@ (define-public python-scipy '()) (list python-matplotlib python-mpmath - python-mypy python-numpy python-numpydoc python-pydata-sphinx-theme diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1a73051889..54a31e1bae 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -494,7 +494,6 @@ (define-public python-huggingface-hub python-fastapi python-jedi python-jinja2 - python-mypy python-numpy python-pillow python-pydantic @@ -1148,7 +1147,9 @@ (define-public python-asgiref (base32 "146mhkn3zp2bqf7j6r3chdlvfzgs5x1lrnqahsllgjdyl20bshy3")))) (build-system pyproject-build-system) (native-inputs - (list python-mypy python-pytest python-pytest-asyncio python-setuptools + (list python-pytest + python-pytest-asyncio + python-setuptools python-wheel)) (home-page "https://github.com/django/asgiref/") (synopsis "ASGI specs, helper code, and adapters") @@ -10200,7 +10201,6 @@ (define-public python-starsessions python-starlette)) (native-inputs (list python-httpx - python-mypy python-poetry-core python-pytest python-pytest-asyncio diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1c0dfe8a41..22b41ea4c1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7414,7 +7414,7 @@ (define-public kalamine ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs - (list python-hatchling python-mypy python-pytest)) + (list python-hatchling python-pytest)) (home-page "https://github.com/OneDeadKey/kalamine") (synopsis "Keyboard layout maker") (description @@ -8692,8 +8692,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-mypy - python-pytest)) + (list python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") (description @@ -26878,7 +26877,6 @@ (define-public python-apispec (build-system pyproject-build-system) (native-inputs (list python-flit-core - python-mypy python-openapi-spec-validator python-pytest)) (propagated-inputs @@ -28262,8 +28260,7 @@ (define-public python-typeguard (base32 "06y22d1f5dhpyl71wbhsaibig5hvc2v44pw795yb8lxl02fsh8hd")))) (build-system pyproject-build-system) (native-inputs - (list python-mypy - python-pytest + (list python-pytest python-setuptools python-setuptools-scm python-typing-extensions @@ -38002,7 +37999,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-mypy python-pretend python-pytest)) + (native-inputs (list python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -38749,7 +38746,7 @@ (define-public python-catalogue "0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak")))) (build-system python-build-system) (native-inputs (list python-pytest)) - (inputs (list python python-zipp python-typing-extensions python-mypy)) + (inputs (list python python-zipp python-typing-extensions)) (home-page "https://github.com/explosion/catalogue") (synopsis "Lightweight function registries for your library") (description diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index f77ae9dc16..97951cb510 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -762,7 +762,6 @@ (define-public python-msgspec (native-inputs (list python-attrs python-gcovr python-msgpack - python-mypy python-pytest python-setuptools-scm python-versioneer diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 568b50fcf9..9bde297c1f 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2972,8 +2972,7 @@ (define-public python-transient (("==") ">="))))))) (native-inputs - (list python-mypy - python-pyhamcrest + (list python-pyhamcrest python-setuptools python-twine python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:07 GMT) Full text and rfc822 format available.Message #268 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 17/28] gnu: python-immutables: Remove python-mypy native-input. Date: Fri, 31 Jan 2025 03:03:17 +0100
* gnu/packages/python-xyz.scm (python-immutables): [origin]: Use git-fetch to use upstream test-data directory. [native-inputs]: Remove python-mypy. [arguments]<#:phases>: Add phase to remove python-mypy native-input. --- gnu/packages/python-xyz.scm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 22b41ea4c1..6c1d41c39a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17019,13 +17019,22 @@ (define-public python-immutables (version "0.21") (source (origin - (method url-fetch) - (uri (pypi-uri "immutables" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/immutables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 "0jpw9nr2mbzqykigjhqa3a095bx7krwsnmjcxcpj944p8kqglpxm")))) (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-mypy-dependency + (lambda _ + (delete-file "tests/test_mypy.py") + (delete-file "tests/conftest.py")))))) (native-inputs - (list python-mypy python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/MagicStack/immutables") (synopsis "High-performance immutable mapping type for Python") (description -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:07 GMT) Full text and rfc822 format available.Message #271 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 18/28] build-system/pyproject: Remove python-isort native-input. Date: Fri, 31 Jan 2025 03:03:18 +0100
* gnu/packages/bioinformatics.scm (python-cooler, scvelo)[native-inputs]: Remove python-isort. * gnu/packages/databases.scm (aerich)[native-inputs]: Remove python-isort. * gnu/packages/finance.scm (python-trezor)[native-inputs]: Remove python-isort. * gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-isort. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-isort. * gnu/packages/machine-learning.scm (python-funsor) [native-inputs]: Remove python-isort. * gnu/packages/mail.scm (postorius)[native-inputs]: Remove python-isort. * gnu/packages/protobuf.scm (python-pure-protobuf)[native-inputs]: Remove python-isort. * gnu/packages/python-web.scm (python-ovh, python-tinycss2) [native-inputs]: Remove python-isort. * gnu/packages/statistics.scm (python-statsmodels)[native-inputs]: Remove python-isort. * gnu/packages/virtualization.scm (python-qemu-qmp)[native-inputs]: Remove python-isort. --- gnu/packages/bioinformatics.scm | 2 -- gnu/packages/databases.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 3 +-- gnu/packages/mail.scm | 2 +- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-web.scm | 3 +-- gnu/packages/statistics.scm | 1 - gnu/packages/virtualization.scm | 1 - 11 files changed, 4 insertions(+), 14 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 0d603ca73e..11494c293a 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -19606,7 +19606,6 @@ (define-public python-cooler python-simplejson)) (native-inputs (list python-hatchling - python-isort python-pytest python-pytest-cov)) ;; Almost all the projects of the Mirnylab are moved under Open2C umbrella @@ -23555,7 +23554,6 @@ (define-public scvelo (propagated-inputs (list python-anndata python-hnswlib - python-isort python-igraph python-loompy python-louvain diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 24bcb35134..9f1421135d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3457,7 +3457,6 @@ (define-public aerich (list poetry python-bandit python-cryptography - python-isort python-pydantic python-pytest python-pytest-asyncio diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 5cf2db24a2..0df0e41aab 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1159,7 +1159,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-isort python-pillow python-protobuf python-pyqt diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 29cdbab915..841d3e0c8b 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -228,7 +228,6 @@ (define-public mdpo (list python-bump2version python-flake8-implicit-str-concat python-flake8-print - python-isort python-pytest python-pytest-cov python-sphinx diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 6bfe5325ac..33ddbeba42 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -224,7 +224,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-isort python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 5d24d3f8f0..212a6f6288 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-isort - python-nbsphinx + (native-inputs (list python-nbsphinx python-pandas python-pillow python-pyro-api diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 73b4c01bd7..f40724226d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -3833,7 +3833,7 @@ (define-public postorius (list python-readme-renderer python-mailmanclient python-django python-django-mailman3)) (native-inputs - (list python-beautifulsoup4 python-isort python-mock python-vcrpy)) + (list python-beautifulsoup4 python-mock python-vcrpy)) (home-page "https://gitlab.com/mailman/postorius") (synopsis "Web user interface for GNU Mailman") (description diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 4f18d1e6e2..b5f853c559 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 python-isort)) + (list python-pytest python-pytest-cov)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 54a31e1bae..de0f02c629 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1516,8 +1516,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-isort - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-sphinx diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 89aed7f961..99f5ded8b5 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2669,7 +2669,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-isort python-joblib python-matplotlib python-pytest diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 9bde297c1f..5bdb0976d7 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2105,7 +2105,6 @@ (define-public python-qemu-qmp (native-inputs (list python-avocado-framework python-flake8 - python-isort python-pylint python-setuptools python-setuptools-scm -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:08 GMT) Full text and rfc822 format available.Message #274 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 19/28] build-system/pyproject: Remove python-twine native-input. Date: Fri, 31 Jan 2025 03:03:19 +0100
* gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-twine. * gnu/packages/machine-learning.scm (python-linear-operator, python-gpytorch)[native-inputs]: Remove python-twine. * gnu/packages/python-check.scm (python-testfixtures)[native-inputs]: Remove python-twine. * gnu/packages/python-web.scm (python-translation-finder, python-eventlet) [native-inputs]: Remove python-twine. * gnu/packages/python-xyz.scm (python-cftime)[native-inputs]: Remove python-twine. * gnu/packages/terminals.scm (python-halo)[native-inputs]: Remove python-twine. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-twine. --- gnu/packages/gettext.scm | 1 - gnu/packages/machine-learning.scm | 6 ++---- gnu/packages/python-check.scm | 2 +- gnu/packages/python-web.scm | 5 ++--- gnu/packages/python-xyz.scm | 2 -- gnu/packages/terminals.scm | 1 - gnu/packages/virtualization.scm | 1 - 7 files changed, 5 insertions(+), 13 deletions(-) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 841d3e0c8b..25f4efe1fc 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -233,7 +233,6 @@ (define-public mdpo python-sphinx python-sphinx-argparse python-sphinx-rtd-theme - python-twine python-yamllint)) (propagated-inputs (list python-polib python-pymd4c)) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 212a6f6288..d90d9a8c96 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5889,8 +5889,7 @@ (define-public python-linear-operator (native-inputs (list python-flake8-print python-pytest python-setuptools - python-setuptools-scm - python-twine)) + python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") (synopsis "Linear operator implementation") (description "LinearOperator is a PyTorch package for abstracting away the @@ -5919,8 +5918,7 @@ (define-public python-gpytorch (native-inputs (list python-flake8-print python-nbval python-pytest - python-setuptools - python-twine)) + python-setuptools)) (home-page "https://gpytorch.ai") (synopsis "Implementation of Gaussian Processes in PyTorch") (description diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7b12c05926..9899b18efc 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -726,7 +726,7 @@ (define-public python-testfixtures (native-inputs (list python-pytest python-pytest-cov ;;("python-pytest-django" ,python-pytest-django) - python-twine python-wheel)) + python-wheel)) (synopsis "Tests components for Python") (description "Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index de0f02c629..6e68f8d25a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -356,8 +356,7 @@ (define-public python-eventlet (native-inputs (list python-hatch-vcs python-hatchling - python-pytest - python-twine)) + python-pytest)) (propagated-inputs (list python-dnspython python-greenlet @@ -7356,7 +7355,7 @@ (define-public python-translation-finder (list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (native-inputs (list python-codecov python-codacy-coverage python-pytest-cov - python-pytest-runner python-twine)) + python-pytest-runner)) (home-page "https://weblate.org/") (synopsis "Translation file finder for Weblate") (description "This package provides a function to find translation file in diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6c1d41c39a..61f6350bb5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3607,7 +3607,6 @@ (define-public python-cftime python-cython python-pytest-cov python-sphinx - python-twine python-wheel)) (home-page "https://unidata.github.io/cftime/") (synopsis "Library for time handling") @@ -33234,7 +33233,6 @@ (define-public python-eliot python-sphinx python-sphinx-rtd-theme python-testtools - python-twine python-twisted python-wheel)) (home-page "https://github.com/itamarst/eliot/") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index b32393c1ec..0d30ad7838 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 5bdb0976d7..bd8b267be9 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2973,7 +2973,6 @@ (define-public python-transient (native-inputs (list python-pyhamcrest python-setuptools - python-twine python-wheel)) (propagated-inputs (list python-beautifultable -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:08 GMT) Full text and rfc822 format available.Message #277 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 21/28] gnu: python-django-contact-form: Remove python-pytest-cov native-input. Date: Fri, 31 Jan 2025 03:03:21 +0100
* gnu/packages/django.scm (python-django-contact-form): [native-inputs]: Remove python-pytest-cov. [build-system]: Upgrade to pyproject-build-system. [arguments]<#:phases>: Remove coverage tests for check phase. Change-Id: I4d0fc406401b7e923f7efa084dbe8ea3753e50fc --- gnu/packages/django.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index b4e6f02fe1..953df30338 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -887,16 +887,13 @@ (define-public python-django-contact-form (sha256 (base32 "1my9hkrylckp5vfqg9b0kncrdlxjnwxll56sdciqn4v19i4wbq1y")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - (invoke "coverage" "run" "--source" "contact_form" - "runtests.py")))))) - (native-inputs - (list python-coverage)) + (invoke "python" "runtests.py")))))) (propagated-inputs (list python-django)) (home-page "https://github.com/ubernostrum/django-contact-form") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:09 GMT) Full text and rfc822 format available.Message #280 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 22/28] gnu: python-dateutil: Remove python-pytest-cov native-input. Date: Fri, 31 Jan 2025 03:03:22 +0100
* gnu/packages/time.scm (python-dateutil): [native-inputs]: Remove python-pytest-cov. [arguments]<#:phases>: Add remove-pytest-cov-dep phase. Change-Id: Id82a147d6e40383ecc2661ac896b65b858c181e0 --- gnu/packages/time.scm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 6c52f657ac..a1addf93bc 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -277,14 +277,20 @@ (define-public python-dateutil (build-system pyproject-build-system) (arguments (list - #:test-flags '(list ; avoid freezegun dependency - "--ignore=dateutil/test/test_utils.py" - "--ignore=dateutil/test/test_rrule.py" - ;; XXX: Fails to get timezone from /etc/localtime. - "--ignore=dateutil/test/test_tz.py"))) + #:test-flags '(list "dateutil/test" "docs" + ;; avoid freezegun dependency + "--ignore=dateutil/test/test_utils.py" + "--ignore=dateutil/test/test_rrule.py" + ;; XXX: Fails to get timezone from /etc/localtime. + "--ignore=dateutil/test/test_tz.py") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-pytest-cov-dep + (lambda _ + (substitute* "dateutil/test/conftest.py" + (("item\\.add_marker\\(pytest\\.mark\\.no_cover\\)") + "pass"))))))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:09 GMT) Full text and rfc822 format available.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
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:10 GMT) Full text and rfc822 format available.Message #286 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 23/28] build-system/pyproject: Remove python-pytest-isort native-input. Date: Fri, 31 Jan 2025 03:03:23 +0100
* gnu/packages/dav.scm (radicale): [native-inputs]: Remove python-pytest-isort. --- gnu/packages/dav.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 7688c9a994..ff5d8409b0 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -59,7 +59,6 @@ (define-public radicale (native-inputs (list python-pytest python-pytest-flake8 - python-pytest-isort python-setuptools python-waitress python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:10 GMT) Full text and rfc822 format available.Message #289 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 24/28] build-system/pyproject: Remove python-pytest-black native-input. Date: Fri, 31 Jan 2025 03:03:24 +0100
* gnu/packages/check.scm (python-pytest-perf, python-pytest-enabler) [native-inputs]: Remove python-pytest-black. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-black. --- gnu/packages/check.scm | 2 -- gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 10 ---------- 3 files changed, 13 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 9ba35bd360..720405c100 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2830,7 +2830,6 @@ (define-public python-pytest-enabler python-jaraco-functools python-toml)) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -3036,7 +3035,6 @@ (define-public python-pytest-perf "and not upstream_url")))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f97ccff187..cda6baec2a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -628,7 +628,6 @@ (define-public python-portend (propagated-inputs (list python-tempora)) ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1b30eca4c7..136276c257 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12555,7 +12555,6 @@ (define-public python-importlib-resources (string-append (getcwd) "/_custom_build"))))))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -12705,7 +12704,6 @@ (define-public python-jaraco-classes #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -12738,7 +12736,6 @@ (define-public python-jaraco-collections ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy @@ -12798,7 +12795,6 @@ (define-public python-jaraco-context #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -12832,7 +12828,6 @@ (define-public python-jaraco-functools (native-inputs (list python-jaraco-classes python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-flake8 python-pytest-mypy @@ -12926,7 +12921,6 @@ (define-public python-jaraco-text ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-mypy @@ -17732,7 +17726,6 @@ (define-public python-path python-packaging python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -17837,7 +17830,6 @@ (define-public python-pip-run (append python-nbformat python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -22446,7 +22438,6 @@ (define-public python-inflect (propagated-inputs (list python-pydantic)) (native-inputs (list python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 @@ -27634,7 +27625,6 @@ (define-public python-tempora (native-inputs (list python-freezegun python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-enabler python-pytest-flake8 -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:11 GMT) Full text and rfc822 format available.Message #292 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 25/28] build-system/pyproject: Remove python-pytest-flake8 native-input. Date: Fri, 31 Jan 2025 03:03:25 +0100
* gnu/packages/check.scm (python-pytest-enabler, python-pytest-perf): [native-inputs]: Remove python-pytest-flake8. * gnu/packages/dav.scm (radicale)[native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-check.scm (python-pytest-csv): [arguments]<#:test-flags>: Ignore flake8 test. [native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-web.scm (python-mechanicalsoup)[native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-context, python-jaraco-functools, python-jaraco-packaging, python-jaraco-test, python-path, python-pip-run, python-tempora, python-cairosvg) [native-inputs]: Remove python-pytest-flake8. --- gnu/packages/check.scm | 2 -- gnu/packages/dav.scm | 1 - gnu/packages/python-check.scm | 5 +++-- gnu/packages/python-web.scm | 3 +-- gnu/packages/python-xyz.scm | 12 +----------- 5 files changed, 5 insertions(+), 18 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 720405c100..371736e6b3 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2831,7 +2831,6 @@ (define-public python-pytest-enabler python-toml)) (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -3037,7 +3036,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools python-wheel)) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index ff5d8409b0..71d12a0ca1 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-flake8 python-setuptools python-waitress python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bf621d793f..6069d15b3d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -651,9 +651,10 @@ (define-public python-pytest-csv (base32 "17518f2fn5l98lyk9p8r7215c1whi61imzrh6ahrmcksr8w0zz04")))) (build-system pyproject-build-system) + (arguments + (list #:test-flags '(list "--ignore=tests/test_flake8.py"))) (native-inputs - (list python-pytest-flake8 - python-pytest-xdist + (list python-pytest-xdist python-setuptools python-tabulate python-wheel)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index cda6baec2a..9410d162de 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2227,8 +2227,7 @@ (define-public python-mechanicalsoup (propagated-inputs (list python-beautifulsoup4 python-lxml python-requests python-six)) (native-inputs - (list python-pytest-flake8 - python-pytest-httpbin + (list python-pytest-httpbin python-pytest-mock python-pytest-runner python-requests-mock diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 136276c257..a6fb05c8b6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12557,7 +12557,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools-57 python-setuptools-scm)) @@ -12705,7 +12704,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -12796,7 +12794,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -12829,7 +12826,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -12859,7 +12855,6 @@ (define-public python-jaraco-packaging (propagated-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-rst.linker python-setuptools python-setuptools-scm @@ -17728,7 +17723,6 @@ (define-public python-path python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties @@ -17832,7 +17826,6 @@ (define-public python-pip-run python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -22440,7 +22433,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy ;; For the version number python-setuptools-scm @@ -27627,7 +27619,6 @@ (define-public python-tempora python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-freezegun python-pytest-mypy python-setuptools-scm @@ -31397,8 +31388,7 @@ (define-public python-cairosvg (list python-cairocffi python-cssselect2 python-defusedxml python-pillow python-tinycss2)) (native-inputs - (list python-pytest-flake8 - python-pytest-isort + (list python-pytest-isort python-pytest-runner python-setuptools python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:11 GMT) Full text and rfc822 format available.Message #295 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 26/28] build-system/pyproject: Remove python-pytest-mypy inputs. Date: Fri, 31 Jan 2025 03:03:26 +0100
* gnu/packages/astronomy.scm (python-czml3, python-poliastro) [native-inputs]: Remove python-pytest-mypy. * gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-path, python-pip-run, python-inflect, python-tempora, python-portalocker)[native-inputs]: Remove python-pytest-mypy. --- gnu/packages/astronomy.scm | 4 +--- gnu/packages/check.scm | 1 - gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 15 ++------------- 4 files changed, 3 insertions(+), 18 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 6a1cd27dbd..c4d9fef03a 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2204,7 +2204,6 @@ (define-public python-czml3 (native-inputs (list python-astropy-minimal python-pytest - python-pytest-mypy python-setuptools python-wheel)) (propagated-inputs @@ -4343,8 +4342,7 @@ (define-public python-poliastro python-flit-core python-pytest python-pytest-doctestplus - python-pytest-mpl - python-pytest-mypy)) + python-pytest-mpl)) (propagated-inputs (list python-astropy python-astroquery diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 371736e6b3..af334f2bf6 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3036,7 +3036,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 9410d162de..2f7a1af4d5 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -630,7 +630,6 @@ (define-public python-portend (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/portend") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a6fb05c8b6..7ed8cf2824 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5523,7 +5523,6 @@ (define-public python-portalocker "0lawjm736vs86wlnxc3qqh37l11z0yx81xq3dmrw33m86kaq2bh3")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-mypy python-pytest-timeout python-redis python-setuptools @@ -12557,7 +12556,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools-57 python-setuptools-scm)) (propagated-inputs @@ -12704,7 +12702,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -12736,7 +12733,6 @@ (define-public python-jaraco-collections (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.collections") @@ -12794,7 +12790,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -12826,7 +12821,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -12918,7 +12912,6 @@ (define-public python-jaraco-text (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.text") @@ -17722,8 +17715,7 @@ (define-public python-path python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-path-bootstrap))))) @@ -17825,8 +17817,7 @@ (define-public python-pip-run python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -22433,7 +22424,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy ;; For the version number python-setuptools-scm python-setuptools @@ -27620,7 +27610,6 @@ (define-public python-tempora python-pytest-checkdocs python-pytest-enabler python-pytest-freezegun - python-pytest-mypy python-setuptools-scm python-types-freezegun python-types-pytz -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:11 GMT) Full text and rfc822 format available.Message #298 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 28/28] gnu: python-linear-operator: Remove python-flake8-print native-input Date: Fri, 31 Jan 2025 03:03:28 +0100
* gnu/packages/machine-learning.scm (python-linear-operator): [native-inputs]: Remove pytest-flake8-print. Change-Id: Iba2670b47e479c20a3f4ae1c703ad9fe815e3764 --- gnu/packages/machine-learning.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index ebea63515c..9faf444225 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5878,8 +5878,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8-print - python-pytest + (native-inputs (list python-pytest python-setuptools python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Fri, 31 Jan 2025 02:12:12 GMT) Full text and rfc822 format available.Message #301 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 27/28] build-system/pyproject: Stop hiding options. Date: Fri, 31 Jan 2025 03:03:27 +0100
* gnu/packages/pdf.scm (python-pydyf, weasyprint)[arguments] <#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-crypto.scm (python-keyring) [arguments]<#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-web.scm (python-asgi-lifespan, python-openapi-schema-validator, python-openapi-spec-validator, python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding coverage options. (python-openapi-schema-validator, python-openapi-spec-validator) [arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase. (python-cssselect2)[arguments]: Remove uneeded field. (python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded test-flags. * gnu/packages/python-xyz.scm (python-cattrs) [arguments]<#:phases>: Remove arguments hiding coverage options. --- gnu/packages/pdf.scm | 6 +----- gnu/packages/python-crypto.scm | 1 - gnu/packages/python-web.scm | 34 +++------------------------------- gnu/packages/python-xyz.scm | 4 +--- 4 files changed, 5 insertions(+), 40 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index f1e72ecc57..a1671e12c1 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -805,9 +805,6 @@ (define-public python-pydyf (sha256 (base32 "18q43g5d9455msipcgd5fvnh8m4a2rz189slzfg80yycjw66rshs")))) (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~'("-c" "/dev/null"))) (propagated-inputs (list python-pillow)) (native-inputs (list ghostscript @@ -1669,8 +1666,7 @@ (define-public weasyprint (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "-c" "/dev/null" - "-n" (number->string (parallel-job-count))) + #:test-flags #~(list "-n" (number->string (parallel-job-count))) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-library-paths diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index a29d7e4375..b62cc5c7d1 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -292,7 +292,6 @@ (define-public python-keyring (build-system pyproject-build-system) (arguments (list - #:test-flags '(list "-c" "/dev/null") ;avoid extra test dependencies #:phases #~(modify-phases %standard-phases (add-before 'check 'workaround-test-failure diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2f7a1af4d5..695df26396 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1200,8 +1200,7 @@ (define-public python-asgi-lifespan (arguments (list #:test-flags - '(list "-c" "/dev/null" ;ignore coverage-related options - "-k" + '(list "-k" (string-append ;; XXX: Some tests fail because of "Exceptions from Trio nursery" "not (test_lifespan_manager[trio-None-None-StartupFailed]" @@ -2176,10 +2175,7 @@ (define-public python-jsonpickle (build-system pyproject-build-system) (arguments (list - #:test-flags - ;; Prevent running the flake8 and black pytest plugins, which only tests - ;; style and frequently causes harmless failures. - '(list "-o" "addopts=''" "tests") + #:test-flags '(list "tests") #:phases '(modify-phases %standard-phases (add-before 'check 'pre-check @@ -2934,10 +2930,6 @@ (define-public python-openapi-schema-validator '(list "-k" "not test_array_prefixitems_invalid") #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") "")))) ;; See https://github.com/python-openapi/openapi-schema-validator/issues/204 (add-after 'unpack 'relax-requirements (lambda _ @@ -2981,13 +2973,7 @@ (define-public python-openapi-spec-validator (list ;; These tests attempt to fetch resources from the Internet #:test-flags '(list "--ignore-glob=tests/integration/validation/**" - "-k" "not example") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") ""))))))) + "-k" "not example"))) (native-inputs (list python-poetry-core python-pytest)) @@ -3026,9 +3012,6 @@ (define-public python-openapi-core (list #:test-flags '(list "tests/unit" - ;; Ignore Pytest configuration in setup.cfg that adds - ;; unwanted flake8 and coverage options. - "-c" "/dev/null" "-k" "not test_chars_valid"))) (native-inputs (list python-django python-falcon @@ -7009,17 +6992,6 @@ (define-public python-cssselect2 (sha256 (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk")))) (build-system pyproject-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-linters - ;; Their check fails; none of our business. - (lambda _ - (substitute* '("setup.py" "pyproject.toml") - (("'pytest-flake8',") "") - (("'pytest-isort',") "") - (("--flake8") "") - (("--isort") ""))))))) (propagated-inputs (list python-tinycss2)) (native-inputs diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7ed8cf2824..59def98c44 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22744,9 +22744,7 @@ (define-public python-cattrs (substitute* "pyproject.toml" ;; Fix version string (("dynamic = \\[\"version\"\\]") - (string-append "version = \"" #$version "\"")) - ;; Just run pytest with no frills - (("addopts = \"-l.*") "")))) + (string-append "version = \"" #$version "\""))))) ;; XXX Our python-hypothesis package is too old. (add-after 'unpack 'compatibility (lambda _ -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Tue, 18 Feb 2025 22:09:02 GMT) Full text and rfc822 format available.Message #304 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Sharlatan Hellseher <sharlatanus <at> gmail.com> To: 70858 <at> debbugs.gnu.org Cc: ngraves <at> ngraves.fr Subject: [PATCH 00/32] python-team: Remove native inputs Date: Tue, 18 Feb 2025 22:08:03 +0000
[Message part 1 (text/plain, inline)]
Hi Nocoal, Me again, patch series fails to apply on python-team branch. May you include the base commit and send v4 if it's still possible please? You may clone https://codeberg.org/civodul/guix and open PR there is it's easer (still in test mode, https://lists.gnu.org/archive/html/guix-devel/2025-02/msg00313.html). --- Thanks, Oleg
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:01:01 GMT) Full text and rfc822 format available.Message #307 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 00/52] Date: Wed, 26 Feb 2025 03:55:03 +0100
From 6d16c4ac864ff5a80211ec929561addcce2be564 Mon Sep 17 00:00:00 2001 Nicolas Graves (52): gnu: Remove python-pytest-pep8. gnu: Remove python-pep8. gnu: Add rust-notify-types-1. gnu: Add rust-notify-7. gnu: python-watchgod: Rename package to python-watchfiles. gnu: python-uvicorn: Rename python-watchgod native-input. guix: import: pypi: Ignore pypi-ignored-inputs. build-system/pyproject: Ignore unwanted pytest flags. build-system/pyproject: Remove python-black inputs. build-system/pyproject: Remove python-pylint native-input. build-system/pyproject: Remove python-flake8 inputs. build-system/pyproject: Remove python-coverage input. build-system/pyproject: Remove python-coverage native-input. build-system/pyproject: Remove python-pytest-black native-input. gnu: python-cram: Remove python-coverage native-input. gnu: u-boot-tools: Remove python-coverage native-input. gnu: python-aiosqlite: Remove python-coverage native-input. gnu: python-openid: Remove python-coverage native-input. build-system/pyproject: Remove python-coveralls native-input. build-system/pyproject: Remove python-pycodestyle native-input. gnu: python-re-assert: Remove python-covdefaults native-input. build-system/pyproject: Remove python-covdefaults native-input. build-system/pyproject: Remove python-codecov native-input. build-system/pyproject: Remove python-tox native-input. build-system/pyproject: Remove python-mypy native-input. gnu: python-immutables: Remove python-mypy native-input. build-system/pyproject: Remove python-isort native-input. build-system/pyproject: Remove python-twine native-input. build-system/pyproject: Remove python-pytest-cov native-input. gnu: python-django-contact-form: Remove python-pytest-cov native-input. gnu: python-dateutil: Remove python-pytest-cov native-input. build-system/pyproject: Remove python-pytest-isort native-input. build-system/pyproject: Remove python-pytest-flake8 native-input. build-system/pyproject: Remove python-pytest-mypy inputs. build-system/pyproject: Stop hiding options. gnu: python-linear-operator: Remove python-flake8-print native-input gnu: multidict: Remove python-pytest-cov native-input. gnu: python-isort: Remove python-black native-input. build-system/pyproject: Remove python-mypy native-input. build-system/pyproject: Add option #:use-pytest-plugin? gnu: python-pixell: Update to 0.28.1. build-system/pyproject: Remove python-check-manifest native-input. build-system/pyproject: Remove python-mypy-extensions native-input. gnu: python-matrix-nio: Remove python-mypy-extension native-input. build-system/pyproject: Remove python-pip native-input. build-system/pyproject: Remove python-pre-commit native-input. gnu: python-django-ldap: Remove uneeded native-inputs. gnu: python-docstring-to-markdown: Remove uneeded native-inputs. gnu: python-translation-finder: Remove python coverage native-inputs. gnu: python-pymanopt: Remove python-flake8-bugbear native-input. gnu: python-loguru: Remove python-pytest-mypy-plugins. gnu: gunicorn: Migrate 'check phase to pyproject-build-system. gnu/local.mk | 1 + gnu/packages/android.scm | 6 +- gnu/packages/astronomy.scm | 41 +- gnu/packages/audio.scm | 5 +- gnu/packages/backup.scm | 1 - gnu/packages/bioinformatics.scm | 59 +- gnu/packages/bootloaders.scm | 17 +- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 57 +- gnu/packages/cpp.scm | 4 +- gnu/packages/crates-io.scm | 68 +- gnu/packages/databases.scm | 13 +- gnu/packages/dav.scm | 4 - gnu/packages/debug.scm | 2 +- gnu/packages/django.scm | 23 +- gnu/packages/ebook.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 7 +- gnu/packages/fediverse.scm | 1 - gnu/packages/finance.scm | 9 +- gnu/packages/fontutils.scm | 1 - gnu/packages/games.scm | 1 - gnu/packages/geo.scm | 7 +- gnu/packages/gettext.scm | 4 - gnu/packages/gnome.scm | 1 - gnu/packages/gpodder.scm | 4 +- gnu/packages/graph.scm | 6 +- gnu/packages/graphviz.scm | 5 - gnu/packages/jupyter.scm | 24 +- gnu/packages/logging.scm | 2 +- gnu/packages/machine-learning.scm | 70 +-- gnu/packages/mail.scm | 2 - gnu/packages/maths.scm | 1 - gnu/packages/matrix.scm | 4 - gnu/packages/messaging.scm | 6 +- gnu/packages/mp3.scm | 3 +- gnu/packages/music.scm | 9 +- gnu/packages/networking.scm | 2 +- gnu/packages/openstack.scm | 7 +- gnu/packages/package-management.scm | 8 +- ...-pixell-avoid-dependency-propagation.patch | 17 + gnu/packages/patchutils.scm | 2 +- gnu/packages/pdf.scm | 6 +- gnu/packages/potassco.scm | 3 +- gnu/packages/protobuf.scm | 4 +- gnu/packages/python-check.scm | 40 +- gnu/packages/python-compression.scm | 25 +- gnu/packages/python-crypto.scm | 6 +- gnu/packages/python-science.scm | 39 +- gnu/packages/python-web.scm | 225 ++----- gnu/packages/python-xyz.scm | 587 ++++++------------ gnu/packages/radio.scm | 4 +- gnu/packages/rdf.scm | 4 +- gnu/packages/serialization.scm | 1 - gnu/packages/shells.scm | 1 - gnu/packages/simulation.scm | 3 - gnu/packages/sphinx.scm | 2 - gnu/packages/statistics.scm | 18 +- gnu/packages/syndication.scm | 8 +- gnu/packages/task-management.scm | 1 - gnu/packages/telegram.scm | 4 +- gnu/packages/terminals.scm | 16 +- gnu/packages/textutils.scm | 4 - gnu/packages/time.scm | 23 +- gnu/packages/version-control.scm | 2 - gnu/packages/virtualization.scm | 7 +- gnu/packages/vpn.scm | 2 - gnu/packages/web.scm | 8 +- gnu/packages/wm.scm | 2 - gnu/packages/xml.scm | 2 +- guix/build-system/pyproject.scm | 2 + guix/build/pyproject-build-system.scm | 102 ++- guix/import/pypi.scm | 21 +- guix/lint.scm | 10 +- tests/pypi.scm | 3 +- 75 files changed, 630 insertions(+), 1062 deletions(-) create mode 100644 gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:07:01 GMT) Full text and rfc822 format available.Message #310 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 01/52] gnu: Remove python-pytest-pep8. Date: Tue, 25 Feb 2025 08:46:16 +0100
This package is outdated. * gnu/packages/check.scm (python-pytest-pep8): Delete variable. (python-pytest-flakes)[native-inputs]: Remove python-pytest-pep8. * gnu/packages/machine-learning.scm (python-keras, python-keras-applications)[native-inputs]: Remove python-pytest-pep8. * gnu/packages/python-science.scm (python-opt-einsum)[native-inputs]: Remove python-pytest-pep8. --- gnu/packages/check.scm | 35 +------------------------------ gnu/packages/machine-learning.scm | 3 +-- gnu/packages/python-science.scm | 2 +- 3 files changed, 3 insertions(+), 37 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 98f950142d..a0388da61d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3087,39 +3087,6 @@ (define-public python-pytest-mypy-testing expression this allows you to check mypys type interference.") (license (list license:expat license:asl2.0)))) -(define-public python-pytest-pep8 - (package - (name "python-pytest-pep8") - (version "1.0.6") - (source (origin - (method url-fetch) - (uri (pypi-uri "pytest-pep8" version)) - (sha256 - (base32 - "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3")))) - (build-system python-build-system) - (arguments - `(#:tests? #f ; Fails with recent pytest and pep8. See upstream issues #8 and #12. - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-dependencies - (lambda _ - (substitute* "setup.py" - (("'pytest-cache', ") "")))) ; Included in recent pytest - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-v"))))))) - (native-inputs - (list python-pytest)) - (propagated-inputs - (list python-pep8)) - (home-page "https://bitbucket.org/pytest-dev/pytest-pep8") - (synopsis "Py.test plugin to check PEP8 requirements") - (description "Pytest plugin for checking PEP8 compliance.") - (license license:expat))) - (define-public python-pytest-perf (package (name "python-pytest-perf") @@ -3198,7 +3165,7 @@ (define-public python-pytest-flakes (add-installed-pythonpath inputs outputs) (invoke "py.test" "-vv" "-k" "not test_syntax_error")))))) (native-inputs - (list python-coverage python-pytest python-pytest-pep8)) + (list python-coverage python-pytest)) (propagated-inputs (list python-pyflakes)) (home-page "https://github.com/fschulze/pytest-flakes") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 9cda6fe943..59a8445f23 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -3904,7 +3904,7 @@ (define-public python-keras-applications (propagated-inputs (list python-h5py python-numpy)) (native-inputs - (list python-pytest python-pytest-cov python-pytest-pep8 + (list python-pytest python-pytest-cov python-pytest-xdist)) (home-page "https://github.com/keras-team/keras-applications") (synopsis "Reference implementations of popular deep learning models") @@ -4074,7 +4074,6 @@ (define-public python-keras python-pandas python-pytest python-pytest-cov - python-pytest-pep8 python-pytest-timeout python-pytest-xdist python-pyux diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 30e2c9ba61..844bddf3ce 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3815,7 +3815,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-cov)) (home-page "https://github.com/dgasmith/opt_einsum") (synopsis "Optimizing numpys einsum function") (description -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:07:02 GMT) Full text and rfc822 format available.Message #313 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 02/52] gnu: Remove python-pep8. Date: Tue, 25 Feb 2025 08:49:42 +0100
* gnu/packages/python-xyz.scm (python-pep8): Delete variable. (python-shortuuid, python-cliapp, python-ttystatus)[native-inputs]: Remove python-pep8. * gnu/packages/gnome.scm (d-feet)[native-inputs]: Remove python-pep8. * gnu/packages/radio.scm (chirp)[native-inputs]: Remove python-pep8. --- gnu/packages/gnome.scm | 1 - gnu/packages/python-xyz.scm | 29 ++--------------------------- gnu/packages/radio.scm | 1 - 3 files changed, 2 insertions(+), 29 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 1e8d813682..e2d2013f47 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -7398,7 +7398,6 @@ (define-public d-feet itstool libxml2 pkg-config - python-pep8 xorg-server-for-tests)) (inputs (list bash-minimal diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2063dceeea..38612df7c5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3235,8 +3235,6 @@ (define-public python-shortuuid (base32 "1f8i4zwj5vmpzbz6b17bljy4399gx5aq7vsyw63sz2qgyjcd73yh")))) (build-system python-build-system) - (native-inputs - (list python-pep8)) (home-page "https://github.com/skorokithakis/shortuuid") (synopsis "Generator library for concise, unambiguous and URL-safe UUIDs") (description @@ -15746,29 +15744,6 @@ (define-public python-sentry-sdk application monitoring and error tracking software.") (license license:bsd-2))) -(define-public python-pep8 - ;; This package has been renamed to ‘pycodestyle’ and is no longer updated. - ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking - ;; some dependents' test suites, and nothing more. - (package - (name "python-pep8") - (version "1.7.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pep8" version)) - (sha256 - (base32 - "002rkl4lsn6x2mxmf8ar00l0m8i3mzrc6pnzz77blyksmpsxa4x1")) - (patches (search-patches "python-pep8-stdlib-tokenize-compat.patch")))) - (build-system python-build-system) - (home-page "https://pep8.readthedocs.org/") - (synopsis "Python style guide checker") - (description - "This tools checks Python code against some of the style conventions in -PEP 8.") - (license license:expat))) - (define-public python-pep8-naming (package (name "python-pep8-naming") @@ -25902,7 +25877,7 @@ (define-public python-cliapp ;; fails due to deprecation warnings, etc. #:tests? #f)) (native-inputs - (list python-coverage-test-runner python-pep8)) + (list python-coverage-test-runner)) (propagated-inputs (list python-pyaml)) (home-page "https://liw.fi/cliapp/") @@ -25928,7 +25903,7 @@ (define-public python-ttystatus (file-name (git-file-name name version)))) (build-system python-build-system) (native-inputs - (list python-coverage-test-runner python-pep8)) + (list python-coverage-test-runner)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index cda2f1907c..d2c8bee76b 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3272,7 +3272,6 @@ (define-public chirp (native-inputs (list python-mock python-mox3 - python-pep8 python-pytest python-pytest-mock python-pyyaml -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:07:02 GMT) Full text and rfc822 format available.Message #316 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 03/52] gnu: Add rust-notify-types-1. Date: Wed, 19 Feb 2025 23:30:49 +0100
* gnu/packages/crates-io.scm (rust-notify-types-1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3429e5488a..8e8f803943 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47517,6 +47517,29 @@ (define-public rust-notify-rust-4 Rust dbus client and server.") (license (list license:expat license:asl2.0)))) +(define-public rust-notify-types-1 + (package + (name "rust-notify-types") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "notify-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x5idrpxzf70ng88rz28dqmgx1jyddf0vxx1x3csw09fw6skqpaq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-instant" ,rust-instant-0.1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1) + ("rust-rstest" ,rust-rstest-0.21) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/notify-rs/notify") + (synopsis "Types used by the notify crate") + (description "This package provides rust types used by the notify crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-notmuch-0.8 (package (name "rust-notmuch") -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:08:02 GMT) Full text and rfc822 format available.Message #319 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 04/52] gnu: Add rust-notify-7. Date: Wed, 19 Feb 2025 23:31:28 +0100
* gnu/packages/crates-io.scm (rust-notify-7): New variable. (rust-notify-6): Inherit from rust-notify-7. --- gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8e8f803943..bc89fd5afb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47322,8 +47322,45 @@ (define-public rust-normpath-0.2 ("rust-rustversion" ,rust-rustversion-1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-notify-7 + (package + (name "rust-notify") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "notify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02a0a1n0raxqslwhfprwmz7w34v54r42006q0m8bmy89jz1v8cy5")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-bitflags-2 + rust-crossbeam-channel-0.5 + rust-filetime-0.2 + rust-fsevent-sys-4 + rust-inotify-0.10 + rust-kqueue-1 + rust-libc-0.2 + rust-log-0.4 + rust-mio-1 + rust-notify-types-1 + rust-walkdir-2 + rust-windows-sys-0.52) + #:cargo-development-inputs (list rust-insta-1 + rust-nix-0.27 + rust-serde-json-1 + rust-tempfile-3))) + (home-page "https://github.com/notify-rs/notify") + (synopsis "Cross-platform filesystem notification library") + (description "This package contains a cross-platform filesystem +notification library.") + (license license:cc0))) + (define-public rust-notify-6 (package + (inherit rust-notify-7) (name "rust-notify") (version "6.1.1") (source @@ -47333,7 +47370,6 @@ (define-public rust-notify-6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0bad98r0ilkhhq2jg3zs11zcqasgbvxia8224wpasm74n65vs1b2")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) @@ -47349,12 +47385,7 @@ (define-public rust-notify-6 ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs (("rust-nix" ,rust-nix-0.23) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/notify-rs/notify") - (synopsis "Cross-platform filesystem notification library") - (description "This package contains a cross-platform filesystem -notification library.") - (license license:cc0))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-notify-5 (package -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:08:02 GMT) Full text and rfc822 format available.Message #322 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 05/52] gnu: python-watchgod: Rename package to python-watchfiles. Date: Thu, 20 Feb 2025 08:53:26 +0100
* gnu/packages/python-xyz.scm (python-watchgod): Define in terms of 'deprecated-package'. [version]: Update to 1.0.4. [build-system]: Switch to cargo-build-system. [arguments]: Likewise. [native-inputs]: Add maturin, python-dirty-equals, python-pytest-timeout, python-wrapper. Remove python-pygments, python-pytest-sygar, python-setuptools and python-wheel. (python-watchfiles): New variable, formerly known as "python-watchgod". --- gnu/packages/python-xyz.scm | 61 +++++++++++++++++++++++++------------ 1 file changed, 41 insertions(+), 20 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 38612df7c5..252c13ee13 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -300,6 +300,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages xml) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) + #:use-module (guix deprecation) #:use-module (guix packages) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) @@ -32628,39 +32629,56 @@ (define-public python-watchdog but portable.") (license license:asl2.0))) -(define-public python-watchgod +(define-public python-watchfiles (package - (name "python-watchgod") - (version "0.8.1") + (name "python-watchfiles") + (version "1.0.4") (source (origin ;; There are no tests in the PyPI tarball. (method git-fetch) (uri (git-reference - (url "https://github.com/samuelcolvin/watchgod") + (url "https://github.com/samuelcolvin/watchfiles") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0zm9xd2qf3d74l67yv8j3zhhhvi0vp25vhkg46l9d7flh9m04qrp")))) - (build-system pyproject-build-system) + (base32 "1kaxq0drjwlvcsg4in25w1bhjjgm1zlz06rr2macyi6s5x96g46h")))) + (build-system cargo-build-system) (arguments - (list #:test-flags '(list "-o" "asyncio_mode=auto" - ;; PytestUnraisableExceptionWarning - "-k" "not test_watch_log and not test_awatch") - #:phases #~(modify-phases %standard-phases - (delete 'sanity-check)))) + (list + #:install-source? #f + #:imported-modules `(,@%cargo-build-system-modules + ,@%pyproject-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build pyproject-build-system) #:prefix py:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (replace 'build + (assoc-ref py:%standard-phases 'build)) + (add-after 'build 'install-rust-library + (lambda _ + (copy-file "target/release/lib_rust_notify.so" + "watchfiles/_rust_notify.so"))) + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (if tests? + ;; Missing file in source. + (invoke "pytest" "-vv" "-k" "not test_docs_examples") + (format #t "test suite not run~%")))) + (replace 'install + (assoc-ref py:%standard-phases 'install))) + #:cargo-inputs + (list rust-crossbeam-channel-0.5 rust-notify-7 rust-pyo3-0.23))) (native-inputs - (list python-anyio - python-coverage - python-pygments + (list maturin + python-anyio + python-dirty-equals python-pytest - python-pytest-asyncio - python-pytest-cov python-pytest-mock - python-pytest-sugar - python-setuptools - python-wheel)) - (home-page "https://github.com/samuelcolvin/watchgod") + python-pytest-timeout + python-wrapper)) + (home-page "https://github.com/samuelcolvin/watchfiles") (synopsis "Simple, modern file watching and code reload in Python") (description "Simple, modern file watching and code reload in Python inspired by @@ -32668,6 +32686,9 @@ (define-public python-watchgod operating systems and an elegant approach to concurrency using threading.") (license license:expat))) +(define-deprecated/alias python-watchgod python-watchfiles) +(export python-watchgod) + (define-public python-wget (package (name "python-wget") -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:08:03 GMT) Full text and rfc822 format available.Message #325 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 06/52] gnu: python-uvicorn: Rename python-watchgod native-input. Date: Thu, 20 Feb 2025 09:34:15 +0100
* gnu/packages/python-web.scm (python-uvicorn)[native-inputs]: Rename python-watchgod to python-watchfiles. Add python-a2wsgi. --- gnu/packages/python-web.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e6918a530e..5ea9e5a709 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7439,13 +7439,14 @@ (define-public python-uvicorn python-trustme python-wsproto)) (propagated-inputs - (list python-click + (list python-a2wsgi + python-click python-dotenv python-h11 python-httptools python-pyyaml python-uvloop - python-watchgod + python-watchfiles python-websockets)) (home-page "https://github.com/encode/uvicorn") (synopsis "Fast ASGI server implementation") -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:09:02 GMT) Full text and rfc822 format available.Message #328 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 07/52] guix: import: pypi: Ignore pypi-ignored-inputs. Date: Sat, 1 Jun 2024 17:36:33 +0200
* guix/import/pypi.scm (pypi-ignored-inputs): New variable. (compute-inputs): Use it. * tests/pypi.scm (parse-requires.txt): Add ignored input to test the feature. * guix/lint.scm (check-inputs-should-be-native): Adapt list. (check-inputs-should-not-be-an-input-at-all): Use pypi-ignored-list. Change-Id: I774e526c5a090026e778ee44049637174a1dca95 --- guix/import/pypi.scm | 21 ++++++++++++++++++--- guix/lint.scm | 10 ++++++---- tests/pypi.scm | 3 ++- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 4af02dd250..a49ab1e429 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Vivien Kraus <vivien <at> planete-kraus.eu> ;;; Copyright © 2021 Simon Tournier <zimon.toutoune <at> gmail.com> ;;; Copyright © 2022 Hartmut Goebel <h.goebel <at> crazy-compilers.com> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -62,6 +63,7 @@ (define-module (guix import pypi) #:use-module (guix upstream) #:use-module ((guix licenses) #:prefix license:) #:export (%pypi-base-url + pypi-ignored-inputs parse-requires.txt parse-wheel-metadata specification->requirement-name @@ -78,6 +80,18 @@ (define %pypi-base-url ;; Base URL of the PyPI API. (make-parameter "https://pypi.org/pypi/")) +(define pypi-ignored-inputs + ;; This list contains packages that are useful for development or quality + ;; testing, but that most of the time are not necessary to have as an input. + (list "argparse" ; native + "tox" ; test wrapper for other environments + "codecov" "coverage" ; coverage + "black" "isort" "pycodestyle" "pep8" ; style + "pyflakes" "flake8" "pylint" "mypy" ; style+lint + "coveralls" "twine" ; upload integration tools + "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black" + "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit")) ; variants + (define non-empty-string-or-false (match-lambda ("" #f) @@ -464,9 +478,10 @@ (define (compute-inputs source-url wheel-url archive) "Given the SOURCE-URL and WHEEL-URL of an already downloaded ARCHIVE, return the corresponding list of <upstream-input> records." (define (requirements->upstream-inputs deps type) - (filter-map (match-lambda - ("argparse" #f) - (name (upstream-input + (filter-map (lambda (name) + (if (member name pypi-ignored-inputs) + #f + (upstream-input (name name) (downstream-name (python->package-name name)) (type type)))) diff --git a/guix/lint.scm b/guix/lint.scm index d54db725b5..caa4f63f88 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -73,6 +73,7 @@ (define-module (guix lint) hg-reference-url) #:autoload (guix bzr-download) (bzr-reference? bzr-reference-url) + #:use-module ((guix import pypi) #:select (pypi-ignored-inputs)) #:use-module (guix import stackage) #:use-module (ice-9 match) #:use-module (ice-9 regex) @@ -588,14 +589,12 @@ (define (check-inputs-should-be-native package) "m4" "qttools-5" "yasm" "nasm" "fasm" - "python-coverage" "python-cython" "python-docutils" "python-mock" "python-nose" "python-pbr" "python-pytest" - "python-pytest-cov" "python-setuptools-scm" "python-sphinx" "scdoc" @@ -617,8 +616,11 @@ (define (check-inputs-should-be-native package) (define (check-inputs-should-not-be-an-input-at-all package) ;; Emit a warning if some inputs of PACKAGE are likely to should not be ;; an input at all. - (let ((input-names '("python-pip" - "python-pre-commit"))) + (let ((input-names (append + '("python-pip" + "python-pre-commit") + (map (cut string-append "python-" <>) + pypi-ignored-inputs)))) (map (lambda (input) (make-warning package diff --git a/tests/pypi.scm b/tests/pypi.scm index 3fbce1786f..f848325ad7 100644 --- a/tests/pypi.scm +++ b/tests/pypi.scm @@ -97,6 +97,7 @@ (define test-requires.txt "\ [test] pytest (>=2.5.0) +pytest-cov # read but ignored ") ;; Beaker contains only optional dependencies. @@ -258,7 +259,7 @@ (define-syntax-rule (with-pypi responses body ...) (map specification->requirement-name test-specifications)) (test-equal "parse-requires.txt" - (list '("foo" "bar") '("pytest")) + (list '("foo" "bar") '("pytest" "pytest-cov")) (mock ((ice-9 ports) call-with-input-file call-with-input-string) (parse-requires.txt test-requires.txt))) -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:09:02 GMT) Full text and rfc822 format available.Message #331 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 08/52] build-system/pyproject: Ignore unwanted pytest flags. Date: Sat, 1 Jun 2024 17:36:34 +0200
* guix/build/pyproject-build-system.scm : Ignore unwanted pytest flags. Change-Id: Ib9f1602e5af11227e5b7ce124f0f9be4fa2b78e4 --- guix/build/pyproject-build-system.scm | 99 ++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 3 deletions(-) diff --git a/guix/build/pyproject-build-system.scm b/guix/build/pyproject-build-system.scm index 947d240114..2df9f2f479 100644 --- a/guix/build/pyproject-build-system.scm +++ b/guix/build/pyproject-build-system.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Lars-Dominik Braun <lars <at> 6xq.net> ;;; Copyright © 2022 Marius Bakke <marius <at> gnu.org> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,8 @@ (define-module (guix build pyproject-build-system) add-installed-pythonpath site-packages python-version - pyproject-build)) + pyproject-build + with-guix-pytest-plugin)) ;;; Commentary: ;;; @@ -142,7 +144,94 @@ (define* (build #:key outputs build-backend backend-path configure-flags #:allow wheel-dir config-settings))) -(define* (check #:key tests? test-backend test-flags #:allow-other-keys) +(define pytest-default-ignore-alist + '(("cov" . ("--cov" "--cov-reset" "--cov-report" "--cov-config" + "--no-cov-on-fail" "--no-cov" "--cov-fail-under" + "--cov-append" "--cov-branch" "--cov-context")) + ("mypy" . ("--mypy" "--mypy-config-file" "--mypy-ignore-missing-imports")) + ("isort" . ("--isort")) + ("flake8" . ("--flake8")) + ("black" . ("--black")) + ("flakes" . ("--flakes")) + ("pep8" . ("--pep8")))) + +(define (pytest-ignore-flags-plugin flags) + "This function converts an list of flags into a string that can + be instantiated as a python pytest plugin." + (format #f "\ +import pytest + +def pytest_addoption(parser): + group = parser.getgroup('guix','Guix ignored options') + options = [~{~s, ~}] + for option in options: + group.addoption(option, action='append', nargs='?')" + flags)) + +(define (call-with-guix-pytest-plugin inputs thunk) + "This function emulates command line options provided by pytest plugins in +the absence of the plugins defining these options. + +This is done by selecting absent plugins, gettings their flags defined in +PYTEST-DEFAULT-IGNORE-ALIST, and generating the plugin from there with +PYTEST-IGNORE-FLAGS-PLUGIN." + (let* ((former-path (getenv "PYTHONPATH")) + (input-names + (map car + (filter (match-lambda + ((name . _) + (if (string-prefix? "python-pytest-" name) + name + #f)) + ( _ #f)) + inputs))) + (filtered-flags + (filter identity + (append-map + (match-lambda + ((group . flags) + (if (member (string-append "python-pytest-" group) + input-names) + (list #f) + flags)) + (_ (list #f))) + pytest-default-ignore-alist))) + (dir (string-append + (if (access? (dirname (getcwd)) W_OK) + (dirname (getcwd)) + ;; fallback if we're already out-of-source + (getcwd)) + "/.guix-pytest"))) + (dynamic-wind + (lambda () + (setenv "PYTHONPATH" + (string-append + (if former-path + (string-append former-path ":") + "") + dir)) + (setenv "PYTEST_PLUGINS" + (string-append + (if (getenv "PYTEST_PLUGINS") + (string-append former-path ",") + "") + "pytest_guix_plugin")) + (mkdir-p dir) + (with-output-to-file (string-append dir "/__init__.py") + (lambda _ (display ""))) + (with-output-to-file (string-append dir "/pytest_guix_plugin.py") + (lambda _ + (display (pytest-ignore-flags-plugin filtered-flags))))) + thunk + (lambda () + (setenv "PYTHONPATH" former-path) + (unsetenv "PYTEST_PLUGINS"))))) + +(define-syntax-rule (with-guix-pytest-plugin inputs exp ...) + "Evaluate EXP in a context where the Guix pytest plugin is added." + (call-with-guix-pytest-plugin inputs (lambda () exp ...))) + +(define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) "Run the test suite of a given Python package." (if tests? ;; Unfortunately with PEP 517 there is no common method to specify test @@ -165,7 +254,8 @@ (define* (check #:key tests? test-backend test-flags #:allow-other-keys) (format #t "Using ~a~%" use-test-backend) (match use-test-backend ('pytest - (apply invoke pytest "-vv" test-flags)) + (with-guix-pytest-plugin inputs + (apply invoke pytest "-vv" test-flags))) ('nose (apply invoke nosetests "-v" test-flags)) ('nose2 @@ -386,3 +476,6 @@ (define* (pyproject-build #:key inputs (phases %standard-phases) (apply python:python-build #:inputs inputs #:phases phases args)) ;;; pyproject-build-system.scm ends here +;;; Local Variables: +;;; eval: (put 'with-guix-pytest-plugin 'scheme-indent-function 1) +;;; End: -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:09:03 GMT) Full text and rfc822 format available.Message #334 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 09/52] build-system/pyproject: Remove python-black inputs. Date: Thu, 30 Jan 2025 23:40:47 +0100
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-liana-py, python-metacells, python-ngesh, scvelo) * gnu/packages/databases.scm (datasette) * gnu/packages/finance.scm (python-trezor) * gnu/packages/graph.scm (python-graphtools) * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-hyperopt, python-captum) * gnu/packages/python-check.scm (python-vcrpy) * gnu/packages/python-web.scm (python-ovh, python-openai, * gnu/packages/python-science.scm (python-scikit-survival) python-starsessions-for-pytorch-lightning) * gnu/packages/python-xyz.scm (python-archspec, python-pydantic-cli, python-imageio, python-update-checker, python-eliot, python-minikanren) * gnu/packages/virtualization.scm (python-transient) [native-inputs]: Remove python-black. * gnu/packages/python-xyz.scm (ptpython, python-get-version)[propagated-inputs]: Remove python-black. --- gnu/packages/bioinformatics.scm | 16 +++++----------- gnu/packages/databases.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/graph.scm | 1 - gnu/packages/jupyter.scm | 1 - gnu/packages/machine-learning.scm | 10 +++------- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 8 +++----- gnu/packages/python-xyz.scm | 19 ++++++------------- gnu/packages/virtualization.scm | 3 +-- 10 files changed, 19 insertions(+), 44 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 3e8a9def35..ed05470c0f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2824,8 +2824,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") @@ -3053,10 +3052,7 @@ (define-public python-liana-py python-tqdm tzdata)) (native-inputs - (list python-black - python-poetry-core - python-pytest - python-pytest-cov)) + (list python-poetry-core python-pytest python-pytest-cov)) (home-page "https://github.com/saezlab/liana-py") (synopsis "LIANA is a ligand-receptor analysis framework") (description "This is a Ligand-Receptor inference framework. The @@ -3172,8 +3168,7 @@ (define-public python-metacells python-scipy python-threadpoolctl python-umap-learn)) - (native-inputs (list python-black - python-bumpversion + (native-inputs (list python-bumpversion python-flake8 python-isort python-mypy @@ -3213,7 +3208,7 @@ (define-public python-ngesh (base32 "07sj4x95b5hvx57pw24f80sk4ag4hkg1z6wzym3pzi8n5gn85n1z")))) (build-system pyproject-build-system) (propagated-inputs (list python-ete3 python-numpy python-six)) - (native-inputs (list python-black python-flake8 python-pytest python-twine + (native-inputs (list python-flake8 python-pytest python-twine python-wheel)) (home-page "https://github.com/tresoldi/ngesh") (synopsis "Library for phylogenetic tree simulation") @@ -24006,8 +24001,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-hypothesis python-pytest python-setuptools-scm diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 9b8c95047b..40ffe3e084 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -5801,7 +5801,6 @@ (define-public datasette (native-inputs (list nss-certs-for-test python-beautifulsoup4 - python-black python-cogapp python-pip python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index bb1234ebd9..9805679597 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1160,7 +1160,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-black python-isort python-pillow python-protobuf diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index f29a71c0d7..75ebbff2db 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-black python-coverage python-coveralls python-nose diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 6c2f549583..f47d8de295 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1157,7 +1157,6 @@ (define-public python-papermill python-tenacity python-tqdm)) (native-inputs (list python-attrs - python-black python-boto3 python-botocore python-bumpversion diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 59a8445f23..37ccaf2b52 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-isort python-nbsphinx python-pandas @@ -2155,8 +2154,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-keras python-mypy python-pandas @@ -2595,8 +2593,7 @@ (define-public python-hyperopt python-six python-tqdm)) (native-inputs - (list python-black - python-nose + (list python-nose python-pymongo python-pytest python-wheel)) @@ -5326,7 +5323,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-black python-flake8 python-flask python-flask-compress diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 844bddf3ce..f18da4a326 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -888,8 +888,7 @@ (define-public python-scikit-survival python-scikit-learn python-scipy)) (native-inputs - (list python-black - python-pypa-build + (list python-pypa-build python-coverage python-cython-3 python-packaging diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5ea9e5a709..c17485feff 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1614,8 +1614,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-black - python-coverage + (native-inputs (list python-coverage python-flake8 python-isort python-pytest @@ -3024,7 +3023,7 @@ (define-public python-openai and not test_file_cli"))) (propagated-inputs (list python-aiohttp python-requests python-tqdm python-typing-extensions)) - (native-inputs (list python-black python-pytest python-pytest-asyncio + (native-inputs (list python-pytest python-pytest-asyncio python-pytest-mock python-setuptools python-wheel)) (home-page "https://github.com/openai/openai-python") (synopsis "Python client library for the OpenAI API") @@ -10327,8 +10326,7 @@ (define-public python-starsessions python-itsdangerous python-starlette)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-httpx python-mypy python-poetry-core diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 252c13ee13..0f92e69c6c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -395,8 +395,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-isort python-poetry-core python-pylint @@ -8858,8 +8857,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") @@ -11983,8 +11981,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-fsspec python-pytest python-pytest-cov @@ -17551,7 +17548,6 @@ (define-public python-get-version (propagated-inputs (list python-pygments python-pytest - python-pytest-black python-pytest-cov python-setuptools python-testpath)) @@ -23842,8 +23838,7 @@ (define-public ptpython (arguments `(#:tests? #f)) ;there are no tests (propagated-inputs - (list python-appdirs python-black python-jedi python-prompt-toolkit - python-pygments)) + (list python-appdirs python-jedi python-prompt-toolkit python-pygments)) (home-page "https://github.com/jonathanslenders/ptpython") (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features") (description @@ -29209,7 +29204,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-black python-flake8 python-pytest)) + (native-inputs (list python-flake8 python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -33534,8 +33529,7 @@ (define-public python-eliot (propagated-inputs (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs - (list python-black - python-coverage + (list python-coverage python-flake8 python-hypothesis python-pytest @@ -36846,7 +36840,6 @@ (define-public python-minikanren python-pytest python-pytest-cov python-pylint - python-black python-sympy python-versioneer python-coverage)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 9ab65e6c6c..cc0346297e 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2987,8 +2987,7 @@ (define-public python-transient (("==") ">="))))))) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pyhamcrest python-setuptools python-twine -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:09:03 GMT) Full text and rfc822 format available.Message #337 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 10/52] build-system/pyproject: Remove python-pylint native-input. Date: Thu, 30 Jan 2025 23:47:49 +0100
* gnu/packages/bioinformatics.scm (python-metacells) * gnu/packages/games.scm (open-adventure) * gnu/packages/machine-learning.scm (python-ml-collections) * gnu/packages/potassco.scm (python-clingraph) * gnu/packages/python-xyz.scm (python-archspec, python-lsp-jsonrpc, python-lsp-server, python-mediapy, python-minikanren) * gnu/packages/syndication.scm (rtv, tuir) * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners) * gnu/packages/virtualization.scm (python-qemu-qmp) [native-inputs]: Remove python-pylint. build-system/pyproject: Remove python-pylint native-input. [native-inputs]: Remove python-pylint. --- gnu/packages/bioinformatics.scm | 1 - gnu/packages/games.scm | 1 - gnu/packages/machine-learning.scm | 3 +-- gnu/packages/potassco.scm | 3 +-- gnu/packages/python-xyz.scm | 5 ----- gnu/packages/syndication.scm | 2 -- gnu/packages/terminals.scm | 3 --- gnu/packages/virtualization.scm | 1 - 8 files changed, 2 insertions(+), 17 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index ed05470c0f..705a1e6a04 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3174,7 +3174,6 @@ (define-public python-metacells python-mypy python-mypy-extensions python-pandas-stubs - python-pylint python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 30aaf0767a..81933aaae8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7794,7 +7794,6 @@ (define-public open-adventure cppcheck libedit pkg-config - python-pylint python-pyyaml python-wrapper) (if (supported-package? ruby-asciidoctor) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 37ccaf2b52..0bcb6be210 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -379,8 +379,7 @@ (define-public python-ml-collections #:test-flags '(list "--pyargs" "ml_collections/config_dict/tests"))) (propagated-inputs (list python-absl-py python-pyyaml)) - (native-inputs (list python-pylint - python-pytest + (native-inputs (list python-pytest python-pytest-xdist python-flit-core)) (home-page "https://github.com/google/ml_collections") diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm index 43e56ec8bf..7c3fe2e309 100644 --- a/gnu/packages/potassco.scm +++ b/gnu/packages/potassco.scm @@ -697,8 +697,7 @@ (define-public python-clingraph python-jsonschema python-networkx python-setuptools)) - (native-inputs (list dot2tex graphviz python-pylint python-pytest - python-wheel)) + (native-inputs (list dot2tex graphviz python-pytest python-wheel)) (home-page "https://github.com/potassco/clingraph") (synopsis "Visualizer for graphs defined as logic programs") (description diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0f92e69c6c..1bdb479774 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -398,7 +398,6 @@ (define-public python-archspec (native-inputs (list python-flake8 python-isort python-poetry-core - python-pylint python-pytest python-pytest-cov)) (home-page "https://github.com/archspec/archspec") @@ -5104,7 +5103,6 @@ (define-public python-mediapy python-pillow)) (native-inputs (list python-flit-core - python-pylint python-pytest python-pytest-xdist)) (home-page "https://github.com/google/mediapy") @@ -8685,7 +8683,6 @@ (define-public python-lsp-jsonrpc (list python-coverage python-pycodestyle python-pyflakes - python-pylint python-pytest python-pytest-cov python-setuptools @@ -9061,7 +9058,6 @@ (define-public python-lsp-server python-matplotlib python-numpy python-pandas - python-pylint python-pytest python-rope python-setuptools @@ -36839,7 +36835,6 @@ (define-public python-minikanren python-pydocstyle python-pytest python-pytest-cov - python-pylint python-sympy python-versioneer python-coverage)) diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index f717cbb3af..fc563a657f 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -501,7 +501,6 @@ (define-public rtv python-coveralls python-coverage python-mock - python-pylint python-pytest python-vcrpy)) (home-page "https://github.com/michael-lazar/rtv") @@ -545,7 +544,6 @@ (define-public tuir (list python-coverage python-coveralls python-mock - python-pylint python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9fdd378cf2..b9dd12803d 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-twine @@ -1211,7 +1210,6 @@ (define-public python-log-symbols (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-wheel)) @@ -1245,7 +1243,6 @@ (define-public python-spinners (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-wheel)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index cc0346297e..bde357763f 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2121,7 +2121,6 @@ (define-public python-qemu-qmp (list python-avocado-framework python-flake8 python-isort - python-pylint python-setuptools python-setuptools-scm python-wheel)) -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:10:02 GMT) Full text and rfc822 format available.Message #340 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 11/52] build-system/pyproject: Remove python-flake8 inputs. Date: Fri, 31 Jan 2025 00:05:30 +0100
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-biom-format, python-metacells, python-ngesh) * gnu/packages/ebook.scm (calibre) * gnu/packages/engineering.scm (python-scikit-rf) * gnu/packages/finance.scm (python-mt-940) * gnu/packages/geo.scm (python-geopy) * gnu/packages/gettext.scm (python-mdpo) * gnu/packages/graph.scm (python-pygsp) * gnu/packages/graphviz.scm (python-uqbar) * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-captum, python-pymanopt, python-pyro-api, python-pyro-ppl, python-linear-operator, python-gpytorch) * gnu/packages/python-web.scm (python-ovh, python-furl, python-httplib2, python-http-ece, python-woob, python-starsessions-for-pytorch-lightning) * gnu/packages/python-xyz.scm (python-archspec, python-colorful, python-pymd4c, python-flasgger, python-imageio, python-importlib-ressources, python-seaborn, python-inflect, python-yq, python-update-checker, python-eliot, python-dateparser, python-jinja2-cli, python-verspec, python-mike, python-simple-websocket) * gnu/packages/simulation.scm (python-dolfin-adjoint) * gnu/packages/statistics.scm (python-statsmodels) * gnu/packages/vpn.scm (sshuttle) * gnu/packages/wm.scm (qtile) * gnu/packages/textutils.scm (python-panflute) [native-inputs]: Remove python-flake8. * gnu/packages/music.scm (python-mutagen): [arguments]<#:test-flags>: Ignore flake8 quality tests. [native-inputs]: Remove python-flake8. * gnu/packages/protobuf.scm (python-pure-protobuf): [arguments]<#:phases>: Remove flake8 invocation from check phase. [native-inputs]: Remove python-flake8. --- gnu/packages/bioinformatics.scm | 10 +++------ gnu/packages/ebook.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/finance.scm | 4 +--- gnu/packages/gettext.scm | 1 - gnu/packages/graph.scm | 3 +-- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 15 ++++---------- gnu/packages/music.scm | 4 ++-- gnu/packages/protobuf.scm | 4 +--- gnu/packages/python-web.scm | 15 ++++---------- gnu/packages/python-xyz.scm | 34 ++++++++++++------------------- gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 1 - gnu/packages/textutils.scm | 1 - gnu/packages/vpn.scm | 1 - gnu/packages/wm.scm | 1 - 17 files changed, 29 insertions(+), 69 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 705a1e6a04..b989c87842 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2824,8 +2824,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-flake8 - python-poetry-core + (list python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") (synopsis @@ -3169,7 +3168,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-flake8 python-isort python-mypy python-mypy-extensions @@ -3207,7 +3205,7 @@ (define-public python-ngesh (base32 "07sj4x95b5hvx57pw24f80sk4ag4hkg1z6wzym3pzi8n5gn85n1z")))) (build-system pyproject-build-system) (propagated-inputs (list python-ete3 python-numpy python-six)) - (native-inputs (list python-flake8 python-pytest python-twine + (native-inputs (list python-pytest python-twine python-wheel)) (home-page "https://github.com/tresoldi/ngesh") (synopsis "Library for phylogenetic tree simulation") @@ -3879,7 +3877,6 @@ (define-public python-biom-format (propagated-inputs (list python-anndata python-click - python-flake8 python-future python-h5py python-numpy @@ -24000,8 +23997,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools-scm python-wheel)) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 46ec951916..75e14801dd 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -156,7 +156,6 @@ (define-public calibre (native-inputs (list bash-minimal pkg-config - python-flake8 python-pyqt-builder qtbase-5 ; for qmake xdg-utils)) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8ca3b87ff2..3882a35d6b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2965,7 +2965,6 @@ (define-public python-scikit-rf python-qtpy python-scipy)) (native-inputs (list python-coverage - python-flake8 python-nbval python-networkx python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 9805679597..f3be674c01 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2310,9 +2310,7 @@ (define-public python-mt-940 ;; Remove custom --cov flags. (delete-file "pytest.ini") (invoke "pytest" "-vv"))))))) - (native-inputs (list python-flake8 - python-pytest - python-pyyaml)) + (native-inputs (list python-pytest python-pyyaml)) (home-page "https://mt940.readthedocs.io/") (synopsis "Python parser for MT940-encoded SWIFT data") (description diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 7862c296bd..29cdbab915 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -226,7 +226,6 @@ (define-public mdpo (build-system python-build-system) (native-inputs (list python-bump2version - python-flake8 python-flake8-implicit-str-concat python-flake8-print python-isort diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 75ebbff2db..57c4bd05ed 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -570,8 +570,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-flake8 - python-pytest)) + (list python-coverage python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index defd53df73..0d3db31212 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -224,7 +224,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-flake8 python-isort python-mypy python-pytest diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 0bcb6be210..bb134a6618 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-flake8 - python-isort + (native-inputs (list python-isort python-nbsphinx python-pandas python-pillow @@ -1143,7 +1142,6 @@ (define-public python-pymanopt ((",!=1.12\\.\\*") ""))))))) (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-autograd - python-flake8 python-flake8-bugbear python-isort python-matplotlib @@ -2153,8 +2151,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-flake8 - python-keras + (native-inputs (list python-keras python-mypy python-pandas python-pytest @@ -5322,7 +5319,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-flake8 python-flask python-flask-compress python-ipython @@ -5843,8 +5839,7 @@ (define-public python-pyro-api (build-system python-build-system) (arguments '(#:tests? #false)) ;requires pyro (native-inputs - (list python-flake8 - python-ipython + (list python-ipython python-pytest python-sphinx python-sphinx-rtd-theme)) @@ -5901,8 +5896,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8 - python-flake8-print + (native-inputs (list python-flake8-print python-pytest python-setuptools python-setuptools-scm @@ -5933,7 +5927,6 @@ (define-public python-gpytorch python-scikit-learn python-scipy)) (native-inputs (list python-coverage - python-flake8 python-flake8-print python-nbval python-pytest diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index bf47489d34..7d28ef4b58 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4116,6 +4116,7 @@ (define-public python-mutagen (build-system pyproject-build-system) (arguments (list + #:test-flags '(list "--ignore=tests/quality/test_flake8.py") #:phases #~(modify-phases %standard-phases (add-before 'check 'remove-hypothesis-deadlines @@ -4126,8 +4127,7 @@ (define-public python-mutagen (("( +)@given" all spaces) (string-append spaces "@settings(deadline=None)\n" all)))))))) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools python-wheel)) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 9d81b1c508..203e4909d6 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -502,7 +502,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-flake8 python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov python-isort)) (arguments `(#:phases (modify-phases %standard-phases @@ -510,8 +510,6 @@ (define-public python-pure-protobuf (lambda _ (invoke "pytest" "--cov-report" "term-missing" "--cov" "pure_protobuf") - (invoke "flake8" "pure_protobuf" "tests" - "--ignore=F541") (invoke "isort" "-rc" "-c" "pure_protobuf" "tests")))))) (home-page "https://pypi.org/project/pure-protobuf/") (synopsis "Protobuf implementation using dataclasses") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c17485feff..dc5ad03f92 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1615,7 +1615,6 @@ (define-public python-ovh (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) (native-inputs (list python-coverage - python-flake8 python-isort python-pytest python-pytest-cov @@ -1931,8 +1930,6 @@ (define-public python-furl (build-system python-build-system) (propagated-inputs (list python-six python-orderedmultidict)) - (native-inputs - (list python-flake8)) (home-page "https://github.com/gruns/furl") (synopsis "URL manipulation in Python") (description "Furl provides an easy-to-use alternative to the @@ -1965,7 +1962,6 @@ (define-public python-httplib2 (("==") ">="))))))) (native-inputs (list python-cryptography - python-flake8 python-future python-mock python-pytest @@ -8588,7 +8584,7 @@ (define-public python-http-ece (propagated-inputs (list python-cryptography)) (native-inputs - (list python-coverage python-flake8 python-mock python-nose)) + (list python-coverage python-mock python-nose)) (home-page "https://github.com/web-push-libs/encrypted-content-encoding") (synopsis "Encrypted Content Encoding for HTTP") (description @@ -9053,8 +9049,7 @@ (define-public python-simple-websocket ;; Requires Internet access to resolve example.com (list #:test-flags '(list "--ignore=tests/test_client.py"))) (propagated-inputs (list python-wsproto)) - (native-inputs (list python-flake8 - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-tox @@ -9665,8 +9660,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-flake8 python-nose python-selenium - python-xunitparser)) + (list python-coverage python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -10326,8 +10320,7 @@ (define-public python-starsessions python-itsdangerous python-starlette)) (native-inputs - (list python-flake8 - python-httpx + (list python-httpx python-mypy python-poetry-core python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1bdb479774..6b8aa6257c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -395,8 +395,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-flake8 - python-isort + (native-inputs (list python-isort python-poetry-core python-pytest python-pytest-cov)) @@ -1554,8 +1553,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-flake8 python-pytest python-setuptools - python-wheel)) + (list python-coverage python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -2925,7 +2923,7 @@ (define-public python-pymd4c (inputs (list md4c)) (native-inputs - (list python-flake8 python-pkgconfig pkg-config)) + (list python-pkgconfig pkg-config)) (home-page "https://github.com/dominickpastore/pymd4c") (synopsis "Python bindings for MD4C") (description @@ -11977,8 +11975,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile)) (native-inputs - (list python-flake8 - python-fsspec + (list python-fsspec python-pytest python-pytest-cov python-setuptools @@ -12792,8 +12789,7 @@ (define-public python-importlib-resources (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (native-inputs - (list python-flake8 - python-pytest + (list python-pytest python-pytest-black python-pytest-checkdocs python-pytest-cov @@ -15065,8 +15061,7 @@ (define-public python-seaborn python-scipy python-statsmodels)) (native-inputs - (list python-flake8 - python-flit-core + (list python-flit-core python-ipykernel python-nbconvert python-numpydoc @@ -22642,8 +22637,7 @@ (define-public python-inflect (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (propagated-inputs (list python-pydantic)) - (native-inputs (list python-flake8 - python-pygments + (native-inputs (list python-pygments python-pytest python-pytest-black python-pytest-checkdocs @@ -28192,7 +28186,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-flake8 python-setuptools-scm python-wheel)) + (list python-coverage python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -29200,7 +29194,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-flake8 python-pytest)) + (native-inputs (list python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -33526,7 +33520,6 @@ (define-public python-eliot (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs (list python-coverage - python-flake8 python-hypothesis python-pytest python-pytest-xdist @@ -34314,7 +34307,7 @@ (define-public python-dateparser (list python-dateutil python-pytz python-regex python-ruamel.yaml python-tzlocal)) (native-inputs - (list python-flake8 python-pytest python-parameterized tzdata-for-tests + (list python-pytest python-parameterized tzdata-for-tests python-setuptools python-wheel)) (arguments `(#:phases @@ -35740,8 +35733,7 @@ (define-public python-jinja2-cli (propagated-inputs (list python-jinja2)) (native-inputs - (list python-flake8 - python-jinja2 + (list python-jinja2 python-pytest python-setuptools python-wheel)) @@ -38294,7 +38286,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-flake8 python-mypy + (native-inputs (list python-coverage python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases @@ -38731,7 +38723,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-flake8 python-shtab)) + (list python-coverage python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 3af29aeeaa..1eed4fd180 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1252,7 +1252,6 @@ (define-public python-dolfin-adjoint (list pkg-config python-coverage python-decorator - python-flake8 python-pkgconfig python-pytest)) (propagated-inputs diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index ceca13084e..58975e652f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2670,7 +2670,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-flake8 python-isort python-joblib python-matplotlib diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 229e69a2b3..5424f6a28c 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1758,7 +1758,6 @@ (define-public python-panflute (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser python-coverage - python-flake8 python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 0b62e8c7cf..53706a8de1 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -1034,7 +1034,6 @@ (define (install-man-page file) (native-inputs (list python-setuptools-scm ;; For tests only. - python-flake8 python-mock python-poetry-core python-pytest-cov diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 0e6153d7bd..8d1bce1009 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -864,7 +864,6 @@ (define-public qtile python-xcffib)) (native-inputs (list pkg-config - python-flake8 python-pep8-naming python-pytest python-pytest-cov -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:10:02 GMT) Full text and rfc822 format available.Message #343 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 12/52] build-system/pyproject: Remove python-coverage input. Date: Tue, 25 Feb 2025 23:37:14 +0100
* gnu/packages/astronomy.scm (python-asdf-astropy, python-poliastro) * gnu/packages/bioinformatics.scm (python-ega-download-client, python-scikit-bio, python-cooler) * gnu/packages/check.scm (python-pytest-randomly, python-pytest-flakes, python-aiounittest) * gnu/packages/cpp.scm (cpplint) * gnu/packages/django.scm (python-django-haystack) * gnu/packages/engineering.scm (python-scikit-rf) * gnu/packages/geo.scm (python-geopy) * gnu/packages/gpodder.scm (gpodder) * gnu/packages/graph.scm (python-graphtools, python-pygsp) * gnu/packages/jupyter.scm (python-jupyter-packaging) * gnu/packages/machine-learning.scm (onnx, onnx-optimizer, python-lightning-utilities, python-pytorch-lightning, python-torchmetrics, python-gpytorch) * gnu/packages/music.scm (python-pylast) * gnu/packages/package-management.scm (python-anaconda-client, conda) * gnu/packages/python-check.scm (python-vcrpy, python-re-assert) * gnu/packages/python-compression.scm (python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr) * gnu/packages/python-web.scm (python-ovh, python-zope-interface, python-zope-hookable, python-url, python-transaction, python-sanic, python-woob, python-flask-combo-jsonapi) * gnu/packages/python-xyz.scm (python-affine, python-colorful, python-lunr, python-mdit-py-plugins, python-bidict, python-sh, python-can, python-jsonargparse, python-pyjwt, python-virtualenv-clone, python-pikepdf, python-tasklogger, python-notebook, python-structlog, binwalk, python-argcomplete, python-attrs, python-yq, python-stone, python-identify, python-nodeenv, python-forbiddenfruit, python-eliot, python-pem, python-scikit-build, python-minikanren, python-verspec, python-mike) * gnu/packages/simulation.scm (python-dolfin-adjoint) * gnu/packages/statistics.scm (python-emcee, python-rpy2) * gnu/packages/syndication.scm (rtv, tuir) * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners) * gnu/packages/textutils.scm (python-panflute) * gnu/packages/version-control.scm (pre-commit) * gnu/packages/web.scm (python-httpretty) * gnu/packages/xml.scm (python-xmltodict) [native-inputs]: Remove python-coverage. * gnu/packages/android.scm (python-androguard): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt 'check phase replacement. --- gnu/packages/android.scm | 6 ++-- gnu/packages/astronomy.scm | 6 ++-- gnu/packages/bioinformatics.scm | 8 ++--- gnu/packages/check.scm | 7 ++-- gnu/packages/cpp.scm | 3 +- gnu/packages/django.scm | 3 +- gnu/packages/engineering.scm | 3 +- gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 3 +- gnu/packages/jupyter.scm | 2 +- gnu/packages/machine-learning.scm | 12 ++----- gnu/packages/music.scm | 3 +- gnu/packages/package-management.scm | 6 ++-- gnu/packages/python-check.scm | 2 +- gnu/packages/python-compression.scm | 14 +++----- gnu/packages/python-web.scm | 18 ++++------ gnu/packages/python-xyz.scm | 55 ++++++++++------------------- gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 6 ++-- gnu/packages/syndication.scm | 4 +-- gnu/packages/terminals.scm | 9 ++--- gnu/packages/textutils.scm | 1 - gnu/packages/version-control.scm | 1 - gnu/packages/web.scm | 1 - gnu/packages/xml.scm | 2 +- 25 files changed, 59 insertions(+), 120 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index bafca18abe..58d3815d2a 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1076,11 +1076,9 @@ (define-public python-androguard (replace 'check ;; Adapted from .travis.yml (lambda _ - (invoke "nosetests" "--with-coverage" "--with-timer" - "--timer-top-n" "50")))))) + (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-coverage python-mock python-nose - python-nose-timer)) + (list python-codecov python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a3aedac986..8c47e7c61c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1729,8 +1729,7 @@ (define-public python-asdf-astropy (add-before 'check 'set-home-env (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-h5py + (list python-h5py python-pandas python-pytest python-pytest-astropy @@ -4630,8 +4629,7 @@ (define-public python-poliastro (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-mypy python-flit-core python-pytest diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b989c87842..9183a4e382 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3657,8 +3657,7 @@ (define-public python-ega-download-client (propagated-inputs (list python-htsget python-psutil python-requests python-tqdm python-urllib3)) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pyfakefs python-pytest python-responses @@ -6418,7 +6417,7 @@ (define-public python-scikit-bio python-requests python-scipy)) (native-inputs - (list python-coverage python-pytest)) + (list python-pytest)) (home-page "https://scikit-bio.org") (synopsis "Data structures, algorithms and educational resources for bioinformatics") (description @@ -19887,8 +19886,7 @@ (define-public python-cooler python-scipy python-simplejson)) (native-inputs - (list python-coverage - python-hatchling + (list python-hatchling python-isort python-pytest python-pytest-cov)) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index a0388da61d..5b088c0e8e 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1969,8 +1969,7 @@ (define-public python-pytest-randomly "not reordered " "and not test_it_runs_before_stepwise " "and not test_entrypoint_injection")))))))) - (native-inputs (list python-coverage - python-factory-boy + (native-inputs (list python-factory-boy python-faker python-numpy python-pytest-xdist)) @@ -3165,7 +3164,7 @@ (define-public python-pytest-flakes (add-installed-pythonpath inputs outputs) (invoke "py.test" "-vv" "-k" "not test_syntax_error")))))) (native-inputs - (list python-coverage python-pytest)) + (list python-pytest)) (propagated-inputs (list python-pyflakes)) (home-page "https://github.com/fschulze/pytest-flakes") @@ -4129,7 +4128,7 @@ (define-public python-aiounittest #t))))) (propagated-inputs (list python-wrapt)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/kwarunek/aiounittest") (synopsis "Test asyncio code more easily") diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index b9650e22fc..6c9c70baf4 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1348,8 +1348,7 @@ (define-public cpplint (setenv "GUIX_PYTHONPATH" (getenv "TMP_PYTHONPATH"))))))) (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-pytest-cov python-pytest-runner python-setuptools diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 9aadc8257c..878e1fed2b 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -510,8 +510,7 @@ (define-public python-django-haystack (list python-django python-packaging)) ;; (inputs (list gdal)) ; it's optional, tests fail when provided (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-geopy python-pysolr python-requests diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3882a35d6b..cc84a760e9 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2964,8 +2964,7 @@ (define-public python-scikit-rf python-pyqtgraph python-qtpy python-scipy)) - (native-inputs (list python-coverage - python-nbval + (native-inputs (list python-nbval python-networkx python-pytest python-pytest-cov diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm index c3e1c9b496..57e14ee93f 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -65,7 +65,6 @@ (define-public gpodder (build-system python-build-system) (native-inputs (list intltool - python-coverage python-minimock python-pytest python-pytest-cov @@ -169,7 +168,7 @@ (define-public python-mygpoclient "05hmjdb73m7vl6lzvh58bnliy4227pv8hprwfka0bg19cnvgpyf5")))) (build-system python-build-system) (native-inputs - (list python-coverage python-minimock python-nose python-pytest)) + (list python-minimock python-nose python-pytest)) (arguments '(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 57c4bd05ed..a11667b678 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coverage python-coveralls python-nose python-nose2 @@ -570,7 +569,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-pytest)) + (list python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index f47d8de295..70d894939c 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -519,7 +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-coverage python-pytest + (list python-pypa-build python-pytest python-pytest-cov python-pytest-mock)) (home-page "https://jupyter.org") (synopsis "Jupyter packaging utilities") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index bb134a6618..350c2d2b39 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1589,7 +1589,6 @@ (define args (list cmake-minimal googletest pybind11 - python-coverage python-fb-re2 python-parameterized python-pytest @@ -1667,8 +1666,7 @@ (define-public onnx-optimizer " and not test_fuse_transpose"))))))))) (native-inputs (append - (list cmake-minimal python-pytest python-pytest-runner - python-coverage) + (list cmake-minimal python-pytest python-pytest-runner) (filter (lambda (pkg) (member (or (%current-target-system) @@ -5280,8 +5278,7 @@ (define-public python-lightning-utilities "016zikn39apig3y6xyipw34w0w02c73z483radddbf68ivpjgz3r")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-setuptools + (list python-setuptools python-wheel)) (propagated-inputs (list python-importlib-metadata @@ -5472,7 +5469,6 @@ (define-public python-pytorch-lightning (native-inputs (list python-aiohttp python-cloudpickle - python-coverage python-flaky python-pympler python-pytest @@ -5510,7 +5506,6 @@ (define-public python-torchmetrics python-lightning-utilities)) (native-inputs (list python-cloudpickle - python-coverage python-fire python-mir-eval python-mypy @@ -5926,8 +5921,7 @@ (define-public python-gpytorch python-mpmath python-scikit-learn python-scipy)) - (native-inputs (list python-coverage - python-flake8-print + (native-inputs (list python-flake8-print python-nbval python-pytest python-setuptools diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 7d28ef4b58..ae2afb8441 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4229,8 +4229,7 @@ (define-public python-pylast ;; https://github.com/pylast/pylast/issues/105 (arguments '(#:tests? #f)) (native-inputs - (list python-coverage python-pytest python-flaky python-pyyaml - python-setuptools-scm)) + (list python-pytest python-flaky python-pyyaml python-setuptools-scm)) (home-page "https://github.com/pylast/pylast") (synopsis "Python interface to Last.fm and Libre.fm") (description "A Python interface to Last.fm and other API-compatible diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 8c629ba722..01b05fb9e1 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1107,8 +1107,7 @@ (define-public python-anaconda-client python-requests python-setuptools)) (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-freezegun python-mock python-pillow @@ -1296,8 +1295,7 @@ (define-public conda ;; XXX: This is dragged in by libarchive and is needed at runtime. zstd)) (native-inputs - (list python-coverage - python-flaky + (list python-flaky python-pytest-cov python-pytest-timeout python-pytest-xprocess diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index d0319fcbc0..1348c9651f 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1625,7 +1625,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-coverage python-pytest)) + (list python-covdefaults python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5b994d408f..dfe819733e 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -163,7 +163,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coverage python-coveralls python-hypothesis python-pyannotate @@ -306,8 +305,7 @@ (define-public python-pybcj (build-system pyproject-build-system) (propagated-inputs (list python-importlib-metadata)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-cov python-setuptools-scm @@ -340,8 +338,7 @@ (define-public python-bcj-cffi (propagated-inputs (list python-cffi python-toml python-setuptools-scm)) (native-inputs - (list python-setuptools python-coverage python-pytest - python-pytest-cov)) + (list python-setuptools python-pytest python-pytest-cov)) (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 / @@ -466,8 +463,7 @@ (define-public python-pyppmd "03w4x26mar0ha73c3v39psn1i0k6xrzwmaxfsxysic73jz99np07")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-benchmark python-pytest-cov @@ -500,7 +496,6 @@ (define-public python-ppmd-cffi (native-inputs (list python-hypothesis python-setuptools-scm - python-coverage python-pytest python-pytest-cov)) (home-page "https://github.com/miurahr/ppmd") @@ -535,8 +530,7 @@ (define-public python-py7zr python-pyzstd python-texttable)) (native-inputs - (list python-coverage - python-setuptools + (list python-setuptools python-coveralls python-libarchive-c python-py-cpuinfo diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index dc5ad03f92..91c542ee73 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1614,8 +1614,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-coverage - python-isort + (native-inputs (list python-isort python-pytest python-pytest-cov python-setuptools @@ -3865,8 +3864,7 @@ (define-public python-zope-interface (build-system python-build-system) (arguments '(#:tests? #f)) ; test suite can't find python-zope-testing (native-inputs - (list python-coverage python-nose python-zope-event - python-zope-testing)) + (list python-nose python-zope-event python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.interface") (synopsis "Python implementation of the \"design by contract\" methodology") @@ -4162,7 +4160,7 @@ (define-public python-zope-hookable "0hc82lfr7bk53nvbxvjkibkarngyrzgfk2i6bg8wshl0ly0pdl19")))) (build-system python-build-system) (native-inputs - (list python-coverage python-zope-testing)) + (list python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.hookable") (synopsis "Zope hookable") (description "This package supports the efficient creation of hookable @@ -5621,7 +5619,7 @@ (define-public python-url (propagated-inputs (list python-publicsuffix)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (arguments `(#:tests? #f)) ; FIXME: tests fail with "ImportError: No module named 'tests'" (home-page "https://github.com/seomoz/url-py") @@ -8439,7 +8437,7 @@ (define-public python-transaction (propagated-inputs (list python-zope-interface)) (native-inputs - (list python-coverage python-mock python-nose)) + (list python-mock python-nose)) (home-page "https://github.com/zopefoundation/transaction") (synopsis "Transaction management for Python") (description "This package contains a generic transaction implementation @@ -8916,7 +8914,6 @@ (define-public python-sanic (list python-bandit python-beautifulsoup4 python-chardet - python-coverage python-cryptography python-docutils python-mypy @@ -9660,7 +9657,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-nose python-selenium python-xunitparser)) + (list python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -9709,8 +9706,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6b8aa6257c..e4b3dab43a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1386,7 +1386,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-flake8 python-pydocstyle + (propagated-inputs (list python-coveralls python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -1553,7 +1553,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -1678,8 +1678,7 @@ (define-public python-lunr '(list "-k" "not TestLanguageSupport" "--ignore-glob=tests/acceptance_tests/*"))) (native-inputs - (list python-coverage - python-hatch-fancy-pypi-readme + (list python-hatch-fancy-pypi-readme python-hatchling python-pytest python-pytest-timeout @@ -1712,8 +1711,7 @@ (define-public python-mdit-py-plugins (list python-markdown-it-py python-attrs)) (native-inputs - (list python-coverage - python-flit-core + (list python-flit-core python-pytest python-pytest-cov python-pytest-regressions)) @@ -3334,8 +3332,7 @@ (define-public python-bidict "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g")))) (build-system python-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-py python-pytest python-pytest-benchmark @@ -3703,8 +3700,6 @@ (define-public python-sh ;; XXX: A Python 2 test fails when HOME=/homeless-shelter. (setenv "HOME" "/tmp") (invoke "python" "sh.py" "test")))))) - (native-inputs - (list python-coverage)) (home-page "https://github.com/amoffat/sh") (synopsis "Python subprocess replacement") (description "This package provides a replacement for Python's @@ -4297,7 +4292,6 @@ (define-public python-can (native-inputs (list ;; python-canalystii ; Not packed yet python-codecov - python-coverage python-future python-hypothesis python-mock @@ -5211,7 +5205,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-coverage python-pycodestyle python-pydantic python-pytest @@ -6731,8 +6724,7 @@ (define-public python-pyjwt "1z85kwr945rbzrn5wabrsmck5x8disa9wc7b3y5gci7w65z5qa39")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-cryptography + (list python-cryptography python-pytest python-sphinx python-sphinx-rtd-theme @@ -6998,7 +6990,6 @@ (define-public python-virtualenv-clone (native-inputs (list python-pytest python-tox python-virtualenv - python-coverage python-wheel python-tomli python-hypothesis)) @@ -11326,7 +11317,6 @@ (define-public python-pikepdf (native-inputs (list pybind11 python-attrs - python-coverage python-hypothesis python-setuptools-scm python-psutil @@ -17370,7 +17360,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coverage python-coveralls python-nose2 + (native-inputs (list python-coveralls python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -18976,8 +18966,7 @@ (define-public python-notebook python-tornado-6 python-traitlets)) (native-inputs - (list python-coverage - python-jupyter-server + (list python-jupyter-server python-nbval python-pytest python-pytest-cov @@ -19740,7 +19729,6 @@ (define-public python-structlog python-hatch-vcs python-hatchling ;; For the tests - python-coverage python-freezegun python-pretend python-pytest @@ -24445,7 +24433,7 @@ (define-public binwalk (lambda _ (setenv "HOME" "")))))) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/ReFirmLabs/binwalk") (synopsis "Firmware analysis tool") (description "Binwalk is a tool for analyzing, reverse engineering, and @@ -28186,7 +28174,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-setuptools-scm python-wheel)) + (list python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -29256,7 +29244,7 @@ (define-public python-stone (propagated-inputs (list python-ply python-six)) (native-inputs - (list python-coverage python-mock python-pytest python-pytest-runner)) + (list python-mock python-pytest python-pytest-runner)) (home-page "https://github.com/dropbox/stone") (synopsis "Official Api Spec Language for Dropbox") (description @@ -29531,8 +29519,7 @@ (define-public python-identify ;; system-error "utime" "~A" ("No such file or directory") (delete 'ensure-no-mtimes-pre-1980)))) (native-inputs - (list python-coverage python-pytest python-setuptools - python-ukkonen python-wheel)) + (list python-pytest python-setuptools python-ukkonen python-wheel)) (propagated-inputs (list python-editdistance)) (home-page "https://github.com/chriskuehl/identify") @@ -29631,8 +29618,7 @@ (define-public python-nodeenv "not test_smoke" " and not test_smoke_n_system_special_chars")))) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pytest python-setuptools python-wheel)) @@ -32450,7 +32436,7 @@ (define-public python-forbiddenfruit (lambda _ (invoke "make" "SKIP_DEPS=1")))))) (native-inputs - (list python-nose python-coverage)) + (list python-nose)) (home-page "https://github.com/clarete/forbiddenfruit") (synopsis "Patch python built-in objects") (description "This project allows Python code to extend built-in types.") @@ -33519,8 +33505,7 @@ (define-public python-eliot (propagated-inputs (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-xdist python-setuptools @@ -33553,7 +33538,6 @@ (define-public python-pem (build-system python-build-system) (native-inputs (list python-certifi - python-coverage python-pretend python-pyopenssl python-pytest @@ -35633,7 +35617,6 @@ (define-public python-scikit-build gfortran git-minimal/pinned ;for tests ninja - python-coverage python-cython python-hatchling python-hatch-fancy-pypi-readme @@ -36828,8 +36811,7 @@ (define-public python-minikanren python-pytest python-pytest-cov python-sympy - python-versioneer - python-coverage)) + python-versioneer)) (propagated-inputs (list python-toolz python-cons python-multipledispatch python-etuples python-logical-unification)) @@ -38286,8 +38268,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-mypy - python-pretend python-pytest)) + (native-inputs (list python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -38723,7 +38704,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-shtab)) + (list python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 1eed4fd180..375531b1ee 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1250,7 +1250,6 @@ (define-public python-dolfin-adjoint (list fenics openmpi pybind11)) (native-inputs (list pkg-config - python-coverage python-decorator python-pkgconfig python-pytest)) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 58975e652f..736b90b384 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2619,8 +2619,7 @@ (define-public python-emcee (base32 "0zb3ihja3hyj6zjbhkpxhyyppnv58q2jjg0yd1lwmydqdaplvbqi")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) - (native-inputs (list python-coverage - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-setuptools-scm @@ -7135,8 +7134,7 @@ (define-public python-rpy2 r-dbplyr zlib)) (native-inputs - (list python-coverage - python-ipython + (list python-ipython python-numpy python-pandas python-pytest diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index fc563a657f..ff9e18f064 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -499,7 +499,6 @@ (define-public rtv (native-inputs (list ncurses python-coveralls - python-coverage python-mock python-pytest python-vcrpy)) @@ -541,8 +540,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-mock python-pytest python-setuptools diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index b9dd12803d..da9f0e3483 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1176,8 +1176,7 @@ (define-public python-halo (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-twine @@ -1208,8 +1207,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-wheel)) @@ -1241,8 +1239,7 @@ (define-public python-spinners (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-wheel)) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 5424f6a28c..ce9847a168 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1757,7 +1757,6 @@ (define-public python-panflute (build-system python-build-system) (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser - python-coverage python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 01252ce7ff..019ce62d74 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2464,7 +2464,6 @@ (define-public pre-commit (native-inputs (list git-minimal/pinned python-covdefaults - python-coverage python-distlib python-pytest python-pytest-env diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index fdb7753ba6..e45df3c3b4 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7172,7 +7172,6 @@ (define-public python-httpretty (invoke "nosetests" "--exclude=(passthrough|streaming|httpretty_should_handle)"))))))) (native-inputs (list nss-certs-for-test - python-coverage python-eventlet python-freezegun python-httplib2 diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 10cd6d98fa..4b9f7566a1 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1996,7 +1996,7 @@ (define-public python-xmltodict "08cadlb9vsb4pmzc99lz3a2lx6qcfazyvgk10pcqijvyxlwcdn2h")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-nose python-setuptools python-wheel)) + (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/martinblech/xmltodict") (synopsis "Work with XML like you are working with JSON") (description "This package provides a Python library to convert XML to -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:10:03 GMT) Full text and rfc822 format available.Message #346 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 13/52] build-system/pyproject: Remove python-coverage native-input. Date: Tue, 25 Feb 2025 10:15:59 +0100
* gnu/packages/jupyter.scm (python-nbclassic, python-papermill) * gnu/packages/openstack.scm (python-hacking, python-oslo.context) * gnu/packages/python-check.scm (python-pytest-testmon) * gnu/packages/python-science.scm (python-scikit-survival, python-modin, python-pynetdicom) * gnu/packages/python-web.scm (python-aioitertools, python-python3-saml, python-zope-i18n-messageid, python-rangehttpserver, python-http-ece, python-zeep) * gnu/packages/python-xyz.scm (python-argopt, python-case, python-pypugjs, python-repoze-lru, python-lsp-jsonrpc, python-pillow-heif, python-legacy-api-wrap, python-waitress, python-gevent, python-twisted, python-mamba, python-bagit, python-typer, python-numcodecs, python-diceware, python-param) * gnu/packages/statistics.scm (python-radian) [native-inputs]: Remove python-coverage. --- gnu/packages/jupyter.scm | 4 +--- gnu/packages/openstack.scm | 6 ++---- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-science.scm | 3 --- gnu/packages/python-web.scm | 13 +++++-------- gnu/packages/python-xyz.scm | 32 +++++++++++--------------------- gnu/packages/statistics.scm | 3 +-- 7 files changed, 21 insertions(+), 43 deletions(-) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 70d894939c..a9f57b2ccc 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -81,8 +81,7 @@ (define-public python-nbclassic python-terminado python-tornado-6 python-traitlets)) - (native-inputs (list python-coverage - python-nbval + (native-inputs (list python-nbval python-jupyter-packaging python-pytest python-pytest-cov @@ -1162,7 +1161,6 @@ (define-public python-papermill python-bumpversion python-check-manifest python-codecov - python-coverage python-ipython python-ipywidgets python-moto diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index ac283bd019..84696a586f 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -153,8 +153,7 @@ (define-public python-hacking (propagated-inputs (list python-flake8)) (native-inputs - (list python-coverage - python-ddt + (list python-ddt python-eventlet python-fixtures python-setuptools @@ -551,8 +550,7 @@ (define-public python-oslo.context (propagated-inputs (list python-debtcollector)) (native-inputs - (list python-coverage - python-fixtures + (list python-fixtures python-hacking python-mypy python-oslotest diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1348c9651f..af6c0deb65 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1651,8 +1651,7 @@ (define-public python-pytest-testmon (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/tarpas/pytest-testmon") diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f18da4a326..3baee53a29 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -889,7 +889,6 @@ (define-public python-scikit-survival python-scipy)) (native-inputs (list python-pypa-build - python-coverage python-cython-3 python-packaging python-pytest @@ -3052,7 +3051,6 @@ (define-public python-modin python-s3fs)) (native-inputs (list python-boto3 - python-coverage python-jinja2 python-lxml python-matplotlib @@ -3960,7 +3958,6 @@ (define-public python-pynetdicom " and not test_pr_level_series" " and not test_scp_cancelled")))) (native-inputs (list python-codespell - python-coverage python-poetry-core python-pytest python-pytest-cov diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 91c542ee73..11dfeeb54c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -903,8 +903,7 @@ (define-public python-aioitertools (arguments (list #:tests? #false)) (propagated-inputs (list python-typing-extensions)) (native-inputs - (list python-coverage - python-flake8 + (list python-flake8 python-flit-core python-mypy python-pytest @@ -1587,8 +1586,7 @@ (define-public python-python3-saml (setenv "LD_LIBRARY_PATH" (dirname (search-input-file inputs "lib/libxmlsec1-openssl.so.1.2.37")))))))) (propagated-inputs (list python-isodate python-lxml python-xmlsec)) - (native-inputs (list python-coverage - python-flake8 + (native-inputs (list python-flake8 python-freezegun python-poetry-core python-pytest @@ -3997,7 +3995,7 @@ (define-public python-zope-i18nmessageid (base32 "14mx62khys82p2gmmf3m40x4jmvcz3rndvl6qik2n2qfp13n7ds7")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-setuptools + (list python-setuptools python-wheel python-zope-testrunner)) (propagated-inputs (list python-six)) @@ -8222,7 +8220,7 @@ (define-public python-rangehttpserver (sha256 (base32 "1dx533fsbq1mbz3by7qkm5bh2c253nwvm8214pqbwbfq07kqkwf2")))) (build-system pyproject-build-system) - (native-inputs (list python-coverage python-coveralls python-pytest + (native-inputs (list python-coveralls python-pytest python-setuptools python-wheel)) (home-page "https://github.com/danvk/RangeHTTPServer") (synopsis "SimpleHTTPServer with support for range requests") @@ -8582,7 +8580,7 @@ (define-public python-http-ece (propagated-inputs (list python-cryptography)) (native-inputs - (list python-coverage python-mock python-nose)) + (list python-mock python-nose)) (home-page "https://github.com/web-push-libs/encrypted-content-encoding") (synopsis "Encrypted Content Encoding for HTTP") (description @@ -10139,7 +10137,6 @@ (define-public python-zeep python-requests-toolbelt)) (native-inputs (list nss-certs-for-test - python-coverage python-flake8 python-flake8-blind-except python-flake8-debugger diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e4b3dab43a..e639c6ae4d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1407,7 +1407,7 @@ (define-public python-argopt "0ybs7kkp0cpl8zn1lvf7481xhssg1bbhh5la2cjzdm5yibashyxa")))) (build-system python-build-system) (native-inputs - (list python-coverage python-nose python-setuptools ; Won't build without this. + (list python-nose python-setuptools ; Won't build without this. python-setuptools-scm)) (propagated-inputs (list python-toml python-flake8)) @@ -4687,8 +4687,6 @@ (define-public python-case (build-system python-build-system) (propagated-inputs (list python-mock python-nose python-six)) - (native-inputs - (list python-coverage)) (home-page "https://github.com/celery/case") (synopsis "Unittest utilities and convenience methods") (description @@ -7193,8 +7191,7 @@ (define-public python-pypugjs ;; pyramid is outdated and pyramid-mako is unpackaged. (substitute* "setup.cfg" (("'(pyramid|pyramid-mako)[^']*',") ""))))))) - (native-inputs (list python-coverage - python-django + (native-inputs (list python-django python-jinja2 python-flake8 python-flask @@ -7804,7 +7801,7 @@ (define-public python-repoze-lru (base32 "0xzz1aw2smy8hdszrq8yhnklx6w1r1mf55061kalw3iq35gafa84")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-nose python-setuptools python-wheel)) + (list python-nose python-setuptools python-wheel)) (home-page "https://www.repoze.org") (synopsis "Tiny LRU cache implementation and decorator") (description @@ -8669,8 +8666,7 @@ (define-public python-lsp-jsonrpc "04n95h0cqnsrdyh1gv0abh2i5ynyrq2wfqpppx9djp7mxr9y9226")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-pycodestyle + (list python-pycodestyle python-pyflakes python-pytest python-pytest-cov @@ -11418,7 +11414,6 @@ (define-public python-pillow-heif (inputs (list libheif)) (propagated-inputs (list python-pillow)) (native-inputs (list opencv ; for opencv-python - python-coverage python-defusedxml python-numpy python-packaging @@ -17643,8 +17638,7 @@ (define-public python-legacy-api-wrap "1d5jyd8d2wxm6y0s39wwqw87gdm4zqlbyz78cf3yqbrim1xdch4w")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-hatch-vcs + (list python-hatch-vcs python-hatchling python-pytest)) (home-page "https://github.com/flying-sheep/legacy-api-wrap") @@ -20771,7 +20765,7 @@ (define-public python-waitress ;; https://github.com/Pylons/waitress/issues/443 (list #:test-flags #~(list "-k" "not test_service_port"))) (native-inputs - (list python-coverage python-pytest python-pytest-cov + (list python-pytest python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/Pylons/waitress") (synopsis "Waitress WSGI server") @@ -22265,7 +22259,6 @@ (define-public python-gevent (list python-greenlet python-zope-event python-zope-interface)) (native-inputs (list python-cffi - python-coverage python-cython python-dnspython python-idna @@ -22368,7 +22361,6 @@ (define-public python-twisted python-zope-interface)) (native-inputs (list glibc-utf8-locales ;for OpenTestLogTests.test_utf8 - python-coverage python-hatch-fancy-pypi-readme python-hatchling python-httpx @@ -26099,7 +26091,7 @@ (define-public python-mamba (build-system python-build-system) (arguments `(#:tests? #f)) ; No test (propagated-inputs - (list python-clint python-coverage)) + (list python-clint)) (home-page "https://nestorsalceda.com/mamba/") (synopsis "Test runner for Python") (description @@ -26863,7 +26855,7 @@ (define-public python-bagit "1m6y04qmig0b5hzb35lnaw3d2yfydb7alyr1579yblvgs3da6j7j")))) (build-system python-build-system) (native-inputs - (list python-setuptools-scm python-coverage python-mock)) + (list python-setuptools-scm python-mock)) (home-page "https://libraryofcongress.github.io/bagit-python/") (synopsis "Create and validate BagIt packages") (description "Bagit is a Python library and command line utility for working @@ -28503,7 +28495,7 @@ (define-public python-typer (propagated-inputs (list python-click)) (native-inputs - (list python-coverage python-flit python-pytest python-rich + (list python-flit python-pytest python-rich python-shellingham)) (home-page "https://github.com/tiangolo/typer") (synopsis "Typer builds CLI based on Python type hints") @@ -29890,8 +29882,7 @@ (define-public python-numcodecs (list c-blosc lz4 zlib `(,zstd "lib"))) (propagated-inputs - (list python-coverage - python-google-crc32c + (list python-google-crc32c python-importlib-metadata python-msgpack python-numpy @@ -33682,7 +33673,7 @@ (define-public python-diceware "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby")))) (build-system python-build-system) (native-inputs - (list python-coverage python-pytest python-pytest-runner)) + (list python-pytest python-pytest-runner)) (home-page "https://github.com/ulif/diceware/") (synopsis "Generates memorable passphrases") (description "This package generates passphrases by concatenating words @@ -34777,7 +34768,6 @@ (define-public python-param (build-system pyproject-build-system) (native-inputs (list python-cloudpickle - python-coverage python-hatchling python-hatch-vcs python-ipython diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 736b90b384..7a02786ab6 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -7208,8 +7208,7 @@ (define-public python-radian (setenv "HOME" "/tmp")))))) (propagated-inputs (list python-prompt-toolkit python-pygments python-rchitect)) - (native-inputs (list python-coverage - python-pexpect + (native-inputs (list python-pexpect python-ptyprocess python-pyte python-pytest -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:10:04 GMT) Full text and rfc822 format available.Message #349 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: 70858 <at> debbugs.gnu.org Subject: [PATCH python-team v4 14/52] build-system/pyproject: Remove python-pytest-black native-input. Date: Fri, 31 Jan 2025 02:41:06 +0100
* gnu/packages/check.scm (python-pytest-perf, python-pytest-enabler) [native-inputs]: Remove python-pytest-black. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-black. --- gnu/packages/check.scm | 2 -- gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 10 ---------- 3 files changed, 13 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 5b088c0e8e..da8f42c315 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2941,7 +2941,6 @@ (define-public python-pytest-enabler python-jaraco-functools python-toml)) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -3115,7 +3114,6 @@ (define-public python-pytest-perf "and not upstream_url")))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 11dfeeb54c..4375608457 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -702,7 +702,6 @@ (define-public python-portend (propagated-inputs (list python-tempora)) ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e639c6ae4d..13e6bb948f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12775,7 +12775,6 @@ (define-public python-importlib-resources (string-append (getcwd) "/_custom_build"))))))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -12926,7 +12925,6 @@ (define-public python-jaraco-classes #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -12960,7 +12958,6 @@ (define-public python-jaraco-collections ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -13021,7 +13018,6 @@ (define-public python-jaraco-context #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -13056,7 +13052,6 @@ (define-public python-jaraco-functools (native-inputs (list python-jaraco-classes python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -13151,7 +13146,6 @@ (define-public python-jaraco-text ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -17900,7 +17894,6 @@ (define-public python-path python-packaging python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -18006,7 +17999,6 @@ (define-public python-pip-run (append python-nbformat python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -22619,7 +22611,6 @@ (define-public python-inflect (propagated-inputs (list python-pydantic)) (native-inputs (list python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -27897,7 +27888,6 @@ (define-public python-tempora (native-inputs (list python-freezegun python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler -- 2.48.1 -- Best regards, Nicolas Graves
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:02 GMT) Full text and rfc822 format available.Message #352 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> Subject: [PATCH v4 16/52] gnu: u-boot-tools: Remove python-coverage native-input. Date: Wed, 26 Feb 2025 04:10:24 +0100
* gnu/packages/bootloaders.scm (u-boot-tools): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt patch phase. Change-Id: I94394544079197b4a3f8c53cc0b3d78d1f5dc8be --- gnu/packages/bootloaders.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 4dab7bd0b7..753064cc43 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -825,8 +825,7 @@ (define-public u-boot-tools (name "u-boot-tools") (native-inputs (modify-inputs (package-native-inputs u-boot) - (prepend python-coverage - python-filelock + (prepend python-filelock python-pycryptodomex python-pytest python-pytest-xdist))) @@ -842,14 +841,6 @@ (define-public u-boot-tools (("/bin/false") (which "false"))) (substitute* "tools/dtoc/fdt_util.py" (("'cc'") "'gcc'")) - (substitute* "tools/u_boot_pylib/test_util.py" - ;; python3-coverage is simply called coverage in guix. - (("python3-coverage") "coverage") - - ;; Don't require 100% coverage since it's brittle and can - ;; fail with newer versions of coverage or dependencies. - (("raise ValueError\\('Test coverage failure'\\)") - "print('Continuing anyway since Guix does not care :O')")) (substitute* "test/run" ;; Make it easier to find test failures. (("#!/bin/bash") "#!/bin/bash -x") @@ -862,9 +853,9 @@ (define-public u-boot-tools "# run_test \"sandbox_noinst\"") (("run_test \"sandbox_vpl\"") "# run_test \"sandbox_vpl\"") - ;; FIXME: code coverage not working - (("run_test \"binman code coverage\"") - "# run_test \"binman code coverage\"") + ;; Disable code coverage tests. + (("run_test \"(\\w+) code coverage\"" all) + (string-append "# " all)) ;; This test would require internet access. (("\\./tools/buildman/buildman") (which "true"))) (substitute* "test/py/tests/test_sandbox_exit.py" -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:03 GMT) Full text and rfc822 format available.Message #355 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> Subject: [PATCH v4 17/52] gnu: python-aiosqlite: Remove python-coverage native-input. Date: Wed, 26 Feb 2025 04:10:25 +0100
* gnu/packages/databases.scm (python-aiosqlite): [arguments]<#:phases>: Adapt check phase. [native-inputs]: Remove python-coverage. Change-Id: I165d174426022f0603223e3def91ffe280f15899 --- gnu/packages/databases.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 40ffe3e084..984598e2b4 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4141,11 +4141,8 @@ (define-public python-aiosqlite (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "python" "-m" "coverage" "run" "-m" - "aiosqlite.tests") - (invoke "python" "-m" "coverage" "report"))))))) + (invoke "python" "-m" "aiosqlite.tests"))))))) (native-inputs (list python-flit-core - python-coverage python-mypy)) (home-page "https://github.com/jreese/aiosqlite") (synopsis -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:04 GMT) Full text and rfc822 format available.Message #358 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> Subject: [PATCH v4 18/52] gnu: python-openid: Remove python-coverage native-input. Date: Wed, 26 Feb 2025 04:10:26 +0100
* gnu/packages/python-web.scm (python-openid): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Rewrite check phase. Change-Id: Id4ea5abc531f5fd84b60ff22407eb608f1e6ac29 --- gnu/packages/python-web.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4375608457..09cc355998 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3189,17 +3189,18 @@ (define-public python-openid "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "coverage" "run" "-m" - "unittest" "openid.test.test_suite"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "-m" "unittest" "openid.test.test_suite") + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-defusedxml)) (native-inputs - (list python-coverage python-psycopg2 python-django)) + (list python-psycopg2 python-django)) (home-page "https://github.com/necaris/python3-openid") (synopsis "OpenID support for servers and consumers") (description "This library provides OpenID authentication for Python, both -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:04 GMT) Full text and rfc822 format available.Message #361 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> Subject: [PATCH v4 19/52] build-system/pyproject: Remove python-coveralls native-input. Date: Wed, 26 Feb 2025 04:10:27 +0100
* gnu/packages/django.scm (python-django-pipeline)[native-inputs]: Remove python-coveralls. * gnu/packages/geo.scm (python-cartopy)[native-inputs]: Remove python-coveralls. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coveralls. * gnu/packages/python-compression.scm (python-multivolumefile, python-py7zr)[native-inputs]: Remove python-coveralls. * gnu/packages/python-science.scm (python-trimesh)[native-inputs]: Remove python-coveralls. * gnu/packages/python-web.scm (python-flask-combo-jsonapi, python-rangehttpserver) [native-inputs]: Remove python-coveralls. * gnu/packages/python-xyz.scm (python-affine, python-ddlparse, python-tasklogger, python-minikanren) [native-inputs]: Remove python-coveralls. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coveralls. * gnu/packages/telegram.scm (tgcli)[native-inputs]: Remove python-coveralls. --- gnu/packages/django.scm | 3 +-- gnu/packages/graph.scm | 3 +-- gnu/packages/python-compression.scm | 2 -- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 6 ++---- gnu/packages/python-xyz.scm | 8 +++----- gnu/packages/syndication.scm | 4 +--- gnu/packages/telegram.scm | 3 +-- 8 files changed, 10 insertions(+), 22 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 878e1fed2b..3e56a20110 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -992,8 +992,7 @@ (define-public python-django-pipeline (list python-jsmin python-css-html-js-minify)) (native-inputs - (list python-coveralls - python-django + (list python-django python-setuptools python-setuptools-scm python-tox diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index a11667b678..f45ab42f0b 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coveralls python-nose python-nose2 python-pandas @@ -569,7 +568,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coveralls python-pytest)) + (list python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index dfe819733e..b2e62e1d49 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -163,7 +163,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coveralls python-hypothesis python-pyannotate python-pytest @@ -531,7 +530,6 @@ (define-public python-py7zr python-texttable)) (native-inputs (list python-setuptools - python-coveralls python-libarchive-c python-py-cpuinfo python-pyannotate diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 3baee53a29..0dc0edcb0e 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -978,8 +978,7 @@ (define-public python-trimesh ;; module 'trimesh' has no attribute '__main__'. (delete 'sanity-check)))) (native-inputs - (list python-coveralls - python-pyinstrument + (list python-pyinstrument python-pytest)) (propagated-inputs (list ;; python-cascadio ; not packed yet, optional diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 09cc355998..e50eb17c66 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8220,8 +8220,7 @@ (define-public python-rangehttpserver (sha256 (base32 "1dx533fsbq1mbz3by7qkm5bh2c253nwvm8214pqbwbfq07kqkwf2")))) (build-system pyproject-build-system) - (native-inputs (list python-coveralls python-pytest - python-setuptools python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/danvk/RangeHTTPServer") (synopsis "SimpleHTTPServer with support for range requests") (description @@ -9704,8 +9703,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coveralls - python-pytest + (list python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") (synopsis "Flask extension to quickly create JSON:API 1.0 REST Web APIs") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8df126b45c..d88eb9a11d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1386,7 +1386,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-pydocstyle + (propagated-inputs (list python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -6412,7 +6412,6 @@ (define-public python-ddlparse (build-system pyproject-build-system) (native-inputs (list python-codecov - python-coveralls python-pytest python-pytest-cov python-setuptools @@ -17341,7 +17340,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coveralls python-nose2 + (native-inputs (list python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -36778,8 +36777,7 @@ (define-public python-minikanren (invoke "python" "-m" "pytest" "-v" "tests/" "kanren/")) #t))))) (native-inputs - (list python-coveralls - python-pydocstyle + (list python-pydocstyle python-pytest python-pytest-cov python-sympy diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index ff9e18f064..56677ef91f 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -498,7 +498,6 @@ (define-public rtv python-requests python-six)) (native-inputs (list ncurses - python-coveralls python-mock python-pytest python-vcrpy)) @@ -540,8 +539,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coveralls - python-mock + (list python-mock python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index cfcd92fcbc..a4cfc6a9ef 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -839,8 +839,7 @@ (define-public tgcli (add-installed-pythonpath inputs outputs) (invoke "pytest" "tests"))))))) (native-inputs - `(("coveralls" ,python-coveralls) - ("pytest" ,python-pytest) + `(("pytest" ,python-pytest) ("pytest-click" ,python-pytest-click) ("pytest-cov" ,python-pytest-cov) ("mkdocs" ,python-mkdocs) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:05 GMT) Full text and rfc822 format available.Message #364 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> Subject: [PATCH v4 20/52] build-system/pyproject: Remove python-pycodestyle native-input. Date: Wed, 26 Feb 2025 04:10:28 +0100
* gnu/packages/bioinformatics.scm (python-screed) * gnu/packages/python-science.scm (python-scipy) * gnu/packages/python-xyz.scm (python-lsp-jsonrpc, python-diff-cover, python-fuzzywuzzy, python-jsonargparse, python-lsp-server, python-orderedmultidict, python-stem) [native-inputs]: Remove python-pycodestyle. --- gnu/packages/bioinformatics.scm | 1 - gnu/packages/python-science.scm | 1 - gnu/packages/python-xyz.scm | 14 +++++--------- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 9183a4e382..38e623f3a6 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -11513,7 +11513,6 @@ (define-public python-screed (build-system pyproject-build-system) (native-inputs (list python-importlib-resources - python-pycodestyle python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 0dc0edcb0e..a647053d8f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -462,7 +462,6 @@ (define-public python-scipy python-doit python-hypothesis python-pooch - python-pycodestyle python-pydevtool python-pytest python-pytest-cov diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d88eb9a11d..aa3397f262 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5203,7 +5203,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-pycodestyle python-pydantic python-pytest python-pytest-subtests @@ -8665,8 +8664,7 @@ (define-public python-lsp-jsonrpc "04n95h0cqnsrdyh1gv0abh2i5ynyrq2wfqpppx9djp7mxr9y9226")))) (build-system pyproject-build-system) (native-inputs - (list python-pycodestyle - python-pyflakes + (list python-pyflakes python-pytest python-pytest-cov python-setuptools @@ -9030,7 +9028,6 @@ (define-public python-lsp-server python-jedi python-lsp-jsonrpc python-pluggy - python-pycodestyle python-pydocstyle python-ujson python-whatthepatch @@ -10989,7 +10986,7 @@ (define-public python-orderedmultidict (propagated-inputs (list python-six)) (native-inputs - (list python-flake8 python-pycodestyle python-setuptools python-wheel)) + (list python-flake8 python-setuptools python-wheel)) (home-page "https://github.com/gruns/orderedmultidict") (synopsis "Python Ordered Multivalue Dictionary - omdict") (description "This package contains a library for ordered multivalue @@ -23895,7 +23892,7 @@ (define-public python-stem (invoke "./run_tests.py" "--unit") #t))))) (native-inputs - (list python-mock python-pycodestyle python-pyflakes)) + (list python-mock python-pyflakes)) (home-page "https://stem.torproject.org/") (synopsis "Python controller library that allows applications to interact with Tor") @@ -26207,8 +26204,7 @@ (define-public python-diff-cover ;; Dropp check of flake8 in tests. #~(list "-k" "not test_file_does_not_exist"))) (native-inputs - (list python-pycodestyle - python-poetry-core + (list python-poetry-core python-pyflakes python-pylint python-pytest @@ -32778,7 +32774,7 @@ (define-public python-fuzzywuzzy "1s00zn75y2dkxgnbw8kl8dw4p1mc77cv78fwfa4yb0274s96w0a5")))) (build-system python-build-system) (native-inputs - (list python-hypothesis python-pycodestyle python-pytest)) + (list python-hypothesis python-pytest)) (propagated-inputs (list python-levenshtein)) (home-page "https://github.com/seatgeek/fuzzywuzzy") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:06 GMT) Full text and rfc822 format available.Message #367 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> Subject: [PATCH v4 21/52] gnu: python-re-assert: Remove python-covdefaults native-input. Date: Wed, 26 Feb 2025 04:10:29 +0100
* gnu/packages/python-check.scm (python-re-assert): [native-inputs]: Remove python-covdefaults. Change-Id: Ib30c58b69aef7f255e5893ae6f9a33bdf41ac85d --- gnu/packages/python-check.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index af6c0deb65..b336631edc 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1625,7 +1625,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-pytest)) + (list python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:06 GMT) Full text and rfc822 format available.Message #370 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> Subject: [PATCH v4 22/52] build-system/pyproject: Remove python-covdefaults native-input. Date: Wed, 26 Feb 2025 04:10:30 +0100
* gnu/packages/python-web.scm (python-devpi-process) * gnu/packages/python-xyz.scm (python-pyproject-api, python-platformdirs) * gnu/packages/version-control.scm (pre-commit) [native-inputs]: Remove python-covdefaults. --- gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 4 +--- gnu/packages/version-control.scm | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e50eb17c66..2d6de6badc 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -260,7 +260,6 @@ (define-public python-devpi-process python-typing-extensions)) (native-inputs (list nss-certs-for-test - python-covdefaults python-hatchling python-hatch-vcs python-httpx diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index aa3397f262..0b566a4b89 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23098,8 +23098,7 @@ (define-public python-pyproject-api ;; This fails because wheel shows up in requirements " and not test_setuptools_get_requires_for_build_wheel")))) (native-inputs - (list python-covdefaults - python-hatch-vcs + (list python-hatch-vcs python-hatchling python-pytest python-pytest-cov @@ -37148,7 +37147,6 @@ (define-public python-platformdirs (build-system pyproject-build-system) (native-inputs (list python-appdirs - python-covdefaults python-hatchling python-hatch-vcs python-pytest diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 019ce62d74..c1eb761d94 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2463,7 +2463,6 @@ (define-public pre-commit (invoke "git" "config" "--global" "user.email" "you <at> example.com")))))) (native-inputs (list git-minimal/pinned - python-covdefaults python-distlib python-pytest python-pytest-env -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:07 GMT) Full text and rfc822 format available.Message #373 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> Subject: [PATCH v4 23/52] build-system/pyproject: Remove python-codecov native-input. Date: Wed, 26 Feb 2025 04:10:31 +0100
* gnu/packages/android.scm (python-androguard) * gnu/packages/astronomy.scm (python-wiimatch, python-tweakwcs) * gnu/packages/geo.scm (python-geopandas) * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/python-xyz.scm (python-can, python-ddlparse) [native-inputs]: Remove python-codecov. --- gnu/packages/android.scm | 2 +- gnu/packages/astronomy.scm | 9 +++++---- gnu/packages/geo.scm | 3 +-- gnu/packages/jupyter.scm | 1 - gnu/packages/python-xyz.scm | 4 +--- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 58d3815d2a..aa806c475e 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1078,7 +1078,7 @@ (define-public python-androguard (lambda _ (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-mock python-nose python-nose-timer)) + (list python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 8c47e7c61c..6b31414940 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6703,8 +6703,7 @@ (define-public python-tweakwcs python-stsci-imagestats python-stsci-stimage)) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-scipy python-setuptools @@ -6828,8 +6827,10 @@ (define-public python-wiimatch "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy)) - (native-inputs (list python-codecov python-pytest python-pytest-cov - python-pytest-doctestplus python-setuptools-scm + (native-inputs (list python-pytest + python-pytest-cov + python-pytest-doctestplus + python-setuptools-scm python-wheel)) (home-page "https://github.com/spacetelescope/wiimatch") (synopsis diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 54f96fef2b..cf8c140040 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1075,8 +1075,7 @@ (define-public python-geopandas python-pyproj python-shapely)) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-pytest-xdist python-setuptools diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index a9f57b2ccc..1ee99c8602 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1160,7 +1160,6 @@ (define-public python-papermill python-botocore python-bumpversion python-check-manifest - python-codecov python-ipython python-ipywidgets python-moto diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0b566a4b89..b840493eb4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4291,7 +4291,6 @@ (define-public python-can python-setuptools)) (native-inputs (list ;; python-canalystii ; Not packed yet - python-codecov python-future python-hypothesis python-mock @@ -6410,8 +6409,7 @@ (define-public python-ddlparse (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) (build-system pyproject-build-system) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-setuptools python-tox -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:08 GMT) Full text and rfc822 format available.Message #376 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> Subject: [PATCH v4 24/52] build-system/pyproject: Remove python-tox native-input. Date: Wed, 26 Feb 2025 04:10:32 +0100
* gnu/packages/bioinformatics.scm (python-metacells) * gnu/packages/django.scm (python-django-pipeline, python-django-extensions) * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/logging.scm (tailon) * gnu/packages/messaging.scm (python-harmony) * gnu/packages/mp3.scm (python-audioread) * gnu/packages/networking.scm (gandi.cli) * gnu/packages/python-check.scm (python-pytest-qt, python-nox) * gnu/packages/python-science.scm (python-scikit-survival) * gnu/packages/python-web.scm (python-flask-htpasswd, python-simple-websocket, python-omnipath, python-sanic) * gnu/packages/python-xyz.scm (python-lunr, python-bidict, python-jsonargparse, python-ddlparse, python-virtualenv-clone, python-honcho, python-shshsh, python-ansicolors) * gnu/packages/radio.scm (chirp) * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners) * gnu/packages/textutils.scm (txt2tags) [native-inputs]: Remove python-tox. --- gnu/packages/bioinformatics.scm | 1 - gnu/packages/django.scm | 2 -- gnu/packages/jupyter.scm | 1 - gnu/packages/logging.scm | 2 +- gnu/packages/messaging.scm | 2 -- gnu/packages/mp3.scm | 3 +-- gnu/packages/networking.scm | 2 +- gnu/packages/python-check.scm | 4 +--- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 5 +---- gnu/packages/python-xyz.scm | 18 +++++------------- gnu/packages/radio.scm | 3 +-- gnu/packages/terminals.scm | 3 --- gnu/packages/textutils.scm | 1 - 14 files changed, 12 insertions(+), 38 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 38e623f3a6..e139a60bd7 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3177,7 +3177,6 @@ (define-public python-metacells python-setuptools python-sphinx python-sphinx-rtd-theme - python-tox python-twine python-wheel)) (home-page "https://github.com/tanaylab/metacells.git") diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 3e56a20110..b8c72c55d9 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -268,7 +268,6 @@ (define-public python-django-extensions (native-inputs (list python-mock python-factory-boy - python-tox python-pytest python-pytest-cov python-pytest-django @@ -995,7 +994,6 @@ (define-public python-django-pipeline (list python-django python-setuptools python-setuptools-scm - python-tox python-wheel)) (home-page "https://github.com/jazzband/django-pipeline") diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 1ee99c8602..8f900d3f88 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1171,7 +1171,6 @@ (define-public python-papermill python-recommonmark python-requests python-setuptools - python-tox python-twine python-wheel)) (home-page "https://github.com/nteract/papermill") diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 9cc28279d7..55a1db4123 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -159,7 +159,7 @@ (define-public tailon "0xkmrivzilsc9wqr8ms67v7399gxnh7pv5687k4rdpdgz4309fwc")))) (build-system python-build-system) (native-inputs - (list python-tox python-wheel)) + (list python-wheel)) (inputs (list python-pyyaml-5 python-sockjs-tornado python-tornado-http-auth python-tornado python-deepmerge)) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 1ee8255593..fcb05dbda6 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3626,8 +3626,6 @@ (define-public python-harmony (base32 "1bm9xcnzpnpj6rlhbrnl2abwclzl7ivgh1vb5644y9mnhcs489js")))) (build-system python-build-system) - (native-inputs - (list python-tox)) (inputs (list python-librecaptcha python-keyring python-requests)) (synopsis "Discord account management") diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 9dfce6313f..ccf105d7be 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -688,8 +688,7 @@ (define-public python-audioread (list gstreamer gst-plugins-base python-flit-core - python-pytest - python-tox)) + python-pytest)) (home-page "https://github.com/sampsyo/audioread") (synopsis "Decode audio files using whichever backend is available") (description diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 1b97853a59..96561fff3a 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1941,7 +1941,7 @@ (define-public gandi.cli #t)))))) (native-inputs (list python-docutils ; for rst2man.py - python-pytest python-pytest-cov python-tox)) + python-pytest python-pytest-cov)) (propagated-inputs (list openssh)) ; used by gandi/cli/modules/iass.py (inputs diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b336631edc..5bb38e091a 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2295,7 +2295,6 @@ (define-public python-pytest-qt (list python-pre-commit python-setuptools python-setuptools-scm - python-tox python-wheel)) (home-page "https://github.com/pytest-dev/pytest-qt") (synopsis "Pytest support for PyQt and PySide applications") @@ -3012,8 +3011,7 @@ (define-public python-nox (native-inputs (list python-hatchling python-jinja2 - python-pytest - python-tox)) + python-pytest)) (home-page "https://nox.thea.codes/") (synopsis "Flexible test automation") (description diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index a647053d8f..c747b43361 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -893,8 +893,7 @@ (define-public python-scikit-survival python-pytest python-setuptools python-setuptools-scm - python-tomli - python-tox)) + python-tomli)) (home-page "https://github.com/sebp/scikit-survival") (synopsis "Survival analysis built on top of scikit-learn") (description "Scikit-survival is a Python module for survival analysis diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2d6de6badc..8177c63fa2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2984,7 +2984,6 @@ (define-public python-omnipath python-requests-mock python-setuptools python-setuptools-scm - python-tox python-wheel)) (home-page "https://omnipathdb.org/") (synopsis "Python client for the OmniPath web service") @@ -5836,7 +5835,7 @@ (define-public python-flask-htpasswd (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;none included (propagated-inputs - (list python-flask python-passlib python-pyjwt python-tox)) + (list python-flask python-passlib python-pyjwt)) (native-inputs (list python-pytest python-setuptools python-wheel)) @@ -8921,7 +8920,6 @@ (define-public python-sanic python-setuptools python-slotscheck python-towncrier - python-tox python-types-ujson python-uvicorn python-wheel)) @@ -9045,7 +9043,6 @@ (define-public python-simple-websocket (native-inputs (list python-pytest python-pytest-cov python-setuptools - python-tox python-wheel)) (home-page "https://github.com/miguelgrinberg/simple-websocket") (synopsis "Simple WebSocket server and client for Python") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b840493eb4..1fe3e020a8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1681,8 +1681,7 @@ (define-public python-lunr (list python-hatch-fancy-pypi-readme python-hatchling python-pytest - python-pytest-timeout - python-tox)) + python-pytest-timeout)) (propagated-inputs (list python-importlib-metadata python-typing-extensions)) (home-page @@ -3341,8 +3340,7 @@ (define-public python-bidict python-sortedcollections python-sortedcontainers python-sphinx - python-sphinx-autodoc-typehints - python-tox)) + python-sphinx-autodoc-typehints)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'relax-reqs @@ -5206,7 +5204,6 @@ (define-public python-jsonargparse python-pytest python-pytest-subtests python-responses - python-tox python-types-requests python-setuptools python-wheel)) @@ -6412,7 +6409,6 @@ (define-public python-ddlparse (list python-pytest python-pytest-cov python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-pyparsing)) (home-page "https://github.com/shinichi-takii/ddlparse") @@ -6982,7 +6978,6 @@ (define-public python-virtualenv-clone (delete-file "tox.ini") (invoke "pytest" "-vvv" "tests"))))))) (native-inputs (list python-pytest - python-tox python-virtualenv python-wheel python-tomli @@ -12510,7 +12505,7 @@ (define-public python-honcho (base32 "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj")))) (build-system python-build-system) (native-inputs - (list python-pytest python-mock python-tox which)) ;for tests + (list python-pytest python-mock which)) ;for tests (propagated-inputs (list python-jinja2)) (arguments @@ -22765,9 +22760,7 @@ (define-public python-shshsh "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f")))) (build-system pyproject-build-system) (native-inputs - (list python-poetry-core - python-pytest - python-tox)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/zqqqqz2000/shshsh") (synopsis "Write Shell commands simply and safely within Python") (description "This package provides a way to write Shell commands from @@ -38009,8 +38002,7 @@ (define-public python-ansicolors (base32 "1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr")))) (build-system python-build-system) (native-inputs - (list python-tox - python-pytest-cov + (list python-pytest-cov unzip)) (home-page "https://github.com/jonathaneunice/colors/") (synopsis "ANSI colors for Python") diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index d2c8bee76b..51d00e68f4 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3274,8 +3274,7 @@ (define-public chirp python-mox3 python-pytest python-pytest-mock - python-pyyaml - python-tox)) + python-pyyaml)) (inputs (list python-future python-importlib-resources diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index da9f0e3483..36ad457ca2 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-tox python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") @@ -1209,7 +1208,6 @@ (define-public python-log-symbols (native-inputs (list python-nose python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-colorama)) (home-page "https://github.com/manrajgrover/py-log-symbols") @@ -1241,7 +1239,6 @@ (define-public python-spinners (native-inputs (list python-nose python-setuptools - python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index ce9847a168..a471ec63fc 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1086,7 +1086,6 @@ (define-public txt2tags (base32 "0ik7gpr3gymgxnj0p86k8768kyxncbncv93zq67sbak3dbdl8hky")))) (build-system python-build-system) - (native-inputs (list python-tox)) (home-page "https://txt2tags.org") (synopsis "Convert between markup languages") (description -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:08 GMT) Full text and rfc822 format available.Message #379 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> Subject: [PATCH v4 26/52] gnu: python-immutables: Remove python-mypy native-input. Date: Wed, 26 Feb 2025 04:10:34 +0100
* gnu/packages/python-xyz.scm (python-immutables): [origin]: Use git-fetch to use upstream test-data directory. [native-inputs]: Remove python-mypy. [arguments]<#:phases>: Add phase to remove python-mypy native-input. --- gnu/packages/python-xyz.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9817da029a..3259be0f2f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17157,13 +17157,22 @@ (define-public python-immutables (version "0.21") (source (origin - (method url-fetch) - (uri (pypi-uri "immutables" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/immutables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0jpw9nr2mbzqykigjhqa3a095bx7krwsnmjcxcpj944p8kqglpxm")))) + (base32 "1p5g20y7di5xglk6yyhb010vdmz73q9fsxpq0cm2gksp8mj856y1")))) (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-mypy-dependency + (lambda _ + (delete-file "tests/test_mypy.py") + (delete-file "tests/conftest.py")))))) (native-inputs - (list python-mypy python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/MagicStack/immutables") (synopsis "High-performance immutable mapping type for Python") (description -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:12:09 GMT) Full text and rfc822 format available.Message #382 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> Subject: [PATCH v4 25/52] build-system/pyproject: Remove python-mypy native-input. Date: Wed, 26 Feb 2025 04:10:33 +0100
* gnu/packages/astronomy.scm (python-poliastro)[native-inputs]: Remove python-mypy. * gnu/packages/databases.scm (python-psycopg2)[native-inputs]: Remove python-mypy. * gnu/packages/engineering.scm (uranium, cura)[native-inputs]: Remove python-mypy. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-mypy. * gnu/packages/machine-learning.scm (python-imbalanced-learn, python-captum, python-torchmetrics)[native-inputs]: Remove python-mypy. * gnu/packages/python-science.scm (python-scipy)[native-inputs]: Remove python-mypy. * gnu/packages/python-web.scm (python-huggingface-hub, python-asgiref, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-mypy. * gnu/packages/python-xyz.scm (kalamine, python-pydantic-cli, python-apispec, python-typeguard, python-verspec, python-catalogue)[native-inputs]: Remove python-mypy. * gnu/packages/serialization.scm (python-msgspec)[native-inputs]: Remove python-mypy. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-mypy. --- gnu/packages/astronomy.scm | 1 - gnu/packages/databases.scm | 1 - gnu/packages/engineering.scm | 2 -- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 3 --- gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 6 +++--- gnu/packages/python-xyz.scm | 13 +++++-------- gnu/packages/serialization.scm | 1 - gnu/packages/virtualization.scm | 3 +-- 10 files changed, 9 insertions(+), 23 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 6b31414940..b4c29480ac 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4630,7 +4630,6 @@ (define-public python-poliastro (setenv "HOME" "/tmp")))))) (native-inputs (list python-hypothesis - python-mypy python-flit-core python-pytest python-pytest-cov diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 984598e2b4..055bc94e3d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4305,7 +4305,6 @@ (define-public python-psycopg "-c" "CREATE DATABASE nixbld;")))))))) (native-inputs (list python-cython-3 - python-mypy python-psycopg-pool python-pytest python-pytest-asyncio diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index cc84a760e9..fe550d8471 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -4550,7 +4550,6 @@ (define-public uranium graphviz pkg-config python-pytest - python-mypy python-certifi python-twisted)) (propagated-inputs @@ -4753,7 +4752,6 @@ (define-public cura (build-system qt-build-system) (native-inputs (list python-certifi - python-mypy python-pytest python-requests)) (inputs diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 0d3db31212..6bfe5325ac 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -225,7 +225,6 @@ (define-public python-uqbar (native-inputs (list graphviz python-isort - python-mypy python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 350c2d2b39..6fafdac5ef 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -2150,7 +2150,6 @@ (define-public python-imbalanced-learn (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) (native-inputs (list python-keras - python-mypy python-pandas python-pytest python-pytest-cov @@ -5320,7 +5319,6 @@ (define-public python-captum python-flask-compress python-ipython python-ipywidgets - python-mypy python-parameterized python-pytest python-pytest-cov @@ -5508,7 +5506,6 @@ (define-public python-torchmetrics (list python-cloudpickle python-fire python-mir-eval - python-mypy python-pandas python-psutil python-pytest diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c747b43361..43afe657e4 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -439,7 +439,6 @@ (define-public python-scipy '()) (list python-matplotlib python-mpmath - python-mypy python-numpy python-numpydoc python-pydata-sphinx-theme diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8177c63fa2..990228384e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -564,7 +564,6 @@ (define-public python-huggingface-hub python-fastapi python-jedi python-jinja2 - python-mypy python-numpy python-pillow python-pydantic @@ -1216,7 +1215,9 @@ (define-public python-asgiref (base32 "146mhkn3zp2bqf7j6r3chdlvfzgs5x1lrnqahsllgjdyl20bshy3")))) (build-system pyproject-build-system) (native-inputs - (list python-mypy python-pytest python-pytest-asyncio python-setuptools + (list python-pytest + python-pytest-asyncio + python-setuptools python-wheel)) (home-page "https://github.com/django/asgiref/") (synopsis "ASGI specs, helper code, and adapters") @@ -10308,7 +10309,6 @@ (define-public python-starsessions python-starlette)) (native-inputs (list python-httpx - python-mypy python-poetry-core python-pytest python-pytest-asyncio diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1fe3e020a8..9817da029a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7589,7 +7589,7 @@ (define-public kalamine ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs - (list python-hatchling python-mypy python-pytest)) + (list python-hatchling python-pytest)) (home-page "https://github.com/OneDeadKey/kalamine") (synopsis "Keyboard layout maker") (description @@ -8829,8 +8829,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-mypy - python-pytest)) + (list python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") (description @@ -27083,7 +27082,6 @@ (define-public python-apispec (build-system pyproject-build-system) (native-inputs (list python-flit-core - python-mypy python-openapi-spec-validator python-pytest)) (propagated-inputs @@ -28484,8 +28482,7 @@ (define-public python-typeguard (base32 "06y22d1f5dhpyl71wbhsaibig5hvc2v44pw795yb8lxl02fsh8hd")))) (build-system pyproject-build-system) (native-inputs - (list python-mypy - python-pytest + (list python-pytest python-setuptools python-setuptools-scm python-typing-extensions @@ -38222,7 +38219,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-mypy python-pretend python-pytest)) + (native-inputs (list python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -39006,7 +39003,7 @@ (define-public python-catalogue "0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak")))) (build-system python-build-system) (native-inputs (list python-pytest)) - (inputs (list python python-zipp python-typing-extensions python-mypy)) + (inputs (list python python-zipp python-typing-extensions)) (home-page "https://github.com/explosion/catalogue") (synopsis "Lightweight function registries for your library") (description diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index f77ae9dc16..97951cb510 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -762,7 +762,6 @@ (define-public python-msgspec (native-inputs (list python-attrs python-gcovr python-msgpack - python-mypy python-pytest python-setuptools-scm python-versioneer diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index bde357763f..a6872a3f1f 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2986,8 +2986,7 @@ (define-public python-transient (("==") ">="))))))) (native-inputs - (list python-mypy - python-pyhamcrest + (list python-pyhamcrest python-setuptools python-twine python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:01 GMT) Full text and rfc822 format available.Message #385 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> Subject: [PATCH v4 27/52] build-system/pyproject: Remove python-isort native-input. Date: Wed, 26 Feb 2025 04:10:35 +0100
* gnu/packages/bioinformatics.scm (python-metacells, python-cooler, scvelo) * gnu/packages/databases.scm (aerich) * gnu/packages/finance.scm (python-trezor) * gnu/packages/gettext.scm (mdpo) * gnu/packages/graphviz.scm (python-uqbar) * gnu/packages/machine-learning.scm (python-pymanopt, python-funsor) * gnu/packages/mail.scm (python-hyperkitty, postorius) * gnu/packages/protobuf.scm (python-pure-protobuf) * gnu/packages/python-web.scm (python-zeep, python-ovh, python-tinycss2) * gnu/packages/python-xyz.scm (python-archspec) * gnu/packages/statistics.scm (python-statsmodels) * gnu/packages/virtualization.scm (python-qemu-qmp) [native-inputs]: Remove python-isort. --- gnu/packages/bioinformatics.scm | 3 --- gnu/packages/databases.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 4 +--- gnu/packages/mail.scm | 2 -- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-web.scm | 4 +--- gnu/packages/python-xyz.scm | 3 +-- gnu/packages/statistics.scm | 1 - gnu/packages/virtualization.scm | 1 - 12 files changed, 4 insertions(+), 20 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index e139a60bd7..8c9ca0540b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3168,7 +3168,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-isort python-mypy python-mypy-extensions python-pandas-stubs @@ -19885,7 +19884,6 @@ (define-public python-cooler python-simplejson)) (native-inputs (list python-hatchling - python-isort python-pytest python-pytest-cov)) ;; Almost all the projects of the Mirnylab are moved under Open2C umbrella @@ -23979,7 +23977,6 @@ (define-public scvelo (propagated-inputs (list python-anndata python-hnswlib - python-isort python-igraph python-loompy python-louvain diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 055bc94e3d..397754521c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3459,7 +3459,6 @@ (define-public aerich (list poetry python-bandit python-cryptography - python-isort python-pydantic python-pytest python-pytest-asyncio diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index f3be674c01..3af525da18 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1160,7 +1160,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-isort python-pillow python-protobuf python-pyqt diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 29cdbab915..841d3e0c8b 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -228,7 +228,6 @@ (define-public mdpo (list python-bump2version python-flake8-implicit-str-concat python-flake8-print - python-isort python-pytest python-pytest-cov python-sphinx diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 6bfe5325ac..33ddbeba42 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -224,7 +224,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-isort python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 6fafdac5ef..e335ade28f 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-isort - python-nbsphinx + (native-inputs (list python-nbsphinx python-pandas python-pillow python-pyro-api @@ -1143,7 +1142,6 @@ (define-public python-pymanopt (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-autograd python-flake8-bugbear - python-isort python-matplotlib python-pytest python-pytest-cov diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index cfda27d7ea..2cb2b0f648 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -3809,7 +3809,6 @@ (define-public python-hyperkitty python-django-rest-framework python-elasticsearch python-flufl-lock - python-isort python-lxml python-mailmanclient python-mistune @@ -3860,7 +3859,6 @@ (define-public postorius python-django-mailman3)) (native-inputs (list python-beautifulsoup4 - python-isort python-mock python-pdm-backend python-pytest diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 203e4909d6..487c03fa94 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -502,7 +502,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 990228384e..843705539d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1611,8 +1611,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-isort - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-sphinx @@ -10136,7 +10135,6 @@ (define-public python-zeep python-flake8-blind-except python-flake8-debugger python-freezegun - python-isort python-pretend python-pytest python-pytest-asyncio diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3259be0f2f..e4cf8aa422 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -395,8 +395,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-isort - python-poetry-core + (native-inputs (list python-poetry-core python-pytest python-pytest-cov)) (home-page "https://github.com/archspec/archspec") diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 7a02786ab6..0344074366 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2669,7 +2669,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-isort python-joblib python-matplotlib python-pytest diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index a6872a3f1f..d1e2130980 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2120,7 +2120,6 @@ (define-public python-qemu-qmp (native-inputs (list python-avocado-framework python-flake8 - python-isort python-setuptools python-setuptools-scm python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:02 GMT) Full text and rfc822 format available.Message #388 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> Subject: [PATCH v4 28/52] build-system/pyproject: Remove python-twine native-input. Date: Wed, 26 Feb 2025 04:10:36 +0100
* gnu/packages/bioinformatics.scm (python-metacells, python-ngesh, python-pyahocorasick) * gnu/packages/finance.scm (fava) * gnu/packages/gettext.scm (mdpo) * gnu/packages/jupyter.scm (python-hatch-jupyter-builder, python-papermill) * gnu/packages/machine-learning.scm (python-linear-operator, python-gpytorch) * gnu/packages/python-check.scm (python-testfixtures) * gnu/packages/python-web.scm (python-translation-finder, python-eventlet, python-transient) * gnu/packages/python-xyz.scm (python-cftime) * gnu/packages/terminals.scm (python-halo) * gnu/packages/virtualization.scm (python-transient) [native-inputs]: Remove python-twine. --- gnu/packages/bioinformatics.scm | 7 ++----- gnu/packages/finance.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/jupyter.scm | 4 +--- gnu/packages/machine-learning.scm | 6 ++---- gnu/packages/python-check.scm | 2 +- gnu/packages/python-web.scm | 5 ++--- gnu/packages/python-xyz.scm | 2 -- gnu/packages/terminals.scm | 1 - gnu/packages/virtualization.scm | 1 - 10 files changed, 8 insertions(+), 22 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 8c9ca0540b..bc813ca711 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3176,7 +3176,6 @@ (define-public python-metacells python-setuptools python-sphinx python-sphinx-rtd-theme - python-twine python-wheel)) (home-page "https://github.com/tanaylab/metacells.git") (synopsis "Single-cell RNA Sequencing Analysis") @@ -3203,8 +3202,7 @@ (define-public python-ngesh (base32 "07sj4x95b5hvx57pw24f80sk4ag4hkg1z6wzym3pzi8n5gn85n1z")))) (build-system pyproject-build-system) (propagated-inputs (list python-ete3 python-numpy python-six)) - (native-inputs (list python-pytest python-twine - python-wheel)) + (native-inputs (list python-pytest python-wheel)) (home-page "https://github.com/tresoldi/ngesh") (synopsis "Library for phylogenetic tree simulation") (description @@ -7725,8 +7723,7 @@ (define-public python-pyahocorasick (sha256 (base32 "1fsnivwcw56q7lwz41c5kbfvxv0v17mmkx43i2a293l49fxj08j8")))) (build-system pyproject-build-system) - (native-inputs (list python-pytest python-twine python-setuptools - python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/WojciechMula/pyahocorasick") (synopsis "Library for finding multiple key strings in text") (description diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3af525da18..30ed44aea9 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2072,7 +2072,6 @@ (define-public fava python-pytest python-pytest-cov python-setuptools - python-twine python-types-setuptools python-types-simplejson python-wheel)) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 841d3e0c8b..25f4efe1fc 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -233,7 +233,6 @@ (define-public mdpo python-sphinx python-sphinx-argparse python-sphinx-rtd-theme - python-twine python-yamllint)) (propagated-inputs (list python-polib python-pymd4c)) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 8f900d3f88..70c13115de 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -546,8 +546,7 @@ (define-public python-hatch-jupyter-builder (native-inputs (list python-pytest python-pytest-cov python-pytest-mock - python-tomli - python-twine)) + python-tomli)) (home-page "https://github.com/jupyterlab/hatch-jupyter-builder") (synopsis "Hatch plugin to help build Jupyter packages") (description @@ -1171,7 +1170,6 @@ (define-public python-papermill python-recommonmark python-requests python-setuptools - python-twine python-wheel)) (home-page "https://github.com/nteract/papermill") (synopsis "Parameterize and run Jupyter and nteract Notebooks") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index e335ade28f..b2d25bae21 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5889,8 +5889,7 @@ (define-public python-linear-operator (native-inputs (list python-flake8-print python-pytest python-setuptools - python-setuptools-scm - python-twine)) + python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") (synopsis "Linear operator implementation") (description "LinearOperator is a PyTorch package for abstracting away the @@ -5919,8 +5918,7 @@ (define-public python-gpytorch (native-inputs (list python-flake8-print python-nbval python-pytest - python-setuptools - python-twine)) + python-setuptools)) (home-page "https://gpytorch.ai") (synopsis "Implementation of Gaussian Processes in PyTorch") (description diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 5bb38e091a..99c4d04019 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -778,7 +778,7 @@ (define-public python-testfixtures (native-inputs (list python-pytest python-pytest-cov ;;("python-pytest-django" ,python-pytest-django) - python-twine python-wheel)) + python-wheel)) (synopsis "Tests components for Python") (description "Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 843705539d..0a99254f64 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -426,8 +426,7 @@ (define-public python-eventlet (native-inputs (list python-hatch-vcs python-hatchling - python-pytest - python-twine)) + python-pytest)) (propagated-inputs (list python-dnspython python-greenlet @@ -7468,7 +7467,7 @@ (define-public python-translation-finder (list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (native-inputs (list python-codecov python-codacy-coverage python-pytest-cov - python-pytest-runner python-twine)) + python-pytest-runner)) (home-page "https://weblate.org/") (synopsis "Translation file finder for Weblate") (description "This package provides a function to find translation file in diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e4cf8aa422..0b9c0db659 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3729,7 +3729,6 @@ (define-public python-cftime python-pytest python-setuptools python-sphinx - python-twine python-wheel)) (home-page "https://unidata.github.io/cftime/") (synopsis "Library for time handling") @@ -33475,7 +33474,6 @@ (define-public python-eliot python-sphinx python-sphinx-rtd-theme python-testtools - python-twine python-twisted python-wheel)) (home-page "https://github.com/itamarst/eliot/") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 36ad457ca2..de47d67e36 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index d1e2130980..1d9da88eb6 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2987,7 +2987,6 @@ (define-public python-transient (native-inputs (list python-pyhamcrest python-setuptools - python-twine python-wheel)) (propagated-inputs (list python-beautifultable -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:02 GMT) Full text and rfc822 format available.Message #391 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> Subject: [PATCH v4 29/52] build-system/pyproject: Remove python-pytest-cov native-input. Date: Wed, 26 Feb 2025 04:10:37 +0100
* gnu/packages/astronomy.scm (python-sncosmo, python-jwst, python-wiimatch, python-astroml, python-casa-formats-io, python-cdflib, python-poliastro, python-tweakwcs) * gnu/packages/audio.scm (python-resampy, python-librosa, python-pysox) * gnu/packages/backup.scm (borgmatic) * gnu/packages/bioinformatics.scm (python-bed-reader, python-liana-py, python-metacells, python-pysnptools, python-pairtools, cwltool, python-biom-format, python-pyfaidx, python-cooler, python-screed) * gnu/packages/build-tools.scm (meson-python) * gnu/packages/check.scm (python-pytest-nunit, python-pytest-enabler, python-pytest-perf, python-pyhamcrest) * gnu/packages/cpp.scm (cpplint) * gnu/packages/databases.scm (python-redis) * gnu/packages/dav.scm (vdirsyncer, radicale) * gnu/packages/django.scm (python-django-redis, python-django-cleanup, python-django-extensions) * gnu/packages/embedded.scm (mbed-tools) * gnu/packages/engineering.scm (python-scikit-rf) * gnu/packages/finance.scm (fava) * gnu/packages/fontutils.scm (psautohint) * gnu/packages/geo.scm (python-pyogrio, python-geopandas, python-fiona, python-cartopy) * gnu/packages/gettext.scm (mdpo) * gnu/packages/gpodder.scm (gpodder) * gnu/packages/graphviz.scm (python-graphviz, python-uqbar) * gnu/packages/jupyter.scm (python-nbclassic, python-jupyterlab-server, python-hatch-jupyter-builder, python-nbclient, python-papermill, python-jupyter-packaging, python-jupyter-server, python-jupyterlite-core, python-ipydatawidgets) * gnu/packages/machine-learning.scm (python-pymanopt, python-botorch, 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) * gnu/packages/mastodon.scm (python-mastodon-py) * gnu/packages/maths.scm (python-libensemble) * gnu/packages/matrix.scm (python-matrix-nio) * gnu/packages/messaging.scm (zulip-term) * gnu/packages/music.scm (beets, stargate) * gnu/packages/networking.scm (gandi.cli) * gnu/packages/package-management.scm (conda, python-conda-package-handling) * gnu/packages/patchutils.scm (pwclient) * gnu/packages/protobuf.scm (python-pure-protobuf) * gnu/packages/python-check.scm (python-pandas-vet, python-testfixtures, python-vcrpy, python-pytest-filter-subpackage, python-atpublic, python-sybil, python-vulture) * gnu/packages/python-compression.scm (python-zipstream-ng, python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr) * gnu/packages/python-crypto.scm (python-cryptography, python-trustme, python-certauth) * gnu/packages/python-science.scm (python-scikit-misc, python-mpl-scatter-density, python-modin, python-plotnine, python-pynetdicom, python-scipy, python-pandaparallel, python-pyts, python-usetplot, python-pingouin, python-opt-einsum, python-salib) * gnu/packages/python-web.scm (python-devpi-process, python-aiohappyeyeballs, python-cheroot, python-jsonpickle, python-flask-babel, python-url-normalize, python-elasticsearch, python-hupper, python-simple-websocket, python-apiron, python-huggingface-hub, python-portend, python-aiosignal, python-aiostream, python-ovh, python-cbor2, python-httplib2, 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, python-warcio) * gnu/packages/python-xyz.scm (python-archspec, python-colorcet, python-echo, python-rich-tables, python-babel, python-pymarshal, python-expandvars, autokey, python-lsp-jsonrpc, python-pillow, python-property-manager, python-cairocffi, python-jupyter-core, python-ipykernel, python-pubmed-parser, python-urwid, python-prettytable, python-xdoctest, python-waitress, python-rope, python-wcwidth, python-pyproject-api, python-async-lru, python-numcodecs, python-dictpath, python-platformdirs, python-multipart, 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-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) * gnu/packages/rdf.scm (python-rdflib, python-rdflib-6) * gnu/packages/simulation.scm (python-fenics-dijitso) * gnu/packages/sphinx.scm (python-sphinx-design, python-sphinx-gallery) * gnu/packages/statistics.scm (python-patsy, python-rchitect, python-pymc, python-emcee, python-rpy2) * gnu/packages/task-management.scm (todoman) * gnu/packages/telegram.scm (tgcli) * gnu/packages/textutils.scm (python-panflute) * gnu/packages/time.scm (python-arrow, python-tzlocal) * gnu/packages/vpn.scm (sshuttle) * gnu/packages/web.scm (anonip, python-tibanna) * gnu/packages/wm.scm (qtile) [native-inputs]: Remove python-pytest-cov. --- gnu/packages/astronomy.scm | 9 +- gnu/packages/audio.scm | 5 +- gnu/packages/backup.scm | 1 - gnu/packages/bioinformatics.scm | 16 +-- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 5 +- gnu/packages/cpp.scm | 1 - gnu/packages/databases.scm | 1 - gnu/packages/dav.scm | 2 - gnu/packages/django.scm | 3 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/fediverse.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/fontutils.scm | 1 - gnu/packages/geo.scm | 4 +- gnu/packages/gettext.scm | 1 - gnu/packages/gpodder.scm | 1 - gnu/packages/graphviz.scm | 2 - gnu/packages/jupyter.scm | 12 +- gnu/packages/machine-learning.scm | 20 +--- gnu/packages/maths.scm | 1 - gnu/packages/matrix.scm | 1 - gnu/packages/messaging.scm | 4 +- gnu/packages/music.scm | 2 - gnu/packages/networking.scm | 2 +- gnu/packages/package-management.scm | 2 - gnu/packages/patchutils.scm | 2 +- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-check.scm | 10 +- gnu/packages/python-compression.scm | 11 +- gnu/packages/python-crypto.scm | 4 +- gnu/packages/python-science.scm | 21 ++-- gnu/packages/python-web.scm | 68 ++++-------- gnu/packages/python-xyz.scm | 164 ++++++++++------------------ gnu/packages/rdf.scm | 4 +- gnu/packages/simulation.scm | 1 - gnu/packages/sphinx.scm | 2 - gnu/packages/statistics.scm | 7 +- gnu/packages/task-management.scm | 1 - gnu/packages/telegram.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 - 46 files changed, 117 insertions(+), 290 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index b4c29480ac..7384da6452 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1952,7 +1952,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") @@ -2022,7 +2022,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)) @@ -2096,7 +2095,6 @@ (define-public python-cdflib (native-inputs (list python-astropy-minimal python-pytest - python-pytest-cov python-pytest-remotedata python-setuptools python-setuptools-scm @@ -3422,7 +3420,6 @@ (define-public python-sncosmo python-cython python-pytest python-pytest-astropy - python-pytest-cov python-setuptools python-wheel)) (home-page "https://sncosmo.readthedocs.org") @@ -4220,7 +4217,6 @@ (define-public python-jwst python-wiimatch)) (native-inputs (list python-colorama python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-openfiles python-requests-mock @@ -4632,7 +4628,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)) @@ -6703,7 +6698,6 @@ (define-public python-tweakwcs python-stsci-stimage)) (native-inputs (list python-pytest - python-pytest-cov python-scipy python-setuptools python-setuptools-scm @@ -6827,7 +6821,6 @@ (define-public python-wiimatch (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-doctestplus python-setuptools-scm python-wheel)) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 2bb0506ce5..cbec74d438 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6505,7 +6505,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} @@ -6535,7 +6535,7 @@ (define-public python-resampy (propagated-inputs (list python-numba python-numpy python-scipy python-six)) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/bmcfee/resampy") (synopsis "Efficient signal resampling") (description @@ -6590,7 +6590,6 @@ (define-public python-librosa (list python-matplotlib python-packaging python-pytest - python-pytest-cov python-resampy python-setuptools python-wheel)) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 13c5590f55..d3e6f7e16d 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 bc813ca711..133bee638f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2272,7 +2272,6 @@ (define-public python-bed-reader (when tests? (apply invoke "pytest" "-v" #$output test-flags))))))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-datadir python-pytest-doctestplus python-recommonmark @@ -3051,7 +3050,7 @@ (define-public python-liana-py python-tqdm tzdata)) (native-inputs - (list python-poetry-core python-pytest python-pytest-cov)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/saezlab/liana-py") (synopsis "LIANA is a ligand-receptor analysis framework") (description "This is a Ligand-Receptor inference framework. The @@ -3172,7 +3171,6 @@ (define-public python-metacells python-mypy-extensions python-pandas-stubs python-pytest - python-pytest-cov python-setuptools python-sphinx python-sphinx-rtd-theme @@ -3593,7 +3591,6 @@ (define-public python-pysnptools python-scipy)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-datadir python-pytest-doctestplus python-setuptools @@ -3879,7 +3876,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") @@ -3927,7 +3925,6 @@ (define-public python-pairtools (native-inputs (list python-cython python-pytest - python-pytest-cov python-setuptools python-wheel)) (propagated-inputs @@ -6620,7 +6617,6 @@ (define-public cwltool python-humanfriendly python-mock python-pytest - python-pytest-cov python-pytest-mock python-pytest-runner python-wheel)) @@ -11509,7 +11505,6 @@ (define-public python-screed (native-inputs (list python-importlib-resources python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-setuptools-scm-git-archive @@ -19830,7 +19825,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") @@ -19880,9 +19874,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 6bf0b2ec67..900ca704e6 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 da8f42c315..ead9f457c2 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1871,7 +1871,6 @@ (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)) @@ -2942,7 +2941,6 @@ (define-public python-pytest-enabler python-toml)) (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -3115,7 +3113,6 @@ (define-public python-pytest-perf (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -3675,7 +3672,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 6c9c70baf4..9d41fd9ea6 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1349,7 +1349,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/databases.scm b/gnu/packages/databases.scm index 397754521c..e6d29a0457 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4551,7 +4551,6 @@ (define-public python-redis (list python-numpy python-pytest python-pytest-asyncio-0.23 - python-pytest-cov python-pytest-timeout python-setuptools python-wheel 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 b8c72c55d9..e1b01b3770 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 @@ -1034,7 +1033,6 @@ (define-public python-django-redis python-mock python-msgpack python-pytest - python-pytest-cov python-pytest-django python-pytest-mock python-setuptools @@ -1723,7 +1721,6 @@ (define-public python-django-cleanup python-easy-thumbnails python-pillow python-pytest - python-pytest-cov python-pytest-django python-pytest-xdist)) (propagated-inputs 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 fe550d8471..66c75e7930 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2967,7 +2967,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 c660483b56..3375114cf9 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/finance.scm b/gnu/packages/finance.scm index 30ed44aea9..eb676592b3 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2070,7 +2070,6 @@ (define-public fava (list python-babel python-mypy python-pytest - python-pytest-cov python-setuptools python-types-setuptools python-types-simplejson 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 cf8c140040..9fe2db9537 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -898,7 +898,6 @@ (define-public python-pyogrio (inputs (list gdal)) (native-inputs (list python-cython-3 python-pytest - python-pytest-cov python-setuptools python-tomli python-versioneer @@ -1003,7 +1002,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") @@ -1076,7 +1075,6 @@ (define-public python-geopandas python-shapely)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-xdist python-setuptools python-wheel)) 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/gpodder.scm b/gnu/packages/gpodder.scm index 57e14ee93f..b9a06fde8e 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -67,7 +67,6 @@ (define-public gpodder (list intltool python-minimock python-pytest - python-pytest-cov python-pytest-httpserver which)) (inputs 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 70c13115de..8ce856f128 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -84,7 +84,6 @@ (define-public python-nbclassic (native-inputs (list python-nbval python-jupyter-packaging python-pytest - python-pytest-cov python-pytest-jupyter python-pytest-tornasync python-requests @@ -435,7 +434,6 @@ (define-public python-jupyterlab-server python-openapi-spec-validator python-pytest python-pytest-console-scripts - python-pytest-cov python-pytest-jupyter python-pytest-timeout python-requests-mock @@ -518,8 +516,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 @@ -544,7 +541,6 @@ (define-public python-hatch-jupyter-builder (list #:test-flags '(list "-k" "not test_hatch_build"))) (propagated-inputs (list python-hatchling)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mock python-tomli)) (home-page "https://github.com/jupyterlab/hatch-jupyter-builder") @@ -686,7 +682,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") @@ -792,7 +787,6 @@ (define-public python-nbclient python-flaky python-pytest python-pytest-asyncio - python-pytest-cov python-testpath python-xmltodict)) (home-page "https://jupyter.org") @@ -1116,8 +1110,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 @@ -1164,7 +1157,6 @@ (define-public python-papermill python-moto python-notebook python-pytest - python-pytest-cov python-pytest-env python-pytest-mock python-recommonmark diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index b2d25bae21..b27d4f4f23 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1068,8 +1068,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 @@ -1144,7 +1143,6 @@ (define-public python-pymanopt python-flake8-bugbear python-matplotlib python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -2025,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") @@ -2150,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)) @@ -3892,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-xdist)) + (list python-pytest python-pytest-xdist)) (home-page "https://github.com/keras-team/keras-applications") (synopsis "Reference implementations of popular deep learning models") (description @@ -3919,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/") @@ -4061,7 +4056,6 @@ (define-public python-keras python-markdown python-pandas python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-pyux @@ -4158,7 +4152,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 +5217,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 +5312,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 +5499,6 @@ (define-public python-torchmetrics python-pandas python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-rerunfailures python-pytest-timeout @@ -5957,7 +5948,6 @@ (define-public python-botorch python-pytorch python-scipy)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools-scm)) (home-page "https://botorch.org") (synopsis "Bayesian Optimization in PyTorch") diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 22604f5841..f89f5e8faa 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4237,7 +4237,6 @@ (define-public python-libensemble python-mock python-mpi4py python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-wheel)) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index be3edae0dc..970093d345 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -200,7 +200,6 @@ (define-public python-matrix-nio python-pytest-aiohttp python-pytest-asyncio python-pytest-benchmark - python-pytest-cov python-pytest-flake8 python-setuptools python-wheel)) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index fcb05dbda6..644a9a2134 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3240,7 +3240,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 @@ -3253,8 +3252,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/music.scm b/gnu/packages/music.scm index ae2afb8441..7d050ddee7 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4309,7 +4309,6 @@ (define-public beets python-mock python-py7zr python-pytest - python-pytest-cov python-setuptools python-responses python-wheel)) @@ -5349,7 +5348,6 @@ (define-public stargate python-gcovr python-packaging python-pytest - python-pytest-cov python-pytest-runner)) (inputs (list alsa-lib diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 96561fff3a..7947dfebb6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1941,7 +1941,7 @@ (define-public gandi.cli #t)))))) (native-inputs (list python-docutils ; for rst2man.py - python-pytest python-pytest-cov)) + python-pytest)) (propagated-inputs (list openssh)) ; used by gandi/cli/modules/iass.py (inputs diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 01b05fb9e1..5c2835295b 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1152,7 +1152,6 @@ (define-public python-conda-package-handling (list python-cython python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) @@ -1296,7 +1295,6 @@ (define-public conda zstd)) (native-inputs (list python-flaky - python-pytest-cov python-pytest-timeout python-pytest-xprocess 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 487c03fa94..c431aedc7d 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -502,7 +502,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 99c4d04019..25fe905afa 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -199,7 +199,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 @@ -776,7 +776,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") @@ -1183,7 +1183,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 @@ -2913,7 +2912,7 @@ (define-public python-pandas-vet "__version__ = version = '~a' __version_tuple__ = version_tuple = (~a)~%" version version-tuple))))))))) (propagated-inputs (list python-attrs python-flake8)) - (native-inputs (list python-hatchling python-pytest python-pytest-cov)) + (native-inputs (list python-hatchling python-pytest)) (home-page "https://github.com/deppen8/pandas-vet") (synopsis "Opionated @code{flake8} plugin for @code{pandas} code") (description @@ -3116,7 +3115,6 @@ (define-public python-sybil (native-inputs (list python-mypy python-myst-parser python-pytest - python-pytest-cov python-pyyaml python-seedir python-setuptools @@ -3265,7 +3263,6 @@ (define-public python-vcrpy python-httplib2 python-httpx python-pytest - python-pytest-cov python-pytest-aiohttp python-pytest-asyncio python-pytest-httpbin @@ -3323,7 +3320,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..6ce0f6f14f 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 @@ -792,7 +787,7 @@ (define-public python-zipstream-ng (base32 "1z4zdqqs2rg3z36khgj96bpggv34av337isfv7yxg32prawj687r")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/pR0Ps/zipstream-ng") (synopsis "Streamable zip file generator") (description diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 910e13197a..674092b1cc 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -445,7 +445,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 @@ -589,7 +589,6 @@ (define-public python-cryptography python-pretend python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-randomly python-pytest-xdist python-setuptools @@ -1471,7 +1470,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 43afe657e4..b5269bf5a4 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -463,7 +463,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/") @@ -736,7 +735,6 @@ (define-public python-scikit-misc python-meson-python python-numpy python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://has2k1.github.io/scikit-misc/stable") @@ -1057,7 +1055,6 @@ (define-public python-mpl-scatter-density #:test-flags #~(list "-k" "not test_default_dpi"))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mpl python-setuptools python-setuptools-scm @@ -1586,7 +1583,6 @@ (define-public python-pandarallel (list python-mkdocs-material python-numpy python-pytest - python-pytest-cov python-pytest-xdist python-setuptools python-wheel)) @@ -1861,8 +1857,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 @@ -2488,8 +2483,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 @@ -2638,7 +2634,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 @@ -3056,7 +3052,6 @@ (define-public python-modin python-pyarrow python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-xdist python-scipy python-sqlalchemy @@ -3199,7 +3194,6 @@ (define-public python-plotnine python-mock python-pandas python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel @@ -3808,7 +3802,7 @@ (define-public python-opt-einsum (when tests? (invoke "pytest" "-vv"))))))) (propagated-inputs (list python-numpy)) - (native-inputs (list python-pytest python-pytest-cov)) + (native-inputs (list python-pytest)) (home-page "https://github.com/dgasmith/opt_einsum") (synopsis "Optimizing numpys einsum function") (description @@ -3897,7 +3891,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 @@ -3956,7 +3950,6 @@ (define-public python-pynetdicom (native-inputs (list python-codespell python-poetry-core python-pytest - python-pytest-cov python-pytest-xdist python-sphinx python-sphinx-rtd-theme)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0a99254f64..fc519d660a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -263,8 +263,7 @@ (define-public python-devpi-process python-hatchling python-hatch-vcs python-httpx - python-pytest - python-pytest-cov)) + python-pytest)) (home-page "https://github.com/devpi/devpi") (synopsis "API to create and use a devpi server process") (description @@ -568,7 +567,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 @@ -700,7 +698,6 @@ (define-public python-portend ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged. (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -875,8 +872,7 @@ (define-public python-aiohappyeyeballs (native-inputs (list python-poetry-core python-pytest - python-pytest-asyncio - python-pytest-cov)) + python-pytest-asyncio)) (home-page "https://github.com/aio-libs/aiohappyeyeballs") (synopsis "Happy Eyeballs for asyncio") (description "This library exists to allow connecting with Happy @@ -928,7 +924,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") @@ -1186,11 +1181,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)) @@ -1611,7 +1605,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)) @@ -1634,7 +1627,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)) @@ -1959,7 +1951,6 @@ (define-public python-httplib2 python-future python-mock python-pytest - python-pytest-cov python-pytest-forked python-pytest-randomly python-pytest-timeout @@ -1989,8 +1980,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" @@ -2016,7 +2006,6 @@ (define-public python-cheroot python-portend python-pyopenssl python-pypytools - python-pytest-cov python-pytest-mock python-requests python-requests-toolbelt @@ -2092,7 +2081,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 @@ -2161,7 +2149,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)) @@ -2260,7 +2248,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") @@ -2302,7 +2290,6 @@ (define-public python-jsonpickle python-pymongo python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-enabler python-setuptools python-setuptools-scm @@ -2328,12 +2315,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 @@ -2555,7 +2541,6 @@ (define-public python-flask-babel (native-inputs (list python-poetry-core python-pytest - python-pytest-cov python-pytest-mock)) (propagated-inputs (list python-babel @@ -2861,7 +2846,6 @@ (define-public python-url-normalize (list python-poetry-core python-pytest python-pytest-flakes - python-pytest-cov python-pytest-socket)) (home-page "https://github.com/niksite/url-normalize") (synopsis "URL normalization for Python") @@ -3390,7 +3374,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") @@ -3450,7 +3435,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/") @@ -4461,8 +4445,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 @@ -4727,7 +4712,6 @@ (define-public python-aioftp (list python-async-timeout python-pytest python-pytest-asyncio - python-pytest-cov python-setuptools python-trustme python-wheel)) @@ -4834,7 +4818,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") @@ -6129,7 +6113,6 @@ (define-public python-elasticsearch python-mock python-pytest python-pytest-asyncio - python-pytest-cov python-pyyaml python-requests python-setuptools @@ -7108,8 +7091,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/") @@ -7148,7 +7130,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 @@ -7304,7 +7286,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)) @@ -7660,7 +7641,6 @@ (define-public python-httpcore python-hatchling python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpbin python-pytest-trio python-uvicorn @@ -7836,7 +7816,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 @@ -7878,7 +7858,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 @@ -7996,11 +7975,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") @@ -8111,7 +8088,6 @@ (define-public python-hupper (native-inputs (list python-mock python-pytest - python-pytest-cov python-pytest-runner python-setuptools python-watchdog @@ -8645,7 +8621,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 @@ -9040,7 +9015,6 @@ (define-public python-simple-websocket (list #:test-flags '(list "--ignore=tests/test_client.py"))) (propagated-inputs (list python-wsproto)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/miguelgrinberg/simple-websocket") @@ -9066,8 +9040,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") @@ -10137,7 +10110,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 0b9c0db659..5c92b40751 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -345,7 +345,6 @@ (define-public python-apprise (native-inputs (list python-babel python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-setuptools @@ -395,9 +394,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-poetry-core - python-pytest - python-pytest-cov)) + (native-inputs (list python-poetry-core python-pytest)) (home-page "https://github.com/archspec/archspec") (synopsis "Library to query system architecture") (description @@ -792,7 +789,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/") @@ -972,7 +969,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") @@ -1386,7 +1385,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") @@ -1503,7 +1502,6 @@ (define-public python-colorcet (native-inputs (list python-nbval python-packaging python-pytest - python-pytest-cov python-pytest-mpl python-setuptools python-wheel)) @@ -1629,7 +1627,6 @@ (define-public python-contourpy pkg-config pybind11 python-pytest - python-pytest-cov python-wurlitzer)) (home-page "https://contourpy.readthedocs.io/") (synopsis @@ -1711,7 +1708,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") @@ -2058,9 +2054,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)) @@ -2895,7 +2895,6 @@ (define-public python-echo python-pyqt-6)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools-scm xorg-server-for-tests)) (home-page "https://github.com/glue-viz/echo") @@ -3124,7 +3123,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") @@ -3150,8 +3148,7 @@ (define-public python-rich-tables (native-inputs (list python-freezegun python-poetry-core - python-pytest - python-pytest-cov)) + python-pytest)) (propagated-inputs (list python-funcy python-multimethod @@ -3300,7 +3297,6 @@ (define-public python-babel (native-inputs (list python-freezegun python-pytest - python-pytest-cov python-setuptools python-wheel tzdata-for-tests)) @@ -3334,7 +3330,6 @@ (define-public python-bidict python-py python-pytest python-pytest-benchmark - python-pytest-cov python-setuptools-scm python-sortedcollections python-sortedcontainers @@ -4293,7 +4288,6 @@ (define-public python-can python-parameterized python-pyserial python-pytest - python-pytest-cov python-pytest-runner python-pytest-timeout python-wheel)) @@ -4787,7 +4781,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") @@ -5229,7 +5224,7 @@ (define-public python-pymarshal ;; "CovReportWarning: Failed to generate report: No data to report." (list #:tests? #f)) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-bson python-pyyaml)) (home-page "https://gitlab.com/d3v-t00lz/pymarshal") (synopsis "Pythonic implementation of Golang struct (un)marshalling") @@ -5662,7 +5657,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 @@ -5707,7 +5701,7 @@ (define-public python-expandvars (base32 "0i6q4i8dzsax85w1l2hc7saymyh3fw43vkifh5flpkr8ayjxy6kx")))) (build-system pyproject-build-system) (native-inputs - (list python-hatchling python-pytest python-pytest-cov)) + (list python-hatchling python-pytest)) (home-page "https://pypi.org/project/expandvars/") (synopsis "Expand system variables Unix style") (description "This module is inspired by GNU bash's variable expansion @@ -5753,7 +5747,6 @@ (define-public python-extension-helpers (native-inputs (list python-pytest python-pytest-astropy - python-pytest-cov python-setuptools-scm python-tomli python-setuptools @@ -5903,8 +5896,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 @@ -6294,8 +6290,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 @@ -6405,7 +6399,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)) @@ -7531,7 +7524,7 @@ (define-public autokey (setenv "LANG" "") ;; required for tests/test_configmanager.py (setenv "HOME" "/tmp")))))) - (native-inputs (list python-pytest python-pytest-cov python-pyhamcrest)) + (native-inputs (list python-pytest python-pyhamcrest)) (inputs (list bash-minimal ; for wrap-program gtksourceview-3 @@ -8462,7 +8455,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") @@ -8657,7 +8651,6 @@ (define-public python-lsp-jsonrpc (native-inputs (list python-pyflakes python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -9755,7 +9748,6 @@ (define-public python-sparse (native-inputs (list python-dask python-pytest - python-pytest-cov python-setuptools python-setuptools-scm-next python-wheel)) @@ -10167,7 +10159,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/") @@ -11303,7 +11294,6 @@ (define-public python-pikepdf python-setuptools-scm python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-dateutil @@ -11353,7 +11343,6 @@ (define-public python-pillow python-olefile python-packaging python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-trove-classifiers @@ -11582,8 +11571,6 @@ (define-public python-property-manager (sha256 (base32 "0m3w4spr8f39xnm65naw29ncal4r453kn7ndqb63rwbsmslnvrwk")))) (build-system python-build-system) - (native-inputs - (list python-pytest-cov)) (propagated-inputs (list python-verboselogs python-humanfriendly @@ -11948,7 +11935,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/") @@ -12234,7 +12220,6 @@ (define-public python-manimpango (list pkg-config python-cython python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs @@ -12272,7 +12257,6 @@ (define-public python-cairocffi python-numpy python-pikepdf python-pytest - python-pytest-cov python-pytest-runner python-sphinx python-sphinx-rtd-theme)) @@ -12762,7 +12746,6 @@ (define-public python-importlib-resources (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -12912,7 +12895,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -12945,7 +12927,6 @@ (define-public python-jaraco-collections ;; packaged. (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -13005,7 +12986,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -13039,7 +13019,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -13133,7 +13112,6 @@ (define-public python-jaraco-text ;; packaged. (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -13278,7 +13256,6 @@ (define-public python-ipyparallel (list python-ipython python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado python-testpath)) (propagated-inputs @@ -13504,7 +13481,6 @@ (define-public python-jupyter-core python-pip python-pre-commit python-pytest - python-pytest-cov python-pytest-timeout)) ;; This package provides the `jupyter` binary and thus also exports the ;; search paths. @@ -13680,7 +13656,6 @@ (define-public python-ipykernel python-ipyparallel-bootstrap python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-timeout)) (home-page "https://ipython.org") (synopsis "IPython Kernel for Jupyter") @@ -13769,7 +13744,6 @@ (define-public python-pubmed-parser python-unidecode)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/titipata/pubmed_parser") @@ -14128,7 +14102,6 @@ (define-public python-urwid "--ignore=tests/test_vterm.py"))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -14706,8 +14679,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 @@ -15032,7 +15007,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/") @@ -15683,7 +15657,6 @@ (define-public python-sentry-sdk python-mock python-pyrsistent python-pytest - python-pytest-cov python-pytest-django python-pytest-forked python-pytest-localserver @@ -17194,7 +17167,6 @@ (define-public python-prettytable (list python-hatchling python-hatch-vcs python-pytest - python-pytest-cov python-pytest-lazy-fixtures python-setuptools-scm)) (propagated-inputs @@ -17359,7 +17331,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") @@ -17505,7 +17476,6 @@ (define-public python-get-version (propagated-inputs (list python-pygments python-pytest - python-pytest-cov python-setuptools python-testpath)) (home-page "https://github.com/flying-sheep/get_version") @@ -17882,7 +17852,6 @@ (define-public python-path python-pygments python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy))) @@ -17987,7 +17956,6 @@ (define-public python-pip-run python-pygments python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy))) @@ -18370,7 +18338,6 @@ (define-public python-debugpy python-flask python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-requests)) @@ -18942,7 +18909,6 @@ (define-public python-notebook (list python-jupyter-server python-nbval python-pytest - python-pytest-cov python-requests python-requests-unixsocket2 python-setuptools @@ -18992,7 +18958,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") @@ -20687,7 +20655,6 @@ (define-public python-xdoctest ninja pybind11 python-pytest - python-pytest-cov python-scikit-build python-setuptools python-wheel)) @@ -20744,8 +20711,7 @@ (define-public python-waitress ;; https://github.com/Pylons/waitress/issues/443 (list #:test-flags #~(list "-k" "not test_service_port"))) (native-inputs - (list python-pytest python-pytest-cov - python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/Pylons/waitress") (synopsis "Waitress WSGI server") (description @@ -20826,7 +20792,6 @@ (define-public python-cookiecutter git python-freezegun python-pytest - python-pytest-cov python-pytest-mock)) (propagated-inputs (list python-arrow python-binaryornot @@ -21228,8 +21193,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 @@ -21938,10 +21905,7 @@ (define-public python-rope (propagated-inputs (list python-pytoolconfig)) (native-inputs - (list python-pip - python-pre-commit - python-pytest - python-pytest-cov + (list python-pytest python-pytest-timeout python-setuptools python-wheel)) @@ -22505,7 +22469,6 @@ (define-public python-wcwidth "1dbj74q1iz349sdkxrkc90f7xd4y7a9bdvgxg3cqdcly7430rskj")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/jquast/wcwidth") @@ -22599,7 +22562,6 @@ (define-public python-inflect (native-inputs (list python-pygments python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -23098,7 +23060,6 @@ (define-public python-pyproject-api (list python-hatch-vcs python-hatchling python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) @@ -23957,7 +23918,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") @@ -24234,7 +24197,6 @@ (define-public python-async-lru (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-timeout python-setuptools python-wheel)) @@ -24611,7 +24573,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. @@ -26122,8 +26083,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.") @@ -27170,7 +27133,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/") @@ -27871,7 +27833,6 @@ (define-public python-tempora (list python-freezegun python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-freezegun @@ -29863,7 +29824,6 @@ (define-public python-numcodecs python-py-cpuinfo python-pydata-sphinx-theme python-pytest - python-pytest-cov python-setuptools python-setuptools-scm ;for correct version python-sphinx @@ -30891,7 +30851,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") @@ -31243,7 +31203,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") @@ -31949,7 +31908,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 @@ -32082,7 +32041,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") @@ -32225,7 +32186,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)) @@ -32552,7 +32512,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") @@ -33781,7 +33740,6 @@ (define-public python-cmd2 (list python-pyperclip python-wcwidth)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-setuptools-scm @@ -34504,7 +34462,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") @@ -35189,7 +35147,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") @@ -35585,7 +35543,6 @@ (define-public python-scikit-build python-packaging python-path python-pytest - python-pytest-cov python-pytest-mock python-pytest-virtualenv python-pytest-xdist @@ -36599,7 +36556,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") @@ -36768,7 +36725,6 @@ (define-public python-minikanren (native-inputs (list python-pydocstyle python-pytest - python-pytest-cov python-sympy python-versioneer)) (propagated-inputs @@ -36924,7 +36880,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 @@ -37144,7 +37101,6 @@ (define-public python-platformdirs python-hatchling python-hatch-vcs python-pytest - python-pytest-cov python-pytest-mock)) (home-page "https://github.com/platformdirs/platformdirs") (synopsis "Determine the appropriate platform-specific directories") @@ -37453,7 +37409,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") @@ -38005,8 +37961,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 @@ -38185,7 +38140,6 @@ (define-public python-multipart (native-inputs (list python-hatchling python-pytest - python-pytest-cov python-pyyaml)) (home-page "https://github.com/andrew-d/python-multipart") (synopsis "Streaming multipart parser for Python") @@ -38255,7 +38209,6 @@ (define-public python-shtab (native-inputs (list bash python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-setuptools-scm @@ -38880,7 +38833,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/rdf.scm b/gnu/packages/rdf.scm index 58a485553e..c0b77eeb22 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -346,7 +346,7 @@ (define-public python-rdflib ;; These two tests attempt to use "pip install" "-k" "not test_sparqleval and not test_parser"))) (native-inputs - (list python-pytest python-pytest-cov python-poetry-core)) + (list python-pytest python-poetry-core)) (propagated-inputs (list python-isodate python-lxml @@ -401,7 +401,7 @@ (define-public python-rdflib-6 (("^Requires-Dist: isodate .*") "Requires-Dist: isodate (>=0.6.0)\n"))))))) (native-inputs - (list python-poetry-core python-pytest python-pytest-cov)) + (list python-poetry-core python-pytest)) (propagated-inputs (list python-html5lib python-isodate python-pyparsing)) (home-page "https://github.com/RDFLib/rdflib") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 375531b1ee..a5464046d3 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -583,7 +583,6 @@ (define-public python-fenics-dijitso (invoke "./runtests.sh")))))))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index be8f5b84c7..7d9fc04519 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -418,7 +418,6 @@ (define-public python-sphinx-design (native-inputs (list python-flit-core python-pytest - python-pytest-cov python-pytest-regressions)) (propagated-inputs (list python-sphinx)) @@ -794,7 +793,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 0344074366..7bc769404e 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 @@ -2497,7 +2497,7 @@ (define-public python-patsy (propagated-inputs (list python-numpy 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/pydata/patsy") (synopsis "Describe statistical models and build design matrices") (description @@ -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)) @@ -7137,7 +7136,6 @@ (define-public python-rpy2 python-numpy python-pandas python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://rpy2.github.io") @@ -7167,7 +7165,6 @@ (define-public python-rchitect (build-system pyproject-build-system) (propagated-inputs (list python-cffi python-packaging python-six)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 62f5bbf0f3..2ff5d7e596 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -530,7 +530,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/telegram.scm b/gnu/packages/telegram.scm index a4cfc6a9ef..e31b9274de 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -841,7 +841,6 @@ (define-public tgcli (native-inputs `(("pytest" ,python-pytest) ("pytest-click" ,python-pytest-click) - ("pytest-cov" ,python-pytest-cov) ("mkdocs" ,python-mkdocs) ("mkdocs-material" ,python-mkdocs-material) ("requests-mock" ,python-requests-mock))) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index a471ec63fc..fd54ba7791 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1758,7 +1758,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 46e78c7ab7..9ed43d1885 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -450,7 +450,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") @@ -573,7 +572,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 e45df3c3b4..61c5775e43 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5326,7 +5326,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") @@ -9027,7 +9026,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 8d1bce1009..781dab49da 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -866,7 +866,6 @@ (define-public qtile (list pkg-config python-pep8-naming python-pytest - python-pytest-cov python-psutil python-setuptools python-setuptools-scm -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:03 GMT) Full text and rfc822 format available.Message #394 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> Subject: [PATCH v4 30/52] gnu: python-django-contact-form: Remove python-pytest-cov native-input. Date: Wed, 26 Feb 2025 04:10:38 +0100
* gnu/packages/django.scm (python-django-contact-form): [native-inputs]: Remove python-pytest-cov. [build-system]: Upgrade to pyproject-build-system. [arguments]<#:phases>: Remove coverage tests for check phase. Change-Id: I4d0fc406401b7e923f7efa084dbe8ea3753e50fc --- gnu/packages/django.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index e1b01b3770..6b67b66891 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -888,16 +888,13 @@ (define-public python-django-contact-form (sha256 (base32 "1my9hkrylckp5vfqg9b0kncrdlxjnwxll56sdciqn4v19i4wbq1y")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - (invoke "coverage" "run" "--source" "contact_form" - "runtests.py")))))) - (native-inputs - (list python-coverage)) + (invoke "python" "runtests.py")))))) (propagated-inputs (list python-django)) (home-page "https://github.com/ubernostrum/django-contact-form") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:03 GMT) Full text and rfc822 format available.Message #397 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> Subject: [PATCH v4 31/52] gnu: python-dateutil: Remove python-pytest-cov native-input. Date: Wed, 26 Feb 2025 04:10:39 +0100
* gnu/packages/time.scm (python-dateutil): [native-inputs]: Remove python-pytest-cov. [arguments]<#:phases>: Add remove-pytest-cov-dep phase. Change-Id: Id82a147d6e40383ecc2661ac896b65b858c181e0 --- gnu/packages/time.scm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 9ed43d1885..5f07e0860a 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -277,14 +277,20 @@ (define-public python-dateutil (build-system pyproject-build-system) (arguments (list - #:test-flags '(list ; avoid freezegun dependency - "--ignore=dateutil/test/test_utils.py" - "--ignore=dateutil/test/test_rrule.py" - ;; XXX: Fails to get timezone from /etc/localtime. - "--ignore=dateutil/test/test_tz.py"))) + #:test-flags '(list "dateutil/test" "docs" + ;; avoid freezegun dependency + "--ignore=dateutil/test/test_utils.py" + "--ignore=dateutil/test/test_rrule.py" + ;; XXX: Fails to get timezone from /etc/localtime. + "--ignore=dateutil/test/test_tz.py") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-pytest-cov-dep + (lambda _ + (substitute* "dateutil/test/conftest.py" + (("item\\.add_marker\\(pytest\\.mark\\.no_cover\\)") + "pass"))))))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:04 GMT) Full text and rfc822 format available.Message #400 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> Subject: [PATCH v4 32/52] build-system/pyproject: Remove python-pytest-isort native-input. Date: Wed, 26 Feb 2025 04:10:40 +0100
* gnu/packages/dav.scm (radicale) * gnu/packages/python-check.scm (python-pytest-isort) * gnu/packages/python-xyz.scm (python-cairosvg) [native-inputs]: Remove python-pytest-isort. python-pytest-isort --- gnu/packages/dav.scm | 1 - gnu/packages/python-check.scm | 2 +- gnu/packages/python-xyz.scm | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 7688c9a994..ff5d8409b0 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -59,7 +59,6 @@ (define-public radicale (native-inputs (list python-pytest python-pytest-flake8 - python-pytest-isort python-setuptools python-waitress python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 25fe905afa..8edec4595f 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1867,7 +1867,7 @@ (define-public python-pytest-pycodestyle (propagated-inputs (list python-py python-pycodestyle python-pytest)) (native-inputs - (list python-pytest-isort python-setuptools python-wheel)) + (list python-setuptools python-wheel)) (home-page "https://github.com/henry0312/pytest-pycodestyle") (synopsis "Pytest plugin to run pycodestyle") (description "This package provides a plugin to run @code{pycodestyle} diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5c92b40751..e6c73b0569 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31603,7 +31603,6 @@ (define-public python-cairosvg python-pillow python-tinycss2)) (native-inputs (list python-pytest-flake8 - python-pytest-isort python-pytest-runner python-setuptools python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:04 GMT) Full text and rfc822 format available.Message #403 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> Subject: [PATCH v4 33/52] build-system/pyproject: Remove python-pytest-flake8 native-input. Date: Wed, 26 Feb 2025 04:10:41 +0100
* gnu/packages/bioinformatics.scm (python-muon) * gnu/packages/check.scm (python-pytest-enabler, python-pytest-perf) * gnu/packages/dav.scm (radicale) * gnu/packages/debug.scm (c-vise) * gnu/packages/matrix.scm (python-matrix-nio) * gnu/packages/python-web.scm (python-mechanicalsoup) * gnu/packages/python-xyz.scm (python-pyvips, python-dask-image, python-importlib-resources, python-jaraco-classes, python-jaraco-context, python-jaraco-functools, python-jaraco-packaging, python-jaraco-test, python-path, python-pip-run, python-tempora, python-cairosvg) [native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-check.scm (python-pytest-csv) [arguments]{test-flags}: Ignore flake8 related test. [native-inputs]: Remove python-pytest-flake8. --- gnu/packages/bioinformatics.scm | 3 +-- gnu/packages/check.scm | 2 -- gnu/packages/dav.scm | 1 - gnu/packages/debug.scm | 2 +- gnu/packages/matrix.scm | 1 - gnu/packages/python-check.scm | 5 +++-- gnu/packages/python-web.scm | 3 +-- gnu/packages/python-xyz.scm | 17 ++--------------- 8 files changed, 8 insertions(+), 26 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 133bee638f..c989e6d4c8 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5381,8 +5381,7 @@ (define-public python-muon python-tqdm python-umap-learn)) (native-inputs (list python-flit-core - python-pytest - python-pytest-flake8)) + python-pytest)) (home-page "https://github.com/scverse/muon") (synopsis "Multimodal omics analysis framework") (description "muon is a multimodal omics Python framework.") diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index ead9f457c2..0f0278ae22 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2941,7 +2941,6 @@ (define-public python-pytest-enabler python-toml)) (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -3114,7 +3113,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools python-wheel)) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index ff5d8409b0..71d12a0ca1 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-flake8 python-setuptools python-waitress python-wheel)) diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index 5580b4eaf4..59d17f2623 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -255,7 +255,7 @@ (define-public c-vise (file-name (git-file-name name version)))) (build-system cmake-build-system) (native-inputs - (list flex python-pytest python-pytest-flake8)) + (list flex python-pytest)) (inputs (list bash-minimal clang llvm unifdef python python-pebble python-psutil python-chardet)) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index 970093d345..e7c1468da4 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -200,7 +200,6 @@ (define-public python-matrix-nio python-pytest-aiohttp python-pytest-asyncio python-pytest-benchmark - python-pytest-flake8 python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 8edec4595f..03be7db63e 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -673,9 +673,10 @@ (define-public python-pytest-csv (base32 "17518f2fn5l98lyk9p8r7215c1whi61imzrh6ahrmcksr8w0zz04")))) (build-system pyproject-build-system) + (arguments + (list #:test-flags '(list "--ignore=tests/test_flake8.py"))) (native-inputs - (list python-pytest-flake8 - python-pytest-xdist + (list python-pytest-xdist python-setuptools python-tabulate python-wheel)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fc519d660a..bdad225b4c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2319,8 +2319,7 @@ (define-public python-mechanicalsoup (propagated-inputs (list python-beautifulsoup4 python-lxml python-requests python-six)) (native-inputs - (list python-pytest-flake8 - python-pytest-httpbin + (list python-pytest-httpbin python-pytest-mock python-pytest-runner python-requests-mock diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e6c73b0569..a17b20e822 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11992,7 +11992,6 @@ (define-public python-pyvips (native-inputs (list python-pyperf python-pytest - python-pytest-flake8 python-pytest-runner)) (inputs (list glib vips)) @@ -12747,7 +12746,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools-57 python-setuptools-scm)) @@ -12895,7 +12893,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -12986,7 +12983,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -13019,7 +13015,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -13049,7 +13044,6 @@ (define-public python-jaraco-packaging (propagated-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-rst.linker python-setuptools python-setuptools-scm @@ -17853,7 +17847,6 @@ (define-public python-path python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties @@ -17957,7 +17950,6 @@ (define-public python-pip-run python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -22563,7 +22555,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy ;; For the version number python-setuptools-scm @@ -27834,7 +27825,6 @@ (define-public python-tempora python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-freezegun python-pytest-mypy python-setuptools-scm @@ -30508,7 +30498,7 @@ (define-public python-dask-image python-scipy python-tifffile)) (native-inputs - (list python-pytest-flake8 python-pytest)) + (list python-pytest)) (home-page "https://github.com/dask/dask-image") (synopsis "Distributed image processing") (description "This is a package for image processing with Dask arrays. @@ -31602,10 +31592,7 @@ (define-public python-cairosvg (list python-cairocffi python-cssselect2 python-defusedxml python-pillow python-tinycss2)) (native-inputs - (list python-pytest-flake8 - python-pytest-runner - python-setuptools - python-wheel)) + (list python-pytest-runner python-setuptools python-wheel)) (home-page "https://cairosvg.org/") (synopsis "SVG to PDF/PS/PNG converter based on Cairo") (description "CairoSVG is a SVG converter based on Cairo. It can export -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:13:05 GMT) Full text and rfc822 format available.Message #406 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> Subject: [PATCH v4 34/52] build-system/pyproject: Remove python-pytest-mypy inputs. Date: Wed, 26 Feb 2025 04:10:42 +0100
* gnu/packages/astronomy.scm (python-poliastro) [native-inputs]: Remove python-pytest-mypy. * gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-path, python-pip-run, python-inflect, python-tempora, python-portalocker)[native-inputs]: Remove python-pytest-mypy. --- gnu/packages/astronomy.scm | 3 +-- gnu/packages/check.scm | 1 - gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 15 ++------------- 4 files changed, 3 insertions(+), 17 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 7384da6452..2cea636e1b 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4629,8 +4629,7 @@ (define-public python-poliastro python-flit-core python-pytest python-pytest-doctestplus - python-pytest-mpl - python-pytest-mypy)) + python-pytest-mpl)) (propagated-inputs (list python-astropy python-astroquery diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 0f0278ae22..8c157d91c1 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3113,7 +3113,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index bdad225b4c..4e68aa47ea 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -699,7 +699,6 @@ (define-public python-portend (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/portend") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a17b20e822..b42c954233 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5657,7 +5657,6 @@ (define-public python-portalocker "0lawjm736vs86wlnxc3qqh37l11z0yx81xq3dmrw33m86kaq2bh3")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-mypy python-pytest-timeout python-redis python-setuptools @@ -12746,7 +12745,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools-57 python-setuptools-scm)) (propagated-inputs @@ -12893,7 +12891,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -12925,7 +12922,6 @@ (define-public python-jaraco-collections (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.collections") @@ -12983,7 +12979,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -13015,7 +13010,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -13107,7 +13101,6 @@ (define-public python-jaraco-text (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.text") @@ -17846,8 +17839,7 @@ (define-public python-path python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-path-bootstrap))))) @@ -17949,8 +17941,7 @@ (define-public python-pip-run python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -22555,7 +22546,6 @@ (define-public python-inflect python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy ;; For the version number python-setuptools-scm python-setuptools @@ -27826,7 +27816,6 @@ (define-public python-tempora python-pytest-checkdocs python-pytest-enabler python-pytest-freezegun - python-pytest-mypy python-setuptools-scm python-types-freezegun python-types-pytz -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:14:01 GMT) Full text and rfc822 format available.Message #409 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> Subject: [PATCH v4 39/52] build-system/pyproject: Remove python-mypy native-input. Date: Wed, 26 Feb 2025 04:10:47 +0100
--- gnu/packages/bioinformatics.scm | 2 -- gnu/packages/check.scm | 1 - gnu/packages/databases.scm | 3 +-- gnu/packages/finance.scm | 1 - gnu/packages/matrix.scm | 1 - gnu/packages/openstack.scm | 1 - gnu/packages/python-check.scm | 8 ++------ gnu/packages/python-crypto.scm | 1 - gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 2 -- gnu/packages/python-xyz.scm | 7 ++----- 11 files changed, 6 insertions(+), 24 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index c989e6d4c8..5fd6958735 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3167,7 +3167,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-mypy python-mypy-extensions python-pandas-stubs python-pytest @@ -6348,7 +6347,6 @@ (define-public python-schema-salad (native-inputs (list python-black python-cachecontrol - python-mypy python-pytest python-pytest-runner python-setuptools diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 8c157d91c1..c0b6f3e0af 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2823,7 +2823,6 @@ (define-public python-crosshair (native-inputs (list python-icontract ;optional python-importlib-metadata - python-mypy python-numpy python-pytest python-pytest-xdist)) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index e6d29a0457..cb198c411a 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4141,8 +4141,7 @@ (define-public python-aiosqlite (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "python" "-m" "aiosqlite.tests"))))))) - (native-inputs (list python-flit-core - python-mypy)) + (native-inputs (list python-flit-core)) (home-page "https://github.com/jreese/aiosqlite") (synopsis "Asyncio bridge for sqlite3") diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index eb676592b3..ddc9954d8e 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2068,7 +2068,6 @@ (define-public fava python-werkzeug)) (native-inputs (list python-babel - python-mypy python-pytest python-setuptools python-types-setuptools diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index e7c1468da4..e503d17b91 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -193,7 +193,6 @@ (define-public python-matrix-nio python-hpack python-hyperframe python-hypothesis - python-mypy python-mypy-extensions python-poetry-core python-pytest diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 84696a586f..2b74994cc5 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -552,7 +552,6 @@ (define-public python-oslo.context (native-inputs (list python-fixtures python-hacking - python-mypy python-oslotest python-pbr python-stestr)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 03be7db63e..7a8ff17175 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -585,8 +585,7 @@ (define-public python-green (when tests? (apply invoke "python" "-m" "green" test-flags))))))) (native-inputs - (list python-mypy - python-setuptools + (list python-setuptools python-testtools python-wheel)) (propagated-inputs @@ -814,7 +813,6 @@ (define-public python-icontract (native-inputs (list python-astor python-asyncstdlib - python-mypy python-numpy python-setuptools python-typeguard @@ -2620,7 +2618,6 @@ (define-public python-nptyping (native-inputs (list python-beartype python-feedparser - python-mypy python-pandas python-pytest python-setuptools @@ -3113,8 +3110,7 @@ (define-public python-sybil (sha256 (base32 "0r491k91fi2nb0kdd6di8cb2kxcvsk1xzw3sgwsxhhg4qynsp3bi")))) (build-system pyproject-build-system) - (native-inputs (list python-mypy - python-myst-parser + (native-inputs (list python-myst-parser python-pytest python-pyyaml python-seedir diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index eb6fdd5227..0dda3fb774 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -584,7 +584,6 @@ (define-public python-cryptography python-cffi python-click python-cryptography-vectors - python-mypy python-pretend python-pytest python-pytest-benchmark diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b5269bf5a4..e3ccbfed06 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3953,8 +3953,7 @@ (define-public python-pynetdicom python-pytest-xdist python-sphinx python-sphinx-rtd-theme)) - (propagated-inputs (list python-mypy - python-numpydoc + (propagated-inputs (list python-numpydoc python-pydicom python-pyfakefs python-sqlalchemy)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 97b9263499..149daf6d88 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8855,7 +8855,6 @@ (define-public python-sanic python-chardet python-cryptography python-docutils - python-mypy python-pygments python-pytest python-pytest-benchmark @@ -9878,7 +9877,6 @@ (define-public python-scrapy python-zope-interface)) (native-inputs (list nss-certs-for-test - python-mypy python-pexpect python-pytest python-pytest-xdist diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4dd1f92e05..a938a05bde 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9475,7 +9475,6 @@ (define-public python-numpy meson-python pkg-config python-hypothesis - python-mypy python-pytest python-pytest-xdist python-setuptools @@ -9554,7 +9553,6 @@ (define-public python-numpy-2 ninja pkg-config python-hypothesis - python-mypy python-pytest python-pytest-xdist python-setuptools @@ -9796,7 +9794,6 @@ (define-public python-multiscale-spatial-image python-nbmake python-pooch python-pytest - python-pytest-mypy python-urllib3 python-zarr)) (home-page "https://github.com/spatial-image/multiscale-spatial-image") @@ -13356,7 +13353,6 @@ (define-public python-traitlets (native-inputs (list python-argcomplete python-hatchling - python-mypy python-pytest python-pytest-mock python-pytest-mypy-testing)) @@ -14998,7 +14994,6 @@ (define-public python-seaborn python-ipykernel python-nbconvert python-numpydoc - python-mypy python-pytest python-pytest-xdist python-pyyaml)) @@ -28431,6 +28426,8 @@ (define-public python-typeguard (sha256 (base32 "06y22d1f5dhpyl71wbhsaibig5hvc2v44pw795yb8lxl02fsh8hd")))) (build-system pyproject-build-system) + (arguments + (list #:test-flags ''("--ignore=tests/mypy"))) (native-inputs (list python-pytest python-setuptools -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:14:02 GMT) Full text and rfc822 format available.Message #412 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> Subject: [PATCH v4 40/52] build-system/pyproject: Add option #:use-pytest-plugin? Date: Wed, 26 Feb 2025 04:10:48 +0100
In the very rare cases where our plugin actually breaks a test, adding a flag is more convenient than replacing the phase. * guix/build-system/pyproject.scm (pyproject-build): Add option use-pytest-plugin? * guix/build/pyproject-build-system.scm (check): Add and use option use-pytest-plugin? * gnu/packages/check.scm (python-coverage, python-pytest-mypy)[arguments]{use-pytest-plugin}: Set to #f to fix tests. * gnu/packages/python-check.scm (python-pytest-flake8)[arguments]: Likewise. --- gnu/packages/check.scm | 6 +++++- gnu/packages/python-check.scm | 1 + guix/build-system/pyproject.scm | 2 ++ guix/build/pyproject-build-system.scm | 9 ++++++--- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index c0b6f3e0af..c817a18631 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2497,6 +2497,8 @@ (define-public python-coverage "--deselect=tests/test_filereporter.py::FileReporterTest::test_zipfile" ;; XXX: Checking coverage for too much files, not only the target one. "--deselect=tests/test_oddball.py::DoctestTest::test_doctest") + ;; This is one of the rare cases where our plugin causes a test to fail. + #:use-pytest-plugin? #f #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-pyproject @@ -2994,7 +2996,9 @@ (define-public python-pytest-mypy (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "--numprocesses" "auto"))) + #:use-pytest-plugin? #f + #:test-flags #~(list "--numprocesses" + (number->string (parallel-job-count))))) (native-inputs (list python-pexpect python-pytest-xdist diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7a8ff17175..7cedb111ad 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1704,6 +1704,7 @@ (define-public python-pytest-flake8 (base32 "1rhz7mxcg7x9dbabfcjai3zxikfgw7az07m4ddf92bg35ib3byw8")))) (build-system pyproject-build-system) + (arguments (list #:use-pytest-plugin? #f)) (native-inputs (list python-pytest python-setuptools diff --git a/guix/build-system/pyproject.scm b/guix/build-system/pyproject.scm index bdf8f440ac..1cd38ce349 100644 --- a/guix/build-system/pyproject.scm +++ b/guix/build-system/pyproject.scm @@ -93,6 +93,7 @@ (define private-keywords (define* (pyproject-build name inputs #:key source (tests? #t) + (use-pytest-plugin? #t) (configure-flags ''(@)) (backend-path #f) (build-backend #f) @@ -125,6 +126,7 @@ (define build #:test-backend #$test-backend #:test-flags #$test-flags #:tests? #$tests? + #:use-pytest-plugin? #$use-pytest-plugin? #:phases #$(if (pair? phases) (sexp->gexp phases) phases) diff --git a/guix/build/pyproject-build-system.scm b/guix/build/pyproject-build-system.scm index 2df9f2f479..a96ec05ad6 100644 --- a/guix/build/pyproject-build-system.scm +++ b/guix/build/pyproject-build-system.scm @@ -231,7 +231,8 @@ (define-syntax-rule (with-guix-pytest-plugin inputs exp ...) "Evaluate EXP in a context where the Guix pytest plugin is added." (call-with-guix-pytest-plugin inputs (lambda () exp ...))) -(define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) +(define* (check #:key inputs tests? test-backend test-flags use-pytest-plugin? + #:allow-other-keys) "Run the test suite of a given Python package." (if tests? ;; Unfortunately with PEP 517 there is no common method to specify test @@ -254,8 +255,10 @@ (define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) (format #t "Using ~a~%" use-test-backend) (match use-test-backend ('pytest - (with-guix-pytest-plugin inputs - (apply invoke pytest "-vv" test-flags))) + (if use-pytest-plugin? + (with-guix-pytest-plugin inputs + (apply invoke pytest "-vv" test-flags)) + (apply invoke pytest "-vv" test-flags))) ('nose (apply invoke nosetests "-v" test-flags)) ('nose2 -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:14:02 GMT) Full text and rfc822 format available.Message #415 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> Subject: [PATCH v4 43/52] build-system/pyproject: Remove python-mypy-extensions native-input. Date: Wed, 26 Feb 2025 04:10:51 +0100
--- gnu/packages/bioinformatics.scm | 1 - gnu/packages/web.scm | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 5fd6958735..f815bac9b2 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3167,7 +3167,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-mypy-extensions python-pandas-stubs python-pytest python-setuptools diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 61c5775e43..8393f55a2a 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -9656,8 +9656,7 @@ (define-public archivebox python-crontab python-dateparser python-django-extensions - python-django-3.1.14 - python-mypy-extensions)) + python-django-3.1.14)) (native-inputs (list python-wheel)) (synopsis "Self-hosted Web archiving") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:14:03 GMT) Full text and rfc822 format available.Message #418 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> Subject: [PATCH v4 45/52] build-system/pyproject: Remove python-pip native-input. Date: Wed, 26 Feb 2025 04:10:53 +0100
--- gnu/packages/bioinformatics.scm | 2 +- gnu/packages/databases.scm | 1 - gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 4 +--- gnu/packages/python-xyz.scm | 15 ++++----------- gnu/packages/shells.scm | 1 - gnu/packages/web.scm | 1 - 7 files changed, 6 insertions(+), 19 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f815bac9b2..e421f78440 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7669,7 +7669,7 @@ (define-public python-illumina-utils (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (propagated-inputs (list python-matplotlib python-numpy python-levenshtein)) - (native-inputs (list python-setuptools python-wheel python-pip)) + (native-inputs (list python-setuptools python-wheel)) (home-page "https://github.com/meren/illumina-utils") (synopsis "Library and scripts to work with Illumina paired-end data") (description diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index cb198c411a..b5b8246bca 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -5795,7 +5795,6 @@ (define-public datasette (list nss-certs-for-test python-beautifulsoup4 python-cogapp - python-pip python-pytest python-pytest-asyncio python-pytest-runner diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index e3ccbfed06..023decd507 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -551,7 +551,6 @@ (define-public python-scikit-build-core python-hatch-vcs python-hatchling python-numpy - python-pip python-pypa-build python-pytest python-pytest-subprocess diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 149daf6d88..230de4f5a3 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2039,7 +2039,6 @@ (define-public httpie python-defusedxml python-importlib-metadata python-multidict - python-pip python-pygments python-requests python-requests-toolbelt @@ -4485,8 +4484,7 @@ (define-public python-requests python-idna python-urllib3)) (native-inputs - (list python-pip - python-pytest + (list python-pytest python-pytest-mock python-setuptools python-wheel)) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 155a69fc10..c7e8199f30 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5749,8 +5749,7 @@ (define-public python-extension-helpers python-setuptools-scm python-tomli python-setuptools - python-wheel - python-pip)) + python-wheel)) (home-page "https://extension-helpers.readthedocs.io") (synopsis "Astropy ecosystem utilities for building and installing packages") (description @@ -19460,8 +19459,7 @@ (define-public python-argparse-manpage "1nq4sq1zk1xzdsqq61hd27jhj978ys136aba1zjg02x1g0c0cg11")))) (build-system pyproject-build-system) (native-inputs - (list python-pip python-pytest python-setuptools python-tomli - python-wheel)) + (list python-pytest python-setuptools python-tomli python-wheel)) (home-page "https://github.com/praiskup/argparse-manpage") (synopsis "Build manual page from Python's ArgumentParser object") (description @@ -22992,7 +22990,6 @@ (define-public poetry python-keyring python-packaging python-pexpect - python-pip python-pkginfo python-platformdirs python-poetry-core @@ -23315,8 +23312,7 @@ (define-public python-lazy-object-proxy (base32 "0sdc92bbzy6slcl432j04mr131cy8n0many26ppm4fpl8mnpn93q")))) (build-system pyproject-build-system) (native-inputs - (list python-pip - python-setuptools + (list python-setuptools python-setuptools-scm python-wheel)) (home-page "https://github.com/ionelmc/python-lazy-object-proxy") @@ -25931,7 +25927,6 @@ (define-public python-isort python-hypothesmith python-libcst-minimal python-natsort - python-pip python-poetry-core python-pylama python-pypa-build @@ -26661,8 +26656,7 @@ (define-public python-rfc3986-validator (base32 "0mfh82r37ma5n54n8ibnqvmwr3j3f2ixqfjfmv1rwfqvjbkvsi1x")))) (build-system pyproject-build-system) (native-inputs - (list python-pip - python-pytest + (list python-pytest python-pytest-runner python-rfc3987 python-setuptools @@ -34322,7 +34316,6 @@ (define-public python-pypandoc (list (texlive-updmap.cfg (list texlive-xpatch texlive-lm texlive-xcolor)) - python-pip python-poetry-core python-setuptools)) (inputs (list pandoc python-pandocfilters)) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 6f830d54aa..7763c2729b 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -620,7 +620,6 @@ (define-public xonsh (setenv "HOME" "/tmp")))))) (native-inputs (list git-minimal - python-pip python-pyte python-pytest python-pytest-mock diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8393f55a2a..f433dc6dc8 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5262,7 +5262,6 @@ (define-public python-lambda-4dn (list python-boto3 python-botocore python-docutils - python-pip python-six python-virtualenv)) (home-page "https://github.com/4dn-dcic/python-lambda") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:02 GMT) Full text and rfc822 format available.Message #421 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> Subject: [PATCH v4 46/52] build-system/pyproject: Remove python-pre-commit native-input. Date: Wed, 26 Feb 2025 04:10:54 +0100
--- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-xyz.scm | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7cedb111ad..9e4cb841cd 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2291,8 +2291,7 @@ (define-public python-pytest-qt (propagated-inputs (list python-pluggy python-pyqt python-pytest)) (native-inputs - (list python-pre-commit - python-setuptools + (list python-setuptools python-setuptools-scm python-wheel)) (home-page "https://github.com/pytest-dev/pytest-qt") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c7e8199f30..c0f047aebc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11391,7 +11391,6 @@ (define-public python-pillow-heif python-defusedxml python-numpy python-packaging - python-pre-commit python-pympler python-setuptools python-pytest @@ -13465,7 +13464,6 @@ (define-public python-jupyter-core (propagated-inputs (list python-platformdirs python-traitlets)) (native-inputs (list python-hatchling python-pip - python-pre-commit python-pytest python-pytest-timeout)) ;; This package provides the `jupyter` binary and thus also exports the -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:03 GMT) Full text and rfc822 format available.Message #424 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> Subject: [PATCH v4 47/52] gnu: python-django-ldap: Remove uneeded native-inputs. Date: Wed, 26 Feb 2025 04:10:55 +0100
* gnu/packages/django.scm (python-django-ldap)[native-inputs]: Remove python-pypa-build, python-pip. --- gnu/packages/django.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 6b67b66891..3924a237a2 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1550,10 +1550,7 @@ (define-public python-django-auth-ldap (invoke "pip" "--no-cache-dir" "--no-input" "install" "--no-deps" "--prefix" #$output whl))))))) (native-inputs - (list openldap python-wheel python-setuptools-scm python-toml - - ;; These can be removed after <https://bugs.gnu.org/46848>. - python-pypa-build python-pip)) + (list openldap python-wheel python-setuptools-scm python-toml)) (propagated-inputs (list python-django python-ldap)) (home-page "https://github.com/django-auth-ldap/django-auth-ldap") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:04 GMT) Full text and rfc822 format available.Message #427 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> Subject: [PATCH v4 48/52] gnu: python-docstring-to-markdown: Remove uneeded native-inputs. Date: Wed, 26 Feb 2025 04:10:56 +0100
* gnu/packages/python-xyz.scm (python-docstring-to-markdown) [native-inputs]: Remove python-pytest-cov, python-pytest-flake8. [arguments]: Remove field. --- gnu/packages/python-xyz.scm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c0f047aebc..c4c174bbbe 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1836,18 +1836,8 @@ (define-public python-docstring-to-markdown (sha256 (base32 "0gdpabnyl1kyy0cjrnph6xl4fyhgim50a1amsaqq3hahki6i2ip1")))) (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'reduce-test-coverage-since-failing - (lambda _ - (substitute* "setup.cfg" - (("(^.*cov.*$|^.*flake8.*$)") ""))))))) (native-inputs (list python-pytest - python-pytest-cov - python-pytest-flake8 python-setuptools python-wheel)) (home-page "https://github.com/python-lsp/docstring-to-markdown") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:05 GMT) Full text and rfc822 format available.Message #430 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> Subject: [PATCH v4 35/52] build-system/pyproject: Stop hiding options. Date: Wed, 26 Feb 2025 04:10:43 +0100
* gnu/packages/pdf.scm (python-pydyf, weasyprint)[arguments] <#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-crypto.scm (python-keyring) [arguments]<#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-web.scm (python-asgi-lifespan, python-openapi-schema-validator, python-openapi-spec-validator, python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding coverage options. (python-openapi-schema-validator, python-openapi-spec-validator) [arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase. (python-cssselect2)[arguments]: Remove uneeded field. (python-quart)[arguments]: Remove uneeded field. (python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded test-flags. * gnu/packages/python-xyz.scm (python-cattrs) [arguments]<#:phases>: Remove arguments hiding coverage options. (python-blessed)[arguments]: Remove uneeded field. python-pytest-cov remove option --- gnu/packages/pdf.scm | 6 +---- gnu/packages/python-crypto.scm | 1 - gnu/packages/python-web.scm | 42 +++------------------------------- gnu/packages/python-xyz.scm | 8 +------ 4 files changed, 5 insertions(+), 52 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index ce63306c07..7308b0c661 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -805,9 +805,6 @@ (define-public python-pydyf (sha256 (base32 "18q43g5d9455msipcgd5fvnh8m4a2rz189slzfg80yycjw66rshs")))) (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~'("-c" "/dev/null"))) (propagated-inputs (list python-pillow)) (native-inputs (list ghostscript @@ -1669,8 +1666,7 @@ (define-public weasyprint (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "-c" "/dev/null" - "-n" (number->string (parallel-job-count))) + #:test-flags #~(list "-n" (number->string (parallel-job-count))) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-library-paths diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 674092b1cc..eb6fdd5227 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -268,7 +268,6 @@ (define-public python-keyring (build-system pyproject-build-system) (arguments (list - #:test-flags '(list "-c" "/dev/null") ;avoid extra test dependencies #:phases #~(modify-phases %standard-phases (add-before 'check 'workaround-test-failure diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4e68aa47ea..97b9263499 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1267,8 +1267,7 @@ (define-public python-asgi-lifespan (arguments (list #:test-flags - '(list "-c" "/dev/null" ;ignore coverage-related options - "-k" + '(list "-k" (string-append ;; XXX: Some tests fail because of "Exceptions from Trio nursery" "not (test_lifespan_manager[trio-None-None-StartupFailed]" @@ -2269,10 +2268,7 @@ (define-public python-jsonpickle (build-system pyproject-build-system) (arguments (list - #:test-flags - ;; Prevent running the flake8 and black pytest plugins, which only tests - ;; style and frequently causes harmless failures. - '(list "-o" "addopts=''" "tests") + #:test-flags '(list "tests") #:phases '(modify-phases %standard-phases (add-before 'check 'pre-check @@ -3024,10 +3020,6 @@ (define-public python-openapi-schema-validator '(list "-k" "not test_array_prefixitems_invalid") #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") "")))) ;; See https://github.com/python-openapi/openapi-schema-validator/issues/204 (add-after 'unpack 'relax-requirements (lambda _ @@ -3071,13 +3063,7 @@ (define-public python-openapi-spec-validator (list ;; These tests attempt to fetch resources from the Internet #:test-flags '(list "--ignore-glob=tests/integration/validation/**" - "-k" "not example") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") ""))))))) + "-k" "not example"))) (native-inputs (list python-poetry-core python-pytest)) @@ -3116,9 +3102,6 @@ (define-public python-openapi-core (list #:test-flags '(list "tests/unit" - ;; Ignore Pytest configuration in setup.cfg that adds - ;; unwanted flake8 and coverage options. - "-c" "/dev/null" "-k" "not test_chars_valid"))) (native-inputs (list python-django python-falcon @@ -7114,17 +7097,6 @@ (define-public python-cssselect2 (sha256 (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk")))) (build-system pyproject-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-linters - ;; Their check fails; none of our business. - (lambda _ - (substitute* '("setup.py" "pyproject.toml") - (("'pytest-flake8',") "") - (("'pytest-isort',") "") - (("--flake8") "") - (("--isort") ""))))))) (propagated-inputs (list python-tinycss2)) (native-inputs @@ -9758,14 +9730,6 @@ (define-public python-quart (sha256 (base32 "1h5ifv8g9dc9m07vj4v7dfalam83v38545d845vvgys1gan1pscd")))) (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("--no-cov-on-fail") ""))))))) (native-inputs (list python-poetry-core python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b42c954233..b2cad47edf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22866,9 +22866,7 @@ (define-public python-cattrs (substitute* "pyproject.toml" ;; Fix version string (("dynamic = \\[\"version\"\\]") - (string-append "version = \"" #$version "\"")) - ;; Just run pytest with no frills - (("addopts = \"-l.*") "")))) + (string-append "version = \"" #$version "\""))))) ;; XXX Our python-hypothesis package is too old. (add-after 'unpack 'compatibility (lambda _ @@ -33914,10 +33912,6 @@ (define-public python-blessed ;; Don't get hung up on Windows test failures. '(delete-file "blessed/win_terminal.py")))) (build-system pyproject-build-system) - (arguments - (list - ;; Avoid python-pytest-coverage - #:test-flags '(list "-c /dev/null"))) (propagated-inputs (list python-six python-wcwidth)) (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/jquast/blessed") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:05 GMT) Full text and rfc822 format available.Message #433 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> Subject: [PATCH v4 49/52] gnu: python-translation-finder: Remove python coverage native-inputs. Date: Wed, 26 Feb 2025 04:10:57 +0100
* gnu/packages/python-web.scm (python-translation-finder) [native-inputs]: Remove python-codecov, python-codacy-coverage, python-pytest-cov. --- gnu/packages/python-web.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 230de4f5a3..2d45ac04ba 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7415,8 +7415,7 @@ (define-public python-translation-finder (propagated-inputs (list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (native-inputs - (list python-codecov python-codacy-coverage python-pytest-cov - python-pytest-runner)) + (list python-codacy-coverage python-pytest-runner)) (home-page "https://weblate.org/") (synopsis "Translation file finder for Weblate") (description "This package provides a function to find translation file in -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:06 GMT) Full text and rfc822 format available.Message #436 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> Subject: [PATCH v4 50/52] gnu: python-pymanopt: Remove python-flake8-bugbear native-input. Date: Wed, 26 Feb 2025 04:10:58 +0100
* gnu/packages/machine-learning.scm (python-pymanopt)[native-input]: Remove python-flake8-bugbear. --- gnu/packages/machine-learning.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 8cbd16a3c7..6a034ea23c 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1140,7 +1140,6 @@ (define-public python-pymanopt ((",!=1.12\\.\\*") ""))))))) (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-autograd - python-flake8-bugbear python-matplotlib python-pytest python-setuptools -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:06 GMT) Full text and rfc822 format available.Message #439 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> Subject: [PATCH v4 52/52] gnu: gunicorn: Migrate 'check phase to pyproject-build-system. Date: Wed, 26 Feb 2025 04:11:00 +0100
* gnu/packages/python-web.scm (gunicorn)[arguments] {phases}: Remove 'check phase and migrate its flags to... {test-flags}: ...here. --- gnu/packages/python-web.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2d45ac04ba..9495210d04 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7200,23 +7200,17 @@ (define-public gunicorn (outputs '("out" "doc")) (build-system pyproject-build-system) (arguments - `(#:phases + `(#:test-flags + ;; Disable the geventlet tests because eventlet uses dnspython, which + ;; does not work in the build container due to lack of /etc/resolv.conf + '("--ignore=tests/workers/test_geventlet.py") + #:phases (modify-phases %standard-phases (add-after 'build 'build-doc (lambda _ (invoke "make" "-C" "docs" "PAPER=a4" "html" "info") (delete-file "docs/build/texinfo/Makefile") (delete-file "docs/build/texinfo/Gunicorn.texi"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (begin - (invoke "pytest" "-vv" - ;; Disable the geventlet tests because eventlet uses - ;; dnspython, which does not work in the build - ;; container due to lack of /etc/resolv.conf, etc. - "--ignore=tests/workers/test_geventlet.py")) - (format #t "test suite not run~%")))) (add-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) (let* ((doc (string-append (assoc-ref outputs "doc") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:07 GMT) Full text and rfc822 format available.Message #442 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> Subject: [PATCH v4 51/52] gnu: python-loguru: Remove python-pytest-mypy-plugins. Date: Wed, 26 Feb 2025 04:10:59 +0100
* gnu/packages/python-xyz.scm (python-loguru) [arguments]: Add in {test-flags} to skip the concerned test file. [native-inputs]: Remove python-pytest-mypy-plugins. --- gnu/packages/python-xyz.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c4c174bbbe..c8ccb422d2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35035,11 +35035,12 @@ (define-public python-loguru #~(list"--numprocesses" (number->string (parallel-job-count)) ;; All of these fail with: error: Cannot find implementation or ;; library stub for module named "loguru" - "--ignore=tests/typesafety/test_logger.yml"))) + "--ignore=tests/typesafety/test_logger.yml" + ;; Removes mypy dependency + "--ignore=tests/test_type_hinting.py"))) (native-inputs (list python-freezegun python-pytest - python-pytest-mypy-plugins python-pytest-xdist python-setuptools python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:07 GMT) Full text and rfc822 format available.Message #445 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> Subject: [PATCH v4 36/52] gnu: python-linear-operator: Remove python-flake8-print native-input Date: Wed, 26 Feb 2025 04:10:44 +0100
* gnu/packages/machine-learning.scm (python-linear-operator): [native-inputs]: Remove pytest-flake8-print. Change-Id: Iba2670b47e479c20a3f4ae1c703ad9fe815e3764 --- gnu/packages/machine-learning.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index b27d4f4f23..8cbd16a3c7 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5877,8 +5877,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8-print - python-pytest + (native-inputs (list python-pytest python-setuptools python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:08 GMT) Full text and rfc822 format available.Message #448 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> Subject: [PATCH v4 37/52] gnu: multidict: Remove python-pytest-cov native-input. Date: Wed, 26 Feb 2025 04:10:45 +0100
* gnu/packages/python-xyz.scm (multidict) [native-inputs]: Remove python-pytest-cov. [arguments]{phases}: Add 'avoid-pytest-cov-preload phase. --- gnu/packages/python-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b2cad47edf..881d07045e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10943,9 +10943,15 @@ (define-public python-multidict (base32 "0jlgjpclkh5g6vr1danl6alz0cza2jlzdqh3q03d4s8ckfzjxbi2")))) (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'avoid-pytest-cov-preload + (lambda _ + (substitute* "pytest.ini" + (("-p pytest_cov") ""))))))) (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 -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:08 GMT) Full text and rfc822 format available.Message #451 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> Subject: [PATCH v4 38/52] gnu: python-isort: Remove python-black native-input. Date: Wed, 26 Feb 2025 04:10:46 +0100
* gnu/packages/python-xyz.scm (python-isort) [native-inputs]: Remove python-black. [arguments]: Adapt {test-flags} accordingly. --- gnu/packages/python-xyz.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 881d07045e..4dd1f92e05 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25908,15 +25908,15 @@ (define-public python-isort (list #:test-flags #~(list "tests/unit/" - "-k" (string-join - (list - "not test_gitignore" - ;; See <https://github.com/PyCQA/isort/issues/2234>. - "test_isort_should_warn_on_empty_custom_config_issue_1433" - ;; Fails because of an unexpected linebreak. - "test_black_pyi_file") - " and not ") - "--ignore=tests/unit/test_deprecated_finders.py") + "-k" + (string-join + (list + "not test_gitignore" + ;; See <https://github.com/PyCQA/isort/issues/2234>. + "test_isort_should_warn_on_empty_custom_config_issue_1433") + " and not ") + "--ignore=tests/unit/test_deprecated_finders.py" + "--ignore=tests/unit/profiles/test_black.py") #:phases #~(modify-phases %standard-phases (add-after 'install 'install-example-plugins @@ -25935,7 +25935,6 @@ (define-public python-isort "install" "--user" "--no-deps" example-whls))))))) (native-inputs (list python-colorama - python-black python-hypothesmith python-libcst-minimal python-natsort -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:09 GMT) Full text and rfc822 format available.Message #454 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> Subject: [PATCH v4 42/52] build-system/pyproject: Remove python-check-manifest native-input. Date: Wed, 26 Feb 2025 04:10:50 +0100
* guix/import/pypi.scm (pypi-ignored-inputs): Add "check-manifest". * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/python-xyz.scm (python-pillow, python-mercantile) * gnu/packages/time.scm (python-tzlocal) [native-inputs]: Remove python-check-manifest. --- gnu/packages/jupyter.scm | 1 - gnu/packages/python-xyz.scm | 6 ++---- gnu/packages/time.scm | 3 +-- guix/import/pypi.scm | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 8ce856f128..62f028077f 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1151,7 +1151,6 @@ (define-public python-papermill python-boto3 python-botocore python-bumpversion - python-check-manifest python-ipython python-ipywidgets python-moto diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a938a05bde..155a69fc10 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11338,9 +11338,7 @@ (define-public python-pillow (add-installed-pythonpath inputs outputs) (invoke "python" "selftest.py" "--installed") (invoke "python" "-m" "pytest" "-vv"))))))) - (native-inputs (list python-check-manifest - python-coverage - python-defusedxml + (native-inputs (list python-defusedxml python-markdown2 python-olefile python-packaging @@ -31436,7 +31434,7 @@ (define-public python-mercantile (build-system python-build-system) (propagated-inputs (list python-click)) (native-inputs - (list python-check-manifest python-hypothesis python-pytest)) + (list python-hypothesis python-pytest)) (home-page "https://github.com/mapbox/mercantile") (synopsis "Web mercator XYZ tile utilities") (description "The mercantile module provides @code{ul(xtile, ytile, zoom)} diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 5f07e0860a..310b1ce5cb 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -454,8 +454,7 @@ (define-public python-tzlocal (propagated-inputs (list python-tzdata)) (native-inputs - (list python-check-manifest - python-pytest + (list python-pytest python-pytest-mock)) (home-page "https://github.com/regebro/tzlocal") (synopsis "Local timezone information for Python") diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index a49ab1e429..2e3ea6403d 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -87,7 +87,7 @@ (define pypi-ignored-inputs "tox" ; test wrapper for other environments "codecov" "coverage" ; coverage "black" "isort" "pycodestyle" "pep8" ; style - "pyflakes" "flake8" "pylint" "mypy" ; style+lint + "check-manifest" "pyflakes" "flake8" "pylint" "mypy" ; style+lint "coveralls" "twine" ; upload integration tools "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black" "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit")) ; variants -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:09 GMT) Full text and rfc822 format available.Message #457 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> Subject: [PATCH v4 44/52] gnu: python-matrix-nio: Remove python-mypy-extension native-input. Date: Wed, 26 Feb 2025 04:10:52 +0100
* gnu/packages/matrix.scm (python-matrix-nio)[native-inputs]: Remove python-mypy-extension. --- gnu/packages/matrix.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index e503d17b91..1a090c05a7 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -193,7 +193,6 @@ (define-public python-matrix-nio python-hpack python-hyperframe python-hypothesis - python-mypy-extensions python-poetry-core python-pytest python-pytest-aiohttp -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 26 Feb 2025 03:15:10 GMT) Full text and rfc822 format available.Message #460 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> Subject: [PATCH v4 41/52] gnu: python-pixell: Update to 0.28.1. Date: Wed, 26 Feb 2025 04:10:49 +0100
See https://github.com/simonsobs/pixell/issues/291 for the reasons behind the patch. * gnu/packages/astronomy.scm (python-pixell): Update to 0.28.1. [source]: Switch to git-fetch. Add patch. [propagated-inputs]: Remove python-cython, python-coveralls. * gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch New file. * gnu/local.mk: Add patch. --- gnu/local.mk | 1 + gnu/packages/astronomy.scm | 15 +++++++++------ ...on-pixell-avoid-dependency-propagation.patch | 17 +++++++++++++++++ 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch diff --git a/gnu/local.mk b/gnu/local.mk index fba21df72e..78792312d2 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2003,6 +2003,7 @@ dist_patch_DATA = \ %D%/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch \ %D%/packages/patches/python-random2-getrandbits-test.patch \ %D%/packages/patches/python-pillow-use-zlib-1.3.patch \ + %D%/packages/patches/python-pixell-avoid-dependency-propagation.patch \ %D%/packages/patches/python-pydocstyle-add-support-for-pep701.patch \ %D%/packages/patches/python-pyreadstat-link-libiconv.patch \ %D%/packages/patches/python-sip-include-dirs.patch \ diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 2cea636e1b..4804e74a81 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3045,13 +3045,18 @@ (define-public python-mapsims (define-public python-pixell (package (name "python-pixell") - (version "0.28.0") + (version "0.28.1") (source (origin - (method url-fetch) - (uri (pypi-uri "pixell" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/simonsobs/pixell") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "11xd0ld329vr3spg5nzszn0bxzahnvkrh2akkd7qff33ndf75hkk")))) + (base32 "0p3pndy04n0hd352gjgwpqafp9sm1iq6c45pj745z1cswaf2lmc8")) + (patches (search-patches + "python-pixell-avoid-dependency-propagation.patch")))) (build-system pyproject-build-system) (native-inputs (list gfortran @@ -3062,8 +3067,6 @@ (define-public python-pixell python-pytest)) (propagated-inputs (list python-astropy - python-coveralls - python-cython ; check why it needs in installation python-dateutil python-ducc0 python-h5py diff --git a/gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch b/gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch new file mode 100644 index 0000000000..52c27bad6f --- /dev/null +++ b/gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch @@ -0,0 +1,17 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -22,14 +22,10 @@ + 'h5py>=2.7', + 'scipy>=1.0', + 'python_dateutil>=2.7', +- 'cython', + 'healpy>=1.13', + 'matplotlib>=2.0', + 'pyyaml>=5.0', + 'Pillow>=5.3.0, != 10.4.0', +- 'pytest-cov>=2.6', +- 'coveralls>=1.5', +- 'pytest>=4.6', + 'ducc0>=0.36.0', + 'numba>=0.54.0' + ] -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:31:04 GMT) Full text and rfc822 format available.Message #463 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> Subject: [PATCH v5 01/48] gnu: Remove python-pytest-pep8. Date: Thu, 27 Feb 2025 15:27:02 +0100
This package is outdated. * gnu/packages/check.scm (python-pytest-pep8): Delete variable. (python-pytest-flakes)[native-inputs]: Remove python-pytest-pep8. * gnu/packages/machine-learning.scm (python-keras, python-keras-applications)[native-inputs]: Remove python-pytest-pep8. --- gnu/packages/check.scm | 33 ------------------------------- gnu/packages/machine-learning.scm | 3 +-- 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index f131a0be01..baa3a2f4c3 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3090,39 +3090,6 @@ (define-public python-pytest-mypy-testing expression this allows you to check mypys type interference.") (license (list license:expat license:asl2.0)))) -(define-public python-pytest-pep8 - (package - (name "python-pytest-pep8") - (version "1.0.6") - (source (origin - (method url-fetch) - (uri (pypi-uri "pytest-pep8" version)) - (sha256 - (base32 - "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3")))) - (build-system python-build-system) - (arguments - `(#:tests? #f ; Fails with recent pytest and pep8. See upstream issues #8 and #12. - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-dependencies - (lambda _ - (substitute* "setup.py" - (("'pytest-cache', ") "")))) ; Included in recent pytest - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-v"))))))) - (native-inputs - (list python-pytest)) - (propagated-inputs - (list python-pep8)) - (home-page "https://bitbucket.org/pytest-dev/pytest-pep8") - (synopsis "Py.test plugin to check PEP8 requirements") - (description "Pytest plugin for checking PEP8 compliance.") - (license license:expat))) - (define-public python-pytest-perf (package (name "python-pytest-perf") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 1a007520a4..c051974244 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -3903,7 +3903,7 @@ (define-public python-keras-applications (propagated-inputs (list python-h5py python-numpy)) (native-inputs - (list python-pytest python-pytest-cov python-pytest-pep8 + (list python-pytest python-pytest-cov python-pytest-xdist)) (home-page "https://github.com/keras-team/keras-applications") (synopsis "Reference implementations of popular deep learning models") @@ -4073,7 +4073,6 @@ (define-public python-keras python-pandas python-pytest python-pytest-cov - python-pytest-pep8 python-pytest-timeout python-pytest-xdist python-pyux -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:31:06 GMT) Full text and rfc822 format available.Message #466 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> Subject: [PATCH v5 python-team 00/48] Removing unwanted native-inputs. Date: Thu, 27 Feb 2025 15:27:01 +0100
/!\ I rebased the patch series on the current origin/master (fc4795d7d2), so that we can merge it before the patch series itself /!\ Hopefully the last revision of this patch series :) Nicolas Graves (48): gnu: Remove python-pytest-pep8. gnu: Remove python-pep8. guix: import: pypi: Ignore pypi-ignored-inputs. build-system/pyproject: Ignore unwanted pytest flags. build-system/pyproject: Remove python-black inputs. build-system/pyproject: Remove python-pylint native-input. build-system/pyproject: Remove python-flake8 inputs. build-system/pyproject: Remove python-coverage input. build-system/pyproject: Remove python-coverage native-input. build-system/pyproject: Remove python-pytest-black native-input. gnu: python-cram: Remove python-coverage native-input. gnu: u-boot-tools: Remove python-coverage native-input. gnu: python-aiosqlite: Remove python-coverage native-input. gnu: python-openid: Remove python-coverage native-input. build-system/pyproject: Remove python-coveralls native-input. build-system/pyproject: Remove python-pycodestyle native-input. gnu: python-re-assert: Remove python-covdefaults native-input. build-system/pyproject: Remove python-covdefaults native-input. build-system/pyproject: Remove python-codecov native-input. build-system/pyproject: Remove python-tox native-input. build-system/pyproject: Remove python-mypy native-input. gnu: python-immutables: Remove python-mypy native-input. build-system/pyproject: Remove python-isort native-input. build-system/pyproject: Remove python-twine native-input. build-system/pyproject: Remove python-pytest-cov native-input. gnu: python-django-contact-form: Remove python-pytest-cov native-input. gnu: python-dateutil: Remove python-pytest-cov native-input. build-system/pyproject: Remove python-pytest-isort native-input. build-system/pyproject: Remove python-pytest-flake8 native-input. build-system/pyproject: Remove python-pytest-mypy inputs. build-system/pyproject: Stop hiding options. gnu: python-linear-operator: Remove python-flake8-print native-input gnu: multidict: Remove python-pytest-cov native-input. gnu: python-isort: Remove python-black native-input. build-system/pyproject: Remove python-mypy native-input. build-system/pyproject: Add option #:use-pytest-plugin? gnu: python-pixell: Update to 0.28.1. build-system/pyproject: Remove python-check-manifest native-input. build-system/pyproject: Remove python-mypy-extensions native-input. gnu: python-matrix-nio: Remove python-mypy-extension native-input. build-system/pyproject: Remove python-pip native-input. build-system/pyproject: Remove python-pre-commit native-input. gnu: python-django-ldap: Remove uneeded native-inputs. gnu: python-docstring-to-markdown: Remove uneeded native-inputs. gnu: python-translation-finder: Remove python coverage native-inputs. gnu: python-pymanopt: Remove python-flake8-bugbear native-input. gnu: python-loguru: Remove python-pytest-mypy-plugins. gnu: gunicorn: Migrate 'check phase to pyproject-build-system. gnu/local.mk | 1 + gnu/packages/android.scm | 6 +- gnu/packages/astronomy.scm | 41 +- gnu/packages/audio.scm | 5 +- gnu/packages/backup.scm | 1 - gnu/packages/bioinformatics.scm | 59 +- gnu/packages/bootloaders.scm | 17 +- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 57 +- gnu/packages/cpp.scm | 4 +- gnu/packages/databases.scm | 13 +- gnu/packages/dav.scm | 4 - gnu/packages/debug.scm | 2 +- gnu/packages/django.scm | 23 +- gnu/packages/ebook.scm | 1 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 7 +- gnu/packages/fediverse.scm | 1 - gnu/packages/finance.scm | 9 +- gnu/packages/fontutils.scm | 1 - gnu/packages/games.scm | 1 - gnu/packages/geo.scm | 7 +- gnu/packages/gettext.scm | 4 - gnu/packages/gpodder.scm | 4 +- gnu/packages/graph.scm | 6 +- gnu/packages/graphviz.scm | 5 - gnu/packages/jupyter.scm | 24 +- gnu/packages/logging.scm | 2 +- gnu/packages/machine-learning.scm | 70 +-- gnu/packages/mail.scm | 2 - gnu/packages/maths.scm | 1 - gnu/packages/matrix.scm | 4 - gnu/packages/messaging.scm | 6 +- gnu/packages/mp3.scm | 3 +- gnu/packages/music.scm | 9 +- gnu/packages/networking.scm | 2 +- gnu/packages/openstack.scm | 7 +- gnu/packages/package-management.scm | 8 +- ...-pixell-avoid-dependency-propagation.patch | 17 + gnu/packages/patchutils.scm | 2 +- gnu/packages/pdf.scm | 6 +- gnu/packages/potassco.scm | 3 +- gnu/packages/protobuf.scm | 4 +- gnu/packages/python-check.scm | 40 +- gnu/packages/python-compression.scm | 25 +- gnu/packages/python-crypto.scm | 6 +- gnu/packages/python-science.scm | 39 +- gnu/packages/python-web.scm | 220 ++------ gnu/packages/python-xyz.scm | 517 ++++++------------ gnu/packages/radio.scm | 4 +- gnu/packages/rdf.scm | 4 +- gnu/packages/serialization.scm | 1 - gnu/packages/shells.scm | 1 - gnu/packages/simulation.scm | 3 - gnu/packages/sphinx.scm | 2 - gnu/packages/statistics.scm | 18 +- gnu/packages/syndication.scm | 8 +- gnu/packages/task-management.scm | 1 - gnu/packages/telegram.scm | 4 +- gnu/packages/terminals.scm | 16 +- gnu/packages/textutils.scm | 4 - gnu/packages/time.scm | 23 +- gnu/packages/version-control.scm | 2 - gnu/packages/virtualization.scm | 7 +- gnu/packages/vpn.scm | 2 - gnu/packages/web.scm | 8 +- gnu/packages/wm.scm | 2 - gnu/packages/xml.scm | 2 +- guix/build-system/pyproject.scm | 2 + guix/build/pyproject-build-system.scm | 102 +++- guix/import/pypi.scm | 21 +- guix/lint.scm | 10 +- tests/pypi.scm | 3 +- 73 files changed, 524 insertions(+), 1024 deletions(-) create mode 100644 gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:31:06 GMT) Full text and rfc822 format available.Message #469 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> Subject: [PATCH v5 03/48] guix: import: pypi: Ignore pypi-ignored-inputs. Date: Thu, 27 Feb 2025 15:27:04 +0100
* guix/import/pypi.scm (pypi-ignored-inputs): New variable. (compute-inputs): Use it. * tests/pypi.scm (parse-requires.txt): Add ignored input to test the feature. * guix/lint.scm (check-inputs-should-be-native): Adapt list. (check-inputs-should-not-be-an-input-at-all): Use pypi-ignored-list. Change-Id: I774e526c5a090026e778ee44049637174a1dca95 --- guix/import/pypi.scm | 21 ++++++++++++++++++--- guix/lint.scm | 10 ++++++---- tests/pypi.scm | 3 ++- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 4af02dd250..a49ab1e429 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Vivien Kraus <vivien <at> planete-kraus.eu> ;;; Copyright © 2021 Simon Tournier <zimon.toutoune <at> gmail.com> ;;; Copyright © 2022 Hartmut Goebel <h.goebel <at> crazy-compilers.com> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -62,6 +63,7 @@ (define-module (guix import pypi) #:use-module (guix upstream) #:use-module ((guix licenses) #:prefix license:) #:export (%pypi-base-url + pypi-ignored-inputs parse-requires.txt parse-wheel-metadata specification->requirement-name @@ -78,6 +80,18 @@ (define %pypi-base-url ;; Base URL of the PyPI API. (make-parameter "https://pypi.org/pypi/")) +(define pypi-ignored-inputs + ;; This list contains packages that are useful for development or quality + ;; testing, but that most of the time are not necessary to have as an input. + (list "argparse" ; native + "tox" ; test wrapper for other environments + "codecov" "coverage" ; coverage + "black" "isort" "pycodestyle" "pep8" ; style + "pyflakes" "flake8" "pylint" "mypy" ; style+lint + "coveralls" "twine" ; upload integration tools + "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black" + "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit")) ; variants + (define non-empty-string-or-false (match-lambda ("" #f) @@ -464,9 +478,10 @@ (define (compute-inputs source-url wheel-url archive) "Given the SOURCE-URL and WHEEL-URL of an already downloaded ARCHIVE, return the corresponding list of <upstream-input> records." (define (requirements->upstream-inputs deps type) - (filter-map (match-lambda - ("argparse" #f) - (name (upstream-input + (filter-map (lambda (name) + (if (member name pypi-ignored-inputs) + #f + (upstream-input (name name) (downstream-name (python->package-name name)) (type type)))) diff --git a/guix/lint.scm b/guix/lint.scm index d54db725b5..caa4f63f88 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -73,6 +73,7 @@ (define-module (guix lint) hg-reference-url) #:autoload (guix bzr-download) (bzr-reference? bzr-reference-url) + #:use-module ((guix import pypi) #:select (pypi-ignored-inputs)) #:use-module (guix import stackage) #:use-module (ice-9 match) #:use-module (ice-9 regex) @@ -588,14 +589,12 @@ (define (check-inputs-should-be-native package) "m4" "qttools-5" "yasm" "nasm" "fasm" - "python-coverage" "python-cython" "python-docutils" "python-mock" "python-nose" "python-pbr" "python-pytest" - "python-pytest-cov" "python-setuptools-scm" "python-sphinx" "scdoc" @@ -617,8 +616,11 @@ (define (check-inputs-should-be-native package) (define (check-inputs-should-not-be-an-input-at-all package) ;; Emit a warning if some inputs of PACKAGE are likely to should not be ;; an input at all. - (let ((input-names '("python-pip" - "python-pre-commit"))) + (let ((input-names (append + '("python-pip" + "python-pre-commit") + (map (cut string-append "python-" <>) + pypi-ignored-inputs)))) (map (lambda (input) (make-warning package diff --git a/tests/pypi.scm b/tests/pypi.scm index 3fbce1786f..f848325ad7 100644 --- a/tests/pypi.scm +++ b/tests/pypi.scm @@ -97,6 +97,7 @@ (define test-requires.txt "\ [test] pytest (>=2.5.0) +pytest-cov # read but ignored ") ;; Beaker contains only optional dependencies. @@ -258,7 +259,7 @@ (define-syntax-rule (with-pypi responses body ...) (map specification->requirement-name test-specifications)) (test-equal "parse-requires.txt" - (list '("foo" "bar") '("pytest")) + (list '("foo" "bar") '("pytest" "pytest-cov")) (mock ((ice-9 ports) call-with-input-file call-with-input-string) (parse-requires.txt test-requires.txt))) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:31:09 GMT) Full text and rfc822 format available.Message #472 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> Subject: [PATCH v5 04/48] build-system/pyproject: Ignore unwanted pytest flags. Date: Thu, 27 Feb 2025 15:27:05 +0100
* guix/build/pyproject-build-system.scm : Ignore unwanted pytest flags. Change-Id: Ib9f1602e5af11227e5b7ce124f0f9be4fa2b78e4 --- guix/build/pyproject-build-system.scm | 99 ++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 3 deletions(-) diff --git a/guix/build/pyproject-build-system.scm b/guix/build/pyproject-build-system.scm index 947d240114..2df9f2f479 100644 --- a/guix/build/pyproject-build-system.scm +++ b/guix/build/pyproject-build-system.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Lars-Dominik Braun <lars <at> 6xq.net> ;;; Copyright © 2022 Marius Bakke <marius <at> gnu.org> +;;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,8 @@ (define-module (guix build pyproject-build-system) add-installed-pythonpath site-packages python-version - pyproject-build)) + pyproject-build + with-guix-pytest-plugin)) ;;; Commentary: ;;; @@ -142,7 +144,94 @@ (define* (build #:key outputs build-backend backend-path configure-flags #:allow wheel-dir config-settings))) -(define* (check #:key tests? test-backend test-flags #:allow-other-keys) +(define pytest-default-ignore-alist + '(("cov" . ("--cov" "--cov-reset" "--cov-report" "--cov-config" + "--no-cov-on-fail" "--no-cov" "--cov-fail-under" + "--cov-append" "--cov-branch" "--cov-context")) + ("mypy" . ("--mypy" "--mypy-config-file" "--mypy-ignore-missing-imports")) + ("isort" . ("--isort")) + ("flake8" . ("--flake8")) + ("black" . ("--black")) + ("flakes" . ("--flakes")) + ("pep8" . ("--pep8")))) + +(define (pytest-ignore-flags-plugin flags) + "This function converts an list of flags into a string that can + be instantiated as a python pytest plugin." + (format #f "\ +import pytest + +def pytest_addoption(parser): + group = parser.getgroup('guix','Guix ignored options') + options = [~{~s, ~}] + for option in options: + group.addoption(option, action='append', nargs='?')" + flags)) + +(define (call-with-guix-pytest-plugin inputs thunk) + "This function emulates command line options provided by pytest plugins in +the absence of the plugins defining these options. + +This is done by selecting absent plugins, gettings their flags defined in +PYTEST-DEFAULT-IGNORE-ALIST, and generating the plugin from there with +PYTEST-IGNORE-FLAGS-PLUGIN." + (let* ((former-path (getenv "PYTHONPATH")) + (input-names + (map car + (filter (match-lambda + ((name . _) + (if (string-prefix? "python-pytest-" name) + name + #f)) + ( _ #f)) + inputs))) + (filtered-flags + (filter identity + (append-map + (match-lambda + ((group . flags) + (if (member (string-append "python-pytest-" group) + input-names) + (list #f) + flags)) + (_ (list #f))) + pytest-default-ignore-alist))) + (dir (string-append + (if (access? (dirname (getcwd)) W_OK) + (dirname (getcwd)) + ;; fallback if we're already out-of-source + (getcwd)) + "/.guix-pytest"))) + (dynamic-wind + (lambda () + (setenv "PYTHONPATH" + (string-append + (if former-path + (string-append former-path ":") + "") + dir)) + (setenv "PYTEST_PLUGINS" + (string-append + (if (getenv "PYTEST_PLUGINS") + (string-append former-path ",") + "") + "pytest_guix_plugin")) + (mkdir-p dir) + (with-output-to-file (string-append dir "/__init__.py") + (lambda _ (display ""))) + (with-output-to-file (string-append dir "/pytest_guix_plugin.py") + (lambda _ + (display (pytest-ignore-flags-plugin filtered-flags))))) + thunk + (lambda () + (setenv "PYTHONPATH" former-path) + (unsetenv "PYTEST_PLUGINS"))))) + +(define-syntax-rule (with-guix-pytest-plugin inputs exp ...) + "Evaluate EXP in a context where the Guix pytest plugin is added." + (call-with-guix-pytest-plugin inputs (lambda () exp ...))) + +(define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) "Run the test suite of a given Python package." (if tests? ;; Unfortunately with PEP 517 there is no common method to specify test @@ -165,7 +254,8 @@ (define* (check #:key tests? test-backend test-flags #:allow-other-keys) (format #t "Using ~a~%" use-test-backend) (match use-test-backend ('pytest - (apply invoke pytest "-vv" test-flags)) + (with-guix-pytest-plugin inputs + (apply invoke pytest "-vv" test-flags))) ('nose (apply invoke nosetests "-v" test-flags)) ('nose2 @@ -386,3 +476,6 @@ (define* (pyproject-build #:key inputs (phases %standard-phases) (apply python:python-build #:inputs inputs #:phases phases args)) ;;; pyproject-build-system.scm ends here +;;; Local Variables: +;;; eval: (put 'with-guix-pytest-plugin 'scheme-indent-function 1) +;;; End: -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:32:04 GMT) Full text and rfc822 format available.Message #475 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> Subject: [PATCH v5 02/48] gnu: Remove python-pep8. Date: Thu, 27 Feb 2025 15:27:03 +0100
* gnu/packages/python-xyz.scm (python-pep8): Delete variable. (python-cliapp, python-ttystatus)[native-inputs]: Remove python-pep8. * gnu/packages/radio.scm (chirp)[native-inputs]: Remove python-pep8. --- gnu/packages/python-xyz.scm | 27 ++------------------------- gnu/packages/radio.scm | 1 - 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0cb681f401..33e58fb205 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15790,29 +15790,6 @@ (define-public python-sentry-sdk application monitoring and error tracking software.") (license license:bsd-2))) -(define-public python-pep8 - ;; This package has been renamed to ‘pycodestyle’ and is no longer updated. - ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking - ;; some dependents' test suites, and nothing more. - (package - (name "python-pep8") - (version "1.7.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pep8" version)) - (sha256 - (base32 - "002rkl4lsn6x2mxmf8ar00l0m8i3mzrc6pnzz77blyksmpsxa4x1")) - (patches (search-patches "python-pep8-stdlib-tokenize-compat.patch")))) - (build-system python-build-system) - (home-page "https://pep8.readthedocs.org/") - (synopsis "Python style guide checker") - (description - "This tools checks Python code against some of the style conventions in -PEP 8.") - (license license:expat))) - (define-public python-pep8-naming (package (name "python-pep8-naming") @@ -25906,7 +25883,7 @@ (define-public python-cliapp ;; fails due to deprecation warnings, etc. #:tests? #f)) (native-inputs - (list python-coverage-test-runner python-pep8)) + (list python-coverage-test-runner)) (propagated-inputs (list python-pyaml)) (home-page "https://liw.fi/cliapp/") @@ -25932,7 +25909,7 @@ (define-public python-ttystatus (file-name (git-file-name name version)))) (build-system python-build-system) (native-inputs - (list python-coverage-test-runner python-pep8)) + (list python-coverage-test-runner)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index cda2f1907c..d2c8bee76b 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3272,7 +3272,6 @@ (define-public chirp (native-inputs (list python-mock python-mox3 - python-pep8 python-pytest python-pytest-mock python-pyyaml -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:03 GMT) Full text and rfc822 format available.Message #478 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> Subject: [PATCH v5 05/48] build-system/pyproject: Remove python-black inputs. Date: Thu, 27 Feb 2025 15:27:06 +0100
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-liana-py, python-metacells, python-ngesh, scvelo) * gnu/packages/databases.scm (datasette) * gnu/packages/finance.scm (python-trezor) * gnu/packages/graph.scm (python-graphtools) * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-hyperopt, python-captum) * gnu/packages/python-check.scm (python-vcrpy) * gnu/packages/python-web.scm (python-ovh, python-openai, * gnu/packages/python-science.scm (python-scikit-survival) python-starsessions-for-pytorch-lightning) * gnu/packages/python-xyz.scm (python-archspec, python-pydantic-cli, python-imageio, python-update-checker, python-eliot, python-minikanren) * gnu/packages/virtualization.scm (python-transient) [native-inputs]: Remove python-black. * gnu/packages/python-xyz.scm (ptpython, python-get-version)[propagated-inputs]: Remove python-black. --- gnu/packages/bioinformatics.scm | 16 +++++----------- gnu/packages/databases.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/graph.scm | 1 - gnu/packages/jupyter.scm | 1 - gnu/packages/machine-learning.scm | 10 +++------- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 8 +++----- gnu/packages/python-xyz.scm | 19 ++++++------------- gnu/packages/virtualization.scm | 3 +-- 10 files changed, 19 insertions(+), 44 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 6f4c5053b6..00dc20e8b6 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2824,8 +2824,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") @@ -3053,10 +3052,7 @@ (define-public python-liana-py python-tqdm tzdata)) (native-inputs - (list python-black - python-poetry-core - python-pytest - python-pytest-cov)) + (list python-poetry-core python-pytest python-pytest-cov)) (home-page "https://github.com/saezlab/liana-py") (synopsis "LIANA is a ligand-receptor analysis framework") (description "This is a Ligand-Receptor inference framework. The @@ -3172,8 +3168,7 @@ (define-public python-metacells python-scipy python-threadpoolctl python-umap-learn)) - (native-inputs (list python-black - python-bumpversion + (native-inputs (list python-bumpversion python-flake8 python-isort python-mypy @@ -3213,7 +3208,7 @@ (define-public python-ngesh (base32 "07sj4x95b5hvx57pw24f80sk4ag4hkg1z6wzym3pzi8n5gn85n1z")))) (build-system pyproject-build-system) (propagated-inputs (list python-ete3 python-numpy python-six)) - (native-inputs (list python-black python-flake8 python-pytest python-twine + (native-inputs (list python-flake8 python-pytest python-twine python-wheel)) (home-page "https://github.com/tresoldi/ngesh") (synopsis "Library for phylogenetic tree simulation") @@ -24057,8 +24052,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-hypothesis python-pytest python-setuptools-scm diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 3f0a7435d5..fd77fa940c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -5801,7 +5801,6 @@ (define-public datasette (native-inputs (list nss-certs-for-test python-beautifulsoup4 - python-black python-cogapp python-pip python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index bb1234ebd9..9805679597 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1160,7 +1160,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-black python-isort python-pillow python-protobuf diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index f29a71c0d7..75ebbff2db 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-black python-coverage python-coveralls python-nose diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 6c2f549583..f47d8de295 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1157,7 +1157,6 @@ (define-public python-papermill python-tenacity python-tqdm)) (native-inputs (list python-attrs - python-black python-boto3 python-botocore python-bumpversion diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index c051974244..8609ea81bf 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-isort python-nbsphinx python-pandas @@ -2154,8 +2153,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-keras python-mypy python-pandas @@ -2594,8 +2592,7 @@ (define-public python-hyperopt python-six python-tqdm)) (native-inputs - (list python-black - python-nose + (list python-nose python-pymongo python-pytest python-wheel)) @@ -5325,7 +5322,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-black python-flake8 python-flask python-flask-compress diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index ae6d40cec2..508b819cf9 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -888,8 +888,7 @@ (define-public python-scikit-survival python-scikit-learn python-scipy)) (native-inputs - (list python-black - python-pypa-build + (list python-pypa-build python-coverage python-cython-3 python-packaging diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3ab0180fb3..17c36189f7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1604,8 +1604,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-black - python-coverage + (native-inputs (list python-coverage python-flake8 python-isort python-pytest @@ -3014,7 +3013,7 @@ (define-public python-openai and not test_file_cli"))) (propagated-inputs (list python-aiohttp python-requests python-tqdm python-typing-extensions)) - (native-inputs (list python-black python-pytest python-pytest-asyncio + (native-inputs (list python-pytest python-pytest-asyncio python-pytest-mock python-setuptools python-wheel)) (home-page "https://github.com/openai/openai-python") (synopsis "Python client library for the OpenAI API") @@ -10322,8 +10321,7 @@ (define-public python-starsessions python-itsdangerous python-starlette)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-httpx python-mypy python-poetry-core diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 33e58fb205..e348dc9b6b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -396,8 +396,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-black - python-flake8 + (native-inputs (list python-flake8 python-isort python-poetry-core python-pylint @@ -8879,8 +8878,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") @@ -12028,8 +12026,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile)) (native-inputs - (list python-black - python-flake8 + (list python-flake8 python-fsspec python-pytest python-pytest-cov @@ -17596,7 +17593,6 @@ (define-public python-get-version (propagated-inputs (list python-pygments python-pytest - python-pytest-black python-pytest-cov python-setuptools python-testpath)) @@ -23847,8 +23843,7 @@ (define-public ptpython (arguments `(#:tests? #f)) ;there are no tests (propagated-inputs - (list python-appdirs python-black python-jedi python-prompt-toolkit - python-pygments)) + (list python-appdirs python-jedi python-prompt-toolkit python-pygments)) (home-page "https://github.com/jonathanslenders/ptpython") (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features") (description @@ -29234,7 +29229,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-black python-flake8 python-pytest)) + (native-inputs (list python-flake8 python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -33566,8 +33561,7 @@ (define-public python-eliot (propagated-inputs (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs - (list python-black - python-coverage + (list python-coverage python-flake8 python-hypothesis python-pytest @@ -36878,7 +36872,6 @@ (define-public python-minikanren python-pytest python-pytest-cov python-pylint - python-black python-sympy python-versioneer python-coverage)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 9ab65e6c6c..cc0346297e 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2987,8 +2987,7 @@ (define-public python-transient (("==") ">="))))))) (native-inputs - (list python-black - python-mypy + (list python-mypy python-pyhamcrest python-setuptools python-twine -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:04 GMT) Full text and rfc822 format available.Message #481 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> Subject: [PATCH v5 11/48] gnu: python-cram: Remove python-coverage native-input. Date: Thu, 27 Feb 2025 15:27:12 +0100
* gnu/packages/python-xyz.scm (python-cram): [native-inputs]: Remove python-coverage. [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Adapt check and patch-source phases to coverage removal. Change-Id: I83fafcdcfbc977f9d3e3411d01d23d9a0e120ec6 --- gnu/packages/python-xyz.scm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c7468c1beb..fc49715718 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16443,25 +16443,17 @@ (define-public python-cram ;; causes the line showing the default shell to break into two ;; lines, but the test expects a single line... (("env\\['COLUMNS'\\] = '80'") - "env['COLUMNS'] = '160'")) - - (substitute* "Makefile" - ;; Recent versions of python-coverage have caused the test - ;; coverage to decrease (as of version 0.7). Allow that. - (("--fail-under=100") - "--fail-under=90")) - - #t)) + "env['COLUMNS'] = '160'")))) (replace 'check ;; The test phase uses the built library and executable. (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv "PATH" (string-append (getenv "PATH") ":" (assoc-ref outputs "out") "/bin")) - (invoke "make" "test")))))) - (build-system python-build-system) + (invoke "make" "quicktest")))))) + (build-system pyproject-build-system) (native-inputs - (list python-coverage python-setuptools python-wheel which)) + (list python-setuptools python-wheel which)) (synopsis "Simple testing framework for command line applications") (description "Cram is a functional testing framework for command line applications. -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:05 GMT) Full text and rfc822 format available.Message #484 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> Subject: [PATCH v5 09/48] build-system/pyproject: Remove python-coverage native-input. Date: Thu, 27 Feb 2025 15:27:10 +0100
* gnu/packages/jupyter.scm (python-nbclassic, python-papermill) * gnu/packages/openstack.scm (python-hacking, python-oslo.context) * gnu/packages/python-check.scm (python-pytest-testmon) * gnu/packages/python-science.scm (python-scikit-survival, python-modin, python-pynetdicom) * gnu/packages/python-web.scm (python-aioitertools, python-python3-saml, python-zope-i18n-messageid, python-rangehttpserver, python-http-ece, python-zeep) * gnu/packages/python-xyz.scm (python-argopt, python-case, python-pypugjs, python-repoze-lru, python-lsp-jsonrpc, python-pillow-heif, python-legacy-api-wrap, python-waitress, python-gevent, python-twisted, python-mamba, python-bagit, python-typer, python-numcodecs, python-diceware, python-param) * gnu/packages/statistics.scm (python-radian) [native-inputs]: Remove python-coverage. --- gnu/packages/jupyter.scm | 4 +--- gnu/packages/openstack.scm | 6 ++---- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-science.scm | 3 --- gnu/packages/python-web.scm | 13 +++++-------- gnu/packages/python-xyz.scm | 32 +++++++++++--------------------- gnu/packages/statistics.scm | 3 +-- 7 files changed, 21 insertions(+), 43 deletions(-) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 70d894939c..a9f57b2ccc 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -81,8 +81,7 @@ (define-public python-nbclassic python-terminado python-tornado-6 python-traitlets)) - (native-inputs (list python-coverage - python-nbval + (native-inputs (list python-nbval python-jupyter-packaging python-pytest python-pytest-cov @@ -1162,7 +1161,6 @@ (define-public python-papermill python-bumpversion python-check-manifest python-codecov - python-coverage python-ipython python-ipywidgets python-moto diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index ac283bd019..84696a586f 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -153,8 +153,7 @@ (define-public python-hacking (propagated-inputs (list python-flake8)) (native-inputs - (list python-coverage - python-ddt + (list python-ddt python-eventlet python-fixtures python-setuptools @@ -551,8 +550,7 @@ (define-public python-oslo.context (propagated-inputs (list python-debtcollector)) (native-inputs - (list python-coverage - python-fixtures + (list python-fixtures python-hacking python-mypy python-oslotest diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index ebfdd7312e..27abc67c58 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1651,8 +1651,7 @@ (define-public python-pytest-testmon (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/tarpas/pytest-testmon") diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 508b819cf9..2e643f1740 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -889,7 +889,6 @@ (define-public python-scikit-survival python-scipy)) (native-inputs (list python-pypa-build - python-coverage python-cython-3 python-packaging python-pytest @@ -3055,7 +3054,6 @@ (define-public python-modin python-s3fs)) (native-inputs (list python-boto3 - python-coverage python-jinja2 python-lxml python-matplotlib @@ -4061,7 +4059,6 @@ (define-public python-pynetdicom " and not test_pr_level_series" " and not test_scp_cancelled")))) (native-inputs (list python-codespell - python-coverage python-poetry-core python-pytest python-pytest-cov diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6281ca5c8c..70830bb672 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -903,8 +903,7 @@ (define-public python-aioitertools (arguments (list #:tests? #false)) (propagated-inputs (list python-typing-extensions)) (native-inputs - (list python-coverage - python-flake8 + (list python-flake8 python-flit-core python-mypy python-pytest @@ -1577,8 +1576,7 @@ (define-public python-python3-saml (setenv "LD_LIBRARY_PATH" (dirname (search-input-file inputs "lib/libxmlsec1-openssl.so.1.2.37")))))))) (propagated-inputs (list python-isodate python-lxml python-xmlsec)) - (native-inputs (list python-coverage - python-flake8 + (native-inputs (list python-flake8 python-freezegun python-poetry-core python-pytest @@ -3987,7 +3985,7 @@ (define-public python-zope-i18nmessageid (base32 "14mx62khys82p2gmmf3m40x4jmvcz3rndvl6qik2n2qfp13n7ds7")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-setuptools + (list python-setuptools python-wheel python-zope-testrunner)) (propagated-inputs (list python-six)) @@ -8217,7 +8215,7 @@ (define-public python-rangehttpserver (sha256 (base32 "1dx533fsbq1mbz3by7qkm5bh2c253nwvm8214pqbwbfq07kqkwf2")))) (build-system pyproject-build-system) - (native-inputs (list python-coverage python-coveralls python-pytest + (native-inputs (list python-coveralls python-pytest python-setuptools python-wheel)) (home-page "https://github.com/danvk/RangeHTTPServer") (synopsis "SimpleHTTPServer with support for range requests") @@ -8577,7 +8575,7 @@ (define-public python-http-ece (propagated-inputs (list python-cryptography)) (native-inputs - (list python-coverage python-mock python-nose)) + (list python-mock python-nose)) (home-page "https://github.com/web-push-libs/encrypted-content-encoding") (synopsis "Encrypted Content Encoding for HTTP") (description @@ -10134,7 +10132,6 @@ (define-public python-zeep python-requests-toolbelt)) (native-inputs (list nss-certs-for-test - python-coverage python-flake8 python-flake8-blind-except python-flake8-debugger diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d49b153b5f..dfebaf96a3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1408,7 +1408,7 @@ (define-public python-argopt "0ybs7kkp0cpl8zn1lvf7481xhssg1bbhh5la2cjzdm5yibashyxa")))) (build-system python-build-system) (native-inputs - (list python-coverage python-nose python-setuptools ; Won't build without this. + (list python-nose python-setuptools ; Won't build without this. python-setuptools-scm)) (propagated-inputs (list python-toml python-flake8)) @@ -4690,8 +4690,6 @@ (define-public python-case (build-system python-build-system) (propagated-inputs (list python-mock python-nose python-six)) - (native-inputs - (list python-coverage)) (home-page "https://github.com/celery/case") (synopsis "Unittest utilities and convenience methods") (description @@ -7214,8 +7212,7 @@ (define-public python-pypugjs ;; pyramid is outdated and pyramid-mako is unpackaged. (substitute* "setup.cfg" (("'(pyramid|pyramid-mako)[^']*',") ""))))))) - (native-inputs (list python-coverage - python-django + (native-inputs (list python-django python-jinja2 python-flake8 python-flask @@ -7825,7 +7822,7 @@ (define-public python-repoze-lru (base32 "0xzz1aw2smy8hdszrq8yhnklx6w1r1mf55061kalw3iq35gafa84")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-nose python-setuptools python-wheel)) + (list python-nose python-setuptools python-wheel)) (home-page "https://www.repoze.org") (synopsis "Tiny LRU cache implementation and decorator") (description @@ -8690,8 +8687,7 @@ (define-public python-lsp-jsonrpc "04n95h0cqnsrdyh1gv0abh2i5ynyrq2wfqpppx9djp7mxr9y9226")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-pycodestyle + (list python-pycodestyle python-pyflakes python-pytest python-pytest-cov @@ -11463,7 +11459,6 @@ (define-public python-pillow-heif (inputs (list libheif)) (propagated-inputs (list python-pillow)) (native-inputs (list opencv ; for opencv-python - python-coverage python-defusedxml python-numpy python-packaging @@ -17688,8 +17683,7 @@ (define-public python-legacy-api-wrap "1d5jyd8d2wxm6y0s39wwqw87gdm4zqlbyz78cf3yqbrim1xdch4w")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-hatch-vcs + (list python-hatch-vcs python-hatchling python-pytest)) (home-page "https://github.com/flying-sheep/legacy-api-wrap") @@ -20815,7 +20809,7 @@ (define-public python-waitress ;; https://github.com/Pylons/waitress/issues/443 (list #:test-flags #~(list "-k" "not test_service_port"))) (native-inputs - (list python-coverage python-pytest python-pytest-cov + (list python-pytest python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/Pylons/waitress") (synopsis "Waitress WSGI server") @@ -22309,7 +22303,6 @@ (define-public python-gevent (list python-greenlet python-zope-event python-zope-interface)) (native-inputs (list python-cffi - python-coverage python-cython python-dnspython python-idna @@ -22412,7 +22405,6 @@ (define-public python-twisted python-zope-interface)) (native-inputs (list glibc-utf8-locales ;for OpenTestLogTests.test_utf8 - python-coverage python-hatch-fancy-pypi-readme python-hatchling python-httpx @@ -26105,7 +26097,7 @@ (define-public python-mamba (build-system python-build-system) (arguments `(#:tests? #f)) ; No test (propagated-inputs - (list python-clint python-coverage)) + (list python-clint)) (home-page "https://nestorsalceda.com/mamba/") (synopsis "Test runner for Python") (description @@ -26869,7 +26861,7 @@ (define-public python-bagit "1m6y04qmig0b5hzb35lnaw3d2yfydb7alyr1579yblvgs3da6j7j")))) (build-system python-build-system) (native-inputs - (list python-setuptools-scm python-coverage python-mock)) + (list python-setuptools-scm python-mock)) (home-page "https://libraryofcongress.github.io/bagit-python/") (synopsis "Create and validate BagIt packages") (description "Bagit is a Python library and command line utility for working @@ -28529,7 +28521,7 @@ (define-public python-typer (propagated-inputs (list python-click)) (native-inputs - (list python-coverage python-flit python-pytest python-rich + (list python-flit python-pytest python-rich python-shellingham)) (home-page "https://github.com/tiangolo/typer") (synopsis "Typer builds CLI based on Python type hints") @@ -29916,8 +29908,7 @@ (define-public python-numcodecs (list c-blosc lz4 zlib `(,zstd "lib"))) (propagated-inputs - (list python-coverage - python-google-crc32c + (list python-google-crc32c python-importlib-metadata python-msgpack python-numpy @@ -33715,7 +33706,7 @@ (define-public python-diceware "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby")))) (build-system python-build-system) (native-inputs - (list python-coverage python-pytest python-pytest-runner)) + (list python-pytest python-pytest-runner)) (home-page "https://github.com/ulif/diceware/") (synopsis "Generates memorable passphrases") (description "This package generates passphrases by concatenating words @@ -34810,7 +34801,6 @@ (define-public python-param (build-system pyproject-build-system) (native-inputs (list python-cloudpickle - python-coverage python-hatchling python-hatch-vcs python-ipython diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 736b90b384..7a02786ab6 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -7208,8 +7208,7 @@ (define-public python-radian (setenv "HOME" "/tmp")))))) (propagated-inputs (list python-prompt-toolkit python-pygments python-rchitect)) - (native-inputs (list python-coverage - python-pexpect + (native-inputs (list python-pexpect python-ptyprocess python-pyte python-pytest -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:06 GMT) Full text and rfc822 format available.Message #487 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> Subject: [PATCH v5 06/48] build-system/pyproject: Remove python-pylint native-input. Date: Thu, 27 Feb 2025 15:27:07 +0100
* gnu/packages/bioinformatics.scm (python-metacells) * gnu/packages/games.scm (open-adventure) * gnu/packages/machine-learning.scm (python-ml-collections) * gnu/packages/potassco.scm (python-clingraph) * gnu/packages/python-xyz.scm (python-archspec, python-lsp-jsonrpc, python-lsp-server, python-mediapy, python-minikanren) * gnu/packages/syndication.scm (rtv, tuir) * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners) * gnu/packages/virtualization.scm (python-qemu-qmp) [native-inputs]: Remove python-pylint. --- gnu/packages/bioinformatics.scm | 1 - gnu/packages/games.scm | 1 - gnu/packages/machine-learning.scm | 3 +-- gnu/packages/potassco.scm | 3 +-- gnu/packages/python-xyz.scm | 5 ----- gnu/packages/syndication.scm | 2 -- gnu/packages/terminals.scm | 3 --- gnu/packages/virtualization.scm | 1 - 8 files changed, 2 insertions(+), 17 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 00dc20e8b6..1a0ae8918e 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3174,7 +3174,6 @@ (define-public python-metacells python-mypy python-mypy-extensions python-pandas-stubs - python-pylint python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 546c513de0..47566c8df1 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7856,7 +7856,6 @@ (define-public open-adventure cppcheck libedit pkg-config - python-pylint python-pyyaml python-wrapper) (if (supported-package? ruby-asciidoctor) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 8609ea81bf..480e534823 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -379,8 +379,7 @@ (define-public python-ml-collections #:test-flags '(list "--pyargs" "ml_collections/config_dict/tests"))) (propagated-inputs (list python-absl-py python-pyyaml)) - (native-inputs (list python-pylint - python-pytest + (native-inputs (list python-pytest python-pytest-xdist python-flit-core)) (home-page "https://github.com/google/ml_collections") diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm index 43e56ec8bf..7c3fe2e309 100644 --- a/gnu/packages/potassco.scm +++ b/gnu/packages/potassco.scm @@ -697,8 +697,7 @@ (define-public python-clingraph python-jsonschema python-networkx python-setuptools)) - (native-inputs (list dot2tex graphviz python-pylint python-pytest - python-wheel)) + (native-inputs (list dot2tex graphviz python-pytest python-wheel)) (home-page "https://github.com/potassco/clingraph") (synopsis "Visualizer for graphs defined as logic programs") (description diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e348dc9b6b..f2c5f7fa63 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -399,7 +399,6 @@ (define-public python-archspec (native-inputs (list python-flake8 python-isort python-poetry-core - python-pylint python-pytest python-pytest-cov)) (home-page "https://github.com/archspec/archspec") @@ -5107,7 +5106,6 @@ (define-public python-mediapy python-pillow)) (native-inputs (list python-flit-core - python-pylint python-pytest python-pytest-xdist)) (home-page "https://github.com/google/mediapy") @@ -8706,7 +8704,6 @@ (define-public python-lsp-jsonrpc (list python-coverage python-pycodestyle python-pyflakes - python-pylint python-pytest python-pytest-cov python-setuptools @@ -9082,7 +9079,6 @@ (define-public python-lsp-server python-matplotlib python-numpy python-pandas - python-pylint python-pytest python-rope python-setuptools @@ -36871,7 +36867,6 @@ (define-public python-minikanren python-pydocstyle python-pytest python-pytest-cov - python-pylint python-sympy python-versioneer python-coverage)) diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index f717cbb3af..fc563a657f 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -501,7 +501,6 @@ (define-public rtv python-coveralls python-coverage python-mock - python-pylint python-pytest python-vcrpy)) (home-page "https://github.com/michael-lazar/rtv") @@ -545,7 +544,6 @@ (define-public tuir (list python-coverage python-coveralls python-mock - python-pylint python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9fdd378cf2..b9dd12803d 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-twine @@ -1211,7 +1210,6 @@ (define-public python-log-symbols (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-wheel)) @@ -1245,7 +1243,6 @@ (define-public python-spinners (native-inputs (list python-coverage python-nose - python-pylint python-setuptools python-tox python-wheel)) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index cc0346297e..bde357763f 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2121,7 +2121,6 @@ (define-public python-qemu-qmp (list python-avocado-framework python-flake8 python-isort - python-pylint python-setuptools python-setuptools-scm python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:07 GMT) Full text and rfc822 format available.Message #490 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> Subject: [PATCH v5 10/48] build-system/pyproject: Remove python-pytest-black native-input. Date: Thu, 27 Feb 2025 15:27:11 +0100
* gnu/packages/check.scm (python-pytest-perf, python-pytest-enabler) [native-inputs]: Remove python-pytest-black. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-black. --- gnu/packages/check.scm | 2 -- gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 9 --------- 3 files changed, 12 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 4263329559..e6aa4d6de6 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2944,7 +2944,6 @@ (define-public python-pytest-enabler python-jaraco-functools python-toml)) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -3118,7 +3117,6 @@ (define-public python-pytest-perf "and not upstream_url")))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 70830bb672..8dd8a58217 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -702,7 +702,6 @@ (define-public python-portend (propagated-inputs (list python-tempora)) ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dfebaf96a3..c7468c1beb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12820,7 +12820,6 @@ (define-public python-importlib-resources (string-append (getcwd) "/_custom_build"))))))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -12971,7 +12970,6 @@ (define-public python-jaraco-classes #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -13005,7 +13003,6 @@ (define-public python-jaraco-collections ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -13066,7 +13063,6 @@ (define-public python-jaraco-context #:test-flags '(list "-k" "not project"))) (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -13101,7 +13097,6 @@ (define-public python-jaraco-functools (native-inputs (list python-jaraco-classes python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-flake8 @@ -13196,7 +13191,6 @@ (define-public python-jaraco-text ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs (list python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -17945,7 +17939,6 @@ (define-public python-path python-packaging python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -18051,7 +18044,6 @@ (define-public python-pip-run (append python-nbformat python-pygments python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler @@ -27923,7 +27915,6 @@ (define-public python-tempora (native-inputs (list python-freezegun python-pytest - python-pytest-black python-pytest-checkdocs python-pytest-cov python-pytest-enabler -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:08 GMT) Full text and rfc822 format available.Message #493 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> Subject: [PATCH v5 07/48] build-system/pyproject: Remove python-flake8 inputs. Date: Thu, 27 Feb 2025 15:27:08 +0100
* gnu/packages/bioinformatics.scm (python-doubletdetection, python-biom-format, python-metacells, python-ngesh) * gnu/packages/ebook.scm (calibre) * gnu/packages/engineering.scm (python-scikit-rf) * gnu/packages/finance.scm (python-mt-940) * gnu/packages/geo.scm (python-geopy) * gnu/packages/gettext.scm (python-mdpo) * gnu/packages/graph.scm (python-pygsp) * gnu/packages/graphviz.scm (python-uqbar) * gnu/packages/machine-learning.scm (python-funsor, python-imbalanced-learn, python-captum, python-pymanopt, python-pyro-api, python-pyro-ppl, python-linear-operator, python-gpytorch) * gnu/packages/python-web.scm (python-ovh, python-furl, python-httplib2, python-http-ece, python-woob, python-starsessions-for-pytorch-lightning) * gnu/packages/python-xyz.scm (python-archspec, python-colorful, python-pymd4c, python-flasgger, python-imageio, python-importlib-ressources, python-seaborn, python-inflect, python-yq, python-update-checker, python-eliot, python-dateparser, python-jinja2-cli, python-verspec, python-mike, python-simple-websocket) * gnu/packages/simulation.scm (python-dolfin-adjoint) * gnu/packages/statistics.scm (python-statsmodels) * gnu/packages/vpn.scm (sshuttle) * gnu/packages/wm.scm (qtile) * gnu/packages/textutils.scm (python-panflute) [native-inputs]: Remove python-flake8. * gnu/packages/music.scm (python-mutagen): [arguments]<#:test-flags>: Ignore flake8 quality tests. [native-inputs]: Remove python-flake8. * gnu/packages/protobuf.scm (python-pure-protobuf): [arguments]<#:phases>: Remove flake8 invocation from check phase. [native-inputs]: Remove python-flake8. --- gnu/packages/bioinformatics.scm | 10 +++------- gnu/packages/ebook.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/finance.scm | 4 +--- gnu/packages/gettext.scm | 1 - gnu/packages/graph.scm | 3 +-- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 15 ++++----------- gnu/packages/music.scm | 4 ++-- gnu/packages/protobuf.scm | 4 +--- gnu/packages/python-web.scm | 15 ++++----------- gnu/packages/python-xyz.scm | 31 ++++++++++++------------------- gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 1 - gnu/packages/textutils.scm | 1 - gnu/packages/vpn.scm | 1 - gnu/packages/wm.scm | 1 - 17 files changed, 28 insertions(+), 67 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1a0ae8918e..bda5ab3a8f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2824,8 +2824,7 @@ (define-public python-doubletdetection python-scipy python-tqdm)) (native-inputs - (list python-flake8 - python-poetry-core + (list python-poetry-core python-pytest)) (home-page "https://github.com/JonathanShor/DoubletDetection") (synopsis @@ -3169,7 +3168,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-flake8 python-isort python-mypy python-mypy-extensions @@ -3207,7 +3205,7 @@ (define-public python-ngesh (base32 "07sj4x95b5hvx57pw24f80sk4ag4hkg1z6wzym3pzi8n5gn85n1z")))) (build-system pyproject-build-system) (propagated-inputs (list python-ete3 python-numpy python-six)) - (native-inputs (list python-flake8 python-pytest python-twine + (native-inputs (list python-pytest python-twine python-wheel)) (home-page "https://github.com/tresoldi/ngesh") (synopsis "Library for phylogenetic tree simulation") @@ -3923,7 +3921,6 @@ (define-public python-biom-format (propagated-inputs (list python-anndata python-click - python-flake8 python-future python-h5py python-numpy @@ -24051,8 +24048,7 @@ (define-public scvelo python-umap-learn pybind11)) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools-scm python-wheel)) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 46ec951916..75e14801dd 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -156,7 +156,6 @@ (define-public calibre (native-inputs (list bash-minimal pkg-config - python-flake8 python-pyqt-builder qtbase-5 ; for qmake xdg-utils)) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8ca3b87ff2..3882a35d6b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2965,7 +2965,6 @@ (define-public python-scikit-rf python-qtpy python-scipy)) (native-inputs (list python-coverage - python-flake8 python-nbval python-networkx python-pytest diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 9805679597..f3be674c01 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2310,9 +2310,7 @@ (define-public python-mt-940 ;; Remove custom --cov flags. (delete-file "pytest.ini") (invoke "pytest" "-vv"))))))) - (native-inputs (list python-flake8 - python-pytest - python-pyyaml)) + (native-inputs (list python-pytest python-pyyaml)) (home-page "https://mt940.readthedocs.io/") (synopsis "Python parser for MT940-encoded SWIFT data") (description diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 7862c296bd..29cdbab915 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -226,7 +226,6 @@ (define-public mdpo (build-system python-build-system) (native-inputs (list python-bump2version - python-flake8 python-flake8-implicit-str-concat python-flake8-print python-isort diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 75ebbff2db..57c4bd05ed 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -570,8 +570,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-flake8 - python-pytest)) + (list python-coverage python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index defd53df73..0d3db31212 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -224,7 +224,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-flake8 python-isort python-mypy python-pytest diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 480e534823..65cb08e2f3 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-flake8 - python-isort + (native-inputs (list python-isort python-nbsphinx python-pandas python-pillow @@ -1143,7 +1142,6 @@ (define-public python-pymanopt ((",!=1.12\\.\\*") ""))))))) (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-autograd - python-flake8 python-flake8-bugbear python-isort python-matplotlib @@ -2152,8 +2150,7 @@ (define-public python-imbalanced-learn (getcwd))))))) (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) - (native-inputs (list python-flake8 - python-keras + (native-inputs (list python-keras python-mypy python-pandas python-pytest @@ -5321,7 +5318,6 @@ (define-public python-captum (list python-matplotlib python-numpy python-pytorch python-tqdm)) (native-inputs (list jupyter python-annoy - python-flake8 python-flask python-flask-compress python-ipython @@ -5842,8 +5838,7 @@ (define-public python-pyro-api (build-system python-build-system) (arguments '(#:tests? #false)) ;requires pyro (native-inputs - (list python-flake8 - python-ipython + (list python-ipython python-pytest python-sphinx python-sphinx-rtd-theme)) @@ -5900,8 +5895,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8 - python-flake8-print + (native-inputs (list python-flake8-print python-pytest python-setuptools python-setuptools-scm @@ -5932,7 +5926,6 @@ (define-public python-gpytorch python-scikit-learn python-scipy)) (native-inputs (list python-coverage - python-flake8 python-flake8-print python-nbval python-pytest diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index bf47489d34..7d28ef4b58 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4116,6 +4116,7 @@ (define-public python-mutagen (build-system pyproject-build-system) (arguments (list + #:test-flags '(list "--ignore=tests/quality/test_flake8.py") #:phases #~(modify-phases %standard-phases (add-before 'check 'remove-hypothesis-deadlines @@ -4126,8 +4127,7 @@ (define-public python-mutagen (("( +)@given" all spaces) (string-append spaces "@settings(deadline=None)\n" all)))))))) (native-inputs - (list python-flake8 - python-hypothesis + (list python-hypothesis python-pytest python-setuptools python-wheel)) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 9d81b1c508..203e4909d6 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -502,7 +502,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-flake8 python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov python-isort)) (arguments `(#:phases (modify-phases %standard-phases @@ -510,8 +510,6 @@ (define-public python-pure-protobuf (lambda _ (invoke "pytest" "--cov-report" "term-missing" "--cov" "pure_protobuf") - (invoke "flake8" "pure_protobuf" "tests" - "--ignore=F541") (invoke "isort" "-rc" "-c" "pure_protobuf" "tests")))))) (home-page "https://pypi.org/project/pure-protobuf/") (synopsis "Protobuf implementation using dataclasses") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 17c36189f7..c654f3f13d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1605,7 +1605,6 @@ (define-public python-ovh (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) (native-inputs (list python-coverage - python-flake8 python-isort python-pytest python-pytest-cov @@ -1921,8 +1920,6 @@ (define-public python-furl (build-system python-build-system) (propagated-inputs (list python-six python-orderedmultidict)) - (native-inputs - (list python-flake8)) (home-page "https://github.com/gruns/furl") (synopsis "URL manipulation in Python") (description "Furl provides an easy-to-use alternative to the @@ -1955,7 +1952,6 @@ (define-public python-httplib2 (("==") ">="))))))) (native-inputs (list python-cryptography - python-flake8 python-future python-mock python-pytest @@ -8583,7 +8579,7 @@ (define-public python-http-ece (propagated-inputs (list python-cryptography)) (native-inputs - (list python-coverage python-flake8 python-mock python-nose)) + (list python-coverage python-mock python-nose)) (home-page "https://github.com/web-push-libs/encrypted-content-encoding") (synopsis "Encrypted Content Encoding for HTTP") (description @@ -9048,8 +9044,7 @@ (define-public python-simple-websocket ;; Requires Internet access to resolve example.com (list #:test-flags '(list "--ignore=tests/test_client.py"))) (propagated-inputs (list python-wsproto)) - (native-inputs (list python-flake8 - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-tox @@ -9660,8 +9655,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-flake8 python-nose python-selenium - python-xunitparser)) + (list python-coverage python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -10321,8 +10315,7 @@ (define-public python-starsessions python-itsdangerous python-starlette)) (native-inputs - (list python-flake8 - python-httpx + (list python-httpx python-mypy python-poetry-core python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f2c5f7fa63..52f7ebde3f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -396,8 +396,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-flake8 - python-isort + (native-inputs (list python-isort python-poetry-core python-pytest python-pytest-cov)) @@ -1555,8 +1554,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-flake8 python-pytest python-setuptools - python-wheel)) + (list python-coverage python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -2926,7 +2924,7 @@ (define-public python-pymd4c (inputs (list md4c)) (native-inputs - (list python-flake8 python-pkgconfig pkg-config)) + (list python-pkgconfig pkg-config)) (home-page "https://github.com/dominickpastore/pymd4c") (synopsis "Python bindings for MD4C") (description @@ -12022,8 +12020,7 @@ (define-public python-imageio (propagated-inputs (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile)) (native-inputs - (list python-flake8 - python-fsspec + (list python-fsspec python-pytest python-pytest-cov python-setuptools @@ -12837,8 +12834,7 @@ (define-public python-importlib-resources (setenv "PYTHONPATH" (string-append (getcwd) "/_custom_build"))))))) (native-inputs - (list python-flake8 - python-pytest + (list python-pytest python-pytest-black python-pytest-checkdocs python-pytest-cov @@ -15110,8 +15106,7 @@ (define-public python-seaborn python-scipy python-statsmodels)) (native-inputs - (list python-flake8 - python-flit-core + (list python-flit-core python-ipykernel python-nbconvert python-numpydoc @@ -28217,7 +28212,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-flake8 python-setuptools-scm python-wheel)) + (list python-coverage python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -29225,7 +29220,7 @@ (define-public python-update-checker (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba")))) (build-system python-build-system) (propagated-inputs (list python-requests)) - (native-inputs (list python-flake8 python-pytest)) + (native-inputs (list python-pytest)) (home-page "https://github.com/bboe/update_checker") (synopsis "Python module that will check for package updates") (description "This package provides a Python module that will check for @@ -33558,7 +33553,6 @@ (define-public python-eliot (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs (list python-coverage - python-flake8 python-hypothesis python-pytest python-pytest-xdist @@ -34346,7 +34340,7 @@ (define-public python-dateparser (list python-dateutil python-pytz python-regex python-ruamel.yaml python-tzlocal)) (native-inputs - (list python-flake8 python-pytest python-parameterized tzdata-for-tests + (list python-pytest python-parameterized tzdata-for-tests python-setuptools python-wheel)) (arguments `(#:phases @@ -35772,8 +35766,7 @@ (define-public python-jinja2-cli (propagated-inputs (list python-jinja2)) (native-inputs - (list python-flake8 - python-jinja2 + (list python-jinja2 python-pytest python-setuptools python-wheel)) @@ -38326,7 +38319,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-flake8 python-mypy + (native-inputs (list python-coverage python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases @@ -38763,7 +38756,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-flake8 python-shtab)) + (list python-coverage python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 3af29aeeaa..1eed4fd180 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1252,7 +1252,6 @@ (define-public python-dolfin-adjoint (list pkg-config python-coverage python-decorator - python-flake8 python-pkgconfig python-pytest)) (propagated-inputs diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index ceca13084e..58975e652f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2670,7 +2670,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-flake8 python-isort python-joblib python-matplotlib diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index c886b009be..1bdd58269c 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1758,7 +1758,6 @@ (define-public python-panflute (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser python-coverage - python-flake8 python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 0b62e8c7cf..53706a8de1 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -1034,7 +1034,6 @@ (define (install-man-page file) (native-inputs (list python-setuptools-scm ;; For tests only. - python-flake8 python-mock python-poetry-core python-pytest-cov diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 0e6153d7bd..8d1bce1009 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -864,7 +864,6 @@ (define-public qtile python-xcffib)) (native-inputs (list pkg-config - python-flake8 python-pep8-naming python-pytest python-pytest-cov -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:09 GMT) Full text and rfc822 format available.Message #496 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> Subject: [PATCH v5 12/48] gnu: u-boot-tools: Remove python-coverage native-input. Date: Thu, 27 Feb 2025 15:27:13 +0100
* gnu/packages/bootloaders.scm (u-boot-tools): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt patch phase. Change-Id: I94394544079197b4a3f8c53cc0b3d78d1f5dc8be --- gnu/packages/bootloaders.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 01497678cd..6c4e4f70f5 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -834,8 +834,7 @@ (define-public u-boot-tools (name "u-boot-tools") (native-inputs (modify-inputs (package-native-inputs u-boot) - (prepend python-coverage - python-filelock + (prepend python-filelock python-pycryptodomex python-pytest python-pytest-xdist))) @@ -851,14 +850,6 @@ (define-public u-boot-tools (("/bin/false") (which "false"))) (substitute* "tools/dtoc/fdt_util.py" (("'cc'") "'gcc'")) - (substitute* "tools/u_boot_pylib/test_util.py" - ;; python3-coverage is simply called coverage in guix. - (("python3-coverage") "coverage") - - ;; Don't require 100% coverage since it's brittle and can - ;; fail with newer versions of coverage or dependencies. - (("raise ValueError\\('Test coverage failure'\\)") - "print('Continuing anyway since Guix does not care :O')")) (substitute* "test/run" ;; Make it easier to find test failures. (("#!/bin/bash") "#!/bin/bash -x") @@ -871,9 +862,9 @@ (define-public u-boot-tools "# run_test \"sandbox_noinst\"") (("run_test \"sandbox_vpl\"") "# run_test \"sandbox_vpl\"") - ;; FIXME: code coverage not working - (("run_test \"binman code coverage\"") - "# run_test \"binman code coverage\"") + ;; Disable code coverage tests. + (("run_test \"(\\w+) code coverage\"" all) + (string-append "# " all)) ;; This test would require internet access. (("\\./tools/buildman/buildman") (which "true"))) (substitute* "test/py/tests/test_sandbox_exit.py" -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:10 GMT) Full text and rfc822 format available.Message #499 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> Subject: [PATCH v5 13/48] gnu: python-aiosqlite: Remove python-coverage native-input. Date: Thu, 27 Feb 2025 15:27:14 +0100
* gnu/packages/databases.scm (python-aiosqlite): [arguments]<#:phases>: Adapt check phase. [native-inputs]: Remove python-coverage. Change-Id: I165d174426022f0603223e3def91ffe280f15899 --- gnu/packages/databases.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index fd77fa940c..3b8d1d9d23 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4141,11 +4141,8 @@ (define-public python-aiosqlite (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "python" "-m" "coverage" "run" "-m" - "aiosqlite.tests") - (invoke "python" "-m" "coverage" "report"))))))) + (invoke "python" "-m" "aiosqlite.tests"))))))) (native-inputs (list python-flit-core - python-coverage python-mypy)) (home-page "https://github.com/jreese/aiosqlite") (synopsis -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:11 GMT) Full text and rfc822 format available.Message #502 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> Subject: [PATCH v5 08/48] build-system/pyproject: Remove python-coverage input. Date: Thu, 27 Feb 2025 15:27:09 +0100
* gnu/packages/astronomy.scm (python-asdf-astropy, python-poliastro) * gnu/packages/bioinformatics.scm (python-ega-download-client, python-scikit-bio, python-cooler) * gnu/packages/check.scm (python-pytest-randomly, python-pytest-flakes, python-aiounittest) * gnu/packages/cpp.scm (cpplint) * gnu/packages/django.scm (python-django-haystack) * gnu/packages/engineering.scm (python-scikit-rf) * gnu/packages/geo.scm (python-geopy) * gnu/packages/gpodder.scm (gpodder) * gnu/packages/graph.scm (python-graphtools, python-pygsp) * gnu/packages/jupyter.scm (python-jupyter-packaging) * gnu/packages/machine-learning.scm (onnx, onnx-optimizer, python-lightning-utilities, python-pytorch-lightning, python-torchmetrics, python-gpytorch) * gnu/packages/music.scm (python-pylast) * gnu/packages/package-management.scm (python-anaconda-client, conda) * gnu/packages/python-check.scm (python-vcrpy, python-re-assert) * gnu/packages/python-compression.scm (python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr) * gnu/packages/python-web.scm (python-ovh, python-zope-interface, python-zope-hookable, python-url, python-transaction, python-sanic, python-woob, python-flask-combo-jsonapi) * gnu/packages/python-xyz.scm (python-affine, python-colorful, python-lunr, python-mdit-py-plugins, python-bidict, python-sh, python-can, python-jsonargparse, python-pyjwt, python-virtualenv-clone, python-pikepdf, python-tasklogger, python-notebook, python-structlog, binwalk, python-argcomplete, python-attrs, python-yq, python-stone, python-identify, python-nodeenv, python-forbiddenfruit, python-eliot, python-pem, python-scikit-build, python-minikanren, python-verspec, python-mike) * gnu/packages/simulation.scm (python-dolfin-adjoint) * gnu/packages/statistics.scm (python-emcee, python-rpy2) * gnu/packages/syndication.scm (rtv, tuir) * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners) * gnu/packages/textutils.scm (python-panflute) * gnu/packages/version-control.scm (pre-commit) * gnu/packages/web.scm (python-httpretty) * gnu/packages/xml.scm (python-xmltodict) [native-inputs]: Remove python-coverage. * gnu/packages/android.scm (python-androguard): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Adapt 'check phase replacement. --- gnu/packages/android.scm | 6 ++-- gnu/packages/astronomy.scm | 6 ++-- gnu/packages/bioinformatics.scm | 8 ++--- gnu/packages/check.scm | 7 ++-- gnu/packages/cpp.scm | 3 +- gnu/packages/django.scm | 3 +- gnu/packages/engineering.scm | 3 +- gnu/packages/gpodder.scm | 3 +- gnu/packages/graph.scm | 3 +- gnu/packages/jupyter.scm | 2 +- gnu/packages/machine-learning.scm | 12 ++----- gnu/packages/music.scm | 3 +- gnu/packages/package-management.scm | 6 ++-- gnu/packages/python-check.scm | 2 +- gnu/packages/python-compression.scm | 14 +++----- gnu/packages/python-web.scm | 18 ++++------ gnu/packages/python-xyz.scm | 55 ++++++++++------------------- gnu/packages/simulation.scm | 1 - gnu/packages/statistics.scm | 6 ++-- gnu/packages/syndication.scm | 4 +-- gnu/packages/terminals.scm | 9 ++--- gnu/packages/textutils.scm | 1 - gnu/packages/version-control.scm | 1 - gnu/packages/web.scm | 1 - gnu/packages/xml.scm | 2 +- 25 files changed, 59 insertions(+), 120 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index bafca18abe..58d3815d2a 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1076,11 +1076,9 @@ (define-public python-androguard (replace 'check ;; Adapted from .travis.yml (lambda _ - (invoke "nosetests" "--with-coverage" "--with-timer" - "--timer-top-n" "50")))))) + (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-coverage python-mock python-nose - python-nose-timer)) + (list python-codecov python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a3aedac986..8c47e7c61c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1729,8 +1729,7 @@ (define-public python-asdf-astropy (add-before 'check 'set-home-env (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-h5py + (list python-h5py python-pandas python-pytest python-pytest-astropy @@ -4630,8 +4629,7 @@ (define-public python-poliastro (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-mypy python-flit-core python-pytest diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index bda5ab3a8f..12a18cbf80 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3701,8 +3701,7 @@ (define-public python-ega-download-client (propagated-inputs (list python-htsget python-psutil python-requests python-tqdm python-urllib3)) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pyfakefs python-pytest python-responses @@ -6462,7 +6461,7 @@ (define-public python-scikit-bio python-requests python-scipy)) (native-inputs - (list python-coverage python-pytest)) + (list python-pytest)) (home-page "https://scikit-bio.org") (synopsis "Data structures, algorithms and educational resources for bioinformatics") (description @@ -19937,8 +19936,7 @@ (define-public python-cooler python-scipy python-simplejson)) (native-inputs - (list python-coverage - python-hatchling + (list python-hatchling python-isort python-pytest python-pytest-cov)) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index baa3a2f4c3..4263329559 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1972,8 +1972,7 @@ (define-public python-pytest-randomly "not reordered " "and not test_it_runs_before_stepwise " "and not test_entrypoint_injection")))))))) - (native-inputs (list python-coverage - python-factory-boy + (native-inputs (list python-factory-boy python-faker python-numpy python-pytest-xdist)) @@ -3162,7 +3161,7 @@ (define-public python-pytest-flakes #:test-flags '(list "-k" "not test_syntax_error"))) (native-inputs - (list python-coverage python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-pyflakes)) (home-page "https://github.com/fschulze/pytest-flakes") @@ -4194,7 +4193,7 @@ (define-public python-aiounittest #t))))) (propagated-inputs (list python-wrapt)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/kwarunek/aiounittest") (synopsis "Test asyncio code more easily") diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index a456bf3b51..21aa13b73c 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1399,8 +1399,7 @@ (define-public cpplint (setenv "GUIX_PYTHONPATH" (getenv "TMP_PYTHONPATH"))))))) (native-inputs - (list python-coverage - python-pytest + (list python-pytest python-pytest-cov python-pytest-runner python-setuptools diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index cb9df0d2df..1a66dc8b0b 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -510,8 +510,7 @@ (define-public python-django-haystack (list python-django python-packaging)) ;; (inputs (list gdal)) ; it's optional, tests fail when provided (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-geopy python-pysolr python-requests diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3882a35d6b..cc84a760e9 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2964,8 +2964,7 @@ (define-public python-scikit-rf python-pyqtgraph python-qtpy python-scipy)) - (native-inputs (list python-coverage - python-nbval + (native-inputs (list python-nbval python-networkx python-pytest python-pytest-cov diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm index c3e1c9b496..57e14ee93f 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -65,7 +65,6 @@ (define-public gpodder (build-system python-build-system) (native-inputs (list intltool - python-coverage python-minimock python-pytest python-pytest-cov @@ -169,7 +168,7 @@ (define-public python-mygpoclient "05hmjdb73m7vl6lzvh58bnliy4227pv8hprwfka0bg19cnvgpyf5")))) (build-system python-build-system) (native-inputs - (list python-coverage python-minimock python-nose python-pytest)) + (list python-minimock python-nose python-pytest)) (arguments '(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 57c4bd05ed..a11667b678 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coverage python-coveralls python-nose python-nose2 @@ -570,7 +569,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coverage python-coveralls python-pytest)) + (list python-coveralls python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index f47d8de295..70d894939c 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -519,7 +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-coverage python-pytest + (list python-pypa-build python-pytest python-pytest-cov python-pytest-mock)) (home-page "https://jupyter.org") (synopsis "Jupyter packaging utilities") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 65cb08e2f3..2caa64cc08 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1589,7 +1589,6 @@ (define args (list cmake-minimal googletest pybind11 - python-coverage python-fb-re2 python-parameterized python-pytest @@ -1667,8 +1666,7 @@ (define-public onnx-optimizer " and not test_fuse_transpose"))))))))) (native-inputs (append - (list cmake-minimal python-pytest python-pytest-runner - python-coverage) + (list cmake-minimal python-pytest python-pytest-runner) (filter (lambda (pkg) (member (or (%current-target-system) @@ -5279,8 +5277,7 @@ (define-public python-lightning-utilities "016zikn39apig3y6xyipw34w0w02c73z483radddbf68ivpjgz3r")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-setuptools + (list python-setuptools python-wheel)) (propagated-inputs (list python-importlib-metadata @@ -5471,7 +5468,6 @@ (define-public python-pytorch-lightning (native-inputs (list python-aiohttp python-cloudpickle - python-coverage python-flaky python-pympler python-pytest @@ -5509,7 +5505,6 @@ (define-public python-torchmetrics python-lightning-utilities)) (native-inputs (list python-cloudpickle - python-coverage python-fire python-mir-eval python-mypy @@ -5925,8 +5920,7 @@ (define-public python-gpytorch python-mpmath python-scikit-learn python-scipy)) - (native-inputs (list python-coverage - python-flake8-print + (native-inputs (list python-flake8-print python-nbval python-pytest python-setuptools diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 7d28ef4b58..ae2afb8441 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4229,8 +4229,7 @@ (define-public python-pylast ;; https://github.com/pylast/pylast/issues/105 (arguments '(#:tests? #f)) (native-inputs - (list python-coverage python-pytest python-flaky python-pyyaml - python-setuptools-scm)) + (list python-pytest python-flaky python-pyyaml python-setuptools-scm)) (home-page "https://github.com/pylast/pylast") (synopsis "Python interface to Last.fm and Libre.fm") (description "A Python interface to Last.fm and other API-compatible diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 7b3756d0aa..7605e4073d 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1107,8 +1107,7 @@ (define-public python-anaconda-client python-requests python-setuptools)) (native-inputs - (list python-coverage - python-dateutil + (list python-dateutil python-freezegun python-mock python-pillow @@ -1296,8 +1295,7 @@ (define-public conda ;; XXX: This is dragged in by libarchive and is needed at runtime. zstd)) (native-inputs - (list python-coverage - python-flaky + (list python-flaky python-pytest-cov python-pytest-timeout python-pytest-xprocess diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c969499521..ebfdd7312e 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1625,7 +1625,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-coverage python-pytest)) + (list python-covdefaults python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5b994d408f..dfe819733e 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -163,7 +163,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coverage python-coveralls python-hypothesis python-pyannotate @@ -306,8 +305,7 @@ (define-public python-pybcj (build-system pyproject-build-system) (propagated-inputs (list python-importlib-metadata)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-cov python-setuptools-scm @@ -340,8 +338,7 @@ (define-public python-bcj-cffi (propagated-inputs (list python-cffi python-toml python-setuptools-scm)) (native-inputs - (list python-setuptools python-coverage python-pytest - python-pytest-cov)) + (list python-setuptools python-pytest python-pytest-cov)) (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 / @@ -466,8 +463,7 @@ (define-public python-pyppmd "03w4x26mar0ha73c3v39psn1i0k6xrzwmaxfsxysic73jz99np07")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-benchmark python-pytest-cov @@ -500,7 +496,6 @@ (define-public python-ppmd-cffi (native-inputs (list python-hypothesis python-setuptools-scm - python-coverage python-pytest python-pytest-cov)) (home-page "https://github.com/miurahr/ppmd") @@ -535,8 +530,7 @@ (define-public python-py7zr python-pyzstd python-texttable)) (native-inputs - (list python-coverage - python-setuptools + (list python-setuptools python-coveralls python-libarchive-c python-py-cpuinfo diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c654f3f13d..6281ca5c8c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1604,8 +1604,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-coverage - python-isort + (native-inputs (list python-isort python-pytest python-pytest-cov python-setuptools @@ -3855,8 +3854,7 @@ (define-public python-zope-interface (build-system python-build-system) (arguments '(#:tests? #f)) ; test suite can't find python-zope-testing (native-inputs - (list python-coverage python-nose python-zope-event - python-zope-testing)) + (list python-nose python-zope-event python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.interface") (synopsis "Python implementation of the \"design by contract\" methodology") @@ -4152,7 +4150,7 @@ (define-public python-zope-hookable "0hc82lfr7bk53nvbxvjkibkarngyrzgfk2i6bg8wshl0ly0pdl19")))) (build-system python-build-system) (native-inputs - (list python-coverage python-zope-testing)) + (list python-zope-testing)) (home-page "https://github.com/zopefoundation/zope.hookable") (synopsis "Zope hookable") (description "This package supports the efficient creation of hookable @@ -5611,7 +5609,7 @@ (define-public python-url (propagated-inputs (list python-publicsuffix)) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (arguments `(#:tests? #f)) ; FIXME: tests fail with "ImportError: No module named 'tests'" (home-page "https://github.com/seomoz/url-py") @@ -8434,7 +8432,7 @@ (define-public python-transaction (propagated-inputs (list python-zope-interface)) (native-inputs - (list python-coverage python-mock python-nose)) + (list python-mock python-nose)) (home-page "https://github.com/zopefoundation/transaction") (synopsis "Transaction management for Python") (description "This package contains a generic transaction implementation @@ -8911,7 +8909,6 @@ (define-public python-sanic (list python-bandit python-beautifulsoup4 python-chardet - python-coverage python-cryptography python-docutils python-mypy @@ -9655,7 +9652,7 @@ (define-public python-woob python-six python-unidecode)) (native-inputs - (list python-coverage python-nose python-selenium python-xunitparser)) + (list python-nose python-selenium python-xunitparser)) (home-page "https://woob.tech/") (synopsis "Woob, Web Outside Of Browsers") (description "Woob is a collection of applications able to interact with @@ -9704,8 +9701,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 52f7ebde3f..d49b153b5f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1387,7 +1387,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-flake8 python-pydocstyle + (propagated-inputs (list python-coveralls python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -1554,7 +1554,7 @@ (define-public python-colorful (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") @@ -1679,8 +1679,7 @@ (define-public python-lunr '(list "-k" "not TestLanguageSupport" "--ignore-glob=tests/acceptance_tests/*"))) (native-inputs - (list python-coverage - python-hatch-fancy-pypi-readme + (list python-hatch-fancy-pypi-readme python-hatchling python-pytest python-pytest-timeout @@ -1713,8 +1712,7 @@ (define-public python-mdit-py-plugins (list python-markdown-it-py python-attrs)) (native-inputs - (list python-coverage - python-flit-core + (list python-flit-core python-pytest python-pytest-cov python-pytest-regressions)) @@ -3337,8 +3335,7 @@ (define-public python-bidict "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g")))) (build-system python-build-system) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-py python-pytest python-pytest-benchmark @@ -3706,8 +3703,6 @@ (define-public python-sh ;; XXX: A Python 2 test fails when HOME=/homeless-shelter. (setenv "HOME" "/tmp") (invoke "python" "sh.py" "test")))))) - (native-inputs - (list python-coverage)) (home-page "https://github.com/amoffat/sh") (synopsis "Python subprocess replacement") (description "This package provides a replacement for Python's @@ -4300,7 +4295,6 @@ (define-public python-can (native-inputs (list ;; python-canalystii ; Not packed yet python-codecov - python-coverage python-future python-hypothesis python-mock @@ -5214,7 +5208,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-coverage python-pycodestyle python-pydantic python-pytest @@ -6752,8 +6745,7 @@ (define-public python-pyjwt "1z85kwr945rbzrn5wabrsmck5x8disa9wc7b3y5gci7w65z5qa39")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage - python-cryptography + (list python-cryptography python-pytest python-sphinx python-sphinx-rtd-theme @@ -7019,7 +7011,6 @@ (define-public python-virtualenv-clone (native-inputs (list python-pytest python-tox python-virtualenv - python-coverage python-wheel python-tomli python-hypothesis)) @@ -11371,7 +11362,6 @@ (define-public python-pikepdf (native-inputs (list pybind11 python-attrs - python-coverage python-hypothesis python-setuptools-scm python-psutil @@ -17415,7 +17405,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coverage python-coveralls python-nose2 + (native-inputs (list python-coveralls python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -19021,8 +19011,7 @@ (define-public python-notebook python-tornado-6 python-traitlets)) (native-inputs - (list python-coverage - python-jupyter-server + (list python-jupyter-server python-nbval python-pytest python-pytest-cov @@ -19784,7 +19773,6 @@ (define-public python-structlog python-hatch-vcs python-hatchling ;; For the tests - python-coverage python-freezegun python-pretend python-pytest @@ -24451,7 +24439,7 @@ (define-public binwalk (lambda _ (setenv "HOME" "")))))) (native-inputs - (list python-coverage python-nose)) + (list python-nose)) (home-page "https://github.com/ReFirmLabs/binwalk") (synopsis "Firmware analysis tool") (description "Binwalk is a tool for analyzing, reverse engineering, and @@ -28212,7 +28200,7 @@ (define-public python-yq (inputs (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-setuptools-scm python-wheel)) + (list python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -29282,7 +29270,7 @@ (define-public python-stone (propagated-inputs (list python-ply python-six)) (native-inputs - (list python-coverage python-mock python-pytest python-pytest-runner)) + (list python-mock python-pytest python-pytest-runner)) (home-page "https://github.com/dropbox/stone") (synopsis "Official Api Spec Language for Dropbox") (description @@ -29557,8 +29545,7 @@ (define-public python-identify ;; system-error "utime" "~A" ("No such file or directory") (delete 'ensure-no-mtimes-pre-1980)))) (native-inputs - (list python-coverage python-pytest python-setuptools - python-ukkonen python-wheel)) + (list python-pytest python-setuptools python-ukkonen python-wheel)) (propagated-inputs (list python-editdistance)) (home-page "https://github.com/chriskuehl/identify") @@ -29657,8 +29644,7 @@ (define-public python-nodeenv "not test_smoke" " and not test_smoke_n_system_special_chars")))) (native-inputs - (list python-coverage - python-mock + (list python-mock python-pytest python-setuptools python-wheel)) @@ -32481,7 +32467,7 @@ (define-public python-forbiddenfruit (lambda _ (invoke "make" "SKIP_DEPS=1")))))) (native-inputs - (list python-nose python-coverage)) + (list python-nose)) (home-page "https://github.com/clarete/forbiddenfruit") (synopsis "Patch python built-in objects") (description "This project allows Python code to extend built-in types.") @@ -33552,8 +33538,7 @@ (define-public python-eliot (propagated-inputs (list python-boltons python-orjson python-pyrsistent python-zope-interface)) (native-inputs - (list python-coverage - python-hypothesis + (list python-hypothesis python-pytest python-pytest-xdist python-setuptools @@ -33586,7 +33571,6 @@ (define-public python-pem (build-system python-build-system) (native-inputs (list python-certifi - python-coverage python-pretend python-pyopenssl python-pytest @@ -35666,7 +35650,6 @@ (define-public python-scikit-build gfortran git-minimal/pinned ;for tests ninja - python-coverage python-cython python-hatchling python-hatch-fancy-pypi-readme @@ -36861,8 +36844,7 @@ (define-public python-minikanren python-pytest python-pytest-cov python-sympy - python-versioneer - python-coverage)) + python-versioneer)) (propagated-inputs (list python-toolz python-cons python-multipledispatch python-etuples python-logical-unification)) @@ -38319,8 +38301,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-coverage python-mypy - python-pretend python-pytest)) + (native-inputs (list python-mypy python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -38756,7 +38737,7 @@ (define-public python-mike "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) (build-system python-build-system) (native-inputs - (list python-coverage python-shtab)) + (list python-shtab)) (propagated-inputs (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) (home-page "https://github.com/jimporter/mike") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 1eed4fd180..375531b1ee 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1250,7 +1250,6 @@ (define-public python-dolfin-adjoint (list fenics openmpi pybind11)) (native-inputs (list pkg-config - python-coverage python-decorator python-pkgconfig python-pytest)) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 58975e652f..736b90b384 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2619,8 +2619,7 @@ (define-public python-emcee (base32 "0zb3ihja3hyj6zjbhkpxhyyppnv58q2jjg0yd1lwmydqdaplvbqi")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) - (native-inputs (list python-coverage - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-setuptools-scm @@ -7135,8 +7134,7 @@ (define-public python-rpy2 r-dbplyr zlib)) (native-inputs - (list python-coverage - python-ipython + (list python-ipython python-numpy python-pandas python-pytest diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index fc563a657f..ff9e18f064 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -499,7 +499,6 @@ (define-public rtv (native-inputs (list ncurses python-coveralls - python-coverage python-mock python-pytest python-vcrpy)) @@ -541,8 +540,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coverage - python-coveralls + (list python-coveralls python-mock python-pytest python-setuptools diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index b9dd12803d..da9f0e3483 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1176,8 +1176,7 @@ (define-public python-halo (propagated-inputs (list python-colorama python-log-symbols python-six python-spinners python-termcolor)) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-twine @@ -1208,8 +1207,7 @@ (define-public python-log-symbols (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-wheel)) @@ -1241,8 +1239,7 @@ (define-public python-spinners (("(.*)==(.*)$" _ dep ver) (string-append dep ">=" ver)))))))) (native-inputs - (list python-coverage - python-nose + (list python-nose python-setuptools python-tox python-wheel)) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 1bdd58269c..792ef1f3b3 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1757,7 +1757,6 @@ (define-public python-panflute (build-system python-build-system) (propagated-inputs (list python-click python-pyyaml)) (native-inputs (list python-configparser - python-coverage python-pandocfilters python-pytest python-pytest-cov diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index d7981fa8cf..14acec2e84 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2567,7 +2567,6 @@ (define-public pre-commit (native-inputs (list git-minimal/pinned python-covdefaults - python-coverage python-distlib python-pytest python-pytest-env diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 4c0213eb67..ad338728fe 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7172,7 +7172,6 @@ (define-public python-httpretty (invoke "nosetests" "--exclude=(passthrough|streaming|httpretty_should_handle)"))))))) (native-inputs (list nss-certs-for-test - python-coverage python-eventlet python-freezegun python-httplib2 diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 10cd6d98fa..4b9f7566a1 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1996,7 +1996,7 @@ (define-public python-xmltodict "08cadlb9vsb4pmzc99lz3a2lx6qcfazyvgk10pcqijvyxlwcdn2h")))) (build-system pyproject-build-system) (native-inputs - (list python-coverage python-nose python-setuptools python-wheel)) + (list python-nose python-setuptools python-wheel)) (home-page "https://github.com/martinblech/xmltodict") (synopsis "Work with XML like you are working with JSON") (description "This package provides a Python library to convert XML to -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:12 GMT) Full text and rfc822 format available.Message #505 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> Subject: [PATCH v5 14/48] gnu: python-openid: Remove python-coverage native-input. Date: Thu, 27 Feb 2025 15:27:15 +0100
* gnu/packages/python-web.scm (python-openid): [native-inputs]: Remove python-coverage. [arguments]<#:phases>: Rewrite check phase. Change-Id: Id4ea5abc531f5fd84b60ff22407eb608f1e6ac29 --- gnu/packages/python-web.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8dd8a58217..4b38c23200 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3179,17 +3179,18 @@ (define-public python-openid "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "coverage" "run" "-m" - "unittest" "openid.test.test_suite"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "-m" "unittest" "openid.test.test_suite") + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-defusedxml)) (native-inputs - (list python-coverage python-psycopg2 python-django)) + (list python-psycopg2 python-django)) (home-page "https://github.com/necaris/python3-openid") (synopsis "OpenID support for servers and consumers") (description "This library provides OpenID authentication for Python, both -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:14 GMT) Full text and rfc822 format available.Message #508 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> Subject: [PATCH v5 16/48] build-system/pyproject: Remove python-pycodestyle native-input. Date: Thu, 27 Feb 2025 15:27:17 +0100
* gnu/packages/bioinformatics.scm (python-screed) * gnu/packages/python-science.scm (python-scipy) * gnu/packages/python-xyz.scm (python-lsp-jsonrpc, python-diff-cover, python-fuzzywuzzy, python-jsonargparse, python-lsp-server, python-orderedmultidict, python-stem) [native-inputs]: Remove python-pycodestyle. --- gnu/packages/bioinformatics.scm | 1 - gnu/packages/python-science.scm | 1 - gnu/packages/python-xyz.scm | 14 +++++--------- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 12a18cbf80..1cec139812 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -11563,7 +11563,6 @@ (define-public python-screed (build-system pyproject-build-system) (native-inputs (list python-importlib-resources - python-pycodestyle python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c4e577af9c..83e66572e3 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -462,7 +462,6 @@ (define-public python-scipy python-doit python-hypothesis python-pooch - python-pycodestyle python-pydevtool python-pytest python-pytest-cov diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c12b4d74f6..446cba77bb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5206,7 +5206,6 @@ (define-public python-jsonargparse python-typeshed-client)) (native-inputs (list python-attrs - python-pycodestyle python-pydantic python-pytest python-pytest-subtests @@ -8686,8 +8685,7 @@ (define-public python-lsp-jsonrpc "04n95h0cqnsrdyh1gv0abh2i5ynyrq2wfqpppx9djp7mxr9y9226")))) (build-system pyproject-build-system) (native-inputs - (list python-pycodestyle - python-pyflakes + (list python-pyflakes python-pytest python-pytest-cov python-setuptools @@ -9051,7 +9049,6 @@ (define-public python-lsp-server python-jedi python-lsp-jsonrpc python-pluggy - python-pycodestyle python-pydocstyle python-ujson python-whatthepatch @@ -11034,7 +11031,7 @@ (define-public python-orderedmultidict (propagated-inputs (list python-six)) (native-inputs - (list python-flake8 python-pycodestyle python-setuptools python-wheel)) + (list python-flake8 python-setuptools python-wheel)) (home-page "https://github.com/gruns/orderedmultidict") (synopsis "Python Ordered Multivalue Dictionary - omdict") (description "This package contains a library for ordered multivalue @@ -23902,7 +23899,7 @@ (define-public python-stem (invoke "./run_tests.py" "--unit") #t))))) (native-inputs - (list python-mock python-pycodestyle python-pyflakes)) + (list python-mock python-pyflakes)) (home-page "https://stem.torproject.org/") (synopsis "Python controller library that allows applications to interact with Tor") @@ -26214,8 +26211,7 @@ (define-public python-diff-cover ;; Dropp check of flake8 in tests. #~(list "-k" "not test_file_does_not_exist"))) (native-inputs - (list python-pycodestyle - python-poetry-core + (list python-poetry-core python-pyflakes python-pylint python-pytest @@ -32812,7 +32808,7 @@ (define-public python-fuzzywuzzy "1s00zn75y2dkxgnbw8kl8dw4p1mc77cv78fwfa4yb0274s96w0a5")))) (build-system python-build-system) (native-inputs - (list python-hypothesis python-pycodestyle python-pytest)) + (list python-hypothesis python-pytest)) (propagated-inputs (list python-levenshtein)) (home-page "https://github.com/seatgeek/fuzzywuzzy") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:16 GMT) Full text and rfc822 format available.Message #511 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> Subject: [PATCH v5 17/48] gnu: python-re-assert: Remove python-covdefaults native-input. Date: Thu, 27 Feb 2025 15:27:18 +0100
* gnu/packages/python-check.scm (python-re-assert): [native-inputs]: Remove python-covdefaults. Change-Id: Ib30c58b69aef7f255e5893ae6f9a33bdf41ac85d --- gnu/packages/python-check.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 27abc67c58..e57438b2ea 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1625,7 +1625,7 @@ (define-public python-re-assert (lambda _ (invoke "pytest" "-vv")))))) (native-inputs - (list python-covdefaults python-pytest)) + (list python-pytest)) (propagated-inputs (list python-regex)) (home-page "https://github.com/asottile/re-assert") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:16 GMT) Full text and rfc822 format available.Message #514 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> Subject: [PATCH v5 19/48] build-system/pyproject: Remove python-codecov native-input. Date: Thu, 27 Feb 2025 15:27:20 +0100
* gnu/packages/android.scm (python-androguard) * gnu/packages/astronomy.scm (python-wiimatch, python-tweakwcs) * gnu/packages/geo.scm (python-geopandas) * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/python-xyz.scm (python-can, python-ddlparse) [native-inputs]: Remove python-codecov. --- gnu/packages/android.scm | 2 +- gnu/packages/astronomy.scm | 9 +++++---- gnu/packages/geo.scm | 3 +-- gnu/packages/jupyter.scm | 1 - gnu/packages/python-xyz.scm | 4 +--- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 58d3815d2a..aa806c475e 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1078,7 +1078,7 @@ (define-public python-androguard (lambda _ (invoke "nosetests" "--with-timer" "--timer-top-n" "50")))))) (native-inputs - (list python-codecov python-mock python-nose python-nose-timer)) + (list python-mock python-nose python-nose-timer)) (propagated-inputs (list python-asn1crypto python-colorama diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 8c47e7c61c..6b31414940 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6703,8 +6703,7 @@ (define-public python-tweakwcs python-stsci-imagestats python-stsci-stimage)) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-scipy python-setuptools @@ -6828,8 +6827,10 @@ (define-public python-wiimatch "15kq7z30m9i286ncs9xvpaq3dq1p5fa47jz21prq146qwr7j6dm8")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy)) - (native-inputs (list python-codecov python-pytest python-pytest-cov - python-pytest-doctestplus python-setuptools-scm + (native-inputs (list python-pytest + python-pytest-cov + python-pytest-doctestplus + python-setuptools-scm python-wheel)) (home-page "https://github.com/spacetelescope/wiimatch") (synopsis diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 54f96fef2b..cf8c140040 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1075,8 +1075,7 @@ (define-public python-geopandas python-pyproj python-shapely)) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-pytest-xdist python-setuptools diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index a9f57b2ccc..1ee99c8602 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1160,7 +1160,6 @@ (define-public python-papermill python-botocore python-bumpversion python-check-manifest - python-codecov python-ipython python-ipywidgets python-moto diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4993783ab8..cd20064c95 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4294,7 +4294,6 @@ (define-public python-can python-setuptools)) (native-inputs (list ;; python-canalystii ; Not packed yet - python-codecov python-future python-hypothesis python-mock @@ -6431,8 +6430,7 @@ (define-public python-ddlparse (base32 "1nh8m6rxslwk05daxshxmgk41qfp18yynydba49b13l4m8dnh634")))) (build-system pyproject-build-system) (native-inputs - (list python-codecov - python-pytest + (list python-pytest python-pytest-cov python-setuptools python-tox -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:17 GMT) Full text and rfc822 format available.Message #517 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> Subject: [PATCH v5 18/48] build-system/pyproject: Remove python-covdefaults native-input. Date: Thu, 27 Feb 2025 15:27:19 +0100
* gnu/packages/python-web.scm (python-devpi-process) * gnu/packages/python-xyz.scm (python-pyproject-api, python-platformdirs) * gnu/packages/version-control.scm (pre-commit) [native-inputs]: Remove python-covdefaults. --- gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 4 +--- gnu/packages/version-control.scm | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d7aa6f3b02..76e13b3af2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -260,7 +260,6 @@ (define-public python-devpi-process python-typing-extensions)) (native-inputs (list nss-certs-for-test - python-covdefaults python-hatchling python-hatch-vcs python-httpx diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 446cba77bb..4993783ab8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23105,8 +23105,7 @@ (define-public python-pyproject-api ;; This fails because wheel shows up in requirements " and not test_setuptools_get_requires_for_build_wheel")))) (native-inputs - (list python-covdefaults - python-hatch-vcs + (list python-hatch-vcs python-hatchling python-pytest python-pytest-cov @@ -37182,7 +37181,6 @@ (define-public python-platformdirs (build-system pyproject-build-system) (native-inputs (list python-appdirs - python-covdefaults python-hatchling python-hatch-vcs python-pytest diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 14acec2e84..8fea330dbb 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2566,7 +2566,6 @@ (define-public pre-commit (invoke "git" "config" "--global" "user.email" "you <at> example.com")))))) (native-inputs (list git-minimal/pinned - python-covdefaults python-distlib python-pytest python-pytest-env -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:18 GMT) Full text and rfc822 format available.Message #520 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> Subject: [PATCH v5 15/48] build-system/pyproject: Remove python-coveralls native-input. Date: Thu, 27 Feb 2025 15:27:16 +0100
* gnu/packages/django.scm (python-django-pipeline)[native-inputs]: Remove python-coveralls. * gnu/packages/geo.scm (python-cartopy)[native-inputs]: Remove python-coveralls. * gnu/packages/graph.scm (python-graphtools, python-pygsp)[native-inputs]: Remove python-coveralls. * gnu/packages/python-compression.scm (python-multivolumefile, python-py7zr)[native-inputs]: Remove python-coveralls. * gnu/packages/python-science.scm (python-trimesh)[native-inputs]: Remove python-coveralls. * gnu/packages/python-web.scm (python-flask-combo-jsonapi, python-rangehttpserver) [native-inputs]: Remove python-coveralls. * gnu/packages/python-xyz.scm (python-affine, python-ddlparse, python-tasklogger, python-minikanren) [native-inputs]: Remove python-coveralls. * gnu/packages/syndication.scm (rtv, tuir)[native-inputs]: Remove python-coveralls. * gnu/packages/telegram.scm (tgcli)[native-inputs]: Remove python-coveralls. --- gnu/packages/django.scm | 3 +-- gnu/packages/graph.scm | 3 +-- gnu/packages/python-compression.scm | 2 -- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 6 ++---- gnu/packages/python-xyz.scm | 8 +++----- gnu/packages/syndication.scm | 4 +--- gnu/packages/telegram.scm | 3 +-- 8 files changed, 10 insertions(+), 22 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 1a66dc8b0b..b7f2e23f9d 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -992,8 +992,7 @@ (define-public python-django-pipeline (list python-jsmin python-css-html-js-minify)) (native-inputs - (list python-coveralls - python-django + (list python-django python-setuptools python-setuptools-scm python-tox diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index a11667b678..f45ab42f0b 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -482,7 +482,6 @@ (define-public python-graphtools (native-inputs (list util-linux ;for lscpu python-anndata - python-coveralls python-nose python-nose2 python-pandas @@ -569,7 +568,7 @@ (define-public python-pygsp ""))))))) (propagated-inputs (list python-numpy python-scikit-image python-scipy)) (native-inputs - (list python-coveralls python-pytest)) + (list python-pytest)) (home-page "https://github.com/epfl-lts2/pygsp") (synopsis "Graph Signal Processing in Python") (description "The PyGSP is a Python package to ease signal processing on diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index dfe819733e..b2e62e1d49 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -163,7 +163,6 @@ (define-public python-multivolumefile (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm - python-coveralls python-hypothesis python-pyannotate python-pytest @@ -531,7 +530,6 @@ (define-public python-py7zr python-texttable)) (native-inputs (list python-setuptools - python-coveralls python-libarchive-c python-py-cpuinfo python-pyannotate diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 2e643f1740..c4e577af9c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -978,8 +978,7 @@ (define-public python-trimesh ;; module 'trimesh' has no attribute '__main__'. (delete 'sanity-check)))) (native-inputs - (list python-coveralls - python-pyinstrument + (list python-pyinstrument python-pytest)) (propagated-inputs (list ;; python-cascadio ; not packed yet, optional diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4b38c23200..d7aa6f3b02 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8215,8 +8215,7 @@ (define-public python-rangehttpserver (sha256 (base32 "1dx533fsbq1mbz3by7qkm5bh2c253nwvm8214pqbwbfq07kqkwf2")))) (build-system pyproject-build-system) - (native-inputs (list python-coveralls python-pytest - python-setuptools python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/danvk/RangeHTTPServer") (synopsis "SimpleHTTPServer with support for range requests") (description @@ -9699,8 +9698,7 @@ (define-public python-flask-combo-jsonapi python-simplejson python-six)) (native-inputs - (list python-coveralls - python-pytest + (list python-pytest python-pytest-runner)) (home-page "https://github.com/AdCombo/flask-combo-jsonapi") (synopsis "Flask extension to quickly create JSON:API 1.0 REST Web APIs") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fc49715718..c12b4d74f6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1387,7 +1387,7 @@ (define-public python-affine (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) - (propagated-inputs (list python-coveralls python-pydocstyle + (propagated-inputs (list python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") @@ -6433,7 +6433,6 @@ (define-public python-ddlparse (build-system pyproject-build-system) (native-inputs (list python-codecov - python-coveralls python-pytest python-pytest-cov python-setuptools @@ -17386,7 +17385,7 @@ (define-public python-tasklogger (base32 "1901mibcp6aiyjy8afnybrxnb0dkbdxlbvjqbr3gginlw7dr18xh")))) (build-system pyproject-build-system) (propagated-inputs (list python-deprecated)) - (native-inputs (list python-coveralls python-nose2 + (native-inputs (list python-nose2 python-numpy python-setuptools python-wheel)) (home-page "https://github.com/scottgigante/tasklogger") (synopsis "Extension to the core Python logging library") @@ -36812,8 +36811,7 @@ (define-public python-minikanren (invoke "python" "-m" "pytest" "-v" "tests/" "kanren/")) #t))))) (native-inputs - (list python-coveralls - python-pydocstyle + (list python-pydocstyle python-pytest python-pytest-cov python-sympy diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index ff9e18f064..56677ef91f 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -498,7 +498,6 @@ (define-public rtv python-requests python-six)) (native-inputs (list ncurses - python-coveralls python-mock python-pytest python-vcrpy)) @@ -540,8 +539,7 @@ (define-public tuir (list python-beautifulsoup4 python-decorator python-kitchen python-requests python-six)) (native-inputs - (list python-coveralls - python-mock + (list python-mock python-pytest python-setuptools python-vcrpy diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index cfcd92fcbc..a4cfc6a9ef 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -839,8 +839,7 @@ (define-public tgcli (add-installed-pythonpath inputs outputs) (invoke "pytest" "tests"))))))) (native-inputs - `(("coveralls" ,python-coveralls) - ("pytest" ,python-pytest) + `(("pytest" ,python-pytest) ("pytest-click" ,python-pytest-click) ("pytest-cov" ,python-pytest-cov) ("mkdocs" ,python-mkdocs) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:19 GMT) Full text and rfc822 format available.Message #523 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> Subject: [PATCH v5 22/48] gnu: python-immutables: Remove python-mypy native-input. Date: Thu, 27 Feb 2025 15:27:23 +0100
* gnu/packages/python-xyz.scm (python-immutables): [origin]: Use git-fetch to use upstream test-data directory. [native-inputs]: Remove python-mypy. [arguments]<#:phases>: Add phase to remove python-mypy native-input. --- gnu/packages/python-xyz.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1cce5e3a54..657ac6e4d0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17202,13 +17202,22 @@ (define-public python-immutables (version "0.21") (source (origin - (method url-fetch) - (uri (pypi-uri "immutables" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/immutables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0jpw9nr2mbzqykigjhqa3a095bx7krwsnmjcxcpj944p8kqglpxm")))) + (base32 "1p5g20y7di5xglk6yyhb010vdmz73q9fsxpq0cm2gksp8mj856y1")))) (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-mypy-dependency + (lambda _ + (delete-file "tests/test_mypy.py") + (delete-file "tests/conftest.py")))))) (native-inputs - (list python-mypy python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/MagicStack/immutables") (synopsis "High-performance immutable mapping type for Python") (description -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:20 GMT) Full text and rfc822 format available.Message #526 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> Subject: [PATCH v5 25/48] build-system/pyproject: Remove python-pytest-cov native-input. Date: Thu, 27 Feb 2025 15:27:26 +0100
* gnu/packages/astronomy.scm (python-sncosmo, python-jwst, python-wiimatch, python-astroml, python-casa-formats-io, python-cdflib, python-poliastro, python-tweakwcs) * gnu/packages/audio.scm (python-resampy, python-librosa, python-pysox) * gnu/packages/backup.scm (borgmatic) * gnu/packages/bioinformatics.scm (python-bed-reader, python-liana-py, python-metacells, python-pysnptools, python-pairtools, cwltool, python-biom-format, python-pyfaidx, python-cooler, python-screed) * gnu/packages/build-tools.scm (meson-python) * gnu/packages/check.scm (python-pytest-nunit, python-pytest-enabler, python-pytest-perf, python-pyhamcrest) * gnu/packages/cpp.scm (cpplint) * gnu/packages/databases.scm (python-redis) * gnu/packages/dav.scm (vdirsyncer, radicale) * gnu/packages/django.scm (python-django-redis, python-django-cleanup, python-django-extensions) * gnu/packages/embedded.scm (mbed-tools) * gnu/packages/engineering.scm (python-scikit-rf) * gnu/packages/finance.scm (fava) * gnu/packages/fontutils.scm (psautohint) * gnu/packages/geo.scm (python-pyogrio, python-geopandas, python-fiona, python-cartopy) * gnu/packages/gettext.scm (mdpo) * gnu/packages/gpodder.scm (gpodder) * gnu/packages/graphviz.scm (python-graphviz, python-uqbar) * gnu/packages/jupyter.scm (python-nbclassic, python-jupyterlab-server, python-hatch-jupyter-builder, python-nbclient, python-papermill, python-jupyter-packaging, python-jupyter-server, python-jupyterlite-core, python-ipydatawidgets) * gnu/packages/machine-learning.scm (python-pymanopt, python-botorch, 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) * gnu/packages/mastodon.scm (python-mastodon-py) * gnu/packages/maths.scm (python-libensemble) * gnu/packages/matrix.scm (python-matrix-nio) * gnu/packages/messaging.scm (zulip-term) * gnu/packages/music.scm (beets, stargate) * gnu/packages/networking.scm (gandi.cli) * gnu/packages/package-management.scm (conda, python-conda-package-handling) * gnu/packages/patchutils.scm (pwclient) * gnu/packages/protobuf.scm (python-pure-protobuf) * gnu/packages/python-check.scm (python-pandas-vet, python-testfixtures, python-vcrpy, python-pytest-filter-subpackage, python-atpublic, python-sybil, python-vulture) * gnu/packages/python-compression.scm (python-zipstream-ng, python-multivolumefile, python-pybcj, python-bcj-cffi, python-pyppmd, python-ppmd-cffi, python-py7zr) * gnu/packages/python-crypto.scm (python-cryptography, python-trustme, python-certauth) * gnu/packages/python-science.scm (python-scikit-misc, python-mpl-scatter-density, python-modin, python-plotnine, python-pynetdicom, python-scipy, python-pandaparallel, python-pyts, python-usetplot, python-pingouin, python-opt-einsum, python-salib) * gnu/packages/python-web.scm (python-devpi-process, python-aiohappyeyeballs, python-cheroot, python-jsonpickle, python-flask-babel, python-url-normalize, python-elasticsearch, python-hupper, python-simple-websocket, python-apiron, python-huggingface-hub, python-portend, python-aiosignal, python-aiostream, python-ovh, python-cbor2, python-httplib2, 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, python-warcio) * gnu/packages/python-xyz.scm (python-archspec, python-colorcet, python-echo, python-rich-tables, python-babel, python-pymarshal, python-expandvars, autokey, python-lsp-jsonrpc, python-pillow, python-property-manager, python-cairocffi, python-jupyter-core, python-ipykernel, python-pubmed-parser, python-urwid, python-prettytable, python-xdoctest, python-waitress, python-rope, python-wcwidth, python-pyproject-api, python-async-lru, python-numcodecs, python-dictpath, python-platformdirs, python-multipart, 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-pymemcache, python-natsort, python-mwclient, python-flasgger, python-tempora, python-outcome, python-apscheduler, python-iocapture, python-argh, python-flit, python-watchdog, 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) * gnu/packages/rdf.scm (python-rdflib, python-rdflib-6) * gnu/packages/simulation.scm (python-fenics-dijitso) * gnu/packages/sphinx.scm (python-sphinx-design, python-sphinx-gallery) * gnu/packages/statistics.scm (python-patsy, python-rchitect, python-pymc, python-emcee, python-rpy2) * gnu/packages/task-management.scm (todoman) * gnu/packages/telegram.scm (tgcli) * gnu/packages/textutils.scm (python-panflute) * gnu/packages/time.scm (python-arrow, python-tzlocal) * gnu/packages/vpn.scm (sshuttle) * gnu/packages/web.scm (anonip, python-tibanna) * gnu/packages/wm.scm (qtile) [native-inputs]: Remove python-pytest-cov. --- gnu/packages/astronomy.scm | 9 +- gnu/packages/audio.scm | 5 +- gnu/packages/backup.scm | 1 - gnu/packages/bioinformatics.scm | 16 +-- gnu/packages/build-tools.scm | 1 - gnu/packages/check.scm | 5 +- gnu/packages/cpp.scm | 1 - gnu/packages/databases.scm | 1 - gnu/packages/dav.scm | 2 - gnu/packages/django.scm | 3 - gnu/packages/embedded.scm | 1 - gnu/packages/engineering.scm | 1 - gnu/packages/fediverse.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/fontutils.scm | 1 - gnu/packages/geo.scm | 4 +- gnu/packages/gettext.scm | 1 - gnu/packages/gpodder.scm | 1 - gnu/packages/graphviz.scm | 2 - gnu/packages/jupyter.scm | 12 +- gnu/packages/machine-learning.scm | 20 +--- gnu/packages/maths.scm | 1 - gnu/packages/matrix.scm | 1 - gnu/packages/messaging.scm | 4 +- gnu/packages/music.scm | 2 - gnu/packages/networking.scm | 2 +- gnu/packages/package-management.scm | 2 - gnu/packages/patchutils.scm | 2 +- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-check.scm | 10 +- gnu/packages/python-compression.scm | 11 +- gnu/packages/python-crypto.scm | 4 +- gnu/packages/python-science.scm | 21 ++-- gnu/packages/python-web.scm | 68 ++++-------- gnu/packages/python-xyz.scm | 163 ++++++++++------------------ gnu/packages/rdf.scm | 4 +- gnu/packages/simulation.scm | 1 - gnu/packages/sphinx.scm | 2 - gnu/packages/statistics.scm | 7 +- gnu/packages/task-management.scm | 1 - gnu/packages/telegram.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 - 46 files changed, 117 insertions(+), 289 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index b4c29480ac..7384da6452 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1952,7 +1952,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") @@ -2022,7 +2022,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)) @@ -2096,7 +2095,6 @@ (define-public python-cdflib (native-inputs (list python-astropy-minimal python-pytest - python-pytest-cov python-pytest-remotedata python-setuptools python-setuptools-scm @@ -3422,7 +3420,6 @@ (define-public python-sncosmo python-cython python-pytest python-pytest-astropy - python-pytest-cov python-setuptools python-wheel)) (home-page "https://sncosmo.readthedocs.org") @@ -4220,7 +4217,6 @@ (define-public python-jwst python-wiimatch)) (native-inputs (list python-colorama python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-openfiles python-requests-mock @@ -4632,7 +4628,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)) @@ -6703,7 +6698,6 @@ (define-public python-tweakwcs python-stsci-stimage)) (native-inputs (list python-pytest - python-pytest-cov python-scipy python-setuptools python-setuptools-scm @@ -6827,7 +6821,6 @@ (define-public python-wiimatch (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-doctestplus python-setuptools-scm python-wheel)) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index d392cd2a73..3c4498d38c 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6644,7 +6644,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} @@ -6674,7 +6674,7 @@ (define-public python-resampy (propagated-inputs (list python-numba python-numpy python-scipy python-six)) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/bmcfee/resampy") (synopsis "Efficient signal resampling") (description @@ -6729,7 +6729,6 @@ (define-public python-librosa (list python-matplotlib python-packaging python-pytest - python-pytest-cov python-resampy python-setuptools python-wheel)) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 13c5590f55..d3e6f7e16d 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 d81791a724..5cb3f86853 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2272,7 +2272,6 @@ (define-public python-bed-reader (when tests? (apply invoke "pytest" "-v" #$output test-flags))))))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-datadir python-pytest-doctestplus python-recommonmark @@ -3051,7 +3050,7 @@ (define-public python-liana-py python-tqdm tzdata)) (native-inputs - (list python-poetry-core python-pytest python-pytest-cov)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/saezlab/liana-py") (synopsis "LIANA is a ligand-receptor analysis framework") (description "This is a Ligand-Receptor inference framework. The @@ -3172,7 +3171,6 @@ (define-public python-metacells python-mypy-extensions python-pandas-stubs python-pytest - python-pytest-cov python-setuptools python-sphinx python-sphinx-rtd-theme @@ -3637,7 +3635,6 @@ (define-public python-pysnptools python-scipy)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-datadir python-pytest-doctestplus python-setuptools @@ -3923,7 +3920,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") @@ -3971,7 +3969,6 @@ (define-public python-pairtools (native-inputs (list python-cython python-pytest - python-pytest-cov python-setuptools python-wheel)) (propagated-inputs @@ -6664,7 +6661,6 @@ (define-public cwltool python-humanfriendly python-mock python-pytest - python-pytest-cov python-pytest-mock python-pytest-runner python-wheel)) @@ -11559,7 +11555,6 @@ (define-public python-screed (native-inputs (list python-importlib-resources python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-setuptools-scm-git-archive @@ -19880,7 +19875,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") @@ -19930,9 +19924,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 6bf0b2ec67..900ca704e6 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 e6aa4d6de6..57e62f6af0 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1874,7 +1874,6 @@ (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)) @@ -2945,7 +2944,6 @@ (define-public python-pytest-enabler python-toml)) (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -3118,7 +3116,6 @@ (define-public python-pytest-perf (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -3672,7 +3669,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 21aa13b73c..7e35ad09f2 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1400,7 +1400,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/databases.scm b/gnu/packages/databases.scm index df2045db9d..d124ba186c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4551,7 +4551,6 @@ (define-public python-redis (list python-numpy python-pytest python-pytest-asyncio-0.23 - python-pytest-cov python-pytest-timeout python-setuptools python-wheel 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 c1cf3b1337..287c6fceee 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 @@ -1034,7 +1033,6 @@ (define-public python-django-redis python-mock python-msgpack python-pytest - python-pytest-cov python-pytest-django python-pytest-mock python-setuptools @@ -1723,7 +1721,6 @@ (define-public python-django-cleanup python-easy-thumbnails python-pillow python-pytest - python-pytest-cov python-pytest-django python-pytest-xdist)) (propagated-inputs 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 fe550d8471..66c75e7930 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2967,7 +2967,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 c660483b56..3375114cf9 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/finance.scm b/gnu/packages/finance.scm index 30ed44aea9..eb676592b3 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2070,7 +2070,6 @@ (define-public fava (list python-babel python-mypy python-pytest - python-pytest-cov python-setuptools python-types-setuptools python-types-simplejson 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 cf8c140040..9fe2db9537 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -898,7 +898,6 @@ (define-public python-pyogrio (inputs (list gdal)) (native-inputs (list python-cython-3 python-pytest - python-pytest-cov python-setuptools python-tomli python-versioneer @@ -1003,7 +1002,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") @@ -1076,7 +1075,6 @@ (define-public python-geopandas python-shapely)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-xdist python-setuptools python-wheel)) 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/gpodder.scm b/gnu/packages/gpodder.scm index 57e14ee93f..b9a06fde8e 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -67,7 +67,6 @@ (define-public gpodder (list intltool python-minimock python-pytest - python-pytest-cov python-pytest-httpserver which)) (inputs 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 70c13115de..8ce856f128 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -84,7 +84,6 @@ (define-public python-nbclassic (native-inputs (list python-nbval python-jupyter-packaging python-pytest - python-pytest-cov python-pytest-jupyter python-pytest-tornasync python-requests @@ -435,7 +434,6 @@ (define-public python-jupyterlab-server python-openapi-spec-validator python-pytest python-pytest-console-scripts - python-pytest-cov python-pytest-jupyter python-pytest-timeout python-requests-mock @@ -518,8 +516,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 @@ -544,7 +541,6 @@ (define-public python-hatch-jupyter-builder (list #:test-flags '(list "-k" "not test_hatch_build"))) (propagated-inputs (list python-hatchling)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mock python-tomli)) (home-page "https://github.com/jupyterlab/hatch-jupyter-builder") @@ -686,7 +682,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") @@ -792,7 +787,6 @@ (define-public python-nbclient python-flaky python-pytest python-pytest-asyncio - python-pytest-cov python-testpath python-xmltodict)) (home-page "https://jupyter.org") @@ -1116,8 +1110,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 @@ -1164,7 +1157,6 @@ (define-public python-papermill python-moto python-notebook python-pytest - python-pytest-cov python-pytest-env python-pytest-mock python-recommonmark diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a7c9e2dc99..360325c768 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1068,8 +1068,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 @@ -1144,7 +1143,6 @@ (define-public python-pymanopt python-flake8-bugbear python-matplotlib python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -2025,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 +2147,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 +3888,7 @@ (define-public python-keras-applications (propagated-inputs (list python-h5py python-numpy)) (native-inputs - (list python-pytest python-pytest-cov - python-pytest-xdist)) + (list python-pytest python-pytest-xdist)) (home-page "https://github.com/keras-team/keras-applications") (synopsis "Reference implementations of popular deep learning models") (description @@ -3918,7 +3914,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 +4055,6 @@ (define-public python-keras python-markdown python-pandas python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-pyux @@ -4157,7 +4151,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") @@ -5222,8 +5216,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 @@ -5318,7 +5311,6 @@ (define-public python-captum python-ipywidgets python-parameterized python-pytest - python-pytest-cov python-scikit-learn python-setuptools)) (home-page "https://captum.ai") @@ -5506,7 +5498,6 @@ (define-public python-torchmetrics python-pandas python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-pytest-rerunfailures python-pytest-timeout @@ -5956,7 +5947,6 @@ (define-public python-botorch python-pytorch python-scipy)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools-scm)) (home-page "https://botorch.org") (synopsis "Bayesian Optimization in PyTorch") diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 22604f5841..f89f5e8faa 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4237,7 +4237,6 @@ (define-public python-libensemble python-mock python-mpi4py python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-wheel)) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index be3edae0dc..970093d345 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -200,7 +200,6 @@ (define-public python-matrix-nio python-pytest-aiohttp python-pytest-asyncio python-pytest-benchmark - python-pytest-cov python-pytest-flake8 python-setuptools python-wheel)) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index fcb05dbda6..644a9a2134 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3240,7 +3240,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 @@ -3253,8 +3252,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/music.scm b/gnu/packages/music.scm index ae2afb8441..7d050ddee7 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4309,7 +4309,6 @@ (define-public beets python-mock python-py7zr python-pytest - python-pytest-cov python-setuptools python-responses python-wheel)) @@ -5349,7 +5348,6 @@ (define-public stargate python-gcovr python-packaging python-pytest - python-pytest-cov python-pytest-runner)) (inputs (list alsa-lib diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 96561fff3a..7947dfebb6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1941,7 +1941,7 @@ (define-public gandi.cli #t)))))) (native-inputs (list python-docutils ; for rst2man.py - python-pytest python-pytest-cov)) + python-pytest)) (propagated-inputs (list openssh)) ; used by gandi/cli/modules/iass.py (inputs diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 7605e4073d..4f00eca017 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1152,7 +1152,6 @@ (define-public python-conda-package-handling (list python-cython python-mock python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) @@ -1296,7 +1295,6 @@ (define-public conda zstd)) (native-inputs (list python-flaky - python-pytest-cov python-pytest-timeout python-pytest-xprocess 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 487c03fa94..c431aedc7d 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -502,7 +502,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 35e043b3c8..c5a94582b9 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -199,7 +199,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 @@ -776,7 +776,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") @@ -1183,7 +1183,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 @@ -2913,7 +2912,7 @@ (define-public python-pandas-vet "__version__ = version = '~a' __version_tuple__ = version_tuple = (~a)~%" version version-tuple))))))))) (propagated-inputs (list python-attrs python-flake8)) - (native-inputs (list python-hatchling python-pytest python-pytest-cov)) + (native-inputs (list python-hatchling python-pytest)) (home-page "https://github.com/deppen8/pandas-vet") (synopsis "Opionated @code{flake8} plugin for @code{pandas} code") (description @@ -3116,7 +3115,6 @@ (define-public python-sybil (native-inputs (list python-mypy python-myst-parser python-pytest - python-pytest-cov python-pyyaml python-seedir python-setuptools @@ -3265,7 +3263,6 @@ (define-public python-vcrpy python-httplib2 python-httpx python-pytest - python-pytest-cov python-pytest-aiohttp python-pytest-asyncio python-pytest-httpbin @@ -3323,7 +3320,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..6ce0f6f14f 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 @@ -792,7 +787,7 @@ (define-public python-zipstream-ng (base32 "1z4zdqqs2rg3z36khgj96bpggv34av337isfv7yxg32prawj687r")))) (build-system pyproject-build-system) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/pR0Ps/zipstream-ng") (synopsis "Streamable zip file generator") (description diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index dbac0f4772..ec4e074a6b 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -445,7 +445,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 @@ -589,7 +589,6 @@ (define-public python-cryptography python-pretend python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-randomly python-pytest-xdist python-setuptools @@ -1471,7 +1470,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 ad60378944..55d522b21c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -463,7 +463,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/") @@ -736,7 +735,6 @@ (define-public python-scikit-misc python-meson-python python-numpy python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://has2k1.github.io/scikit-misc/stable") @@ -1057,7 +1055,6 @@ (define-public python-mpl-scatter-density #:test-flags #~(list "-k" "not test_default_dpi"))) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mpl python-setuptools python-setuptools-scm @@ -1586,7 +1583,6 @@ (define-public python-pandarallel (list python-mkdocs-material python-numpy python-pytest - python-pytest-cov python-pytest-xdist python-setuptools python-wheel)) @@ -1864,8 +1860,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 @@ -2491,8 +2486,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 @@ -2641,7 +2637,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 @@ -3059,7 +3055,6 @@ (define-public python-modin python-pyarrow python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-xdist python-scipy python-sqlalchemy @@ -3202,7 +3197,6 @@ (define-public python-plotnine python-mock python-pandas python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel @@ -3915,7 +3909,7 @@ (define-public python-opt-einsum (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/dgasmith/opt_einsum") (synopsis "Optimizing numpys einsum function") (description @@ -3998,7 +3992,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 @@ -4057,7 +4051,6 @@ (define-public python-pynetdicom (native-inputs (list python-codespell python-poetry-core python-pytest - python-pytest-cov python-pytest-xdist python-sphinx python-sphinx-rtd-theme)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1c419c6722..f0ccbf3b92 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -263,8 +263,7 @@ (define-public python-devpi-process python-hatchling python-hatch-vcs python-httpx - python-pytest - python-pytest-cov)) + python-pytest)) (home-page "https://github.com/devpi/devpi") (synopsis "API to create and use a devpi server process") (description @@ -568,7 +567,6 @@ (define-public python-huggingface-hub python-pydantic-2 python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-env python-pytest-rerunfailures python-pytest-vcr @@ -700,7 +698,6 @@ (define-public python-portend ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged. (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -875,8 +872,7 @@ (define-public python-aiohappyeyeballs (native-inputs (list python-poetry-core python-pytest - python-pytest-asyncio - python-pytest-cov)) + python-pytest-asyncio)) (home-page "https://github.com/aio-libs/aiohappyeyeballs") (synopsis "Happy Eyeballs for asyncio") (description "This library exists to allow connecting with Happy @@ -928,7 +924,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") @@ -1186,11 +1181,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)) @@ -1601,7 +1595,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)) @@ -1624,7 +1617,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)) @@ -1949,7 +1941,6 @@ (define-public python-httplib2 python-future python-mock python-pytest - python-pytest-cov python-pytest-forked python-pytest-randomly python-pytest-timeout @@ -1979,8 +1970,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" @@ -2006,7 +1996,6 @@ (define-public python-cheroot python-portend python-pyopenssl python-pypytools - python-pytest-cov python-pytest-mock python-requests python-requests-toolbelt @@ -2082,7 +2071,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 @@ -2151,7 +2139,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)) @@ -2250,7 +2238,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") @@ -2292,7 +2280,6 @@ (define-public python-jsonpickle python-pymongo python-pytest python-pytest-benchmark - python-pytest-cov python-pytest-enabler python-setuptools python-setuptools-scm @@ -2318,12 +2305,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 @@ -2545,7 +2531,6 @@ (define-public python-flask-babel (native-inputs (list python-poetry-core python-pytest - python-pytest-cov python-pytest-mock)) (propagated-inputs (list python-babel @@ -2851,7 +2836,6 @@ (define-public python-url-normalize (list python-poetry-core python-pytest python-pytest-flakes - python-pytest-cov python-pytest-socket)) (home-page "https://github.com/niksite/url-normalize") (synopsis "URL normalization for Python") @@ -3380,7 +3364,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") @@ -3440,7 +3425,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/") @@ -4451,8 +4435,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 @@ -4717,7 +4702,6 @@ (define-public python-aioftp (list python-async-timeout python-pytest python-pytest-asyncio - python-pytest-cov python-setuptools python-trustme python-wheel)) @@ -4824,7 +4808,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") @@ -6119,7 +6103,6 @@ (define-public python-elasticsearch python-mock python-pytest python-pytest-asyncio - python-pytest-cov python-pyyaml python-requests python-setuptools @@ -7098,8 +7081,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/") @@ -7138,7 +7120,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 @@ -7294,7 +7276,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)) @@ -7655,7 +7636,6 @@ (define-public python-httpcore python-hatchling python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-httpbin python-pytest-trio python-uvicorn @@ -7831,7 +7811,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 @@ -7873,7 +7853,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 @@ -7991,11 +7970,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") @@ -8106,7 +8083,6 @@ (define-public python-hupper (native-inputs (list python-mock python-pytest - python-pytest-cov python-pytest-runner python-setuptools python-watchdog @@ -8640,7 +8616,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 @@ -9035,7 +9010,6 @@ (define-public python-simple-websocket (list #:test-flags '(list "--ignore=tests/test_client.py"))) (propagated-inputs (list python-wsproto)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/miguelgrinberg/simple-websocket") @@ -9061,8 +9035,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") @@ -10132,7 +10105,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 f0a65a968d..9a6c763eb0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -346,7 +346,6 @@ (define-public python-apprise (native-inputs (list python-babel python-pytest - python-pytest-cov python-pytest-mock python-pytest-xdist python-setuptools @@ -396,9 +395,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-poetry-core - python-pytest - python-pytest-cov)) + (native-inputs (list python-poetry-core python-pytest)) (home-page "https://github.com/archspec/archspec") (synopsis "Library to query system architecture") (description @@ -793,7 +790,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/") @@ -973,7 +970,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") @@ -1387,7 +1386,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") @@ -1504,7 +1503,6 @@ (define-public python-colorcet (native-inputs (list python-nbval python-packaging python-pytest - python-pytest-cov python-pytest-mpl python-setuptools python-wheel)) @@ -1630,7 +1628,6 @@ (define-public python-contourpy pkg-config pybind11 python-pytest - python-pytest-cov python-wurlitzer)) (home-page "https://contourpy.readthedocs.io/") (synopsis @@ -1712,7 +1709,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") @@ -2059,9 +2055,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)) @@ -2896,7 +2896,6 @@ (define-public python-echo python-pyqt-6)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools-scm xorg-server-for-tests)) (home-page "https://github.com/glue-viz/echo") @@ -3125,7 +3124,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") @@ -3151,8 +3149,7 @@ (define-public python-rich-tables (native-inputs (list python-freezegun python-poetry-core - python-pytest - python-pytest-cov)) + python-pytest)) (propagated-inputs (list python-funcy python-multimethod @@ -3303,7 +3300,6 @@ (define-public python-babel (native-inputs (list python-freezegun python-pytest - python-pytest-cov python-setuptools python-wheel tzdata-for-tests)) @@ -3337,7 +3333,6 @@ (define-public python-bidict python-py python-pytest python-pytest-benchmark - python-pytest-cov python-setuptools-scm python-sortedcollections python-sortedcontainers @@ -4296,7 +4291,6 @@ (define-public python-can python-parameterized python-pyserial python-pytest - python-pytest-cov python-pytest-runner python-pytest-timeout python-wheel)) @@ -4790,7 +4784,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") @@ -5232,7 +5227,7 @@ (define-public python-pymarshal ;; "CovReportWarning: Failed to generate report: No data to report." (list #:tests? #f)) (native-inputs - (list python-pytest python-pytest-cov python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-bson python-pyyaml)) (home-page "https://gitlab.com/d3v-t00lz/pymarshal") (synopsis "Pythonic implementation of Golang struct (un)marshalling") @@ -5665,7 +5660,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 @@ -5710,7 +5704,7 @@ (define-public python-expandvars (base32 "0i6q4i8dzsax85w1l2hc7saymyh3fw43vkifh5flpkr8ayjxy6kx")))) (build-system pyproject-build-system) (native-inputs - (list python-hatchling python-pytest python-pytest-cov)) + (list python-hatchling python-pytest)) (home-page "https://pypi.org/project/expandvars/") (synopsis "Expand system variables Unix style") (description "This module is inspired by GNU bash's variable expansion @@ -5756,7 +5750,6 @@ (define-public python-extension-helpers (native-inputs (list python-pytest python-pytest-astropy - python-pytest-cov python-setuptools-scm python-tomli python-setuptools @@ -5924,8 +5917,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 @@ -6315,8 +6311,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 @@ -6426,7 +6420,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)) @@ -7552,7 +7545,7 @@ (define-public autokey (setenv "LANG" "") ;; required for tests/test_configmanager.py (setenv "HOME" "/tmp")))))) - (native-inputs (list python-pytest python-pytest-cov python-pyhamcrest)) + (native-inputs (list python-pytest python-pyhamcrest)) (inputs (list bash-minimal ; for wrap-program gtksourceview-3 @@ -8483,7 +8476,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") @@ -8678,7 +8672,6 @@ (define-public python-lsp-jsonrpc (native-inputs (list python-pyflakes python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -9776,7 +9769,6 @@ (define-public python-sparse (native-inputs (list python-dask python-pytest - python-pytest-cov python-setuptools python-setuptools-scm-next python-wheel)) @@ -10212,7 +10204,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/") @@ -11348,7 +11339,6 @@ (define-public python-pikepdf python-setuptools-scm python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-dateutil @@ -11398,7 +11388,6 @@ (define-public python-pillow python-olefile python-packaging python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-trove-classifiers @@ -11627,8 +11616,6 @@ (define-public python-property-manager (sha256 (base32 "0m3w4spr8f39xnm65naw29ncal4r453kn7ndqb63rwbsmslnvrwk")))) (build-system python-build-system) - (native-inputs - (list python-pytest-cov)) (propagated-inputs (list python-verboselogs python-humanfriendly @@ -11993,7 +11980,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/") @@ -12279,7 +12265,6 @@ (define-public python-manimpango (list pkg-config python-cython python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs @@ -12317,7 +12302,6 @@ (define-public python-cairocffi python-numpy python-pikepdf python-pytest - python-pytest-cov python-pytest-runner python-sphinx python-sphinx-rtd-theme)) @@ -12807,7 +12791,6 @@ (define-public python-importlib-resources (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy @@ -12957,7 +12940,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -12990,7 +12972,6 @@ (define-public python-jaraco-collections ;; packaged. (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -13050,7 +13031,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -13084,7 +13064,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-flake8 python-pytest-mypy python-setuptools @@ -13178,7 +13157,6 @@ (define-public python-jaraco-text ;; packaged. (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-mypy python-setuptools @@ -13323,7 +13301,6 @@ (define-public python-ipyparallel (list python-ipython python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-tornado python-testpath)) (propagated-inputs @@ -13549,7 +13526,6 @@ (define-public python-jupyter-core python-pip python-pre-commit python-pytest - python-pytest-cov python-pytest-timeout)) ;; This package provides the `jupyter` binary and thus also exports the ;; search paths. @@ -13725,7 +13701,6 @@ (define-public python-ipykernel python-ipyparallel-bootstrap python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-timeout)) (home-page "https://ipython.org") (synopsis "IPython Kernel for Jupyter") @@ -13814,7 +13789,6 @@ (define-public python-pubmed-parser python-unidecode)) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/titipata/pubmed_parser") @@ -14173,7 +14147,6 @@ (define-public python-urwid "--ignore=tests/test_vterm.py"))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) @@ -14751,8 +14724,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 @@ -15077,7 +15052,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/") @@ -15728,7 +15702,6 @@ (define-public python-sentry-sdk python-mock python-pyrsistent python-pytest - python-pytest-cov python-pytest-django python-pytest-forked python-pytest-localserver @@ -17239,7 +17212,6 @@ (define-public python-prettytable (list python-hatchling python-hatch-vcs python-pytest - python-pytest-cov python-pytest-lazy-fixtures python-setuptools-scm)) (propagated-inputs @@ -17404,7 +17376,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") @@ -17550,7 +17521,6 @@ (define-public python-get-version (propagated-inputs (list python-pygments python-pytest - python-pytest-cov python-setuptools python-testpath)) (home-page "https://github.com/flying-sheep/get_version") @@ -17927,7 +17897,6 @@ (define-public python-path python-pygments python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy))) @@ -18032,7 +18001,6 @@ (define-public python-pip-run python-pygments python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-mypy))) @@ -18415,7 +18383,6 @@ (define-public python-debugpy python-flask python-psutil python-pytest - python-pytest-cov python-pytest-timeout python-pytest-xdist python-requests)) @@ -18987,7 +18954,6 @@ (define-public python-notebook (list python-jupyter-server python-nbval python-pytest - python-pytest-cov python-requests python-requests-unixsocket2 python-setuptools @@ -19037,7 +19003,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") @@ -20731,7 +20699,6 @@ (define-public python-xdoctest ninja pybind11 python-pytest - python-pytest-cov python-scikit-build python-setuptools python-wheel)) @@ -20788,8 +20755,7 @@ (define-public python-waitress ;; https://github.com/Pylons/waitress/issues/443 (list #:test-flags #~(list "-k" "not test_service_port"))) (native-inputs - (list python-pytest python-pytest-cov - python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/Pylons/waitress") (synopsis "Waitress WSGI server") (description @@ -20870,7 +20836,6 @@ (define-public python-cookiecutter git python-freezegun python-pytest - python-pytest-cov python-pytest-mock)) (propagated-inputs (list python-arrow python-binaryornot @@ -21272,8 +21237,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 @@ -21982,10 +21949,7 @@ (define-public python-rope (propagated-inputs (list python-pytoolconfig)) (native-inputs - (list python-pip - python-pre-commit - python-pytest - python-pytest-cov + (list python-pytest python-pytest-timeout python-setuptools python-wheel)) @@ -22549,7 +22513,6 @@ (define-public python-wcwidth "1dbj74q1iz349sdkxrkc90f7xd4y7a9bdvgxg3cqdcly7430rskj")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/jquast/wcwidth") @@ -23105,7 +23068,6 @@ (define-public python-pyproject-api (list python-hatch-vcs python-hatchling python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel)) @@ -23964,7 +23926,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") @@ -24241,7 +24205,6 @@ (define-public python-async-lru (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov python-pytest-timeout python-setuptools python-wheel)) @@ -24618,7 +24581,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. @@ -26129,8 +26091,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.") @@ -27177,7 +27141,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/") @@ -27898,7 +27861,6 @@ (define-public python-tempora (list python-freezegun python-pytest python-pytest-checkdocs - python-pytest-cov python-pytest-enabler python-pytest-flake8 python-pytest-freezegun @@ -29890,7 +29852,6 @@ (define-public python-numcodecs python-py-cpuinfo python-pydata-sphinx-theme python-pytest - python-pytest-cov python-setuptools python-setuptools-scm ;for correct version python-sphinx @@ -30918,7 +30879,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") @@ -31270,7 +31231,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") @@ -31976,7 +31936,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 @@ -32114,7 +32074,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") @@ -32257,7 +32219,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)) @@ -32584,7 +32545,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") @@ -33815,7 +33775,6 @@ (define-public python-cmd2 (list python-pyperclip python-wcwidth)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-setuptools-scm @@ -34538,7 +34497,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") @@ -35223,7 +35182,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") @@ -35619,7 +35578,6 @@ (define-public python-scikit-build python-packaging python-path python-pytest - python-pytest-cov python-pytest-mock python-pytest-virtualenv python-pytest-xdist @@ -36633,7 +36591,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") @@ -36802,7 +36760,6 @@ (define-public python-minikanren (native-inputs (list python-pydocstyle python-pytest - python-pytest-cov python-sympy python-versioneer)) (propagated-inputs @@ -36958,7 +36915,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 @@ -37178,7 +37136,6 @@ (define-public python-platformdirs python-hatchling python-hatch-vcs python-pytest - python-pytest-cov python-pytest-mock)) (home-page "https://github.com/platformdirs/platformdirs") (synopsis "Determine the appropriate platform-specific directories") @@ -37487,7 +37444,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") @@ -38039,8 +37996,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 @@ -38219,7 +38175,6 @@ (define-public python-multipart (native-inputs (list python-hatchling python-pytest - python-pytest-cov python-pyyaml)) (home-page "https://github.com/andrew-d/python-multipart") (synopsis "Streaming multipart parser for Python") @@ -38289,7 +38244,6 @@ (define-public python-shtab (native-inputs (list bash python-pytest - python-pytest-cov python-pytest-timeout python-setuptools python-setuptools-scm @@ -38914,7 +38868,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/rdf.scm b/gnu/packages/rdf.scm index 58a485553e..c0b77eeb22 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -346,7 +346,7 @@ (define-public python-rdflib ;; These two tests attempt to use "pip install" "-k" "not test_sparqleval and not test_parser"))) (native-inputs - (list python-pytest python-pytest-cov python-poetry-core)) + (list python-pytest python-poetry-core)) (propagated-inputs (list python-isodate python-lxml @@ -401,7 +401,7 @@ (define-public python-rdflib-6 (("^Requires-Dist: isodate .*") "Requires-Dist: isodate (>=0.6.0)\n"))))))) (native-inputs - (list python-poetry-core python-pytest python-pytest-cov)) + (list python-poetry-core python-pytest)) (propagated-inputs (list python-html5lib python-isodate python-pyparsing)) (home-page "https://github.com/RDFLib/rdflib") diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 375531b1ee..a5464046d3 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -583,7 +583,6 @@ (define-public python-fenics-dijitso (invoke "./runtests.sh")))))))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-wheel)) (inputs diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 6847592a99..3bcf11915b 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -418,7 +418,6 @@ (define-public python-sphinx-design (native-inputs (list python-flit-core python-pytest - python-pytest-cov python-pytest-regressions)) (propagated-inputs (list python-sphinx)) @@ -794,7 +793,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 0344074366..7bc769404e 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 @@ -2497,7 +2497,7 @@ (define-public python-patsy (propagated-inputs (list python-numpy 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/pydata/patsy") (synopsis "Describe statistical models and build design matrices") (description @@ -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)) @@ -7137,7 +7136,6 @@ (define-public python-rpy2 python-numpy python-pandas python-pytest - python-pytest-cov python-setuptools python-wheel)) (home-page "https://rpy2.github.io") @@ -7167,7 +7165,6 @@ (define-public python-rchitect (build-system pyproject-build-system) (propagated-inputs (list python-cffi python-packaging python-six)) (native-inputs (list python-pytest - python-pytest-cov python-pytest-mock python-setuptools python-wheel diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 62f5bbf0f3..2ff5d7e596 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -530,7 +530,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/telegram.scm b/gnu/packages/telegram.scm index a4cfc6a9ef..e31b9274de 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -841,7 +841,6 @@ (define-public tgcli (native-inputs `(("pytest" ,python-pytest) ("pytest-click" ,python-pytest-click) - ("pytest-cov" ,python-pytest-cov) ("mkdocs" ,python-mkdocs) ("mkdocs-material" ,python-mkdocs-material) ("requests-mock" ,python-requests-mock))) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 004f170c25..28f1b46ca5 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1758,7 +1758,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 46e78c7ab7..9ed43d1885 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -450,7 +450,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") @@ -573,7 +572,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 ad338728fe..386dbfa036 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5326,7 +5326,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") @@ -9027,7 +9026,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 8d1bce1009..781dab49da 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -866,7 +866,6 @@ (define-public qtile (list pkg-config python-pep8-naming python-pytest - python-pytest-cov python-psutil python-setuptools python-setuptools-scm -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:20 GMT) Full text and rfc822 format available.Message #529 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> Subject: [PATCH v5 21/48] build-system/pyproject: Remove python-mypy native-input. Date: Thu, 27 Feb 2025 15:27:22 +0100
* gnu/packages/astronomy.scm (python-poliastro)[native-inputs]: Remove python-mypy. * gnu/packages/databases.scm (python-psycopg2)[native-inputs]: Remove python-mypy. * gnu/packages/engineering.scm (uranium, cura)[native-inputs]: Remove python-mypy. * gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove python-mypy. * gnu/packages/machine-learning.scm (python-imbalanced-learn, python-captum, python-torchmetrics)[native-inputs]: Remove python-mypy. * gnu/packages/python-science.scm (python-scipy)[native-inputs]: Remove python-mypy. * gnu/packages/python-web.scm (python-huggingface-hub, python-asgiref, python-starsessions-for-pytorch-lightning)[native-inputs]: Remove python-mypy. * gnu/packages/python-xyz.scm (kalamine, python-pydantic-cli, python-apispec, python-typeguard, python-verspec, python-catalogue)[native-inputs]: Remove python-mypy. * gnu/packages/serialization.scm (python-msgspec)[native-inputs]: Remove python-mypy. * gnu/packages/virtualization.scm (python-transient)[native-inputs]: Remove python-mypy. --- gnu/packages/astronomy.scm | 1 - gnu/packages/databases.scm | 1 - gnu/packages/engineering.scm | 2 -- gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 3 --- gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 6 +++--- gnu/packages/python-xyz.scm | 13 +++++-------- gnu/packages/serialization.scm | 1 - gnu/packages/virtualization.scm | 3 +-- 10 files changed, 9 insertions(+), 23 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 6b31414940..b4c29480ac 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4630,7 +4630,6 @@ (define-public python-poliastro (setenv "HOME" "/tmp")))))) (native-inputs (list python-hypothesis - python-mypy python-flit-core python-pytest python-pytest-cov diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 3b8d1d9d23..085a1d7cd0 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4305,7 +4305,6 @@ (define-public python-psycopg "-c" "CREATE DATABASE nixbld;")))))))) (native-inputs (list python-cython-3 - python-mypy python-psycopg-pool python-pytest python-pytest-asyncio diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index cc84a760e9..fe550d8471 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -4550,7 +4550,6 @@ (define-public uranium graphviz pkg-config python-pytest - python-mypy python-certifi python-twisted)) (propagated-inputs @@ -4753,7 +4752,6 @@ (define-public cura (build-system qt-build-system) (native-inputs (list python-certifi - python-mypy python-pytest python-requests)) (inputs diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 0d3db31212..6bfe5325ac 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -225,7 +225,6 @@ (define-public python-uqbar (native-inputs (list graphviz python-isort - python-mypy python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 2caa64cc08..649648ac4e 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -2149,7 +2149,6 @@ (define-public python-imbalanced-learn (propagated-inputs (list python-joblib python-numpy python-scikit-learn python-scipy python-threadpoolctl)) (native-inputs (list python-keras - python-mypy python-pandas python-pytest python-pytest-cov @@ -5319,7 +5318,6 @@ (define-public python-captum python-flask-compress python-ipython python-ipywidgets - python-mypy python-parameterized python-pytest python-pytest-cov @@ -5507,7 +5505,6 @@ (define-public python-torchmetrics (list python-cloudpickle python-fire python-mir-eval - python-mypy python-pandas python-psutil python-pytest diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c6616f3ab6..ad60378944 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -439,7 +439,6 @@ (define-public python-scipy '()) (list python-matplotlib python-mpmath - python-mypy python-numpy python-numpydoc python-pydata-sphinx-theme diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c2c6578f2e..5b33ed4568 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -564,7 +564,6 @@ (define-public python-huggingface-hub python-fastapi python-jedi python-jinja2 - python-mypy python-numpy python-pillow python-pydantic-2 @@ -1216,7 +1215,9 @@ (define-public python-asgiref (base32 "146mhkn3zp2bqf7j6r3chdlvfzgs5x1lrnqahsllgjdyl20bshy3")))) (build-system pyproject-build-system) (native-inputs - (list python-mypy python-pytest python-pytest-asyncio python-setuptools + (list python-pytest + python-pytest-asyncio + python-setuptools python-wheel)) (home-page "https://github.com/django/asgiref/") (synopsis "ASGI specs, helper code, and adapters") @@ -10303,7 +10304,6 @@ (define-public python-starsessions python-starlette)) (native-inputs (list python-httpx - python-mypy python-poetry-core python-pytest python-pytest-asyncio diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e991fe97e8..1cce5e3a54 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7610,7 +7610,7 @@ (define-public kalamine ;; TODO: Add python-pytest-ruff to native-inputs once it has been ;; packaged. (native-inputs - (list python-hatchling python-mypy python-pytest)) + (list python-hatchling python-pytest)) (home-page "https://github.com/OneDeadKey/kalamine") (synopsis "Keyboard layout maker") (description @@ -8850,8 +8850,7 @@ (define-public python-pydantic-cli (propagated-inputs (list python-pydantic)) (native-inputs - (list python-mypy - python-pytest)) + (list python-pytest)) (home-page "https://github.com/mpkocher/pydantic-cli") (synopsis "Turn Pydantic defined data models into CLI tools") (description @@ -27090,7 +27089,6 @@ (define-public python-apispec (build-system pyproject-build-system) (native-inputs (list python-flit-core - python-mypy python-openapi-spec-validator python-pytest)) (propagated-inputs @@ -28511,8 +28509,7 @@ (define-public python-typeguard (base32 "06y22d1f5dhpyl71wbhsaibig5hvc2v44pw795yb8lxl02fsh8hd")))) (build-system pyproject-build-system) (native-inputs - (list python-mypy - python-pytest + (list python-pytest python-setuptools python-setuptools-scm python-typing-extensions @@ -38256,7 +38253,7 @@ (define-public python-verspec (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) - (native-inputs (list python-mypy python-pretend python-pytest)) + (native-inputs (list python-pretend python-pytest)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check @@ -39040,7 +39037,7 @@ (define-public python-catalogue "0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak")))) (build-system python-build-system) (native-inputs (list python-pytest)) - (inputs (list python python-zipp python-typing-extensions python-mypy)) + (inputs (list python python-zipp python-typing-extensions)) (home-page "https://github.com/explosion/catalogue") (synopsis "Lightweight function registries for your library") (description diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index c0f7001fa0..8d6abf094b 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -788,7 +788,6 @@ (define-public python-msgspec (native-inputs (list python-attrs python-gcovr python-msgpack - python-mypy python-pytest python-setuptools-scm python-versioneer diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index bde357763f..a6872a3f1f 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2986,8 +2986,7 @@ (define-public python-transient (("==") ">="))))))) (native-inputs - (list python-mypy - python-pyhamcrest + (list python-pyhamcrest python-setuptools python-twine python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:21 GMT) Full text and rfc822 format available.Message #532 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> Subject: [PATCH v5 20/48] build-system/pyproject: Remove python-tox native-input. Date: Thu, 27 Feb 2025 15:27:21 +0100
* gnu/packages/bioinformatics.scm (python-metacells) * gnu/packages/django.scm (python-django-pipeline, python-django-extensions) * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/logging.scm (tailon) * gnu/packages/messaging.scm (python-harmony) * gnu/packages/mp3.scm (python-audioread) * gnu/packages/networking.scm (gandi.cli) * gnu/packages/python-check.scm (python-pytest-qt, python-nox) * gnu/packages/python-science.scm (python-scikit-survival) * gnu/packages/python-web.scm (python-flask-htpasswd, python-simple-websocket, python-omnipath, python-sanic) * gnu/packages/python-xyz.scm (python-lunr, python-bidict, python-jsonargparse, python-ddlparse, python-virtualenv-clone, python-honcho, python-shshsh, python-ansicolors) * gnu/packages/radio.scm (chirp) * gnu/packages/terminals.scm (python-halo, python-log-symbols, python-spinners) * gnu/packages/textutils.scm (txt2tags) [native-inputs]: Remove python-tox. --- gnu/packages/bioinformatics.scm | 1 - gnu/packages/django.scm | 2 -- gnu/packages/jupyter.scm | 1 - gnu/packages/logging.scm | 2 +- gnu/packages/messaging.scm | 2 -- gnu/packages/mp3.scm | 3 +-- gnu/packages/networking.scm | 2 +- gnu/packages/python-check.scm | 4 +--- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 5 +---- gnu/packages/python-xyz.scm | 18 +++++------------- gnu/packages/radio.scm | 3 +-- gnu/packages/terminals.scm | 3 --- gnu/packages/textutils.scm | 1 - 14 files changed, 12 insertions(+), 38 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1cec139812..bb8ac5c800 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3177,7 +3177,6 @@ (define-public python-metacells python-setuptools python-sphinx python-sphinx-rtd-theme - python-tox python-twine python-wheel)) (home-page "https://github.com/tanaylab/metacells.git") diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index b7f2e23f9d..c1cf3b1337 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -268,7 +268,6 @@ (define-public python-django-extensions (native-inputs (list python-mock python-factory-boy - python-tox python-pytest python-pytest-cov python-pytest-django @@ -995,7 +994,6 @@ (define-public python-django-pipeline (list python-django python-setuptools python-setuptools-scm - python-tox python-wheel)) (home-page "https://github.com/jazzband/django-pipeline") diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 1ee99c8602..8f900d3f88 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1171,7 +1171,6 @@ (define-public python-papermill python-recommonmark python-requests python-setuptools - python-tox python-twine python-wheel)) (home-page "https://github.com/nteract/papermill") diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 9cc28279d7..55a1db4123 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -159,7 +159,7 @@ (define-public tailon "0xkmrivzilsc9wqr8ms67v7399gxnh7pv5687k4rdpdgz4309fwc")))) (build-system python-build-system) (native-inputs - (list python-tox python-wheel)) + (list python-wheel)) (inputs (list python-pyyaml-5 python-sockjs-tornado python-tornado-http-auth python-tornado python-deepmerge)) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 1ee8255593..fcb05dbda6 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3626,8 +3626,6 @@ (define-public python-harmony (base32 "1bm9xcnzpnpj6rlhbrnl2abwclzl7ivgh1vb5644y9mnhcs489js")))) (build-system python-build-system) - (native-inputs - (list python-tox)) (inputs (list python-librecaptcha python-keyring python-requests)) (synopsis "Discord account management") diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 9dfce6313f..ccf105d7be 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -688,8 +688,7 @@ (define-public python-audioread (list gstreamer gst-plugins-base python-flit-core - python-pytest - python-tox)) + python-pytest)) (home-page "https://github.com/sampsyo/audioread") (synopsis "Decode audio files using whichever backend is available") (description diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 1b97853a59..96561fff3a 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1941,7 +1941,7 @@ (define-public gandi.cli #t)))))) (native-inputs (list python-docutils ; for rst2man.py - python-pytest python-pytest-cov python-tox)) + python-pytest python-pytest-cov)) (propagated-inputs (list openssh)) ; used by gandi/cli/modules/iass.py (inputs diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e57438b2ea..c2026f2433 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2295,7 +2295,6 @@ (define-public python-pytest-qt (list python-pre-commit python-setuptools python-setuptools-scm - python-tox python-wheel)) (home-page "https://github.com/pytest-dev/pytest-qt") (synopsis "Pytest support for PyQt and PySide applications") @@ -3012,8 +3011,7 @@ (define-public python-nox (native-inputs (list python-hatchling python-jinja2 - python-pytest - python-tox)) + python-pytest)) (home-page "https://nox.thea.codes/") (synopsis "Flexible test automation") (description diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 83e66572e3..c6616f3ab6 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -893,8 +893,7 @@ (define-public python-scikit-survival python-pytest python-setuptools python-setuptools-scm - python-tomli - python-tox)) + python-tomli)) (home-page "https://github.com/sebp/scikit-survival") (synopsis "Survival analysis built on top of scikit-learn") (description "Scikit-survival is a Python module for survival analysis diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 76e13b3af2..c2c6578f2e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2974,7 +2974,6 @@ (define-public python-omnipath python-requests-mock python-setuptools python-setuptools-scm - python-tox python-wheel)) (home-page "https://omnipathdb.org/") (synopsis "Python client for the OmniPath web service") @@ -5826,7 +5825,7 @@ (define-public python-flask-htpasswd (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;none included (propagated-inputs - (list python-flask python-passlib python-pyjwt python-tox)) + (list python-flask python-passlib python-pyjwt)) (native-inputs (list python-pytest python-setuptools python-wheel)) @@ -8916,7 +8915,6 @@ (define-public python-sanic python-setuptools python-slotscheck python-towncrier - python-tox python-types-ujson python-uvicorn python-wheel)) @@ -9040,7 +9038,6 @@ (define-public python-simple-websocket (native-inputs (list python-pytest python-pytest-cov python-setuptools - python-tox python-wheel)) (home-page "https://github.com/miguelgrinberg/simple-websocket") (synopsis "Simple WebSocket server and client for Python") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cd20064c95..e991fe97e8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1682,8 +1682,7 @@ (define-public python-lunr (list python-hatch-fancy-pypi-readme python-hatchling python-pytest - python-pytest-timeout - python-tox)) + python-pytest-timeout)) (propagated-inputs (list python-importlib-metadata python-typing-extensions)) (home-page @@ -3344,8 +3343,7 @@ (define-public python-bidict python-sortedcollections python-sortedcontainers python-sphinx - python-sphinx-autodoc-typehints - python-tox)) + python-sphinx-autodoc-typehints)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'relax-reqs @@ -5209,7 +5207,6 @@ (define-public python-jsonargparse python-pytest python-pytest-subtests python-responses - python-tox python-types-requests python-setuptools python-wheel)) @@ -6433,7 +6430,6 @@ (define-public python-ddlparse (list python-pytest python-pytest-cov python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-pyparsing)) (home-page "https://github.com/shinichi-takii/ddlparse") @@ -7003,7 +6999,6 @@ (define-public python-virtualenv-clone (delete-file "tox.ini") (invoke "pytest" "-vvv" "tests"))))))) (native-inputs (list python-pytest - python-tox python-virtualenv python-wheel python-tomli @@ -12555,7 +12550,7 @@ (define-public python-honcho (base32 "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj")))) (build-system python-build-system) (native-inputs - (list python-pytest python-mock python-tox which)) ;for tests + (list python-pytest python-mock which)) ;for tests (propagated-inputs (list python-jinja2)) (arguments @@ -22772,9 +22767,7 @@ (define-public python-shshsh "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f")))) (build-system pyproject-build-system) (native-inputs - (list python-poetry-core - python-pytest - python-tox)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/zqqqqz2000/shshsh") (synopsis "Write Shell commands simply and safely within Python") (description "This package provides a way to write Shell commands from @@ -38043,8 +38036,7 @@ (define-public python-ansicolors (base32 "1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr")))) (build-system python-build-system) (native-inputs - (list python-tox - python-pytest-cov + (list python-pytest-cov unzip)) (home-page "https://github.com/jonathaneunice/colors/") (synopsis "ANSI colors for Python") diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index d2c8bee76b..51d00e68f4 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3274,8 +3274,7 @@ (define-public chirp python-mox3 python-pytest python-pytest-mock - python-pyyaml - python-tox)) + python-pyyaml)) (inputs (list python-future python-importlib-resources diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index da9f0e3483..36ad457ca2 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-tox python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") @@ -1209,7 +1208,6 @@ (define-public python-log-symbols (native-inputs (list python-nose python-setuptools - python-tox python-wheel)) (propagated-inputs (list python-colorama)) (home-page "https://github.com/manrajgrover/py-log-symbols") @@ -1241,7 +1239,6 @@ (define-public python-spinners (native-inputs (list python-nose python-setuptools - python-tox python-wheel)) (home-page "https://github.com/manrajgrover/py-spinners") (synopsis "Python library with graphical spinners for the terminal") diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 792ef1f3b3..004f170c25 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1086,7 +1086,6 @@ (define-public txt2tags (base32 "0ik7gpr3gymgxnj0p86k8768kyxncbncv93zq67sbak3dbdl8hky")))) (build-system python-build-system) - (native-inputs (list python-tox)) (home-page "https://txt2tags.org") (synopsis "Convert between markup languages") (description -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:22 GMT) Full text and rfc822 format available.Message #535 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> Subject: [PATCH v5 23/48] build-system/pyproject: Remove python-isort native-input. Date: Thu, 27 Feb 2025 15:27:24 +0100
* gnu/packages/bioinformatics.scm (python-metacells, python-cooler, scvelo) * gnu/packages/databases.scm (aerich) * gnu/packages/finance.scm (python-trezor) * gnu/packages/gettext.scm (mdpo) * gnu/packages/graphviz.scm (python-uqbar) * gnu/packages/machine-learning.scm (python-pymanopt, python-funsor) * gnu/packages/mail.scm (python-hyperkitty, postorius) * gnu/packages/protobuf.scm (python-pure-protobuf) * gnu/packages/python-web.scm (python-zeep, python-ovh, python-tinycss2) * gnu/packages/python-xyz.scm (python-archspec) * gnu/packages/statistics.scm (python-statsmodels) * gnu/packages/virtualization.scm (python-qemu-qmp) [native-inputs]: Remove python-isort. --- gnu/packages/bioinformatics.scm | 3 --- gnu/packages/databases.scm | 1 - gnu/packages/finance.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/graphviz.scm | 1 - gnu/packages/machine-learning.scm | 4 +--- gnu/packages/mail.scm | 2 -- gnu/packages/protobuf.scm | 2 +- gnu/packages/python-web.scm | 4 +--- gnu/packages/python-xyz.scm | 3 +-- gnu/packages/statistics.scm | 1 - gnu/packages/virtualization.scm | 1 - 12 files changed, 4 insertions(+), 20 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index bb8ac5c800..4294016f44 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3168,7 +3168,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-isort python-mypy python-mypy-extensions python-pandas-stubs @@ -19935,7 +19934,6 @@ (define-public python-cooler python-simplejson)) (native-inputs (list python-hatchling - python-isort python-pytest python-pytest-cov)) ;; Almost all the projects of the Mirnylab are moved under Open2C umbrella @@ -24030,7 +24028,6 @@ (define-public scvelo (propagated-inputs (list python-anndata python-hnswlib - python-isort python-igraph python-loompy python-louvain diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 085a1d7cd0..df2045db9d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3459,7 +3459,6 @@ (define-public aerich (list poetry python-bandit python-cryptography - python-isort python-pydantic python-pytest python-pytest-asyncio diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index f3be674c01..3af525da18 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1160,7 +1160,6 @@ (define-public python-trezor python-typing-extensions)) (native-inputs ; Only needed for running the tests (list protobuf - python-isort python-pillow python-protobuf python-pyqt diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 29cdbab915..841d3e0c8b 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -228,7 +228,6 @@ (define-public mdpo (list python-bump2version python-flake8-implicit-str-concat python-flake8-print - python-isort python-pytest python-pytest-cov python-sphinx diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 6bfe5325ac..33ddbeba42 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -224,7 +224,6 @@ (define-public python-uqbar and not test_sphinx_book_text_broken_strict"))) (native-inputs (list graphviz - python-isort python-pytest python-pytest-cov python-setuptools diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 649648ac4e..8c1e99ba99 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -229,8 +229,7 @@ (define-public python-funsor (propagated-inputs (list python-makefun python-multipledispatch python-numpy python-opt-einsum python-typing-extensions)) - (native-inputs (list python-isort - python-nbsphinx + (native-inputs (list python-nbsphinx python-pandas python-pillow python-pyro-api @@ -1143,7 +1142,6 @@ (define-public python-pymanopt (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-autograd python-flake8-bugbear - python-isort python-matplotlib python-pytest python-pytest-cov diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index cffbca087a..b353e5cf51 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -3813,7 +3813,6 @@ (define-public python-hyperkitty python-django-rest-framework python-elasticsearch python-flufl-lock - python-isort python-lxml python-mailmanclient python-mistune @@ -3864,7 +3863,6 @@ (define-public postorius python-django-mailman3)) (native-inputs (list python-beautifulsoup4 - python-isort python-mock python-pdm-backend python-pytest diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 203e4909d6..487c03fa94 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -502,7 +502,7 @@ (define-public python-pure-protobuf (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) (build-system python-build-system) (native-inputs - (list python-pytest python-pytest-cov python-isort)) + (list python-pytest python-pytest-cov)) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5b33ed4568..2248d62195 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1601,8 +1601,7 @@ (define-public python-ovh (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; XXX: tests require networking (propagated-inputs (list python-requests)) - (native-inputs (list python-isort - python-pytest + (native-inputs (list python-pytest python-pytest-cov python-setuptools python-sphinx @@ -10131,7 +10130,6 @@ (define-public python-zeep python-flake8-blind-except python-flake8-debugger python-freezegun - python-isort python-pretend python-pytest python-pytest-asyncio diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 657ac6e4d0..74cec98420 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -396,8 +396,7 @@ (define-public python-archspec python-scikit-learn python-tables python-typing-extensions)) - (native-inputs (list python-isort - python-poetry-core + (native-inputs (list python-poetry-core python-pytest python-pytest-cov)) (home-page "https://github.com/archspec/archspec") diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 7a02786ab6..0344074366 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2669,7 +2669,6 @@ (define-public python-statsmodels (native-inputs (list python-colorama python-cython - python-isort python-joblib python-matplotlib python-pytest diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index a6872a3f1f..d1e2130980 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2120,7 +2120,6 @@ (define-public python-qemu-qmp (native-inputs (list python-avocado-framework python-flake8 - python-isort python-setuptools python-setuptools-scm python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:22 GMT) Full text and rfc822 format available.Message #538 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> Subject: [PATCH v5 26/48] gnu: python-django-contact-form: Remove python-pytest-cov native-input. Date: Thu, 27 Feb 2025 15:27:27 +0100
* gnu/packages/django.scm (python-django-contact-form): [native-inputs]: Remove python-pytest-cov. [build-system]: Upgrade to pyproject-build-system. [arguments]<#:phases>: Remove coverage tests for check phase. Change-Id: I4d0fc406401b7e923f7efa084dbe8ea3753e50fc --- gnu/packages/django.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 287c6fceee..79712c4945 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -888,16 +888,13 @@ (define-public python-django-contact-form (sha256 (base32 "1my9hkrylckp5vfqg9b0kncrdlxjnwxll56sdciqn4v19i4wbq1y")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - (invoke "coverage" "run" "--source" "contact_form" - "runtests.py")))))) - (native-inputs - (list python-coverage)) + (invoke "python" "runtests.py")))))) (propagated-inputs (list python-django)) (home-page "https://github.com/ubernostrum/django-contact-form") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:33:23 GMT) Full text and rfc822 format available.Message #541 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> Subject: [PATCH v5 24/48] build-system/pyproject: Remove python-twine native-input. Date: Thu, 27 Feb 2025 15:27:25 +0100
* gnu/packages/bioinformatics.scm (python-metacells, python-ngesh, python-pyahocorasick) * gnu/packages/finance.scm (fava) * gnu/packages/gettext.scm (mdpo) * gnu/packages/jupyter.scm (python-hatch-jupyter-builder, python-papermill) * gnu/packages/machine-learning.scm (python-linear-operator, python-gpytorch) * gnu/packages/python-check.scm (python-testfixtures) * gnu/packages/python-web.scm (python-translation-finder, python-eventlet, python-transient) * gnu/packages/python-xyz.scm (python-cftime) * gnu/packages/terminals.scm (python-halo) * gnu/packages/virtualization.scm (python-transient) [native-inputs]: Remove python-twine. --- gnu/packages/bioinformatics.scm | 7 ++----- gnu/packages/finance.scm | 1 - gnu/packages/gettext.scm | 1 - gnu/packages/jupyter.scm | 4 +--- gnu/packages/machine-learning.scm | 6 ++---- gnu/packages/python-check.scm | 2 +- gnu/packages/python-web.scm | 5 ++--- gnu/packages/python-xyz.scm | 2 -- gnu/packages/terminals.scm | 1 - gnu/packages/virtualization.scm | 1 - 10 files changed, 8 insertions(+), 22 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4294016f44..d81791a724 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3176,7 +3176,6 @@ (define-public python-metacells python-setuptools python-sphinx python-sphinx-rtd-theme - python-twine python-wheel)) (home-page "https://github.com/tanaylab/metacells.git") (synopsis "Single-cell RNA Sequencing Analysis") @@ -3203,8 +3202,7 @@ (define-public python-ngesh (base32 "07sj4x95b5hvx57pw24f80sk4ag4hkg1z6wzym3pzi8n5gn85n1z")))) (build-system pyproject-build-system) (propagated-inputs (list python-ete3 python-numpy python-six)) - (native-inputs (list python-pytest python-twine - python-wheel)) + (native-inputs (list python-pytest python-wheel)) (home-page "https://github.com/tresoldi/ngesh") (synopsis "Library for phylogenetic tree simulation") (description @@ -7775,8 +7773,7 @@ (define-public python-pyahocorasick (sha256 (base32 "1fsnivwcw56q7lwz41c5kbfvxv0v17mmkx43i2a293l49fxj08j8")))) (build-system pyproject-build-system) - (native-inputs (list python-pytest python-twine python-setuptools - python-wheel)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/WojciechMula/pyahocorasick") (synopsis "Library for finding multiple key strings in text") (description diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3af525da18..30ed44aea9 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2072,7 +2072,6 @@ (define-public fava python-pytest python-pytest-cov python-setuptools - python-twine python-types-setuptools python-types-simplejson python-wheel)) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 841d3e0c8b..25f4efe1fc 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -233,7 +233,6 @@ (define-public mdpo python-sphinx python-sphinx-argparse python-sphinx-rtd-theme - python-twine python-yamllint)) (propagated-inputs (list python-polib python-pymd4c)) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 8f900d3f88..70c13115de 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -546,8 +546,7 @@ (define-public python-hatch-jupyter-builder (native-inputs (list python-pytest python-pytest-cov python-pytest-mock - python-tomli - python-twine)) + python-tomli)) (home-page "https://github.com/jupyterlab/hatch-jupyter-builder") (synopsis "Hatch plugin to help build Jupyter packages") (description @@ -1171,7 +1170,6 @@ (define-public python-papermill python-recommonmark python-requests python-setuptools - python-twine python-wheel)) (home-page "https://github.com/nteract/papermill") (synopsis "Parameterize and run Jupyter and nteract Notebooks") diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 8c1e99ba99..a7c9e2dc99 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5888,8 +5888,7 @@ (define-public python-linear-operator (native-inputs (list python-flake8-print python-pytest python-setuptools - python-setuptools-scm - python-twine)) + python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") (synopsis "Linear operator implementation") (description "LinearOperator is a PyTorch package for abstracting away the @@ -5918,8 +5917,7 @@ (define-public python-gpytorch (native-inputs (list python-flake8-print python-nbval python-pytest - python-setuptools - python-twine)) + python-setuptools)) (home-page "https://gpytorch.ai") (synopsis "Implementation of Gaussian Processes in PyTorch") (description diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c2026f2433..35e043b3c8 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -778,7 +778,7 @@ (define-public python-testfixtures (native-inputs (list python-pytest python-pytest-cov ;;("python-pytest-django" ,python-pytest-django) - python-twine python-wheel)) + python-wheel)) (synopsis "Tests components for Python") (description "Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2248d62195..1c419c6722 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -426,8 +426,7 @@ (define-public python-eventlet (native-inputs (list python-hatch-vcs python-hatchling - python-pytest - python-twine)) + python-pytest)) (propagated-inputs (list python-dnspython python-greenlet @@ -7463,7 +7462,7 @@ (define-public python-translation-finder (list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (native-inputs (list python-codecov python-codacy-coverage python-pytest-cov - python-pytest-runner python-twine)) + python-pytest-runner)) (home-page "https://weblate.org/") (synopsis "Translation file finder for Weblate") (description "This package provides a function to find translation file in diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 74cec98420..f0a65a968d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3732,7 +3732,6 @@ (define-public python-cftime python-pytest python-setuptools python-sphinx - python-twine python-wheel)) (home-page "https://unidata.github.io/cftime/") (synopsis "Library for time handling") @@ -33509,7 +33508,6 @@ (define-public python-eliot python-sphinx python-sphinx-rtd-theme python-testtools - python-twine python-twisted python-wheel)) (home-page "https://github.com/itamarst/eliot/") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 36ad457ca2..de47d67e36 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1178,7 +1178,6 @@ (define-public python-halo (native-inputs (list python-nose python-setuptools - python-twine python-wheel)) (home-page "https://github.com/manrajgrover/halo") (synopsis "Python library to display graphical spinners in the terminal") diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index d1e2130980..1d9da88eb6 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2987,7 +2987,6 @@ (define-public python-transient (native-inputs (list python-pyhamcrest python-setuptools - python-twine python-wheel)) (propagated-inputs (list python-beautifultable -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:03 GMT) Full text and rfc822 format available.Message #544 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> Subject: [PATCH v5 28/48] build-system/pyproject: Remove python-pytest-isort native-input. Date: Thu, 27 Feb 2025 15:27:29 +0100
* gnu/packages/dav.scm (radicale) * gnu/packages/python-check.scm (python-pytest-isort) * gnu/packages/python-xyz.scm (python-cairosvg) [native-inputs]: Remove python-pytest-isort. python-pytest-isort --- gnu/packages/dav.scm | 1 - gnu/packages/python-check.scm | 2 +- gnu/packages/python-xyz.scm | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 7688c9a994..ff5d8409b0 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -59,7 +59,6 @@ (define-public radicale (native-inputs (list python-pytest python-pytest-flake8 - python-pytest-isort python-setuptools python-waitress python-wheel)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c5a94582b9..09a56f172e 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1867,7 +1867,7 @@ (define-public python-pytest-pycodestyle (propagated-inputs (list python-py python-pycodestyle python-pytest)) (native-inputs - (list python-pytest-isort python-setuptools python-wheel)) + (list python-setuptools python-wheel)) (home-page "https://github.com/henry0312/pytest-pycodestyle") (synopsis "Pytest plugin to run pycodestyle") (description "This package provides a plugin to run @code{pycodestyle} diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9a6c763eb0..1dec12b664 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31631,7 +31631,6 @@ (define-public python-cairosvg python-pillow python-tinycss2)) (native-inputs (list python-pytest-flake8 - python-pytest-isort python-pytest-runner python-setuptools python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:04 GMT) Full text and rfc822 format available.Message #547 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> Subject: [PATCH v5 27/48] gnu: python-dateutil: Remove python-pytest-cov native-input. Date: Thu, 27 Feb 2025 15:27:28 +0100
* gnu/packages/time.scm (python-dateutil): [native-inputs]: Remove python-pytest-cov. [arguments]<#:phases>: Add remove-pytest-cov-dep phase. Change-Id: Id82a147d6e40383ecc2661ac896b65b858c181e0 --- gnu/packages/time.scm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 9ed43d1885..5f07e0860a 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -277,14 +277,20 @@ (define-public python-dateutil (build-system pyproject-build-system) (arguments (list - #:test-flags '(list ; avoid freezegun dependency - "--ignore=dateutil/test/test_utils.py" - "--ignore=dateutil/test/test_rrule.py" - ;; XXX: Fails to get timezone from /etc/localtime. - "--ignore=dateutil/test/test_tz.py"))) + #:test-flags '(list "dateutil/test" "docs" + ;; avoid freezegun dependency + "--ignore=dateutil/test/test_utils.py" + "--ignore=dateutil/test/test_rrule.py" + ;; XXX: Fails to get timezone from /etc/localtime. + "--ignore=dateutil/test/test_tz.py") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-pytest-cov-dep + (lambda _ + (substitute* "dateutil/test/conftest.py" + (("item\\.add_marker\\(pytest\\.mark\\.no_cover\\)") + "pass"))))))) (native-inputs (list python-pytest - python-pytest-cov python-setuptools python-setuptools-scm python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:05 GMT) Full text and rfc822 format available.Message #550 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> Subject: [PATCH v5 47/48] gnu: python-loguru: Remove python-pytest-mypy-plugins. Date: Thu, 27 Feb 2025 15:27:48 +0100
* gnu/packages/python-xyz.scm (python-loguru) [arguments]: Add in {test-flags} to skip the concerned test file. [native-inputs]: Remove python-pytest-mypy-plugins. --- gnu/packages/python-xyz.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 58dcb3c896..2537b9a63c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35072,11 +35072,12 @@ (define-public python-loguru #~(list"--numprocesses" (number->string (parallel-job-count)) ;; All of these fail with: error: Cannot find implementation or ;; library stub for module named "loguru" - "--ignore=tests/typesafety/test_logger.yml"))) + "--ignore=tests/typesafety/test_logger.yml" + ;; Removes mypy dependency + "--ignore=tests/test_type_hinting.py"))) (native-inputs (list python-freezegun python-pytest - python-pytest-mypy-plugins python-pytest-xdist python-setuptools python-wheel)) -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:06 GMT) Full text and rfc822 format available.Message #553 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> Subject: [PATCH v5 48/48] gnu: gunicorn: Migrate 'check phase to pyproject-build-system. Date: Thu, 27 Feb 2025 15:27:49 +0100
* gnu/packages/python-web.scm (gunicorn)[arguments] {phases}: Remove 'check phase and migrate its flags to... {test-flags}: ...here. --- gnu/packages/python-web.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 846418c4d6..65a102c846 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7190,23 +7190,17 @@ (define-public gunicorn (outputs '("out" "doc")) (build-system pyproject-build-system) (arguments - `(#:phases + `(#:test-flags + ;; Disable the geventlet tests because eventlet uses dnspython, which + ;; does not work in the build container due to lack of /etc/resolv.conf + '("--ignore=tests/workers/test_geventlet.py") + #:phases (modify-phases %standard-phases (add-after 'build 'build-doc (lambda _ (invoke "make" "-C" "docs" "PAPER=a4" "html" "info") (delete-file "docs/build/texinfo/Makefile") (delete-file "docs/build/texinfo/Gunicorn.texi"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (begin - (invoke "pytest" "-vv" - ;; Disable the geventlet tests because eventlet uses - ;; dnspython, which does not work in the build - ;; container due to lack of /etc/resolv.conf, etc. - "--ignore=tests/workers/test_geventlet.py")) - (format #t "test suite not run~%")))) (add-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) (let* ((doc (string-append (assoc-ref outputs "doc") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:07 GMT) Full text and rfc822 format available.Message #556 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> Subject: [PATCH v5 29/48] build-system/pyproject: Remove python-pytest-flake8 native-input. Date: Thu, 27 Feb 2025 15:27:30 +0100
* gnu/packages/bioinformatics.scm (python-muon) * gnu/packages/check.scm (python-pytest-enabler, python-pytest-perf) * gnu/packages/dav.scm (radicale) * gnu/packages/debug.scm (c-vise) * gnu/packages/matrix.scm (python-matrix-nio) * gnu/packages/python-web.scm (python-mechanicalsoup) * gnu/packages/python-xyz.scm (python-pyvips, python-dask-image, python-importlib-resources, python-jaraco-classes, python-jaraco-context, python-jaraco-functools, python-jaraco-packaging, python-jaraco-test, python-path, python-pip-run, python-tempora, python-cairosvg) [native-inputs]: Remove python-pytest-flake8. * gnu/packages/python-check.scm (python-pytest-csv) [arguments]{test-flags}: Ignore flake8 related test. [native-inputs]: Remove python-pytest-flake8. --- gnu/packages/bioinformatics.scm | 3 +-- gnu/packages/check.scm | 2 -- gnu/packages/dav.scm | 1 - gnu/packages/debug.scm | 2 +- gnu/packages/matrix.scm | 1 - gnu/packages/python-check.scm | 5 +++-- gnu/packages/python-web.scm | 3 +-- gnu/packages/python-xyz.scm | 16 ++-------------- 8 files changed, 8 insertions(+), 25 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 5cb3f86853..2fa52eb5b1 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5425,8 +5425,7 @@ (define-public python-muon python-tqdm python-umap-learn)) (native-inputs (list python-flit-core - python-pytest - python-pytest-flake8)) + python-pytest)) (home-page "https://github.com/scverse/muon") (synopsis "Multimodal omics analysis framework") (description "muon is a multimodal omics Python framework.") diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 57e62f6af0..ee0f4385e2 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2944,7 +2944,6 @@ (define-public python-pytest-enabler python-toml)) (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -3117,7 +3116,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools python-wheel)) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index ff5d8409b0..71d12a0ca1 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-flake8 python-setuptools python-waitress python-wheel)) diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index 5580b4eaf4..59d17f2623 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -255,7 +255,7 @@ (define-public c-vise (file-name (git-file-name name version)))) (build-system cmake-build-system) (native-inputs - (list flex python-pytest python-pytest-flake8)) + (list flex python-pytest)) (inputs (list bash-minimal clang llvm unifdef python python-pebble python-psutil python-chardet)) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index 970093d345..e7c1468da4 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -200,7 +200,6 @@ (define-public python-matrix-nio python-pytest-aiohttp python-pytest-asyncio python-pytest-benchmark - python-pytest-flake8 python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 09a56f172e..c7187d1523 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -673,9 +673,10 @@ (define-public python-pytest-csv (base32 "17518f2fn5l98lyk9p8r7215c1whi61imzrh6ahrmcksr8w0zz04")))) (build-system pyproject-build-system) + (arguments + (list #:test-flags '(list "--ignore=tests/test_flake8.py"))) (native-inputs - (list python-pytest-flake8 - python-pytest-xdist + (list python-pytest-xdist python-setuptools python-tabulate python-wheel)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f0ccbf3b92..dcfe693178 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2309,8 +2309,7 @@ (define-public python-mechanicalsoup (propagated-inputs (list python-beautifulsoup4 python-lxml python-requests python-six)) (native-inputs - (list python-pytest-flake8 - python-pytest-httpbin + (list python-pytest-httpbin python-pytest-mock python-pytest-runner python-requests-mock diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1dec12b664..86655a9d42 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12037,7 +12037,6 @@ (define-public python-pyvips (native-inputs (list python-pyperf python-pytest - python-pytest-flake8 python-pytest-runner)) (inputs (list glib vips)) @@ -12792,7 +12791,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy python-setuptools-57 python-setuptools-scm)) @@ -12940,7 +12938,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -13031,7 +13028,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -13064,7 +13060,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-flake8 python-pytest-mypy python-setuptools python-setuptools-scm @@ -13094,7 +13089,6 @@ (define-public python-jaraco-packaging (propagated-inputs (list python-pytest python-pytest-checkdocs - python-pytest-flake8 python-rst.linker python-setuptools python-setuptools-scm @@ -17898,7 +17892,6 @@ (define-public python-path python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties @@ -18002,7 +17995,6 @@ (define-public python-pip-run python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-mypy))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -27862,7 +27854,6 @@ (define-public python-tempora python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-flake8 python-pytest-freezegun python-pytest-mypy python-setuptools-scm @@ -30536,7 +30527,7 @@ (define-public python-dask-image python-scipy python-tifffile)) (native-inputs - (list python-pytest-flake8 python-pytest)) + (list python-pytest)) (home-page "https://github.com/dask/dask-image") (synopsis "Distributed image processing") (description "This is a package for image processing with Dask arrays. @@ -31630,10 +31621,7 @@ (define-public python-cairosvg (list python-cairocffi python-cssselect2 python-defusedxml python-pillow python-tinycss2)) (native-inputs - (list python-pytest-flake8 - python-pytest-runner - python-setuptools - python-wheel)) + (list python-pytest-runner python-setuptools python-wheel)) (home-page "https://cairosvg.org/") (synopsis "SVG to PDF/PS/PNG converter based on Cairo") (description "CairoSVG is a SVG converter based on Cairo. It can export -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:09 GMT) Full text and rfc822 format available.Message #559 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> Subject: [PATCH v5 30/48] build-system/pyproject: Remove python-pytest-mypy inputs. Date: Thu, 27 Feb 2025 15:27:31 +0100
* gnu/packages/astronomy.scm (python-poliastro) [native-inputs]: Remove python-pytest-mypy. * gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-web.scm (python-portend)[native-inputs]: Remove python-pytest-mypy. * gnu/packages/python-xyz.scm (python-importlib-resources, python-jaraco-classes, python-jaraco-collections, python-jaraco-context, python-jaraco-functools, python-jaraco-test, python-path, python-pip-run, python-inflect, python-tempora, python-portalocker)[native-inputs]: Remove python-pytest-mypy. --- gnu/packages/astronomy.scm | 3 +-- gnu/packages/check.scm | 1 - gnu/packages/python-web.scm | 1 - gnu/packages/python-xyz.scm | 14 ++------------ 4 files changed, 3 insertions(+), 16 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 7384da6452..2cea636e1b 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4629,8 +4629,7 @@ (define-public python-poliastro python-flit-core python-pytest python-pytest-doctestplus - python-pytest-mpl - python-pytest-mypy)) + python-pytest-mpl)) (propagated-inputs (list python-astropy python-astroquery diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index ee0f4385e2..40116749a9 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3116,7 +3116,6 @@ (define-public python-pytest-perf (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (propagated-inputs diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index dcfe693178..0b1468fc28 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -699,7 +699,6 @@ (define-public python-portend (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/portend") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86655a9d42..3146352420 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5660,7 +5660,6 @@ (define-public python-portalocker "0lawjm736vs86wlnxc3qqh37l11z0yx81xq3dmrw33m86kaq2bh3")))) (build-system pyproject-build-system) (native-inputs (list python-pytest - python-pytest-mypy python-pytest-timeout python-redis python-setuptools @@ -12791,7 +12790,6 @@ (define-public python-importlib-resources (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools-57 python-setuptools-scm)) (propagated-inputs @@ -12938,7 +12936,6 @@ (define-public python-jaraco-classes (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -12970,7 +12967,6 @@ (define-public python-jaraco-collections (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.collections") @@ -13028,7 +13024,6 @@ (define-public python-jaraco-context (native-inputs (list python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -13060,7 +13055,6 @@ (define-public python-jaraco-functools (list python-jaraco-classes python-pytest python-pytest-checkdocs - python-pytest-mypy python-setuptools python-setuptools-scm python-wheel)) @@ -13152,7 +13146,6 @@ (define-public python-jaraco-text (native-inputs (list python-pytest python-pytest-checkdocs python-pytest-enabler - python-pytest-mypy python-setuptools python-wheel)) (home-page "https://github.com/jaraco/jaraco.text") @@ -17891,8 +17884,7 @@ (define-public python-path python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-path-bootstrap))))) @@ -17994,8 +17986,7 @@ (define-public python-pip-run python-pygments python-pytest python-pytest-checkdocs - python-pytest-enabler - python-pytest-mypy))) + python-pytest-enabler))) (properties (alist-delete 'hidden? (package-properties python-pip-run-bootstrap))))) @@ -27855,7 +27846,6 @@ (define-public python-tempora python-pytest-checkdocs python-pytest-enabler python-pytest-freezegun - python-pytest-mypy python-setuptools-scm python-types-freezegun python-types-pytz -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:10 GMT) Full text and rfc822 format available.Message #562 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> Subject: [PATCH v5 31/48] build-system/pyproject: Stop hiding options. Date: Thu, 27 Feb 2025 15:27:32 +0100
* gnu/packages/pdf.scm (python-pydyf, weasyprint)[arguments] <#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-crypto.scm (python-keyring) [arguments]<#:test-flags>: Remove arguments hiding coverage options. * gnu/packages/python-web.scm (python-asgi-lifespan, python-openapi-schema-validator, python-openapi-spec-validator, python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding coverage options. (python-openapi-schema-validator, python-openapi-spec-validator) [arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase. (python-cssselect2)[arguments]: Remove uneeded field. (python-quart)[arguments]: Remove uneeded field. (python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded test-flags. * gnu/packages/python-xyz.scm (python-cattrs) [arguments]<#:phases>: Remove arguments hiding coverage options. (python-blessed)[arguments]: Remove uneeded field. python-pytest-cov remove option --- gnu/packages/pdf.scm | 6 +---- gnu/packages/python-crypto.scm | 1 - gnu/packages/python-web.scm | 42 +++------------------------------- gnu/packages/python-xyz.scm | 8 +------ 4 files changed, 5 insertions(+), 52 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index ce63306c07..7308b0c661 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -805,9 +805,6 @@ (define-public python-pydyf (sha256 (base32 "18q43g5d9455msipcgd5fvnh8m4a2rz189slzfg80yycjw66rshs")))) (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~'("-c" "/dev/null"))) (propagated-inputs (list python-pillow)) (native-inputs (list ghostscript @@ -1669,8 +1666,7 @@ (define-public weasyprint (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "-c" "/dev/null" - "-n" (number->string (parallel-job-count))) + #:test-flags #~(list "-n" (number->string (parallel-job-count))) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-library-paths diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index ec4e074a6b..9750302705 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -268,7 +268,6 @@ (define-public python-keyring (build-system pyproject-build-system) (arguments (list - #:test-flags '(list "-c" "/dev/null") ;avoid extra test dependencies #:phases #~(modify-phases %standard-phases (add-before 'check 'workaround-test-failure diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0b1468fc28..c5b904d229 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1267,8 +1267,7 @@ (define-public python-asgi-lifespan (arguments (list #:test-flags - '(list "-c" "/dev/null" ;ignore coverage-related options - "-k" + '(list "-k" (string-append ;; XXX: Some tests fail because of "Exceptions from Trio nursery" "not (test_lifespan_manager[trio-None-None-StartupFailed]" @@ -2259,10 +2258,7 @@ (define-public python-jsonpickle (build-system pyproject-build-system) (arguments (list - #:test-flags - ;; Prevent running the flake8 and black pytest plugins, which only tests - ;; style and frequently causes harmless failures. - '(list "-o" "addopts=''" "tests") + #:test-flags '(list "tests") #:phases '(modify-phases %standard-phases (add-before 'check 'pre-check @@ -3014,10 +3010,6 @@ (define-public python-openapi-schema-validator '(list "-k" "not test_array_prefixitems_invalid") #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") "")))) ;; See https://github.com/python-openapi/openapi-schema-validator/issues/204 (add-after 'unpack 'relax-requirements (lambda _ @@ -3061,13 +3053,7 @@ (define-public python-openapi-spec-validator (list ;; These tests attempt to fetch resources from the Internet #:test-flags '(list "--ignore-glob=tests/integration/validation/**" - "-k" "not example") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("^--cov.*") ""))))))) + "-k" "not example"))) (native-inputs (list python-poetry-core python-pytest)) @@ -3106,9 +3092,6 @@ (define-public python-openapi-core (list #:test-flags '(list "tests/unit" - ;; Ignore Pytest configuration in setup.cfg that adds - ;; unwanted flake8 and coverage options. - "-c" "/dev/null" "-k" "not test_chars_valid"))) (native-inputs (list python-django python-falcon @@ -7104,17 +7087,6 @@ (define-public python-cssselect2 (sha256 (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk")))) (build-system pyproject-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-linters - ;; Their check fails; none of our business. - (lambda _ - (substitute* '("setup.py" "pyproject.toml") - (("'pytest-flake8',") "") - (("'pytest-isort',") "") - (("--flake8") "") - (("--isort") ""))))))) (propagated-inputs (list python-tinycss2)) (native-inputs @@ -9753,14 +9725,6 @@ (define-public python-quart (sha256 (base32 "1h5ifv8g9dc9m07vj4v7dfalam83v38545d845vvgys1gan1pscd")))) (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-coverage-pytest-options - (lambda _ - (substitute* "pyproject.toml" - (("--no-cov-on-fail") ""))))))) (native-inputs (list python-poetry-core python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3146352420..18b5470573 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22876,9 +22876,7 @@ (define-public python-cattrs (substitute* "pyproject.toml" ;; Fix version string (("dynamic = \\[\"version\"\\]") - (string-append "version = \"" #$version "\"")) - ;; Just run pytest with no frills - (("addopts = \"-l.*") "")))) + (string-append "version = \"" #$version "\""))))) ;; XXX Our python-hypothesis package is too old. (add-after 'unpack 'compatibility (lambda _ @@ -33951,10 +33949,6 @@ (define-public python-blessed ;; Don't get hung up on Windows test failures. '(delete-file "blessed/win_terminal.py")))) (build-system pyproject-build-system) - (arguments - (list - ;; Avoid python-pytest-coverage - #:test-flags '(list "-c /dev/null"))) (propagated-inputs (list python-six python-wcwidth)) (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/jquast/blessed") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:11 GMT) Full text and rfc822 format available.Message #565 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> Subject: [PATCH v5 32/48] gnu: python-linear-operator: Remove python-flake8-print native-input Date: Thu, 27 Feb 2025 15:27:33 +0100
* gnu/packages/machine-learning.scm (python-linear-operator): [native-inputs]: Remove pytest-flake8-print. Change-Id: Iba2670b47e479c20a3f4ae1c703ad9fe815e3764 --- gnu/packages/machine-learning.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 360325c768..eb818d672f 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -5876,8 +5876,7 @@ (define-public python-linear-operator python-pytorch python-scipy python-typeguard)) - (native-inputs (list python-flake8-print - python-pytest + (native-inputs (list python-pytest python-setuptools python-setuptools-scm)) (home-page "https://github.com/cornellius-gp/linear_operator/") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:12 GMT) Full text and rfc822 format available.Message #568 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> Subject: [PATCH v5 33/48] gnu: multidict: Remove python-pytest-cov native-input. Date: Thu, 27 Feb 2025 15:27:34 +0100
* gnu/packages/python-xyz.scm (multidict) [native-inputs]: Remove python-pytest-cov. [arguments]{phases}: Add 'avoid-pytest-cov-preload phase. --- gnu/packages/python-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 18b5470573..395d091fd5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10988,9 +10988,15 @@ (define-public python-multidict (base32 "0jlgjpclkh5g6vr1danl6alz0cza2jlzdqh3q03d4s8ckfzjxbi2")))) (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'avoid-pytest-cov-preload + (lambda _ + (substitute* "pytest.ini" + (("-p pytest_cov") ""))))))) (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 -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:13 GMT) Full text and rfc822 format available.Message #571 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> Subject: [PATCH v5 34/48] gnu: python-isort: Remove python-black native-input. Date: Thu, 27 Feb 2025 15:27:35 +0100
* gnu/packages/python-xyz.scm (python-isort) [native-inputs]: Remove python-black. [arguments]: Adapt {test-flags} accordingly. --- gnu/packages/python-xyz.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 395d091fd5..9daa1cc8e4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25918,15 +25918,15 @@ (define-public python-isort (list #:test-flags #~(list "tests/unit/" - "-k" (string-join - (list - "not test_gitignore" - ;; See <https://github.com/PyCQA/isort/issues/2234>. - "test_isort_should_warn_on_empty_custom_config_issue_1433" - ;; Fails because of an unexpected linebreak. - "test_black_pyi_file") - " and not ") - "--ignore=tests/unit/test_deprecated_finders.py") + "-k" + (string-join + (list + "not test_gitignore" + ;; See <https://github.com/PyCQA/isort/issues/2234>. + "test_isort_should_warn_on_empty_custom_config_issue_1433") + " and not ") + "--ignore=tests/unit/test_deprecated_finders.py" + "--ignore=tests/unit/profiles/test_black.py") #:phases #~(modify-phases %standard-phases (add-after 'install 'install-example-plugins @@ -25945,7 +25945,6 @@ (define-public python-isort "install" "--user" "--no-deps" example-whls))))))) (native-inputs (list python-colorama - python-black python-hypothesmith python-libcst-minimal python-natsort -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:15 GMT) Full text and rfc822 format available.Message #574 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> Subject: [PATCH v5 35/48] build-system/pyproject: Remove python-mypy native-input. Date: Thu, 27 Feb 2025 15:27:36 +0100
--- gnu/packages/bioinformatics.scm | 2 -- gnu/packages/check.scm | 1 - gnu/packages/databases.scm | 3 +-- gnu/packages/finance.scm | 1 - gnu/packages/matrix.scm | 1 - gnu/packages/openstack.scm | 1 - gnu/packages/python-check.scm | 8 ++------ gnu/packages/python-crypto.scm | 1 - gnu/packages/python-science.scm | 3 +-- gnu/packages/python-web.scm | 2 -- gnu/packages/python-xyz.scm | 7 ++----- 11 files changed, 6 insertions(+), 24 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2fa52eb5b1..ce16f31637 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3167,7 +3167,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-mypy python-mypy-extensions python-pandas-stubs python-pytest @@ -6392,7 +6391,6 @@ (define-public python-schema-salad (native-inputs (list python-black python-cachecontrol - python-mypy python-pytest python-pytest-runner python-setuptools diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 40116749a9..3c9373648f 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2826,7 +2826,6 @@ (define-public python-crosshair (native-inputs (list python-icontract ;optional python-importlib-metadata - python-mypy python-numpy python-pytest python-pytest-xdist)) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index d124ba186c..83363cfedd 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4141,8 +4141,7 @@ (define-public python-aiosqlite (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "python" "-m" "aiosqlite.tests"))))))) - (native-inputs (list python-flit-core - python-mypy)) + (native-inputs (list python-flit-core)) (home-page "https://github.com/jreese/aiosqlite") (synopsis "Asyncio bridge for sqlite3") diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index eb676592b3..ddc9954d8e 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -2068,7 +2068,6 @@ (define-public fava python-werkzeug)) (native-inputs (list python-babel - python-mypy python-pytest python-setuptools python-types-setuptools diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index e7c1468da4..e503d17b91 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -193,7 +193,6 @@ (define-public python-matrix-nio python-hpack python-hyperframe python-hypothesis - python-mypy python-mypy-extensions python-poetry-core python-pytest diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 84696a586f..2b74994cc5 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -552,7 +552,6 @@ (define-public python-oslo.context (native-inputs (list python-fixtures python-hacking - python-mypy python-oslotest python-pbr python-stestr)) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c7187d1523..ac9243b8f4 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -585,8 +585,7 @@ (define-public python-green (when tests? (apply invoke "python" "-m" "green" test-flags))))))) (native-inputs - (list python-mypy - python-setuptools + (list python-setuptools python-testtools python-wheel)) (propagated-inputs @@ -814,7 +813,6 @@ (define-public python-icontract (native-inputs (list python-astor python-asyncstdlib - python-mypy python-numpy python-setuptools python-typeguard @@ -2620,7 +2618,6 @@ (define-public python-nptyping (native-inputs (list python-beartype python-feedparser - python-mypy python-pandas python-pytest python-setuptools @@ -3113,8 +3110,7 @@ (define-public python-sybil (sha256 (base32 "0r491k91fi2nb0kdd6di8cb2kxcvsk1xzw3sgwsxhhg4qynsp3bi")))) (build-system pyproject-build-system) - (native-inputs (list python-mypy - python-myst-parser + (native-inputs (list python-myst-parser python-pytest python-pyyaml python-seedir diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 9750302705..ca4539c551 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -584,7 +584,6 @@ (define-public python-cryptography python-cffi python-click python-cryptography-vectors - python-mypy python-pretend python-pytest python-pytest-benchmark diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 55d522b21c..80aa14e166 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -4054,8 +4054,7 @@ (define-public python-pynetdicom python-pytest-xdist python-sphinx python-sphinx-rtd-theme)) - (propagated-inputs (list python-mypy - python-numpydoc + (propagated-inputs (list python-numpydoc python-pydicom python-pyfakefs python-sqlalchemy)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c5b904d229..0d343e79e3 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8850,7 +8850,6 @@ (define-public python-sanic python-chardet python-cryptography python-docutils - python-mypy python-pygments python-pytest python-pytest-benchmark @@ -9873,7 +9872,6 @@ (define-public python-scrapy python-zope-interface)) (native-inputs (list nss-certs-for-test - python-mypy python-pexpect python-pytest python-pytest-xdist diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9daa1cc8e4..ad6f9c61f2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9496,7 +9496,6 @@ (define-public python-numpy meson-python pkg-config python-hypothesis - python-mypy python-pytest python-pytest-xdist python-setuptools @@ -9575,7 +9574,6 @@ (define-public python-numpy-2 ninja pkg-config python-hypothesis - python-mypy python-pytest python-pytest-xdist python-setuptools @@ -9817,7 +9815,6 @@ (define-public python-multiscale-spatial-image python-nbmake python-pooch python-pytest - python-pytest-mypy python-urllib3 python-zarr)) (home-page "https://github.com/spatial-image/multiscale-spatial-image") @@ -13401,7 +13398,6 @@ (define-public python-traitlets (native-inputs (list python-argcomplete python-hatchling - python-mypy python-pytest python-pytest-mock python-pytest-mypy-testing)) @@ -15043,7 +15039,6 @@ (define-public python-seaborn python-ipykernel python-nbconvert python-numpydoc - python-mypy python-pytest python-pytest-xdist python-pyyaml)) @@ -28461,6 +28456,8 @@ (define-public python-typeguard (sha256 (base32 "06y22d1f5dhpyl71wbhsaibig5hvc2v44pw795yb8lxl02fsh8hd")))) (build-system pyproject-build-system) + (arguments + (list #:test-flags ''("--ignore=tests/mypy"))) (native-inputs (list python-pytest python-setuptools -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:16 GMT) Full text and rfc822 format available.Message #577 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> Subject: [PATCH v5 36/48] build-system/pyproject: Add option #:use-pytest-plugin? Date: Thu, 27 Feb 2025 15:27:37 +0100
In the very rare cases where our plugin actually breaks a test, adding a flag is more convenient than replacing the phase. * guix/build-system/pyproject.scm (pyproject-build): Add option use-pytest-plugin? * guix/build/pyproject-build-system.scm (check): Add and use option use-pytest-plugin? * gnu/packages/check.scm (python-coverage, python-pytest-mypy)[arguments]{use-pytest-plugin}: Set to #f to fix tests. * gnu/packages/python-check.scm (python-pytest-flake8)[arguments]: Likewise. --- gnu/packages/check.scm | 6 +++++- gnu/packages/python-check.scm | 1 + guix/build-system/pyproject.scm | 2 ++ guix/build/pyproject-build-system.scm | 9 ++++++--- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 3c9373648f..5bb5edd369 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2500,6 +2500,8 @@ (define-public python-coverage "--deselect=tests/test_filereporter.py::FileReporterTest::test_zipfile" ;; XXX: Checking coverage for too much files, not only the target one. "--deselect=tests/test_oddball.py::DoctestTest::test_doctest") + ;; This is one of the rare cases where our plugin causes a test to fail. + #:use-pytest-plugin? #f #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-pyproject @@ -2997,7 +2999,9 @@ (define-public python-pytest-mypy (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "--numprocesses" "auto"))) + #:use-pytest-plugin? #f + #:test-flags #~(list "--numprocesses" + (number->string (parallel-job-count))))) (native-inputs (list python-pexpect python-pytest-xdist diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index ac9243b8f4..bbf3e47655 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1704,6 +1704,7 @@ (define-public python-pytest-flake8 (base32 "1rhz7mxcg7x9dbabfcjai3zxikfgw7az07m4ddf92bg35ib3byw8")))) (build-system pyproject-build-system) + (arguments (list #:use-pytest-plugin? #f)) (native-inputs (list python-pytest python-setuptools diff --git a/guix/build-system/pyproject.scm b/guix/build-system/pyproject.scm index bdf8f440ac..1cd38ce349 100644 --- a/guix/build-system/pyproject.scm +++ b/guix/build-system/pyproject.scm @@ -93,6 +93,7 @@ (define private-keywords (define* (pyproject-build name inputs #:key source (tests? #t) + (use-pytest-plugin? #t) (configure-flags ''(@)) (backend-path #f) (build-backend #f) @@ -125,6 +126,7 @@ (define build #:test-backend #$test-backend #:test-flags #$test-flags #:tests? #$tests? + #:use-pytest-plugin? #$use-pytest-plugin? #:phases #$(if (pair? phases) (sexp->gexp phases) phases) diff --git a/guix/build/pyproject-build-system.scm b/guix/build/pyproject-build-system.scm index 2df9f2f479..a96ec05ad6 100644 --- a/guix/build/pyproject-build-system.scm +++ b/guix/build/pyproject-build-system.scm @@ -231,7 +231,8 @@ (define-syntax-rule (with-guix-pytest-plugin inputs exp ...) "Evaluate EXP in a context where the Guix pytest plugin is added." (call-with-guix-pytest-plugin inputs (lambda () exp ...))) -(define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) +(define* (check #:key inputs tests? test-backend test-flags use-pytest-plugin? + #:allow-other-keys) "Run the test suite of a given Python package." (if tests? ;; Unfortunately with PEP 517 there is no common method to specify test @@ -254,8 +255,10 @@ (define* (check #:key inputs tests? test-backend test-flags #:allow-other-keys) (format #t "Using ~a~%" use-test-backend) (match use-test-backend ('pytest - (with-guix-pytest-plugin inputs - (apply invoke pytest "-vv" test-flags))) + (if use-pytest-plugin? + (with-guix-pytest-plugin inputs + (apply invoke pytest "-vv" test-flags)) + (apply invoke pytest "-vv" test-flags))) ('nose (apply invoke nosetests "-v" test-flags)) ('nose2 -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:17 GMT) Full text and rfc822 format available.Message #580 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> Subject: [PATCH v5 37/48] gnu: python-pixell: Update to 0.28.1. Date: Thu, 27 Feb 2025 15:27:38 +0100
See https://github.com/simonsobs/pixell/issues/291 for the reasons behind the patch. * gnu/packages/astronomy.scm (python-pixell): Update to 0.28.1. [source]: Switch to git-fetch. Add patch. [propagated-inputs]: Remove python-cython, python-coveralls. * gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch New file. * gnu/local.mk: Add patch. --- gnu/local.mk | 1 + gnu/packages/astronomy.scm | 15 +++++++++------ ...on-pixell-avoid-dependency-propagation.patch | 17 +++++++++++++++++ 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch diff --git a/gnu/local.mk b/gnu/local.mk index cd6c5d5483..dd187f571b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2006,6 +2006,7 @@ dist_patch_DATA = \ %D%/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch \ %D%/packages/patches/python-random2-getrandbits-test.patch \ %D%/packages/patches/python-pillow-use-zlib-1.3.patch \ + %D%/packages/patches/python-pixell-avoid-dependency-propagation.patch \ %D%/packages/patches/python-pydocstyle-add-support-for-pep701.patch \ %D%/packages/patches/python-pyreadstat-link-libiconv.patch \ %D%/packages/patches/python-sip-include-dirs.patch \ diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 2cea636e1b..4804e74a81 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3045,13 +3045,18 @@ (define-public python-mapsims (define-public python-pixell (package (name "python-pixell") - (version "0.28.0") + (version "0.28.1") (source (origin - (method url-fetch) - (uri (pypi-uri "pixell" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/simonsobs/pixell") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "11xd0ld329vr3spg5nzszn0bxzahnvkrh2akkd7qff33ndf75hkk")))) + (base32 "0p3pndy04n0hd352gjgwpqafp9sm1iq6c45pj745z1cswaf2lmc8")) + (patches (search-patches + "python-pixell-avoid-dependency-propagation.patch")))) (build-system pyproject-build-system) (native-inputs (list gfortran @@ -3062,8 +3067,6 @@ (define-public python-pixell python-pytest)) (propagated-inputs (list python-astropy - python-coveralls - python-cython ; check why it needs in installation python-dateutil python-ducc0 python-h5py diff --git a/gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch b/gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch new file mode 100644 index 0000000000..52c27bad6f --- /dev/null +++ b/gnu/packages/patches/python-pixell-avoid-dependency-propagation.patch @@ -0,0 +1,17 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -22,14 +22,10 @@ + 'h5py>=2.7', + 'scipy>=1.0', + 'python_dateutil>=2.7', +- 'cython', + 'healpy>=1.13', + 'matplotlib>=2.0', + 'pyyaml>=5.0', + 'Pillow>=5.3.0, != 10.4.0', +- 'pytest-cov>=2.6', +- 'coveralls>=1.5', +- 'pytest>=4.6', + 'ducc0>=0.36.0', + 'numba>=0.54.0' + ] -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:18 GMT) Full text and rfc822 format available.Message #583 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> Subject: [PATCH v5 40/48] gnu: python-matrix-nio: Remove python-mypy-extension native-input. Date: Thu, 27 Feb 2025 15:27:41 +0100
* gnu/packages/matrix.scm (python-matrix-nio)[native-inputs]: Remove python-mypy-extension. --- gnu/packages/matrix.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index e503d17b91..1a090c05a7 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -193,7 +193,6 @@ (define-public python-matrix-nio python-hpack python-hyperframe python-hypothesis - python-mypy-extensions python-poetry-core python-pytest python-pytest-aiohttp -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:18 GMT) Full text and rfc822 format available.Message #586 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> Subject: [PATCH v5 39/48] build-system/pyproject: Remove python-mypy-extensions native-input. Date: Thu, 27 Feb 2025 15:27:40 +0100
--- gnu/packages/bioinformatics.scm | 1 - gnu/packages/web.scm | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index ce16f31637..4d4ec7015b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3167,7 +3167,6 @@ (define-public python-metacells python-threadpoolctl python-umap-learn)) (native-inputs (list python-bumpversion - python-mypy-extensions python-pandas-stubs python-pytest python-setuptools diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 386dbfa036..15fc5047d9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -9656,8 +9656,7 @@ (define-public archivebox python-crontab python-dateparser python-django-extensions - python-django-3.1.14 - python-mypy-extensions)) + python-django-3.1.14)) (native-inputs (list python-wheel)) (synopsis "Self-hosted Web archiving") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:19 GMT) Full text and rfc822 format available.Message #589 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> Subject: [PATCH v5 38/48] build-system/pyproject: Remove python-check-manifest native-input. Date: Thu, 27 Feb 2025 15:27:39 +0100
* guix/import/pypi.scm (pypi-ignored-inputs): Add "check-manifest". * gnu/packages/jupyter.scm (python-papermill) * gnu/packages/python-xyz.scm (python-pillow, python-mercantile) * gnu/packages/time.scm (python-tzlocal) [native-inputs]: Remove python-check-manifest. --- gnu/packages/jupyter.scm | 1 - gnu/packages/python-xyz.scm | 6 ++---- gnu/packages/time.scm | 3 +-- guix/import/pypi.scm | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 8ce856f128..62f028077f 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -1151,7 +1151,6 @@ (define-public python-papermill python-boto3 python-botocore python-bumpversion - python-check-manifest python-ipython python-ipywidgets python-moto diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ad6f9c61f2..84b1e01cb5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11383,9 +11383,7 @@ (define-public python-pillow (add-installed-pythonpath inputs outputs) (invoke "python" "selftest.py" "--installed") (invoke "python" "-m" "pytest" "-vv"))))))) - (native-inputs (list python-check-manifest - python-coverage - python-defusedxml + (native-inputs (list python-defusedxml python-markdown2 python-olefile python-packaging @@ -31466,7 +31464,7 @@ (define-public python-mercantile (build-system python-build-system) (propagated-inputs (list python-click)) (native-inputs - (list python-check-manifest python-hypothesis python-pytest)) + (list python-hypothesis python-pytest)) (home-page "https://github.com/mapbox/mercantile") (synopsis "Web mercator XYZ tile utilities") (description "The mercantile module provides @code{ul(xtile, ytile, zoom)} diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 5f07e0860a..310b1ce5cb 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -454,8 +454,7 @@ (define-public python-tzlocal (propagated-inputs (list python-tzdata)) (native-inputs - (list python-check-manifest - python-pytest + (list python-pytest python-pytest-mock)) (home-page "https://github.com/regebro/tzlocal") (synopsis "Local timezone information for Python") diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index a49ab1e429..2e3ea6403d 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -87,7 +87,7 @@ (define pypi-ignored-inputs "tox" ; test wrapper for other environments "codecov" "coverage" ; coverage "black" "isort" "pycodestyle" "pep8" ; style - "pyflakes" "flake8" "pylint" "mypy" ; style+lint + "check-manifest" "pyflakes" "flake8" "pylint" "mypy" ; style+lint "coveralls" "twine" ; upload integration tools "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black" "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit")) ; variants -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:20 GMT) Full text and rfc822 format available.Message #592 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> Subject: [PATCH v5 42/48] build-system/pyproject: Remove python-pre-commit native-input. Date: Thu, 27 Feb 2025 15:27:43 +0100
--- gnu/packages/python-check.scm | 3 +-- gnu/packages/python-xyz.scm | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bbf3e47655..b37f925b69 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2291,8 +2291,7 @@ (define-public python-pytest-qt (propagated-inputs (list python-pluggy python-pyqt python-pytest)) (native-inputs - (list python-pre-commit - python-setuptools + (list python-setuptools python-setuptools-scm python-wheel)) (home-page "https://github.com/pytest-dev/pytest-qt") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5a3f523899..a9f04d2886 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11436,7 +11436,6 @@ (define-public python-pillow-heif python-defusedxml python-numpy python-packaging - python-pre-commit python-pympler python-setuptools python-pytest @@ -13510,7 +13509,6 @@ (define-public python-jupyter-core (propagated-inputs (list python-platformdirs python-traitlets)) (native-inputs (list python-hatchling python-pip - python-pre-commit python-pytest python-pytest-timeout)) ;; This package provides the `jupyter` binary and thus also exports the -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:21 GMT) Full text and rfc822 format available.Message #595 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> Subject: [PATCH v5 41/48] build-system/pyproject: Remove python-pip native-input. Date: Thu, 27 Feb 2025 15:27:42 +0100
--- gnu/packages/bioinformatics.scm | 2 +- gnu/packages/databases.scm | 1 - gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 4 +--- gnu/packages/python-xyz.scm | 15 ++++----------- gnu/packages/shells.scm | 1 - gnu/packages/web.scm | 1 - 7 files changed, 6 insertions(+), 19 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4d4ec7015b..dd33eee8d8 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7719,7 +7719,7 @@ (define-public python-illumina-utils (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (propagated-inputs (list python-matplotlib python-numpy python-levenshtein)) - (native-inputs (list python-setuptools python-wheel python-pip)) + (native-inputs (list python-setuptools python-wheel)) (home-page "https://github.com/meren/illumina-utils") (synopsis "Library and scripts to work with Illumina paired-end data") (description diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 83363cfedd..ca50dd1bfc 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -5795,7 +5795,6 @@ (define-public datasette (list nss-certs-for-test python-beautifulsoup4 python-cogapp - python-pip python-pytest python-pytest-asyncio python-pytest-runner diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 80aa14e166..6b7672a816 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -551,7 +551,6 @@ (define-public python-scikit-build-core python-hatch-vcs python-hatchling python-numpy - python-pip python-pypa-build python-pytest python-pytest-subprocess diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0d343e79e3..6484c5290d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2029,7 +2029,6 @@ (define-public httpie python-defusedxml python-importlib-metadata python-multidict - python-pip python-pygments python-requests python-requests-toolbelt @@ -4475,8 +4474,7 @@ (define-public python-requests python-idna python-urllib3)) (native-inputs - (list python-pip - python-pytest + (list python-pytest python-pytest-mock python-setuptools python-wheel)) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 84b1e01cb5..5a3f523899 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5752,8 +5752,7 @@ (define-public python-extension-helpers python-setuptools-scm python-tomli python-setuptools - python-wheel - python-pip)) + python-wheel)) (home-page "https://extension-helpers.readthedocs.io") (synopsis "Astropy ecosystem utilities for building and installing packages") (description @@ -19504,8 +19503,7 @@ (define-public python-argparse-manpage "1nq4sq1zk1xzdsqq61hd27jhj978ys136aba1zjg02x1g0c0cg11")))) (build-system pyproject-build-system) (native-inputs - (list python-pip python-pytest python-setuptools python-tomli - python-wheel)) + (list python-pytest python-setuptools python-tomli python-wheel)) (home-page "https://github.com/praiskup/argparse-manpage") (synopsis "Build manual page from Python's ArgumentParser object") (description @@ -23002,7 +23000,6 @@ (define-public poetry python-keyring python-packaging python-pexpect - python-pip python-pkginfo python-platformdirs python-poetry-core @@ -23325,8 +23322,7 @@ (define-public python-lazy-object-proxy (base32 "0sdc92bbzy6slcl432j04mr131cy8n0many26ppm4fpl8mnpn93q")))) (build-system pyproject-build-system) (native-inputs - (list python-pip - python-setuptools + (list python-setuptools python-setuptools-scm python-wheel)) (home-page "https://github.com/ionelmc/python-lazy-object-proxy") @@ -25941,7 +25937,6 @@ (define-public python-isort python-hypothesmith python-libcst-minimal python-natsort - python-pip python-poetry-core python-pylama python-pypa-build @@ -26671,8 +26666,7 @@ (define-public python-rfc3986-validator (base32 "0mfh82r37ma5n54n8ibnqvmwr3j3f2ixqfjfmv1rwfqvjbkvsi1x")))) (build-system pyproject-build-system) (native-inputs - (list python-pip - python-pytest + (list python-pytest python-pytest-runner python-rfc3987 python-setuptools @@ -34359,7 +34353,6 @@ (define-public python-pypandoc (list (texlive-updmap.cfg (list texlive-xpatch texlive-lm texlive-xcolor)) - python-pip python-poetry-core python-setuptools)) (inputs (list pandoc python-pandocfilters)) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 6f830d54aa..7763c2729b 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -620,7 +620,6 @@ (define-public xonsh (setenv "HOME" "/tmp")))))) (native-inputs (list git-minimal - python-pip python-pyte python-pytest python-pytest-mock diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 15fc5047d9..a38fc46bdb 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5262,7 +5262,6 @@ (define-public python-lambda-4dn (list python-boto3 python-botocore python-docutils - python-pip python-six python-virtualenv)) (home-page "https://github.com/4dn-dcic/python-lambda") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:22 GMT) Full text and rfc822 format available.Message #598 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> Subject: [PATCH v5 43/48] gnu: python-django-ldap: Remove uneeded native-inputs. Date: Thu, 27 Feb 2025 15:27:44 +0100
* gnu/packages/django.scm (python-django-ldap)[native-inputs]: Remove python-pypa-build, python-pip. --- gnu/packages/django.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 79712c4945..aacc1f7109 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1550,10 +1550,7 @@ (define-public python-django-auth-ldap (invoke "pip" "--no-cache-dir" "--no-input" "install" "--no-deps" "--prefix" #$output whl))))))) (native-inputs - (list openldap python-wheel python-setuptools-scm python-toml - - ;; These can be removed after <https://bugs.gnu.org/46848>. - python-pypa-build python-pip)) + (list openldap python-wheel python-setuptools-scm python-toml)) (propagated-inputs (list python-django python-ldap)) (home-page "https://github.com/django-auth-ldap/django-auth-ldap") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:23 GMT) Full text and rfc822 format available.Message #601 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> Subject: [PATCH v5 44/48] gnu: python-docstring-to-markdown: Remove uneeded native-inputs. Date: Thu, 27 Feb 2025 15:27:45 +0100
* gnu/packages/python-xyz.scm (python-docstring-to-markdown) [native-inputs]: Remove python-pytest-cov, python-pytest-flake8. [arguments]: Remove field. --- gnu/packages/python-xyz.scm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a9f04d2886..58dcb3c896 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1837,18 +1837,8 @@ (define-public python-docstring-to-markdown (sha256 (base32 "0gdpabnyl1kyy0cjrnph6xl4fyhgim50a1amsaqq3hahki6i2ip1")))) (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'reduce-test-coverage-since-failing - (lambda _ - (substitute* "setup.cfg" - (("(^.*cov.*$|^.*flake8.*$)") ""))))))) (native-inputs (list python-pytest - python-pytest-cov - python-pytest-flake8 python-setuptools python-wheel)) (home-page "https://github.com/python-lsp/docstring-to-markdown") -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:36:23 GMT) Full text and rfc822 format available.Message #604 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> Subject: [PATCH v5 45/48] gnu: python-translation-finder: Remove python coverage native-inputs. Date: Thu, 27 Feb 2025 15:27:46 +0100
* gnu/packages/python-web.scm (python-translation-finder) [native-inputs]: Remove python-codecov, python-codacy-coverage, python-pytest-cov. --- gnu/packages/python-web.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6484c5290d..846418c4d6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7410,8 +7410,7 @@ (define-public python-translation-finder (propagated-inputs (list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (native-inputs - (list python-codecov python-codacy-coverage python-pytest-cov - python-pytest-runner)) + (list python-codacy-coverage python-pytest-runner)) (home-page "https://weblate.org/") (synopsis "Translation file finder for Weblate") (description "This package provides a function to find translation file in -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Thu, 27 Feb 2025 14:40:10 GMT) Full text and rfc822 format available.Message #607 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> Subject: [PATCH v5 46/48] gnu: python-pymanopt: Remove python-flake8-bugbear native-input. Date: Thu, 27 Feb 2025 15:27:47 +0100
* gnu/packages/machine-learning.scm (python-pymanopt)[native-input]: Remove python-flake8-bugbear. --- gnu/packages/machine-learning.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index eb818d672f..37f84017da 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1140,7 +1140,6 @@ (define-public python-pymanopt ((",!=1.12\\.\\*") ""))))))) (propagated-inputs (list python-numpy python-scipy)) (native-inputs (list python-autograd - python-flake8-bugbear python-matplotlib python-pytest python-setuptools -- 2.48.1
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 09 Apr 2025 08:47:02 GMT) Full text and rfc822 format available.Message #610 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Andreas Enge <andreas <at> enge.fr> To: Nicolas Graves <ngraves <at> ngraves.fr> Cc: me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, lars <at> 6xq.net, 70858 <at> debbugs.gnu.org Subject: Re: [PATCH v5 python-team 00/48] Removing unwanted native-inputs. Date: Wed, 9 Apr 2025 10:46:05 +0200
Hello Nicolas and the Python team, is this being handled on the current python-team branch? Or should it get some special treatment? Andreas
guix-patches <at> gnu.org
:bug#70858
; Package guix-patches
.
(Wed, 09 Apr 2025 09:24:01 GMT) Full text and rfc822 format available.Message #613 received at 70858 <at> debbugs.gnu.org (full text, mbox):
From: Nicolas Graves <ngraves <at> ngraves.fr> To: Andreas Enge <andreas <at> enge.fr> Cc: tanguy <at> bioneland.org, me <at> bonfacemunyoki.com, lars <at> 6xq.net, 70858 <at> debbugs.gnu.org, Jelle Licht <jlicht <at> fsfe.org>, sharlatanus <at> gmail.com Subject: Re: [bug#70858] [PATCH v5 python-team 00/48] Removing unwanted native-inputs. Date: Wed, 09 Apr 2025 11:23:01 +0200
On 2025-04-09 10:46, Andreas Enge wrote: > Hello Nicolas and the Python team, > > is this being handled on the current python-team branch? > Or should it get some special treatment? We dropped this patch series for this iteration of the python-team branch. I think I slightly prefer a GCD to add a development-inputs field to the <package> record or in its properties, but I haven't implemented or tested a viable solution yet. IMO, we should avoid actually having evaluated packages there, so either by delaying the field and only evaluating it in a `guix shell -D` context, or using string specifications instead of packages. I prefer this solution because at least the node-build-system requires a similar way to filter out unwanted inputs to become usable. The solution to put it in the build-system itself is fragile (adding a new unwanted input leads to a world rebuild), so to me it seems like declaring those inputs as package-specific development-only is a smart way to filter them out of our native-inputs in a more robust way. And it's still useful information for `guix lint`, `guix import` and `guix shell -D` where we might want to handle them and where a string specification is enough! Ricardo preferred to apply this, but we agreed for at least waiting for the next iteration. The patch series is not lost, this work will eventually be useful, be it applied or through building up a related GCD. -- Best regards, Nicolas Graves
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.