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

build(python): bump python version to use v3.11 #2164

Merged
merged 64 commits into from
Oct 29, 2024

Conversation

MartinBelthle
Copy link
Contributor

@MartinBelthle MartinBelthle commented Sep 30, 2024

List of changes that were made:

  • Run the CI with Python 3.11
  • Update project requirements to work with Python 3.11 (pandas 2.2.3, numpy 1.26.4, psycopg2 2.9.9, pyinstaller 6.10.0)
  • Use class enum.StrEnum instead of making a class inherit from str and enum.Enum
  • Use model_dump with mode='json' everywhere. Probably not needed but more secure.
  • Fix miscellaneous issues

⚠️ Due to enum.StrEnum (and probably the requirements) the code is no longer compatible with Python versions prior to v3.11

⚠️ This PR shouldn't be merged before it's tested with a branch on antares-ci that deploys Python3.11 on the environments.

ℹ️ Every Desktop version has been tested and works :)

@pull-request-size pull-request-size bot added size/M and removed size/S labels Sep 30, 2024
@pull-request-size pull-request-size bot added size/L and removed size/M labels Oct 1, 2024
@MartinBelthle MartinBelthle merged commit eb10ca1 into dev Oct 29, 2024
10 of 11 checks passed
@MartinBelthle MartinBelthle deleted the bump-python/use-3.11-version branch October 29, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant