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

Add support for Python 3.13 and drop 3.7 and 3.8 #63

Closed
4 tasks done
WeisLeDocto opened this issue Nov 2, 2023 · 2 comments · Fixed by #135 or #136
Closed
4 tasks done

Add support for Python 3.13 and drop 3.7 and 3.8 #63

WeisLeDocto opened this issue Nov 2, 2023 · 2 comments · Fixed by #135 or #136
Assignees
Labels
update Signals an issue that entails a section of code to be updated

Comments

@WeisLeDocto
Copy link
Member

WeisLeDocto commented Nov 2, 2023

Python 3.11 has been released more than a year ago, and Python 3.12 a few months ago.
However, there has not been any specific effort so far for ensuring that Crappy runs as expected on these version.
At the very least, Crappy should be built and tested on these versions.
The version tags on PyPI should then be updated accordingly.

Also, Python 3.7 now has the end-of-life status, and is not distributed with the recent Linux distributions.
Ubuntu 20.04 (April 2020) is distributed with Python 3.8, and Debian Bullseye (August 2021) is distributed with Python 3.9.
Windows 10 and 11 allow installing Python 3.7 to 3.12 directly from the Microsoft store.
Support for Python 3.7 can therefore reasonably be removed from Crappy.
The version tags on PyPI should then be updated accordingly.

After removing support for Python 3.7, the novelties added in Python 3.8 can be added to the code.
That includes the walrus operator, or the possibility to use keyword-only and positional-only arguments.

Ideally, the installation and import of Crappy on all the supported Python versions and platforms should be tested automatically in a GitHub workflow.

ToDo

  • Test the compatibility of Crappy on Python 3.13
  • Add features of Python 3.8 and 3.9, de facto removing support for Python 3.7 and 3.8
  • Adjust the version tags accordingly on PyPI
  • Add a GitHub workflow for testing the installation and import of Crappy on supported Python version and platforms
@WeisLeDocto
Copy link
Member Author

UPDATE:

A year has now passed and this issue is still pending. Since then, Python 3.13 has been released, and Python 3.8 has reached end of life.

Therefore, the issue will be updated so that versions 3.9 to 3.13 are supported, and features from 3.8 and 3.9 can now be added. The title of the issue will also be updated.

@WeisLeDocto WeisLeDocto changed the title Add support for Python 3.11 and 3.12, drop 3.7, and add test workflow Add support for Python 3.13 and drop 3.7 and 3.8 Oct 17, 2024
@WeisLeDocto WeisLeDocto linked a pull request Oct 30, 2024 that will close this issue
@WeisLeDocto WeisLeDocto linked a pull request Oct 30, 2024 that will close this issue
@WeisLeDocto
Copy link
Member Author

Closed with #135 and #136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update Signals an issue that entails a section of code to be updated
Projects
1 participant