GNU bug report logs -
#62100
[PATCH] gnu: Remove python-pre-commit.
Previous Next
Reported by: Antero Mejr <antero <at> mailbox.org>
Date: Fri, 10 Mar 2023 17:19:02 UTC
Severity: normal
Tags: patch
Done: Lars-Dominik Braun <lars <at> 6xq.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62100 in the body.
You can then email your comments to 62100 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
lars <at> 6xq.net, guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Antero Mejr <antero <at> mailbox.org>
:
New bug report received and forwarded. Copy sent to
lars <at> 6xq.net, guix-patches <at> gnu.org
.
(Fri, 10 Mar 2023 17:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-pre-commit): Delete variable.
* gnu/packages/version-control.scm (pre-commit): Add comment referencing
python-pre-commit.
---
Please apply this patch last, after the rest of the series.
Will cause ~70-80 rebuilds from what I can see.
pre-commit and python-pre-commit are duplicates, but pre-commit is better
packaged and newer. pre-commit should never be a native-input of python
packages: it's a package manager for commit linting, which is completely
irrelevant to builds.
Resolves 53502:
https://issues.guix.gnu.org/53502
gnu/packages/python-xyz.scm | 30 ------------------------------
gnu/packages/version-control.scm | 2 +-
2 files changed, 1 insertion(+), 31 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8243bb9fd3..b2fb60f322 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24284,36 +24284,6 @@ (define-public python-retrying
@end itemize")
(license license:asl2.0)))
-(define-public python-pre-commit
- (package
- (name "python-pre-commit")
- (version "2.10.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pre_commit" version))
- (sha256
- (base32 "1ycf6wpxrhxhdzz0vpryhbdxlwik5khgcvp3hxwvfr447a6k84zl"))))
- (build-system python-build-system)
- (arguments
- ;; Tests fail with "AttributeError: module 'pre_commit.resources' has no
- ;; attribute 'empty_template_setup'".
- `(#:tests? #false))
- (propagated-inputs
- (list python-cfgv
- python-identify
- python-importlib-metadata
- python-nodeenv
- python-pyyaml
- python-toml
- python-virtualenv))
- (home-page "https://github.com/pre-commit/pre-commit")
- (synopsis "Framework for managing multi-language pre-commit hooks")
- (description
- "This package provides a framework for managing and maintaining
-multi-language pre-commit hooks.")
- (license license:expat)))
-
(define-public python-precis-i18n
(package
(name "python-precis-i18n")
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8b0997768d..96378a73d3 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1667,7 +1667,7 @@ (define-public gitile
(define-public pre-commit
(package
- (name "pre-commit")
+ (name "pre-commit") ;formerly known as python-pre-commit
(version "2.20.0")
(source
(origin
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:23:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-jupytext)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f3ec02ea..8ab6a44af7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -358,7 +358,6 @@ (define-public python-jupytext
python-isort
python-ipython-genutils
python-jupyter-server
- python-pre-commit
python-pytest
python-pyaml))
(propagated-inputs
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:23:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-bidict)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8ab6a44af7..b491a33051 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1614,7 +1614,6 @@ (define-public python-bidict
(native-inputs
(list python-coverage
python-hypothesis
- python-pre-commit
python-py
python-pytest
python-pytest-benchmark
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:23:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-pyjwt)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b491a33051..de89059d32 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4085,7 +4085,6 @@ (define-public python-pyjwt
(native-inputs
(list python-coverage
python-cryptography
- python-pre-commit
python-pytest
python-sphinx
python-sphinx-rtd-theme))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:23:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-marshmallow)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index de89059d32..524133f69c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21043,7 +21043,6 @@ (define-public python-marshmallow
(list python-flake8
python-flake8-bugbear
python-mypy
- python-pre-commit
python-pytest
python-pytz
python-simplejson))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:23:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-marshmallow-jsonapi)[native-inputs]:
Remove python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 524133f69c..571ae16c31 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21071,7 +21071,6 @@ (define-public python-marshmallow-jsonapi
python-flake8-bugbear
python-flask
python-mock
- python-pre-commit
python-pytest
python-tox))
(home-page "https://github.com/marshmallow-code/marshmallow-jsonapi")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-apispec)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 571ae16c31..cb3c51ab59 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21106,7 +21106,6 @@ (define-public python-apispec
python-flake8-bugbear
python-marshmallow
python-mypy
- python-pre-commit
python-pytest
python-pyyaml))
(home-page "https://github.com/marshmallow-code/apispec")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:03 GMT)
Full text and
rfc822 format available.
Message #26 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-apispec-webframeworks)[native-inputs]:
Remove python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cb3c51ab59..908cfd12ed 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21133,7 +21133,6 @@ (define-public python-apispec-webframeworks
python-flake8-bugbear
python-flask
python-mock
- python-pre-commit
python-pytest
python-tornado
python-tox))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:03 GMT)
Full text and
rfc822 format available.
Message #29 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-minikanren)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 908cfd12ed..8243bb9fd3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29312,8 +29312,7 @@ (define-public python-minikanren
python-black
python-sympy
python-versioneer
- python-coverage
- python-pre-commit))
+ python-coverage))
(propagated-inputs
(list python-toolz python-cons python-multipledispatch
python-etuples python-logical-unification))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:04 GMT)
Full text and
rfc822 format available.
Message #32 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (python-doubletdetection)[native-inputs]:
Remove python-pre-commit.
---
gnu/packages/bioinformatics.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0b1f36b347..bdd34fe67f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1347,8 +1347,7 @@ (define-public python-doubletdetection
(list python-black
python-flake8
python-poetry-core
- python-pytest
- python-pre-commit))
+ python-pytest))
(home-page "https://github.com/JonathanShor/DoubletDetection")
(synopsis
"This is a package to detect doublets in single-cell RNA-seq count matrices")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:04 GMT)
Full text and
rfc822 format available.
Message #35 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (scvelo)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/bioinformatics.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index bdd34fe67f..06f9eb8ee3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -18152,7 +18152,6 @@ (define-public scvelo
(list python-black
python-flake8
python-hypothesis
- python-pre-commit
python-pytest
python-setuptools-scm
python-wheel))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:04 GMT)
Full text and
rfc822 format available.
Message #38 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/check.scm (python-pytest-regressions)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/check.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 44860e3018..0c8777a074 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3519,7 +3519,6 @@ (define-public python-pytest-regressions
python-numpy
python-pandas
python-pillow
- python-pre-commit
python-restructuredtext-lint
python-tox
python-setuptools-scm
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:05 GMT)
Full text and
rfc822 format available.
Message #41 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-pre-commit.
---
gnu/packages/gettext.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index c66e1f58d1..d1e51ab530 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -221,7 +221,6 @@ (define-public mdpo
python-flake8-implicit-str-concat
python-flake8-print
python-isort
- python-pre-commit
python-pytest
python-pytest-cov
python-sphinx
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Fri, 10 Mar 2023 17:24:05 GMT)
Full text and
rfc822 format available.
Message #44 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/sphinx.scm (python-sphinxcontrib-apidoc)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/sphinx.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 5046fdaf85..addf4393b2 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -173,7 +173,6 @@ (define-public python-sphinxcontrib-apidoc
`(#:tests? #f)) ;requires python-pytest<4.0
(native-inputs
(list python-pbr
- python-pre-commit
python-pytest
python-sphinx
python-testrepository))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:32:01 GMT)
Full text and
rfc822 format available.
Message #47 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/version-control.scm (pre-commit): Update to 3.1.1.
[propagated-inputs]: Remove python-toml.
---
gnu/packages/version-control.scm | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8b0997768d..85291b12b7 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1667,8 +1667,8 @@ (define-public gitile
(define-public pre-commit
(package
- (name "pre-commit")
- (version "2.20.0")
+ (name "pre-commit") ;formerly known as python-pre-commit
+ (version "3.1.1")
(source
(origin
(method git-fetch) ; no tests in PyPI release
@@ -1677,7 +1677,11 @@ (define-public pre-commit
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "19jcg6nfnscp87h4wmbpw6r3lc8c75zkvb6wqgavq5dh7wkyg6pq"))))
+ (base32 "1rngcq1vd2phk45wp1cc5jz02wpi53fif0qwk633smfjcjj1kp41"))
+ (modules '((guix build utils)))
+ (snippet '(substitute* "setup.cfg"
+ (("virtualenv>=20.10.0") ;our virtualenv (20.3.1) is fine
+ "virtualenv>=20.0.8")))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1710,6 +1714,18 @@ (define-public pre-commit
;; Ruby and Node tests require node and gem.
"--ignore=tests/languages/node_test.py"
"--ignore=tests/languages/ruby_test.py"
+ ;; Skip lang-specific (network) tests added in 3.1.1
+ "--ignore=tests/languages/conda_test.py"
+ "--ignore=tests/languages/coursier_test.py"
+ "--ignore=tests/languages/dart_test.py"
+ "--ignore=tests/languages/docker_test.py"
+ "--ignore=tests/languages/docker_image_test.py"
+ "--ignore=tests/languages/dotnet_test.py"
+ "--ignore=tests/languages/golang_test.py"
+ "--ignore=tests/languages/lua_test.py"
+ "--ignore=tests/languages/perl_test.py"
+ "--ignore=tests/languages/rust_test.py"
+ "--ignore=tests/languages/swift_test.py"
"-k"
(string-append
;; TODO: these tests fail with AssertionError. It may
@@ -1717,7 +1733,8 @@ (define-public pre-commit
"not test_install_existing_hooks_no_overwrite"
" and not test_uninstall_restores_legacy_hooks"
" and not test_installed_from_venv"
- " and not test_healthy_venv_creator"))))))))
+ " and not test_healthy_venv_creator"
+ " and not test_r_hook and not test_r_inline"))))))))
(native-inputs
`(("git" ,git-minimal)
("python-covdefaults" ,python-covdefaults)
@@ -1733,7 +1750,6 @@ (define-public pre-commit
python-identify
python-nodeenv
python-pyyaml
- python-toml
python-virtualenv))
(home-page "https://pre-commit.com/")
(synopsis "Framework for managing and maintaining pre-commit hooks")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:32:02 GMT)
Full text and
rfc822 format available.
Message #50 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-jupytext)[native-inputs]: Remove
python-pre-commit.
[native-inputs]: Add pre-commit.
---
gnu/packages/python-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f3ec02ea..4d76ab9bf6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -351,6 +351,7 @@ (define-public python-jupytext
" and not "))))))))))
(native-inputs
(list git-minimal
+ pre-commit
python-autopep8
python-black
python-flake8
@@ -358,7 +359,6 @@ (define-public python-jupytext
python-isort
python-ipython-genutils
python-jupyter-server
- python-pre-commit
python-pytest
python-pyaml))
(propagated-inputs
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:01 GMT)
Full text and
rfc822 format available.
Message #53 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-bidict)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4d76ab9bf6..37953d9c7b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1615,7 +1615,6 @@ (define-public python-bidict
(native-inputs
(list python-coverage
python-hypothesis
- python-pre-commit
python-py
python-pytest
python-pytest-benchmark
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:02 GMT)
Full text and
rfc822 format available.
Message #56 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-pyjwt)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 37953d9c7b..d16e2eceb2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4086,7 +4086,6 @@ (define-public python-pyjwt
(native-inputs
(list python-coverage
python-cryptography
- python-pre-commit
python-pytest
python-sphinx
python-sphinx-rtd-theme))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:02 GMT)
Full text and
rfc822 format available.
Message #59 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-marshmallow)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d16e2eceb2..afc5ad845b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21044,7 +21044,6 @@ (define-public python-marshmallow
(list python-flake8
python-flake8-bugbear
python-mypy
- python-pre-commit
python-pytest
python-pytz
python-simplejson))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:03 GMT)
Full text and
rfc822 format available.
Message #62 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-marshmallow-jsonapi)[native-inputs]:
Remove python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afc5ad845b..d8c47421f6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21072,7 +21072,6 @@ (define-public python-marshmallow-jsonapi
python-flake8-bugbear
python-flask
python-mock
- python-pre-commit
python-pytest
python-tox))
(home-page "https://github.com/marshmallow-code/marshmallow-jsonapi")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:03 GMT)
Full text and
rfc822 format available.
Message #65 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-apispec)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d8c47421f6..d43c91e8f7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21107,7 +21107,6 @@ (define-public python-apispec
python-flake8-bugbear
python-marshmallow
python-mypy
- python-pre-commit
python-pytest
python-pyyaml))
(home-page "https://github.com/marshmallow-code/apispec")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:03 GMT)
Full text and
rfc822 format available.
Message #68 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-apispec-webframeworks)[native-inputs]:
Remove python-pre-commit.
[native-inputs]: Add python-pyyaml.
---
gnu/packages/python-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d43c91e8f7..8e731c56c5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21134,8 +21134,8 @@ (define-public python-apispec-webframeworks
python-flake8-bugbear
python-flask
python-mock
- python-pre-commit
python-pytest
+ python-pyyaml
python-tornado
python-tox))
(home-page "https://github.com/marshmallow-code/apispec-webframeworks")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:04 GMT)
Full text and
rfc822 format available.
Message #71 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-minikanren)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8e731c56c5..e910f33a29 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29314,8 +29314,7 @@ (define-public python-minikanren
python-black
python-sympy
python-versioneer
- python-coverage
- python-pre-commit))
+ python-coverage))
(propagated-inputs
(list python-toolz python-cons python-multipledispatch
python-etuples python-logical-unification))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:04 GMT)
Full text and
rfc822 format available.
Message #74 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (python-doubletdetection)[native-inputs]:
Remove python-pre-commit.
---
gnu/packages/bioinformatics.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0b1f36b347..bdd34fe67f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1347,8 +1347,7 @@ (define-public python-doubletdetection
(list python-black
python-flake8
python-poetry-core
- python-pytest
- python-pre-commit))
+ python-pytest))
(home-page "https://github.com/JonathanShor/DoubletDetection")
(synopsis
"This is a package to detect doublets in single-cell RNA-seq count matrices")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:05 GMT)
Full text and
rfc822 format available.
Message #77 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (scvelo)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/bioinformatics.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index bdd34fe67f..06f9eb8ee3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -18152,7 +18152,6 @@ (define-public scvelo
(list python-black
python-flake8
python-hypothesis
- python-pre-commit
python-pytest
python-setuptools-scm
python-wheel))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:05 GMT)
Full text and
rfc822 format available.
Message #80 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/check.scm (python-pytest-regressions)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/check.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 44860e3018..0c8777a074 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3519,7 +3519,6 @@ (define-public python-pytest-regressions
python-numpy
python-pandas
python-pillow
- python-pre-commit
python-restructuredtext-lint
python-tox
python-setuptools-scm
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:06 GMT)
Full text and
rfc822 format available.
Message #83 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-pre-commit.
---
gnu/packages/gettext.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index c66e1f58d1..d1e51ab530 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -221,7 +221,6 @@ (define-public mdpo
python-flake8-implicit-str-concat
python-flake8-print
python-isort
- python-pre-commit
python-pytest
python-pytest-cov
python-sphinx
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:33:06 GMT)
Full text and
rfc822 format available.
Message #86 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/sphinx.scm (python-sphinxcontrib-apidoc)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/sphinx.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 5046fdaf85..addf4393b2 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -173,7 +173,6 @@ (define-public python-sphinxcontrib-apidoc
`(#:tests? #f)) ;requires python-pytest<4.0
(native-inputs
(list python-pbr
- python-pre-commit
python-pytest
python-sphinx
python-testrepository))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 01:34:01 GMT)
Full text and
rfc822 format available.
Message #89 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-pre-commit): Delete variable.
---
gnu/packages/python-xyz.scm | 30 ------------------------------
1 file changed, 30 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e910f33a29..58e558e627 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24286,36 +24286,6 @@ (define-public python-retrying
@end itemize")
(license license:asl2.0)))
-(define-public python-pre-commit
- (package
- (name "python-pre-commit")
- (version "2.10.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pre_commit" version))
- (sha256
- (base32 "1ycf6wpxrhxhdzz0vpryhbdxlwik5khgcvp3hxwvfr447a6k84zl"))))
- (build-system python-build-system)
- (arguments
- ;; Tests fail with "AttributeError: module 'pre_commit.resources' has no
- ;; attribute 'empty_template_setup'".
- `(#:tests? #false))
- (propagated-inputs
- (list python-cfgv
- python-identify
- python-importlib-metadata
- python-nodeenv
- python-pyyaml
- python-toml
- python-virtualenv))
- (home-page "https://github.com/pre-commit/pre-commit")
- (synopsis "Framework for managing multi-language pre-commit hooks")
- (description
- "This package provides a framework for managing and maintaining
-multi-language pre-commit hooks.")
- (license license:expat)))
-
(define-public python-precis-i18n
(package
(name "python-precis-i18n")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 07:53:02 GMT)
Full text and
rfc822 format available.
Message #92 received at 62100 <at> debbugs.gnu.org (full text, mbox):
Am Samstag, dem 11.03.2023 um 01:31 +0000 schrieb Antero Mejr:
> * gnu/packages/python-xyz.scm (python-jupytext)[native-inputs]:
> Remove python-pre-commit.
> [native-inputs]: Add pre-commit.
Should be "replace python-pre-commit with pre-commit". Regarding the
first message in v1, shouldn't you be dropping this input altogether?
(Though I suppose pre-commit being a developer tool doesn't stop people
from invoking it in their build files.)
Cheers
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 07:58:02 GMT)
Full text and
rfc822 format available.
Message #95 received at 62100 <at> debbugs.gnu.org (full text, mbox):
Hi,
> * gnu/packages/python-xyz.scm (python-pre-commit): Delete variable.
usually we don’t delete variables just like that, because it breaks
existing manifests and channels depending on it. Please use
deprecated-package.
Perhaps we should also update the linter to flag this package or the
PyPi importer to not add it in the first place.
Cheers,
Lars
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:41:02 GMT)
Full text and
rfc822 format available.
Message #98 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/version-control.scm (pre-commit): Update to 3.1.1.
[propagated-inputs]: Remove python-toml.
---
gnu/packages/version-control.scm | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8b0997768d..85291b12b7 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1667,8 +1667,8 @@ (define-public gitile
(define-public pre-commit
(package
- (name "pre-commit")
- (version "2.20.0")
+ (name "pre-commit") ;formerly known as python-pre-commit
+ (version "3.1.1")
(source
(origin
(method git-fetch) ; no tests in PyPI release
@@ -1677,7 +1677,11 @@ (define-public pre-commit
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "19jcg6nfnscp87h4wmbpw6r3lc8c75zkvb6wqgavq5dh7wkyg6pq"))))
+ (base32 "1rngcq1vd2phk45wp1cc5jz02wpi53fif0qwk633smfjcjj1kp41"))
+ (modules '((guix build utils)))
+ (snippet '(substitute* "setup.cfg"
+ (("virtualenv>=20.10.0") ;our virtualenv (20.3.1) is fine
+ "virtualenv>=20.0.8")))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1710,6 +1714,18 @@ (define-public pre-commit
;; Ruby and Node tests require node and gem.
"--ignore=tests/languages/node_test.py"
"--ignore=tests/languages/ruby_test.py"
+ ;; Skip lang-specific (network) tests added in 3.1.1
+ "--ignore=tests/languages/conda_test.py"
+ "--ignore=tests/languages/coursier_test.py"
+ "--ignore=tests/languages/dart_test.py"
+ "--ignore=tests/languages/docker_test.py"
+ "--ignore=tests/languages/docker_image_test.py"
+ "--ignore=tests/languages/dotnet_test.py"
+ "--ignore=tests/languages/golang_test.py"
+ "--ignore=tests/languages/lua_test.py"
+ "--ignore=tests/languages/perl_test.py"
+ "--ignore=tests/languages/rust_test.py"
+ "--ignore=tests/languages/swift_test.py"
"-k"
(string-append
;; TODO: these tests fail with AssertionError. It may
@@ -1717,7 +1733,8 @@ (define-public pre-commit
"not test_install_existing_hooks_no_overwrite"
" and not test_uninstall_restores_legacy_hooks"
" and not test_installed_from_venv"
- " and not test_healthy_venv_creator"))))))))
+ " and not test_healthy_venv_creator"
+ " and not test_r_hook and not test_r_inline"))))))))
(native-inputs
`(("git" ,git-minimal)
("python-covdefaults" ,python-covdefaults)
@@ -1733,7 +1750,6 @@ (define-public pre-commit
python-identify
python-nodeenv
python-pyyaml
- python-toml
python-virtualenv))
(home-page "https://pre-commit.com/")
(synopsis "Framework for managing and maintaining pre-commit hooks")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:41:02 GMT)
Full text and
rfc822 format available.
Message #101 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-jupytext)[native-inputs]: Remove
python-pre-commit.
[native-inputs]: Add pre-commit.
---
gnu/packages/python-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f3ec02ea..4d76ab9bf6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -351,6 +351,7 @@ (define-public python-jupytext
" and not "))))))))))
(native-inputs
(list git-minimal
+ pre-commit
python-autopep8
python-black
python-flake8
@@ -358,7 +359,6 @@ (define-public python-jupytext
python-isort
python-ipython-genutils
python-jupyter-server
- python-pre-commit
python-pytest
python-pyaml))
(propagated-inputs
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:41:03 GMT)
Full text and
rfc822 format available.
Message #104 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-bidict)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4d76ab9bf6..37953d9c7b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1615,7 +1615,6 @@ (define-public python-bidict
(native-inputs
(list python-coverage
python-hypothesis
- python-pre-commit
python-py
python-pytest
python-pytest-benchmark
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:41:03 GMT)
Full text and
rfc822 format available.
Message #107 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-pyjwt)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 37953d9c7b..d16e2eceb2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4086,7 +4086,6 @@ (define-public python-pyjwt
(native-inputs
(list python-coverage
python-cryptography
- python-pre-commit
python-pytest
python-sphinx
python-sphinx-rtd-theme))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:41:03 GMT)
Full text and
rfc822 format available.
Message #110 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-marshmallow)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d16e2eceb2..afc5ad845b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21044,7 +21044,6 @@ (define-public python-marshmallow
(list python-flake8
python-flake8-bugbear
python-mypy
- python-pre-commit
python-pytest
python-pytz
python-simplejson))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:02 GMT)
Full text and
rfc822 format available.
Message #113 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-marshmallow-jsonapi)[native-inputs]:
Remove python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afc5ad845b..d8c47421f6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21072,7 +21072,6 @@ (define-public python-marshmallow-jsonapi
python-flake8-bugbear
python-flask
python-mock
- python-pre-commit
python-pytest
python-tox))
(home-page "https://github.com/marshmallow-code/marshmallow-jsonapi")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:02 GMT)
Full text and
rfc822 format available.
Message #116 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-apispec)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d8c47421f6..d43c91e8f7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21107,7 +21107,6 @@ (define-public python-apispec
python-flake8-bugbear
python-marshmallow
python-mypy
- python-pre-commit
python-pytest
python-pyyaml))
(home-page "https://github.com/marshmallow-code/apispec")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:03 GMT)
Full text and
rfc822 format available.
Message #119 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-apispec-webframeworks)[native-inputs]:
Remove python-pre-commit.
[native-inputs]: Add python-pyyaml.
---
gnu/packages/python-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d43c91e8f7..8e731c56c5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21134,8 +21134,8 @@ (define-public python-apispec-webframeworks
python-flake8-bugbear
python-flask
python-mock
- python-pre-commit
python-pytest
+ python-pyyaml
python-tornado
python-tox))
(home-page "https://github.com/marshmallow-code/apispec-webframeworks")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:03 GMT)
Full text and
rfc822 format available.
Message #122 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-minikanren)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/python-xyz.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8e731c56c5..e910f33a29 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29314,8 +29314,7 @@ (define-public python-minikanren
python-black
python-sympy
python-versioneer
- python-coverage
- python-pre-commit))
+ python-coverage))
(propagated-inputs
(list python-toolz python-cons python-multipledispatch
python-etuples python-logical-unification))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:03 GMT)
Full text and
rfc822 format available.
Message #125 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (python-doubletdetection)[native-inputs]:
Remove python-pre-commit.
---
gnu/packages/bioinformatics.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0b1f36b347..bdd34fe67f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1347,8 +1347,7 @@ (define-public python-doubletdetection
(list python-black
python-flake8
python-poetry-core
- python-pytest
- python-pre-commit))
+ python-pytest))
(home-page "https://github.com/JonathanShor/DoubletDetection")
(synopsis
"This is a package to detect doublets in single-cell RNA-seq count matrices")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:04 GMT)
Full text and
rfc822 format available.
Message #128 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (scvelo)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/bioinformatics.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index bdd34fe67f..06f9eb8ee3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -18152,7 +18152,6 @@ (define-public scvelo
(list python-black
python-flake8
python-hypothesis
- python-pre-commit
python-pytest
python-setuptools-scm
python-wheel))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:04 GMT)
Full text and
rfc822 format available.
Message #131 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/check.scm (python-pytest-regressions)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/check.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 44860e3018..0c8777a074 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3519,7 +3519,6 @@ (define-public python-pytest-regressions
python-numpy
python-pandas
python-pillow
- python-pre-commit
python-restructuredtext-lint
python-tox
python-setuptools-scm
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:05 GMT)
Full text and
rfc822 format available.
Message #134 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gettext.scm (mdpo)[native-inputs]: Remove python-pre-commit.
---
gnu/packages/gettext.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index c66e1f58d1..d1e51ab530 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -221,7 +221,6 @@ (define-public mdpo
python-flake8-implicit-str-concat
python-flake8-print
python-isort
- python-pre-commit
python-pytest
python-pytest-cov
python-sphinx
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:05 GMT)
Full text and
rfc822 format available.
Message #137 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/sphinx.scm (python-sphinxcontrib-apidoc)[native-inputs]: Remove
python-pre-commit.
---
gnu/packages/sphinx.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 5046fdaf85..addf4393b2 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -173,7 +173,6 @@ (define-public python-sphinxcontrib-apidoc
`(#:tests? #f)) ;requires python-pytest<4.0
(native-inputs
(list python-pbr
- python-pre-commit
python-pytest
python-sphinx
python-testrepository))
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:05 GMT)
Full text and
rfc822 format available.
Message #140 received at 62100 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-pre-commit): Deprecate in favor of
pre-commit.
---
gnu/packages/python-xyz.scm | 29 +----------------------------
1 file changed, 1 insertion(+), 28 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e910f33a29..02ec564e8e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24287,34 +24287,7 @@ (define-public python-retrying
(license license:asl2.0)))
(define-public python-pre-commit
- (package
- (name "python-pre-commit")
- (version "2.10.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pre_commit" version))
- (sha256
- (base32 "1ycf6wpxrhxhdzz0vpryhbdxlwik5khgcvp3hxwvfr447a6k84zl"))))
- (build-system python-build-system)
- (arguments
- ;; Tests fail with "AttributeError: module 'pre_commit.resources' has no
- ;; attribute 'empty_template_setup'".
- `(#:tests? #false))
- (propagated-inputs
- (list python-cfgv
- python-identify
- python-importlib-metadata
- python-nodeenv
- python-pyyaml
- python-toml
- python-virtualenv))
- (home-page "https://github.com/pre-commit/pre-commit")
- (synopsis "Framework for managing multi-language pre-commit hooks")
- (description
- "This package provides a framework for managing and maintaining
-multi-language pre-commit hooks.")
- (license license:expat)))
+ (deprecated-package "python-pre-commit" pre-commit))
(define-public python-precis-i18n
(package
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:42:06 GMT)
Full text and
rfc822 format available.
Message #143 received at 62100 <at> debbugs.gnu.org (full text, mbox):
pre-commit should never be a native-input of python packages, it's a
package manager for commit linting that is irrelevant to builds.
* guix/lint.scm (check-inputs-should-not-be-an-input-at-all): Add entry
for python-pre-commit.
---
guix/lint.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/lint.scm b/guix/lint.scm
index 8e3976171f..17dcc23647 100644
--- a/guix/lint.scm
+++ b/guix/lint.scm
@@ -533,7 +533,8 @@ (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-pip"
+ "python-pre-commit")))
(map (lambda (input)
(make-warning
package
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:45:01 GMT)
Full text and
rfc822 format available.
Message #146 received at 62100 <at> debbugs.gnu.org (full text, mbox):
Lars-Dominik Braun <lars <at> 6xq.net> writes:
> usually we don’t delete variables just like that, because it breaks
> existing manifests and channels depending on it. Please use
> deprecated-package.
Fixed in v3.
> Perhaps we should also update the linter to flag this package or the
> PyPi importer to not add it in the first place.
Added python-pre-commit to the
check-inputs-should-not-be-an-input-at-all linter in v3.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62100
; Package
guix-patches
.
(Sat, 11 Mar 2023 13:48:01 GMT)
Full text and
rfc822 format available.
Message #149 received at 62100 <at> debbugs.gnu.org (full text, mbox):
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
> Am Samstag, dem 11.03.2023 um 01:31 +0000 schrieb Antero Mejr:
>> * gnu/packages/python-xyz.scm (python-jupytext)[native-inputs]:
>> Remove python-pre-commit.
>> [native-inputs]: Add pre-commit.
> Should be "replace python-pre-commit with pre-commit". Regarding the
> first message in v1, shouldn't you be dropping this input altogether?
> (Though I suppose pre-commit being a developer tool doesn't stop people
> from invoking it in their build files.)
Fixed that commit message in v3.
Yes, python-jupytext is an unusual case where they invoke pre-commit as
part of their tests.
Reply sent
to
Lars-Dominik Braun <lars <at> 6xq.net>
:
You have taken responsibility.
(Sun, 12 Mar 2023 11:15:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Antero Mejr <antero <at> mailbox.org>
:
bug acknowledged by developer.
(Sun, 12 Mar 2023 11:15:03 GMT)
Full text and
rfc822 format available.
Message #154 received at 62100-done <at> debbugs.gnu.org (full text, mbox):
Hi,
> Fixed in v3.
thanks. I pushed v3 as:
a70b9fb319 (lint: Check that python-pre-commit is not an input., 2023-03-11)
831baaf81e (gnu: python-pre-commit: Replace with pre-commit., 2023-03-11)
5c976c6b45 (gnu: python-sphinxcontrib-apidoc: Remove python-pre-commit., 2023-03-11)
dcc3bebfaf (gnu: mdpo: Remove python-pre-commit., 2023-03-11)
57a94b9eff (gnu: python-pytest-regressions: Remove python-pre-commit., 2023-03-11)
72b1fe77b2 (gnu: scvelo: Remove python-pre-commit., 2023-03-11)
ed59796de5 (gnu: python-doubletdetection: Remove python-pre-commit., 2023-03-11)
fb624c919f (gnu: python-minikanren: Remove python-pre-commit., 2023-03-11)
f19ab875ff (gnu: python-apispec-webframeworks: Remove python-pre-commit., 2023-03-11)
6181cce732 (gnu: python-apispec: Remove python-pre-commit., 2023-03-11)
2cfb7dbd2f (gnu: python-marshmallow-jsonapi: Remove python-pre-commit., 2023-03-11)
a83f3a13e6 (gnu: python-marshmallow: Remove python-pre-commit., 2023-03-11)
d456ced2d4 (gnu: python-pyjwt: Remove python-pre-commit., 2023-03-11)
622b92d935 (gnu: python-bidict: Remove python-pre-commit., 2023-03-11)
64d69c3f79 (gnu: python-jupytext: Replace python-pre-commit with pre-commit., 2023-03-11)
94c898cd9b (gnu: pre-commit: Update to 3.1.1., 2023-03-11)
Cheers,
Lars
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 09 Apr 2023 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 35 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.