Debian Bug report logs - #936952
lintian: Python2 removal in sid/bullseye

version graph

Package: src:lintian; Maintainer for src:lintian is Debian Lintian Maintainers <lintian-maint@debian.org>;

Reported by: Matthias Klose <doko@debian.org>

Date: Fri, 30 Aug 2019 08:07:53 UTC

Severity: normal

Tags: bullseye, sid

Found in version lintian/2.19.0

Fixed in version lintian/2.92.0

Done: Chris Lamb <lamby@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#936952; Package src:lintian. (Fri, 30 Aug 2019 08:07:56 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Fri, 30 Aug 2019 08:07:56 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: lintian: Python2 removal in sid/bullseye
Date: Fri, 30 Aug 2019 07:24:56 +0000
Package: src:lintian
Version: 2.19.0
Severity: normal
Tags: sid bullseye
User: debian-python@lists.debian.org
Usertags: py2removal

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

Your package either build-depends, depends on Python2, or uses Python2
in the autopkg tests.  Please stop using Python2, and fix this issue
by one of the following actions.

- Convert your Package to Python3. This is the preferred option.  In
  case you are providing a Python module foo, please consider dropping
  the python-foo package, and only build a python3-foo package.  Please
  don't drop Python2 modules, which still have reverse dependencies,
  just document them.
  
  This is the preferred option.

- If the package is dead upstream, cannot be converted or maintained
  in Debian, it should be removed from the distribution.  If the
  package still has reverse dependencies, raise the severity to
  "serious" and document the reverse dependencies with the BTS affects
  command.  If the package has no reverse dependencies, confirm that
  the package can be removed, reassign this issue to ftp.debian.org,
  make sure that the bug priority is set to normal and retitle the
  issue to "RM: PKG -- removal triggered by the Python2 removal".

- If the package has still many users (popcon >= 300), or is needed to
  build another package which cannot be removed, document that by
  adding the "py2keep" user tag (not replacing the py2remove tag),
  using the debian-python@lists.debian.org user.  Also any
  dependencies on an unversioned python package (python, python-dev)
  must not be used, same with the python shebang.  These have to be
  replaced by python2/python2.7 dependencies and shebang.

  This is the least preferred option.

If the conversion or removal needs action on another package first,
please document the blocking by using the BTS affects command, like

  affects <bug number of blocking py2removal bug> + src:lintian

If there is no py2removal bug for that reverse-dependency, please file
a bug on this package (similar to this bug report).

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-python@lists.debian.org mailing list.



Added indication that bug 936952 blocks 937960 Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Mon, 21 Oct 2019 22:59:14 GMT) (full text, mbox, link).


Added indication that bug 936952 blocks 937695 Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Mon, 21 Oct 2019 23:28:45 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#936952; Package src:lintian. (Fri, 31 Jan 2020 06:21:09 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Fri, 31 Jan 2020 06:21:09 GMT) (full text, mbox, link).


Message #14 received at 936952@bugs.debian.org (full text, mbox, reply):

From: Sandro Tosi <morph@debian.org>
To: 936952@bugs.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>
Subject: Re: lintian: Python2 removal in sid/bullseye
Date: Fri, 31 Jan 2020 01:17:18 -0500
Dear Lintian maintainers,

On Fri, 30 Aug 2019 07:24:56 +0000 Matthias Klose <doko@debian.org> wrote:
> Package: src:lintian
> Version: 2.19.0
> Severity: normal
> Tags: sid bullseye
> User: debian-python@lists.debian.org
> Usertags: py2removal

it looks like the python dependencies were introduced in 2.5.5 for:

    + [JW] Add Build-Dependency on python-numpy and python-all-dev
      for the test suite.

is there any chance you could migrate the test suite to python3
anytime soon? if i read the code correctly (be aware, it's 1am here,
conclusions may be fuzzy) it may be necessary to adapt the
`missing-dependency-on-numpy-abi` tag processing.

thanks,
Sandro



Added blocking bug(s) of 936952: 950516 Request was from Felix Lechner <felix.lechner@lease-up.com> to submit@bugs.debian.org. (Sun, 02 Feb 2020 22:21:04 GMT) (full text, mbox, link).


Severity set to 'serious' from 'normal' Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Wed, 08 Jul 2020 06:39:25 GMT) (full text, mbox, link).


Severity set to 'normal' from 'serious' Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Wed, 08 Jul 2020 07:03:19 GMT) (full text, mbox, link).


Message sent on to Matthias Klose <doko@debian.org>:
Bug#936952. (Mon, 24 Aug 2020 03:03:02 GMT) (full text, mbox, link).


Message #23 received at 936952-submitter@bugs.debian.org (full text, mbox, reply):

From: Felix Lechner <noreply@salsa.debian.org>
To: 936952-submitter@bugs.debian.org
Subject: Bug#936952 marked as pending in lintian
Date: Mon, 24 Aug 2020 02:59:03 +0000
Control: tag -1 pending

Hello,

Bug #936952 in lintian reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/lintian/lintian/-/commit/9fb0603c9046d2ae4e57290d2b4131d9ce2adfcc

------------------------------------------------------------------------
Replace python2 with python3 in d/tests/control. (Closes: #936952)

At the time of writing, file(1) in unstable could not detect byte-compiled
files produced by python3. (It worked for python3 version 3.7 but unstable
has version 3.8.) It rendered the tag source-contains-prebuilt-python-object
untestable.

For the time being, two fictitious tags were added to the affected test
according to a best estimate. In one uncertaintly, the offending file names
incorporate the Python3 version.

The test was also marked TODO with an explanation and some instructions. The
test suite expects the test to fail until the Todo field is removed.

The test should be adjusted when Bug#950516, which for some time blocked the
bug taken care of here, was fixed.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/936952



Added tag(s) pending. Request was from Felix Lechner <noreply@salsa.debian.org> to 936952-submitter@bugs.debian.org. (Mon, 24 Aug 2020 03:03:02 GMT) (full text, mbox, link).


Removed blocking bug(s) of 936952: 950516 Request was from Felix Lechner <felix.lechner@lease-up.com> to control@bugs.debian.org. (Mon, 24 Aug 2020 03:24:02 GMT) (full text, mbox, link).


Reply sent to Chris Lamb <lamby@debian.org>:
You have taken responsibility. (Fri, 28 Aug 2020 11:51:09 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Fri, 28 Aug 2020 11:51:09 GMT) (full text, mbox, link).


Message #32 received at 936952-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 936952-close@bugs.debian.org
Subject: Bug#936952: fixed in lintian 2.92.0
Date: Fri, 28 Aug 2020 11:48:35 +0000
Source: lintian
Source-Version: 2.92.0
Done: Chris Lamb <lamby@debian.org>

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 936952@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 28 Aug 2020 12:29:46 +0100
Source: lintian
Architecture: source
Version: 2.92.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 936952 963589 967961 968611 968845
Changes:
 lintian (2.92.0) unstable; urgency=medium
 .
   [ Felix Lechner ]
   * Drop obsolete output formats ColonSeparated, FullEWI, LetterQualifier
     and XML.
   * Provide a Perl-native implementation to index and extract tar files in
     parallel. (Closes: #968611)
   * Reduce visibility level of redundant-globbing-patterns to pedantic.
     (Closes: #967961)
   * Reset file_info for TeX Font Metric files incorrectly categorized as gzip.
     (Closes: #963589)
   * Replace python2 with python3 in debian/tests/control. (Closes: #936952)
   * Split bin/lintian-info into separate annotate-lintian-hints and
     explain-lintian-tags.
   * Drop Lintian version from tag URLs offered in "standalone" HTML mode.
   * Use Text::Glob to match globbing patterns to file names in
     debian/copyright.
   * Remove IO::Async from Depends in debian/control and move to
     debian/tests/control.
 .
   * Update tag description files:
     - Rename file extensions from *.desc to *.tag.
     - For friendlier field names, rename Info: to Explanation: and Ref: to
       See-Also:
     - Use Text::Markdown::Discount to facilitate Markdown content.
     - Also decode HTML5 entities in plain output; add
       libhtml-html5-entities-perl to debian/control.
     - Replace underscores with the &lowbar; HTML5 entity.
 .
   [ Chris Lamb ]
   * Don't emit patch-not-forwarded-upstream for README files under
     debian/patches. (Closes: #968845)
   * Update private/generate-tag-summary to reflect change of tag definition
     filename extension change from .desc → .tag.
 .
   [ Dmitry Shachnev ]
   * Refresh data/files/fonts using refresh-fonts-data script.
Checksums-Sha1:
 05e58c7f1a4deb7bd411453863088b81f1344c08 2439 lintian_2.92.0.dsc
 eaf342f64ea7422cef20d26993deac98d48e1d80 1983424 lintian_2.92.0.tar.xz
 d37910d4754f3d0a4b30af91d143a1218146d2a3 5830 lintian_2.92.0_amd64.buildinfo
Checksums-Sha256:
 88e3fe1b4fa32797fea56e86066fa32f2d6e437a7d79cbcd9194a254d05e280e 2439 lintian_2.92.0.dsc
 809076b02b5a0692f790220a5cccbb55b2ed27eb390ea72ba7a010bc43e1aef4 1983424 lintian_2.92.0.tar.xz
 cc911a383e405211cbe84f92d402722c4fd45009fa95f35165523ab8b82aea5c 5830 lintian_2.92.0_amd64.buildinfo
Files:
 ec977ad763ba2256f7b18982aa64ca89 2439 devel optional lintian_2.92.0.dsc
 02d26a4c4b9c6593c97259bc12fef80a 1983424 devel optional lintian_2.92.0.tar.xz
 dfd9d1f03f9af88d322ed05d0f78184c 5830 devel optional lintian_2.92.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl9I61YACgkQHpU+J9Qx
HljKng/9FPA5eF7yGuKMWj2k1fOsmaaAiwfDNMSfPBniredHA/j6ZxqFBVhtHwRQ
VR4uMtszHXpI8lkv2FndfXUrTj1AjJi4WF5mcM3ybk8M4Z9IE517KbAMiSNaYn42
q5b2wKMkryKi+w7TCM47neh+tC0l012uUbEl1gXW/BL25ctUB2XBAYichSfgiBTU
fGYh9NPDmpolm/ZNXCwTKrBUP/C1B6TmBWDGGgKRDnUk2mbP3KV1woarvDAkRqRt
T9yFmo/66Fl3HQnMulgq4AZEP9oSpSYmHgKKY1oMEoSwcC13JTw+pL3u/p/YNY4A
ruyhnvGtiAn4pYmTdEw90arqFtP2b8NauBuC+2lYtYTsHw6Fw5fQKuCMZRGNMkG5
5/P2fj1nHYIQulhS0lE7Z1q3YlLub2wMgztfE6ZS7JsX+79MX0pTzovOMMt0mJ7F
D1aa/nSa4sE2mXOH4vpNTlFaPjj3doHWoYXeKalzjHBg3CX/O9tqjVyLIM+nrb+8
m1aAKNpUziysjfDUPxKyn5F/Wae38TLwgUOwmieZUrMunj1cRiq20ayfdm0QGhd3
DEuSdGIG3BW5Rspz2POaPpcxjF/xODXWdc7TDVTQkxQGwbpe3Dd6rwML8rrS23c4
/2JM24wjl/tiC9mR3Zhdinz1+Q7nL52M/Ap8fS6DO8a//VfETiw=
=jSCY
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 19 Jan 2021 07:27:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Mar 10 03:46:34 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.