-
Notifications
You must be signed in to change notification settings - Fork 96
Document state of Python 2.7 support #161
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
Comments
My opinion (my 2cts) We will release in the next coming days / weeks a 2.9.x version of python-semver which will support Python 2.7 and 3.x After this, we will be working on a 3.x version of python-semver which will only support Python 3.x I won't personally backport python-semver 3.x features to 2.x branch to urge people to leave this venerable Python 2.7 version (in life everything stops one day 😉 ) Releasing is time consuming... releasing 2 versions can be more than 2 times consuming. |
I fully agree - I think we should only fix bugs in 2.x branch. Another question - what about Python 3.4? It's marked as EOL and maybe we should remove support for that version as well in 3.x? |
I was thinking the same. Maybe we can mark this version also as unsupported in our upcoming 3.x branch? |
Agree no Python 3.4 in python-semver 3.x but Python 2.7, 3.4 in python-semver 2.9.x |
Ok, great! So to summarize the needed actions:
This part is covered now in #127
Anything else? |
@scls19fr @ppkt .. warning::
Major version 3.0.0 of semver will remove support for Python 2.7 and 3.4.
As anything comes to an end, this project will focus on Python 3.x. New
features and bugfixes will be integrated only into the 3.x.y line of semver.
The last version of semver which supports Python 2.7 and 3.4 will be
2.9.x. However, keep in mind, version 2.9.x is frozen: no new
features nor backports will be integrated.
We recommend to upgrade your workflow to Python 3.x to gain support,
bugfixes, and new features. Furthermore, I would suggest to add this in the upcoming 2.9.0 release. |
LGTM |
@scls19fr Should we transfer the other, unresolved items into a new issue or is it better to reopen this issue? |
Ok so let's reopen and adress remaining items. |
The comment #161 (comment) that mentions Python 3/semver 3.0.0 is covered in a separate issue #176 now. |
@python-semver/reviewers
When should we create such a branch? (As Python 2 is now EOL). Probably we want to create another release before, right? |
I'm confused by the statement in the Readme that seems to say 2.10.0 does still support Python 2.7. That's not what I'm seeing. I have a project that uses this package and runs in Py2, and as soon as it started using the 2.10 release, I started getting errors like this which look to me like what you'd get from a Py2 vs. Py3 incompatibility:
When I pin the dependency to |
@eli-darkly Thanks Eli! 👍 Much appreciate your bug report. I've opened #274. If I'm not mistaken, I assume this is of some |
I've opened a maintenance branch |
Uh oh!
There was an error while loading. Please reload this page.
Situation
At the moment, this project uses and supports Python 2.7. As we all know, Python 2.7 is going out of maintenance soon ("retire") and it's not clear what the project is going to do.
After disussing #160, we found out that the project doesn't have a clear statement or information regarding the retirement of Python 2.7 (neither in issues, README, nor documentation). Maybe I have missed something; in that case we can close this issue. 😉
We are currently lacking answers of the following questions:
Suggested Solution
Whatever the project decides, we need to document it. 😉 What about the following approach?
Apart from the documentation issues, I would also propose to indicate such a change with raising the major version of semver. For example:
Luckily, such major versions match with the Python version. 😉
Would that help?
See also
The text was updated successfully, but these errors were encountered: