Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1091642

Bug#1004743: python3-flatbuffers: invalid version number warning from pkg_resources

From Julian Gilbey <jdg@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1004743: python3-flatbuffers: invalid version number warning from pkg_resources
Date 2022-02-01 15:30 +0100
Message-ID <DM2kp-1KU-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: python3-flatbuffers
Version: 1.12.1~git20200711.33e2d80+dfsg1-0.6
Severity: normal

I get the following warning issued by a package trying to import
flatbuffers via pkg_resources:

/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(

See the VERSION_PATTERN regex in
/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py
for the definition of valid version numbers accepted by pkg_resources.
In particular, changing "-git" to "+git" in the Python version number
is sufficient to fix this issue.

Best wishes,

   Julian

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1004743: python3-flatbuffers: invalid version number warning from pkg_resources Julian Gilbey <jdg@debian.org> - 2022-02-01 15:30 +0100

csiph-web