[PATCH 0/9] Remove uneeded python-pylint package in native-inputs.

  • Open
  • quality assurance status badge
Details
One participant
  • Nicolas Graves
Owner
unassigned
Submitted by
Nicolas Graves
Severity
normal
N
N
Nicolas Graves wrote on 16 Apr 14:44 +0200
(address . guix-patches@gnu.org)(address . ngraves@ngraves.fr)
20240416125230.25265-1-ngraves@ngraves.fr
Linters are often not really needed as native-inputs, as they are
often used for development but don't actually test package
functionality. Removing them when trivial is useful to lift some
unrequired dependencies, and slim a tiny bit the complexity of the
package graph.

This patch series will trigger a lot of rebuilds, so it should go to
the right branch (wip-python ?).

Nicolas Graves (9):
gnu: python-fastjsonschema: Remove python-pylint native-input.
gnu: python-trio: Remove python-pylint native-input.
gnu: python-halo: Remove python-pylint native-input.
gnu: python-log-symbols: Remove python-pylint native-input.
gnu: python-spinners: Remove python-pylint native-input.
gnu: tuir: Remove python-pylint native-input.
gnu: rtv: Remove python-pylint native-input.
gnu: python-clingraph: Remove python-pylint native-input.
gnu: python-mediapy: Remove python-pylint native-input.

gnu/packages/potassco.scm | 2 +-
gnu/packages/python-xyz.scm | 3 ---
gnu/packages/syndication.scm | 2 --
gnu/packages/terminals.scm | 7 +++----
4 files changed, 4 insertions(+), 10 deletions(-)

--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 2/9] gnu: python-trio: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-2-ngraves@ngraves.fr
* gnu/packages/python-xyz.scm (python-trio):
[native-inputs]: Remove python-pylint.

Change-Id: Idd34db779b1f1bbc6ca277fedc01537e17205d50
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)

Toggle diff (14 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0f4ab26638..1b9070b112 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28283,7 +28283,6 @@ (define-public python-trio
(list python-astor
python-ipython
python-jedi
- python-pylint
python-pyopenssl
python-pytest
python-pytest-xdist
--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 3/9] gnu: python-halo: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-3-ngraves@ngraves.fr
* gnu/packages/terminals.scm (python-halo):
[native-inputs]: Remove python-pylint.

Change-Id: I90683fe1d2e61af6191f2c36279596638b905ced
---
gnu/packages/terminals.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Toggle diff (16 lines)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index f0ae4d4d4d..de850f2269 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1195,8 +1195,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
- python-twine))
+ (native-inputs (list python-coverage python-nose python-tox python-twine))
(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
--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 1/9] gnu: python-fastjsonschema: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-1-ngraves@ngraves.fr
* gnu/packages/python-xyz.scm (python-fastjsonschema):
[native-inputs]: Remove python-pylint.

Change-Id: If6a20e0b790f7157013a6868bba9e4a8d7e5ba28
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)

Toggle diff (14 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 44c709a880..0f4ab26638 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16676,7 +16676,6 @@ (define-public python-fastjsonschema
(list python-colorama
python-json-spec
python-jsonschema
- python-pylint
python-pytest
python-pytest-benchmark
python-pytest-cache))
--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 7/9] gnu: rtv: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-7-ngraves@ngraves.fr
* gnu/packages/syndication.scm (rtv):
[native-inputs]: Remove python-pylint.

Change-Id: Id374d678ae84968acf28d804b333bd8244c2b9cd
---
gnu/packages/syndication.scm | 1 -
1 file changed, 1 deletion(-)

Toggle diff (14 lines)
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 01b1b70828..a12c19dc27 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -435,7 +435,6 @@ (define-public rtv
python-coveralls
python-coverage
python-mock
- python-pylint
python-pytest
python-vcrpy))
(home-page "https://github.com/michael-lazar/rtv")
--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 6/9] gnu: tuir: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-6-ngraves@ngraves.fr
* gnu/packages/syndication.scm (tuir):
[native-inputs]: Remove python-pylint.

Change-Id: Ibe15a5c2f5410c72b5811d7bee3ef8114e36eaf7
---
gnu/packages/syndication.scm | 1 -
1 file changed, 1 deletion(-)

Toggle diff (14 lines)
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 18d3df5b6e..01b1b70828 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -473,7 +473,6 @@ (define-public tuir
(list python-coverage
python-coveralls
python-mock
- python-pylint
python-pytest
python-vcrpy))
(home-page "https://gitlab.com/ajak/tuir")
--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 5/9] gnu: python-spinners: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-5-ngraves@ngraves.fr
* gnu/packages/terminals.scm (python-spinners):
[native-inputs]: Remove python-pylint.

Change-Id: I65ad19ba7021db15eba6b410df6ed70ff9ed2ff9
---
gnu/packages/terminals.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 709e49714c..bdcebb02db 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1249,7 +1249,7 @@ (define-public python-spinners
(substitute* "requirements-dev.txt"
(("(.*)==(.*)$" _ dep ver)
(string-append dep ">=" ver))))))))
- (native-inputs (list python-coverage python-nose python-pylint python-tox))
+ (native-inputs (list python-coverage python-nose python-tox))
(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
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 8/9] gnu: python-clingraph: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-8-ngraves@ngraves.fr
* gnu/packages/potassco.scm (clingraph):
[native-inputs]: Remove python-pylint.

Change-Id: I596a4f555c75113c6b7f38071714c46fd04b688d
---
gnu/packages/potassco.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm
index 43d9ea6647..7b47e770fd 100644
--- a/gnu/packages/potassco.scm
+++ b/gnu/packages/potassco.scm
@@ -560,7 +560,7 @@ (define-public python-clingraph
python-jinja2
python-jsonschema
python-networkx))
- (native-inputs (list dot2tex graphviz python-pylint python-pytest))
+ (native-inputs (list dot2tex graphviz python-pytest))
(home-page "https://github.com/potassco/clingraph")
(synopsis "Visualizer for graphs defined as logic programs")
(description
--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 9/9] gnu: python-mediapy: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-9-ngraves@ngraves.fr
* gnu/packages/python-xyz.scm (python-mediapy):
[native-inputs]: Remove python-pylint.

Change-Id: Ia7146dfed5081aa356ef982bb9643b46c12a9eab
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)

Toggle diff (14 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1b9070b112..752d184494 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4231,7 +4231,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")
--
2.41.0
N
N
Nicolas Graves wrote on 16 Apr 14:59 +0200
[PATCH 4/9] gnu: python-log-symbols: Remove python-pylint native-input.
(address . 70416@debbugs.gnu.org)(address . ngraves@ngraves.fr)
20240416125953.25550-4-ngraves@ngraves.fr
* gnu/packages/terminals.scm (python-log-symbols):
[native-inputs]: Remove python-pylint.

Change-Id: Iad4858bbcfa2653540cfed5618db24d16a477e03
---
gnu/packages/terminals.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index de850f2269..709e49714c 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1222,7 +1222,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 python-tox))
+ (native-inputs (list python-coverage python-nose python-tox))
(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
--
2.41.0
?