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 Python 3.12 support and remove 3.8 support? #1851

Closed
jwkaltz opened this issue Oct 25, 2023 · 6 comments
Closed

Add Python 3.12 support and remove 3.8 support? #1851

jwkaltz opened this issue Oct 25, 2023 · 6 comments
Assignees

Comments

@jwkaltz
Copy link
Member

jwkaltz commented Oct 25, 2023

Currently, we still support Python 3.8.
However, some dependencies we use require Python 3.9 or later in their latest releases (such as Sphinx #1838 or c2cwsgiutils #1827 ) so these can not be updated as long as we offer Python 3.8 compatibility.

At the same time, we can not add Python 3.12 support, because this requires some library updates to versions of the libraries which no longer support Python 3.8. However, we should base our efforts on Python 3.12, because this is the newest Python version which is in Bug-Fix phase.

So we must choose between

  • keeping 3.8 support until it is officially EOL and not support Python 3.12
  • drop 3.8 support and add Python 3.12 support.

Opinions @vvmruder, @michmuel, @svamaa, @voisardf , others?

@michmuel
Copy link
Collaborator

We could ask the user group at the next meeting (or before) if someone still uses python 3.8. If that is not the case, or a timely upgrade is feasible for the particular cantons, we could drop the support. Otherwise, extending the support for 3.8 for a few months seems also possible to me.
https://devguide.python.org/versions/

@svamaa
Copy link
Collaborator

svamaa commented Oct 26, 2023

I agree with you @michmuel.
Before we drop the support, we'll have to make sure everyone has enough time to migrate, if still running python 3.8.

@svamaa
Copy link
Collaborator

svamaa commented Nov 27, 2023

As a feedback from the Usergroup, everyone uses Python 3.9 or higher. Thus, we can drop support for 3.8

@jwkaltz jwkaltz self-assigned this Nov 28, 2023
@jwkaltz
Copy link
Member Author

jwkaltz commented Nov 28, 2023

I updated the Python version settings in df90f59

(sorry, I unintentionally pushed it directly to master, I forgot to create a branch. If the CI creates problems, I will revert that)

@jwkaltz
Copy link
Member Author

jwkaltz commented Nov 28, 2023

We should do the updates in several steps,
remove Python 3.8,
check separately and with more complete testing that Python 3.12 + required library major upgrades work well.

@jwkaltz
Copy link
Member Author

jwkaltz commented Nov 28, 2023

Python 3.8 support now removed

@jwkaltz jwkaltz closed this as completed Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants