[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.0-rc1-28-g6595ab6



The following commit has been merged in the master branch:
commit 6595ab63543c8f9ea2eae4f32124a22145ad28db
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Mar 26 10:39:48 2011 +0100

    Removed outdated tag old-versioned-python-dependency
    
    Per request of some Python package maintainers the tag has been
    removed.  According to them all instances of this tag are
    false-positives.

diff --git a/checks/fields b/checks/fields
index 9c058ad..d411add 100644
--- a/checks/fields
+++ b/checks/fields
@@ -648,11 +648,6 @@ if (($type eq 'binary') || ($type eq 'udeb')) {
 				tag 'doc-package-depends-on-main-package', $field
 				    if ("$d_pkg-doc" eq $pkg && $field =~ /^(pre-)depends$/);
 
-				tag 'old-versioned-python-dependency', "$field: $part_d_orig"
-				    if ($d_pkg eq 'python' && $d_version->[0] eq '<<' && &$is_dep_field($field)
-					&& $arch_indep && $pkg =~ /^python-/ && ! defined $info->field('python-version')
-					&& ! $info->relation('depends')->implies('python-support'));
-
 				# only trigger this for the the preferred alternative
 				tag 'versioned-dependency-satisfied-by-perl', "$field: $part_d_orig"
 					if $alternatives[0][-1] eq $part_d_orig
diff --git a/checks/fields.desc b/checks/fields.desc
index ded3a3f..099b9cd 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -871,24 +871,6 @@ Info: The Python-Version control field is not in one of the valid
  (One or more specific versions may be listed with the last form.)  A.B
  and X.Y should be Python versions.
 
-Tag: old-versioned-python-dependency
-Severity: normal
-Certainty: certain
-Info: This package appears to be an architecture-independent Python module
- but has a dependency on a version of python less than a particular
- version, doesn't use python-support and no Python-Version control field.
- This normally means that the package isn't using the current Python
- policy; most architecture-independent Python packages will work with any
- future version of Python if they follow the new policy.
- .
- If this package really does require only a particular range of Python
- versions and uses python-central, add a Python-Version control field (as
- described in 2.3 of the Python policy) to resolve this warning.
- .
- Note that this can also be triggered if dh_python2 is used and it cannot
- add anything to the Breaks field, beceause the package has no
- ${python:Breaks} substition variable.
-
 Tag: malformed-dm-upload-allowed
 Severity: important
 Certainty: certain
diff --git a/debian/changelog b/debian/changelog
index 2a6b5b7..b97280e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ lintian (2.5.0~rc2) UNRELEASED; urgency=low
     + Added:
       - unknown-multi-arch-value
       - package-needs-versioned-debhelper-build-depends
+    + Removed:
+      - old-versioned-python-dependency
 
   * checks/binaries:
     + [ADB] Update binary-from-other-architecture's tests in line with the
@@ -28,6 +30,10 @@ lintian (2.5.0~rc2) UNRELEASED; urgency=low
   * checks/fields{,.desc}:
     + [NT] Recognise Multi-Arch as a known binary field.  (Closes: #617816)
     + [NT] Fixed typo in a tag description.
+    + [NT] Removed old-versioned-python-dependency per request of the
+      Python team.  The tag was outdated and most instances of it was
+      false positives.  Thanks to Piotr Ożarowski and Jakub Wilk for
+      the report and clarification.  (Closes: #619487)
   * checks/files:
     + [NT] Also check files in /etc/cron.d for dots in filenames.  Thanks
       to Thijs Kinkhorst for the report and patch.  (Closes: #615072)
diff --git a/t/COVERAGE b/t/COVERAGE
index 6522142..2e610a6 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,4 +1,4 @@
-Last generated 2011-03-25
+Last generated 2011-03-26
 
 The following tags are not tested by the test suite:
 
@@ -60,7 +60,6 @@ fields no-package-name
 fields no-source-field
 fields no-version-field
 fields obsolete-field
-fields old-versioned-python-dependency
 fields package-depends-on-an-x-font-package
 fields package-not-lowercase
 fields package-superseded-by-perl

-- 
Debian package checker


Reply to: