pyroute2 icon indicating copy to clipboard operation
pyroute2 copied to clipboard

release not set on pypi releases in setup.ini

Open prometheanfire opened this issue 4 years ago • 2 comments

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

prometheanfire avatar Jul 06 '20 03:07 prometheanfire

https://bugs.gentoo.org/730762 for downstream refrence

prometheanfire avatar Jul 06 '20 03:07 prometheanfire

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

prometheanfire avatar Jul 06 '20 21:07 prometheanfire