-
Notifications
You must be signed in to change notification settings - Fork 22
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
incremental dev version doesn't work with setuptools #29
Comments
|
Should we be using |
|
@glyph yeah, I guess a dev comes before a release in setuptools? |
|
@hawkowl I believe the idea is you update to .dev when you're "working on" the next one. |
|
I think it would make more sense to increment the micro version (for twisted, perhaps the minor version) and add |
|
In https://github.com/twisted/twisted/blob/trunk/src/twisted/_version.py , This is wrong, since 17.1.0 has already been released. According to https://www.python.org/dev/peps/pep-0440/#summary-of-permitted-suffixes-and-relative-ordering 17.1.0.post0 as suggested by @glyph or 17.2.0.dev0 as suggested by @tomprince or *17.1.1.dev0 as suggested by @tomprince |
|
Hmm, incremental throws an exception if you try to use post in _version.py. |
|
@hawkowl twisted/twisted#745 ? According to PEP 440, the relative ordering of suffixes is: |
|
Incremental is missing post... I feel like I should add that. |
|
I think that adding postrelease support fixed this, so I'm going to call it closed. In any event, the exact series of commands that rodrigc ran in the description now works correctly. |
I tried the following with buildbot in a Python 3 virtual environment:
I then ran this command:
and got this error:
Downgrading to Twisted 17.1.0 then worked.
It looks like the versioning used by incremental doesn't work too well with setuptools.
It is nice to be able to test a trunk version of Twisted against third party code.
The text was updated successfully, but these errors were encountered: