[WIP] Use packaging and compare PEP-0440 vs. SEM-VER vs. legacy etc#1390
[WIP] Use packaging and compare PEP-0440 vs. SEM-VER vs. legacy etc#1390dazza-codes wants to merge 3 commits into
Conversation
- see https://packaging.pypa.io/en/latest/version/ - it implements and API for PEP-0440 versions
06d84e3 to
9fe83b1
Compare
- boolean checks for a constraint/version string - filter & sort a sequence of constraint/version strings - WIP: try using packaging.version API - WIP: add tests for sorted versions
9fe83b1 to
65cc510
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
The stale bot settings are going to kill stuff that might be useful
|
|
@darrenleeweber I am sorry you feel that way but understand that doing code reviews takes time and most of it is dedicated to releasing the Regarding your PR, I am failing to see what it's trying to solve. Is there an issue linked to it? |
|
In this case, this PR is an exploration of various inconsistencies in version schemas and the work resulted from initial work on trying to support sem-ver for git dependencies (#925). While working on that, I've learned that several version schemas exist and this PR takes some steps to add more version-schema support to poetry, since poetry documentation indicates that any version schema should be supported. But, given that I already have a full-time job and that I'm discouraged about the contribution process, I'm not inclined to waste my time on pursuing this any further - just to be clear about where this stands. |
|
This is no longer valid since the team has decided on sticking to pep440 and appropriate code exists in the codebase. Closing. |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
WIP to explore variants of version formatting and regex patterns in several version conventions and how they relate to poetry version and constraint tools
This may never get merged, but it's worth throwing it up for the curious. I might need to revise one or more other PRs in the light of looking closer at these version standards. There is no intention in this to apply a specific versioning system on poetry (AFAIK, PEP-0440 is the only thing that poetry is supposed to implement and support).
TODO
checklist