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 developer environment for newer Python versions #67

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

Conversation

lengau
Copy link

@lengau lengau commented Sep 19, 2024

This makes several changes that allows a development environment on newer Python versions, including:

 - Update requirements.txt to use a newer hypothesis and remove yanc
 - Test changes for newer hypothesis strategies
 - Switch from setup.py+setup.cfg to pyproject.toml
 - Update pyproject.toml and tox.ini to use newer Python versions

The Python versions selected are based on what's currently in security support according to https://endoflife.date/python

This makes several changes that allows a development environment on
newer Python versions, including:

 - Update requirements.txt to use a newer hypothesis and remove yanc
 - Test changes for newer hypothesis strategies
 - Switch from setup.py+setup.cfg to pyproject.toml
 - Update pyproject.toml and tox.ini to use newer Python versions

The Python versions selected are based on what's currently in security
support according to https://endoflife.date/python

Signed-off-by: Alex Lowe <[email protected]>
python -m pip install --upgrade virtualenv tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: "python -m tox"
python -m pip install --upgrade virtualenv tox tox-gh
Copy link

Choose a reason for hiding this comment

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

+1, good to move to the officially supported https://pypi.org/project/tox-gh/

2.7: py27
3.5: py35
3.6: py36
3.7: py37
3.8: py38
Copy link

Choose a reason for hiding this comment

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

3.8 is now EOL as well: https://devguide.python.org/versions/

Copy link
Contributor

Choose a reason for hiding this comment

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

I would love to see Python 3.8 kept at least for one release to ease migration path for us from 3.8 to 3.12. Thanks for considering!

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.

3 participants