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

Bug#1077324: marked as done (lintian: newly introduced uses-deprecated-python-stdlib a bit overzealous)



Your message dated Sun, 29 Sep 2024 19:49:42 +0000
with message-id <E1suzvK-008FyO-Rm@fasolo.debian.org>
and subject line Bug#1077324: fixed in lintian 2.119.0
has caused the Debian Bug report #1077324,
regarding lintian: newly introduced uses-deprecated-python-stdlib a bit overzealous
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1077324: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077324
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.117.1
Severity: normal

Dear Maintainer,

Thanks for the introduction of the uses-deprecated-python-stdlib
tag!  This looks very useful to flag and anticipate breaking
changes in upcoming Python versions without having to parse test
output (if any), or run into breakages when modules are
effectively removed.

While trying to refresh the python-globus-sdk package, I noticed
a number of informational notices from lintian like:

	I: python-globus-sdk source: uses-deprecated-python-stdlib crypt (deprecated in Python 3.11, removed in Python 3.13) [src/globus_sdk/services/auth/response/oauth.py:11]
	I: python-globus-sdk source: uses-deprecated-python-stdlib uu (deprecated in Python 3.11, removed in Python 3.13) [src/globus_sdk/_testing/data/auth/_common.py:1]

but looking at the source code at indicated locations, I ended
up with other modules:

	src/globus_sdk/services/auth/response/oauth.py:11:
	from cryptography.hazmat.primitives.asymmetric.rsa import RSAPublicKey
	^^^^^^^^^^
	src/globus_sdk/_testing/data/auth/_common.py:1:
	import uuid
	^^^^^^^^^

I'm under the impression that the pattern matching associated to
the module detection captures a little more than the module
name.  It feels like there is a missing "end of word" pattern
missing in a regex.  I will work these false positives around
with overrides, but I thought you might like to be aware of the
issue.

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emollier@debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-    on air: Saga - How do I look


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.9.11-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  binutils                        2.42.90.20240720-2
ii  bzip2                           1.0.8-5.1
ii  diffstat                        1.66-1
ii  dpkg                            1.22.10
ii  dpkg-dev                        1.22.10
ii  file                            1:5.45-3
ii  gettext                         0.22.5-2
ii  gpg                             2.2.43-8
ii  intltool-debian                 0.35.0+20060710.6
ii  iso-codes                       4.16.0-1
ii  libapt-pkg-perl                 0.1.40+b5
ii  libarchive-zip-perl             1.68-1
ii  libberkeleydb-perl              0.64-2+b3
ii  libcapture-tiny-perl            0.48-2
ii  libclass-xsaccessor-perl        1.19-4+b3
ii  libclone-perl                   0.46-1+b2
ii  libconfig-tiny-perl             2.30-1
ii  libconst-fast-perl              0.014-2
ii  libcpanel-json-xs-perl          4.38-1
ii  libdata-dpath-perl              0.59-1
ii  libdata-validate-domain-perl    0.10-1.1
ii  libdata-validate-uri-perl       0.07-3
ii  libdevel-size-perl              0.84-1
pn  libdigest-sha-perl              <none>
ii  libdpkg-perl                    1.22.10
ii  libemail-address-xs-perl        1.05-1+b3
ii  libencode-perl                  3.21-1+b1
ii  libfile-basedir-perl            0.09-2
ii  libfile-find-rule-perl          0.34-3
ii  libfont-ttf-perl                1.06-2
ii  libhtml-html5-entities-perl     0.004-3
ii  libhtml-tokeparser-simple-perl  3.16-4
ii  libio-interactive-perl          1.025-1
ii  libipc-run3-perl                0.049-1
ii  libjson-maybexs-perl            1.004005-1
ii  liblist-compare-perl            0.55-2
ii  liblist-someutils-perl          0.59-1
ii  liblist-utilsby-perl            0.12-2
ii  libmldbm-perl                   2.05-4
ii  libmoo-perl                     2.005005-1
ii  libmoox-aliases-perl            0.001006-2
ii  libnamespace-clean-perl         0.27-2
ii  libpath-tiny-perl               0.146-1
ii  libperlio-gzip-perl             0.20-1+b3
ii  libperlio-utf8-strict-perl      0.010-1+b2
ii  libproc-processtable-perl       0.636-1+b2
ii  libregexp-wildcards-perl        1.05-3
ii  libsereal-decoder-perl          5.004+ds-1+b2
ii  libsereal-encoder-perl          5.004+ds-1+b2
ii  libsort-versions-perl           1.62-3
ii  libsyntax-keyword-try-perl      0.29-2
ii  libterm-readkey-perl            2.38-2+b3
ii  libtext-levenshteinxs-perl      0.03-5+b3
ii  libtext-markdown-discount-perl  0.16-1+b2
ii  libtext-xslate-perl             3.5.9-2
ii  libtime-duration-perl           1.21-2
ii  libtime-moment-perl             0.44-2+b3
ii  libtimedate-perl                2.3300-2
ii  libunicode-utf8-perl            0.62-2+b2
ii  liburi-perl                     5.28-1
ii  libwww-mechanize-perl           2.18-1
ii  libwww-perl                     6.77-1
ii  libxml-libxml-perl              2.0207+dfsg+really+2.0134-4
ii  libyaml-libyaml-perl            0.89+ds-1+b1
ii  lzip [lzip-decompressor]        1.24.1-2
ii  lzop                            1.04-2
ii  man-db                          2.12.1-2
ii  patchutils                      0.4.2-1
ii  perl [libencode-perl]           5.38.2-5
ii  plzip [lzip-decompressor]       1.11-2
ii  t1utils                         1.41-4
ii  unzip                           6.0-28
ii  xz-utils                        5.6.2-2

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     2.42.90.20240720-2
ii  libtext-template-perl  1.61-1

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.119.0
Done: Louis-Philippe Véronneau <pollo@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 1077324@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Louis-Philippe Véronneau <pollo@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: SHA512

Format: 1.8
Date: Sun, 29 Sep 2024 15:16:45 -0400
Source: lintian
Architecture: source
Version: 2.119.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Louis-Philippe Véronneau <pollo@debian.org>
Closes: 1077324 1080352 1082612 1082761
Changes:
 lintian (2.119.0) unstable; urgency=medium
 .
   [ Blair Noctis ]
   * Add fish completions for lintian, lintian-explain-tags,
     lintian-annotate-hints.
 .
   [ Louis-Philippe Véronneau ]
   * Recommend node-async instead of the now removed libjs-async.
     (Closes: #1082761)
   * Mark 'source-is-missing' as Experimental.
   * Remove string interpolations from uses-deprecated-python-stdlib tag
     description.
 .
   [ Otto Kekäläinen ]
   * Salsa CI: Remove unnecessary autopkgtest timeout check.
   * Minor improvements to CONTRIBUTING.md.
 .
   [ Bas Couwenberg ]
   * Java 21 is now default. (Closes: #1080352)
 .
   [ Petter Reinholdtsen ]
   * Extended AppstreamMetadata check to validate XML content.
 .
   [ Rebecca N. Palmer ]
   * Improve uses-deprecated-python-stdlib. (Closes: #1077324)
 .
   [ Andrius Merkys ]
   * Compare parsed version strings of YAML::XS. (Closes: #1082612)
 .
   [ Adrian Bunk ]
   * source-nmu-has-incorrect-version-number: Fix false positive for +deb*u*
     versions.
Checksums-Sha1:
 e2890f68f65e1545b1cbfd3d46e49483c1848457 3449 lintian_2.119.0.dsc
 cf59df315beced8f3f17c7a31d9582dcb4fe8205 2253496 lintian_2.119.0.tar.xz
 22813079c13a9900ba582261929b4a909b753113 20693 lintian_2.119.0_amd64.buildinfo
Checksums-Sha256:
 42f80b50c2244b79e5ad6de2e8470c09e7c9304cf446cfe62e712916e97fb5a6 3449 lintian_2.119.0.dsc
 f4ed697fad682b3c60eecf849b9b7037e5d90d0f2fad28d48228a6d272a09645 2253496 lintian_2.119.0.tar.xz
 93ec3b4ccb9b09e9ba32f56bab1171750ad6b92253d4393e29ba7296a6d39d8f 20693 lintian_2.119.0_amd64.buildinfo
Files:
 f0fe577e94564586d76ebc5c524c68eb 3449 devel optional lintian_2.119.0.dsc
 227cd6bd1947b582946623be4a87d741 2253496 devel optional lintian_2.119.0.tar.xz
 4259ddc8440da98688418150701624ec 20693 devel optional lintian_2.119.0_amd64.buildinfo

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

iHUEARYKAB0WIQTKp0AHB6gWsCAvw830JXpQshz6hQUCZvmsqQAKCRD0JXpQshz6
hXkPAP0caZ2o1GY8vKvRQHcEbRy59Ou2NK6IhtWrAhgUxjYo5wEAieZmCQ+KiBYd
Ye/aq348AeQcyXwwqN8kwBW/bJd1iQw=
=1J87
-----END PGP SIGNATURE-----

Attachment: pgpNhbivlfO9M.pgp
Description: PGP signature


--- End Message ---

Reply to: