Skip to content
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

Update Python Versions #124

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Jeremiah-England
Copy link

This PR updates the codebase and the build process to support the currently maintained Python versions, and drops support for unmaintained versions.

The important thing here is dropping 2.7 support. I went with the assumption that you are fine with that, but I am happy to remove the updates related to that if you want to keep supporting 2.7.

Python 2.7, 3.4, 3.5, and 3.6 are end-of-life. And Pythons 3.10, 3.11
have been release. Python 3.12 is in alpha.

See https://devguide.python.org/versions/

Note that Python 3.10/11/12 are on the next to latest version. The
absolute latest versions have not been added to pyenv yet, and it
probably doesn't matter.
@@ -26,7 +26,7 @@ pip install intervaltree
Features
--------

* Supports Python 2.7 and Python 3.5+ (Tested under 2.7, and 3.5 thru 3.8)
* Supports Python 3.7+ (Tested under 3.7 thru 3.12)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording here isn't exactly symmetrical to the old version where 3.9 was in development, but we are testing 3.12 so I thought this was Ok to say.

@@ -87,7 +87,7 @@ The two commands above run all the available tests on all versions of Python sup

The first time you run `make`, you may be asked for your password. This is in order to install `pandoc`, a tool used for processing the README file.

Running all tests requires that you have all the supported versions of Python installed. These are 2.6, 2.7, 3.2, 3.3, 3.4 and 3.5. Try to use your package manager to install them if possible. Otherwise, go to [python.org/downloads][] and install them manually.
Running all tests requires that you have all the supported versions of Python installed. These are 3.7 thru 3.12. Try to use your package manager to install them if possible. Otherwise, go to [python.org/downloads][] and install them manually.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the wording here is out of date because now we use pyenv in the Makefile. But I wanted to keep the scope of the PR minimal and just change references to the Python versions.

@chaimleib
Copy link
Owner

Thanks for adding testing for newer versions of Python 3!

If there is no reason break Python 2 support, I'd actually prefer to leave support in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants