-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
current release version of txsocks (1.13.0.0rc2) does not adhere to PEP-0386 #5
Comments
That version number should be fine, can you tell me how you generated that error? The globaleaks/GlobaLeaks repository doesn't seem to have a setup.py |
Hi! Thanks for the ticket. However, the version
|
mmm i dont think so @dstufft / @habnabit: PEP 383 states: " version number consists of two or three dot-separated numeric components, with an optional "pre-release" tag on the end. " and also expose some examples of fine and bad versions and i think this is one of the bad one. can you please reverify? you are strongly correct with this:
by the way i've fixed using:
this is our setup.py: https://github.com/globaleaks/GLBackend/blob/master/setup.py |
I'm sure it's fine via pep 386 and the newer pep 440 The problem us StrictVersion predates the pep and few people notice because the requires keyword (basically the only place strict version is used) is basically useless. It doesn't list things you install from PyPI it lists things you actually import in your code. Nothing uses it except to display on PyPI. You probably want the setuptools install_requires keyword. On Sep 4, 2013, at 4:05 PM, Giovanni Pellerano notifications@github.com wrote:
|
ok thanks =) |
@evilaliv3 can you confirm that the issue is resolved for you now? The thing you're quoting about "two or three dot-separated numeric components" is PEP 386 itself quoting the
|
ok so you are saying that you are not using the strict format? i'm correct? if yes, yes i'm currently fine with: you can close the thicket for me. |
"Loose" and "strict" are artifacts of how distutils used to do versions, I'll go ahead and close the ticket. |
perfect :) really thanks for the fast response and technical analysis |
current release version of txsocks (1.13.0.0rc2) does not adhere to PEP-0386
http://www.python.org/dev/peps/pep-0386/
this causes distutils to not validate it.
bug spotted while running globaleaks setup.py with: python setup.py install
@habnabit @hellais
The text was updated successfully, but these errors were encountered: