[lintian] 01/01: checks/python.desc: Lower the severity of the "dependency-on-python-version-marked-for-end-of-life" tag from normal ("E:") to wishlist ("W:") as it is not necessarily actionable by the maintainer. This reverts bug #883581. (Closes: #886259)
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 06e998db45cbd874740d12a9e553d74a576703a3
Author: Chris Lamb <lamby@debian.org>
Date: Wed Jan 3 15:22:38 2018 +0000
checks/python.desc: Lower the severity of the "dependency-on-python-version-marked-for-end-of-life" tag from normal ("E:") to wishlist ("W:") as it is not necessarily actionable by the maintainer. This reverts bug #883581. (Closes: #886259)
---
checks/python.desc | 8 ++++----
debian/changelog | 6 +++++-
t/tests/python-python2-apps/tags | 12 ++++++------
t/tests/scripts-control-interpreters/desc | 2 ++
t/tests/scripts-control-interpreters/tags | 4 ++--
t/tests/scripts-interpreters/tags | 2 +-
t/tests/scripts-missing-dep-fp/tags | 2 +-
7 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/checks/python.desc b/checks/python.desc
index 5144fb0..bde9f5a 100644
--- a/checks/python.desc
+++ b/checks/python.desc
@@ -61,16 +61,16 @@ Info: This package alternatively Build-Depends on the Python 2 or Python 3
<tt>python3-sphinx</tt>.
Tag: dependency-on-python-version-marked-for-end-of-life
-Severity: normal
+Severity: wishlist
Certainty: certain
Ref: https://wiki.debian.org/Python/Python3Port, https://www.python.org/dev/peps/pep-0373/
Info: The package specifies a dependency on Python 2.x which is due for
deprecation and will not be maintained past 2020.
.
- Please port the package to use Python 3 instead.
+ Please port the package to use Python 3 instead or ask upstream to do so.
.
- If upstream have not moved or have no intention to move to Python 3, please be
- certain that Debian would benefit from the inclusion of this package.
+ If upstream have not moved (or have no intention to move) to Python 3, please
+ be certain that Debian benefits from the inclusion of this package.
Tag: django-package-does-not-depend-on-django
Severity: normal
diff --git a/debian/changelog b/debian/changelog
index 11fcc48..6fb354d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,9 +14,13 @@ lintian (2.5.68) UNRELEASED; urgency=medium
* checks/fields.pm:
+ [CL] Warn about orphaned packages that are not maintained in the
Debian infrastucture. (Closes: #886057)
- * checks/python.pm:
+ * checks/python.{pm,desc}:
+ [CL] Don't warn about django-package-does-not-depend-on-django for
-doc packages, etc.
+ + [CL] Lower the severity of the
+ "dependency-on-python-version-marked-for-end-of-life" tag from normal
+ ("W:") to wishlist ("I:") as it is not necessarily actionable by the
+ maintainer. This reverts bug #883581. (Closes: #886259)
* checks/rules.pm:
+ [CL] Also allow $(overridden_command) when checking for the
override_dh_fixperms-does-not-call-dh_fixperms etc. tags.
diff --git a/t/tests/python-python2-apps/tags b/t/tests/python-python2-apps/tags
index a569b7e..190d50a 100644
--- a/t/tests/python-python2-apps/tags
+++ b/t/tests/python-python2-apps/tags
@@ -1,6 +1,6 @@
-W: pkg-depends-any: dependency-on-python-version-marked-for-end-of-life (Depends: python)
-W: pkg-depends: dependency-on-python-version-marked-for-end-of-life (Depends: python)
-W: pkg-pre-depends: dependency-on-python-version-marked-for-end-of-life (Pre-Depends: python2.7)
-W: pkg-recommends: dependency-on-python-version-marked-for-end-of-life (Recommends: python-dev)
-W: pkg-suggests: dependency-on-python-version-marked-for-end-of-life (Suggests: python)
-W: pkg-suggests: dependency-on-python-version-marked-for-end-of-life (Suggests: python2.7)
+I: pkg-depends-any: dependency-on-python-version-marked-for-end-of-life (Depends: python)
+I: pkg-depends: dependency-on-python-version-marked-for-end-of-life (Depends: python)
+I: pkg-pre-depends: dependency-on-python-version-marked-for-end-of-life (Pre-Depends: python2.7)
+I: pkg-recommends: dependency-on-python-version-marked-for-end-of-life (Recommends: python-dev)
+I: pkg-suggests: dependency-on-python-version-marked-for-end-of-life (Suggests: python)
+I: pkg-suggests: dependency-on-python-version-marked-for-end-of-life (Suggests: python2.7)
diff --git a/t/tests/scripts-control-interpreters/desc b/t/tests/scripts-control-interpreters/desc
index d8a3334..41f98c0 100644
--- a/t/tests/scripts-control-interpreters/desc
+++ b/t/tests/scripts-control-interpreters/desc
@@ -10,4 +10,6 @@ Test-For: control-interpreter-in-usr-local
preinst-interpreter-without-predepends
control-interpreter-without-depends
unknown-control-interpreter
+Test-Against:
+ dependency-on-python-version-marked-for-end-of-life
References: Debian Bug#508307
diff --git a/t/tests/scripts-control-interpreters/tags b/t/tests/scripts-control-interpreters/tags
index f66af38..1407ec7 100644
--- a/t/tests/scripts-control-interpreters/tags
+++ b/t/tests/scripts-control-interpreters/tags
@@ -7,11 +7,11 @@ E: scripts-control-interpreters-paths: wrong-path-for-interpreter #!/bin/python
E: scripts-control-interpreters-paths: wrong-path-for-interpreter #!/usr/bin/bash != /bin/bash (control/postinst)
E: scripts-control-interpreters-python: preinst-interpreter-without-predepends #!/usr/bin/python
E: scripts-control-interpreters-unknown: unknown-control-interpreter control/postinst #!/usr/bin/unknown
+I: scripts-control-interpreters-prepython: dependency-on-python-version-marked-for-end-of-life (Pre-Depends: python)
+I: scripts-control-interpreters-python: dependency-on-python-version-marked-for-end-of-life (Depends: python)
W: scripts-control-interpreters-forbidden: unusual-control-interpreter control/postinst #!/usr/bin/python
W: scripts-control-interpreters-paths: unusual-control-interpreter control/prerm #!/bin/python
-W: scripts-control-interpreters-prepython: dependency-on-python-version-marked-for-end-of-life (Pre-Depends: python)
W: scripts-control-interpreters-prepython: unusual-control-interpreter control/postinst #!/usr/bin/python
W: scripts-control-interpreters-prepython: unusual-control-interpreter control/preinst #!/usr/bin/python
-W: scripts-control-interpreters-python: dependency-on-python-version-marked-for-end-of-life (Depends: python)
W: scripts-control-interpreters-python: unusual-control-interpreter control/postinst #!/usr/bin/python
W: scripts-control-interpreters-python: unusual-control-interpreter control/preinst #!/usr/bin/python
diff --git a/t/tests/scripts-interpreters/tags b/t/tests/scripts-interpreters/tags
index 342aad2..170103f 100644
--- a/t/tests/scripts-interpreters/tags
+++ b/t/tests/scripts-interpreters/tags
@@ -5,6 +5,7 @@ E: scripts-interpreters: script-without-interpreter usr/bin/no-interpreter
E: scripts-interpreters: shell-script-fails-syntax-check usr/bin/syntax
E: scripts-interpreters: wrong-path-for-interpreter usr/bin/not-absolute (#!perl != /usr/bin/perl)
E: scripts-interpreters: wrong-path-for-interpreter usr/bin/wrong-perl-path (#!/bin/perl != /usr/bin/perl)
+I: scripts-interpreters: dependency-on-python-version-marked-for-end-of-life (Depends: python2.7)
I: scripts-interpreters: example-interpreter-not-absolute usr/share/doc/scripts-interpreters/examples/not-absolute #!perl
I: scripts-interpreters: example-script-uses-bin-env usr/share/doc/scripts-interpreters/examples/bin-env
I: scripts-interpreters: example-script-without-interpreter usr/share/doc/scripts-interpreters/examples/no-interpreter
@@ -14,7 +15,6 @@ P: scripts-interpreters: example-interpreter-in-usr-local usr/share/doc/scripts-
P: scripts-interpreters: example-shell-script-fails-syntax-check usr/share/doc/scripts-interpreters/examples/syntax
P: scripts-interpreters: example-unusual-interpreter usr/share/doc/scripts-interpreters/examples/unusual #!/usr/bin/lintian
W: scripts-interpreters: csh-considered-harmful usr/bin/csh-shell
-W: scripts-interpreters: dependency-on-python-version-marked-for-end-of-life (Depends: python2.7)
W: scripts-interpreters: interpreter-not-absolute usr/bin/not-absolute #!perl
W: scripts-interpreters: script-uses-bin-env usr/bin/bin-env
W: scripts-interpreters: unusual-interpreter usr/bin/unusual #!/usr/bin/lintian
diff --git a/t/tests/scripts-missing-dep-fp/tags b/t/tests/scripts-missing-dep-fp/tags
index 7c71a7b..4d04c62 100644
--- a/t/tests/scripts-missing-dep-fp/tags
+++ b/t/tests/scripts-missing-dep-fp/tags
@@ -1 +1 @@
-W: scripts-missing-dep-fp: dependency-on-python-version-marked-for-end-of-life (Depends: python)
+I: scripts-missing-dep-fp: dependency-on-python-version-marked-for-end-of-life (Depends: python)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: