Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13911
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod |
|---|---|
| From | Julian Gilbey <jdg@debian.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.python |
| Subject | Bug#1004746: lintian: provide a check for Python package version numbers validity |
| Date | Tue, 01 Feb 2022 15:50:01 +0100 |
| Message-ID | <DM2DL-1T8-3@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue Feb 1 14:48:09 2022 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -6.9 |
| Reply-To | Julian Gilbey <jdg@debian.org>, 1004746@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | debian-python@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org> |
| X-Debian-Pr-Message | report 1004746 |
| X-Debian-Pr-Package | lintian |
| X-Debian-Pr-Source | lintian |
| Content-Type | text/plain; charset="us-ascii" |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| X-Mailer | reportbug 11.3.0 |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1703075 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 31 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 01 Feb 2022 14:45:21 +0000 |
| X-Original-Message-ID | <164372672180.957295.4331060651653751085.reportbug@erdos.d-and-j.net> |
| Xref | csiph.com linux.debian.bugs.dist:1091646 linux.debian.maint.python:13911 |
Cross-posted to 2 groups.
Show key headers only | View raw
Package: lintian Version: 2.114.0 Severity: wishlist X-Debbugs-Cc: Debian Python Team <debian-python@lists.debian.org> I just hit two packages which gave me the following warning when pkg_resources tried to load them: /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.12.1-git20200711.33e2d80-dfsg1-0.6 is an invalid version and will not be supported in a future release warnings.warn( (and a different version number in the other case). The upstream Python developers have a clear idea of what is accepted as a version number, and it appears in /usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py (in the python3-pkg-resources package) in the definition of VERSION_PATTERN. The version number that is being examined is that stored in /usr/lib/python3/dist-packages/*.egg-info or /usr/lib/python3/dist-packages/*.egg-info/PKG-INFO on the line beginning "Version: ". This appears to be a fairly rare bug: only two packages on my system have this issue (and I've just reported bugs against them). Nonetheless, if it is easy, it would be nice to have a lintian test for it. Best wishes, Julian
Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread
Bug#1004746: lintian: provide a check for Python package version numbers validity Julian Gilbey <jdg@debian.org> - 2022-02-01 15:50 +0100
csiph-web