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 support matrix #136

Merged
merged 5 commits into from
Dec 6, 2022

Conversation

stephenfin
Copy link
Member

Update the Python support matrix, dropping Python 3.6 support and adding 3.9, 3.10 and 3.11.

To do this, we must also update a few other things, such as the pre-commit plugins. The list of changes is thus:

  • tox: Replace '--strict' with '--strict-markers'
  • Use collections.abc, not collections
  • pre-commit: Bump plugin versions
  • Add support for recent Python versions
  • Use latest Python + Action versions in CI

The '--strict' option is deprecated for removal in pytest 8.x

Signed-off-by: Stephen Finucane <[email protected]>
This is needed for Python 3.10 or later support.

Signed-off-by: Stephen Finucane <[email protected]>
These are all rather out-of-date and not compatible with the default
Python version on my system (Python 3.11).

Signed-off-by: Stephen Finucane <[email protected]>
We also switch to using the 'build' module instead of the 'setup.py'
file.

Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin
Copy link
Member Author

@ikalnytskyi I'm going to cross my fingers and hope you're okay with me merging this to get the CI passing again 🤞 If you're not, please feel free to revert it and accept my apologies for interfering.

@stephenfin stephenfin merged commit f6438e1 into sphinx-contrib:master Dec 6, 2022
@stephenfin stephenfin deleted the update-python-versions branch December 6, 2022 17:18
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.

1 participant