pyroute2
pyroute2 copied to clipboard
release not set on pypi releases in setup.ini
for 0.5.12 the contents of setup.ini are as follows.
[setup]
version=0.5
release=
setuplib=setuptools
setup.py calls
version=config.get('setup', 'release'),
which maps to the blank release line.
this raises this error (think it's the right one), please set the var when releasing :D
/usr/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
https://bugs.gentoo.org/730762 for downstream refrence
looks like this is actually an old bug were pyroute2 expects to build out of a git repo.
https://github.com/svinota/pyroute2/commit/24db9323b13bb70d51398aa8aac33776cebe7e9f