guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit fc8cd5aeca8493ec1004949381c4b7c42a408381
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Jan 31 00:05:30 2025 +0100
gnu: Remove python-flake8 native-input from some packages.
Remove python-flake8 from [native-inputs] in the following packages as
not required for build/tests/install:
* gnu/packages/bioinformatics.scm: (python-doubletdetection)
* gnu/packages/ebook.scm: (calibre)
* gnu/packages/graph.scm: (python-pygsp)
* gnu/packages/machine-learning.scm: (python-pymanopt, python-pyro-api)
* gnu/packages/python-web.scm: (python-furl)
* gnu/packages/python-xyz.scm: (python-jinja2-cli)
* gnu/packages/simulation.scm: (python-dolfin-adjoint)
* gnu/packages/vpn.scm: (sshuttle)
* gnu/packages/music.scm (python-mutagen):
[arguments]<#:test-flags>: Ignore flake8 quality tests.
[native-inputs]: Remove python-flake8.
Change-Id: I2789b8711faf3aa60a4bfa2062f95616e216d6c3
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/bioinformatics.scm | 3 +--
gnu/packages/ebook.scm | 1 -
gnu/packages/machine-learning.scm | 4 +---
gnu/packages/music.scm | 4 ++--
gnu/packages/python-web.scm | 2 +-
gnu/packages/python-xyz.scm | 3 +--
gnu/packages/simulation.scm | 1 -
gnu/packages/vpn.scm | 1 -
8 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3faef60ab0..5d703de687 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2896,8 +2896,7 @@ demultiplexing step.")
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
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 31102eaa5b..9b33879274 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -173,7 +173,6 @@ with Microsoft Compiled HTML (CHM) files.")
(list bash-minimal
cmake
pkg-config
- python-flake8
python-pyqt-builder
qtbase ; for qmake
xdg-utils
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 5037690086..af5172e03b 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1522,7 +1522,6 @@ learning.")
((",!=1.12\\.\\*") "")))))))
(propagated-inputs (list python-numpy python-scipy))
(native-inputs (list python-autograd
- python-flake8
python-flake8-bugbear
python-isort
python-matplotlib
@@ -6248,8 +6247,7 @@ and Numpy.")
(build-system pyproject-build-system)
(arguments '(#:tests? #false)) ;requires pyro
(native-inputs
- (list python-flake8
- python-ipython
+ (list python-ipython
python-pytest
python-setuptools
python-sphinx
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index f22bc7c6f3..ef143270f7 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4062,6 +4062,7 @@ formats, looking up tracks through metadata and audio
fingerprints.")
(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
@@ -4072,8 +4073,7 @@ formats, looking up tracks through metadata and audio
fingerprints.")
(("( +)@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/python-web.scm b/gnu/packages/python-web.scm
index dd6eb94a52..91a6df00e8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3217,7 +3217,7 @@ origin than that of the web application.")
(propagated-inputs
(list python-orderedmultidict python-six))
(native-inputs
- (list python-flake8 python-pytest python-setuptools python-wheel))
+ (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/gruns/furl")
(synopsis "URL manipulation in Python")
(description "Furl provides an easy-to-use alternative to the
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a047f0ad51..ea520b27f3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31977,8 +31977,7 @@ Screenflick.")
(propagated-inputs
(list python-jinja2))
(native-inputs
- (list python-flake8
- python-jinja2
+ (list python-jinja2
python-pytest
python-setuptools
python-wheel))
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 729ba3516d..fb4ddf6ac7 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -1506,7 +1506,6 @@ counters and tunnels).")
(list pkg-config
python-coverage
python-decorator
- python-flake8
python-pkgconfig
python-pytest
python-setuptools
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 3359a1e665..3dc46777c3 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -1241,7 +1241,6 @@ private network between hosts on the internet.")
(native-inputs
(list python-setuptools-scm
;; For tests only.
- python-flake8
python-mock
python-poetry-core
python-pytest-cov