Package: python3-gpg
Version: 1.16.0-1.2
Severity: normal

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

/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: 
PkgResourcesDeprecationWarning: 1.16.0-unknown 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 "-unknown" to "+unknown" in the Python version
number is sufficient to fix this issue.

Best wishes,

   Julian

Reply via email to