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

Transition backend to Python 3.12, update dependencies #969

Open
myrix opened this issue Apr 4, 2023 · 0 comments
Open

Transition backend to Python 3.12, update dependencies #969

myrix opened this issue Apr 4, 2023 · 0 comments
Assignees
Labels
backend bug is related to backend enhancement this label means that resolving the issue would improve some part of the system

Comments

@myrix
Copy link
Contributor

myrix commented Apr 4, 2023

We should update backend to work with Python 3.12, as it is, mostly because of changes introduced in Python 3.11 as far as we know, reportedly much faster than the previous Python 3 versions, in particular Python 3.8 we use now.

It would probably require updating quite a few of the backend dependencies; we should use this opportunity to update as many of them as we can to as recent as possible versions.

In particular, we should update SQLAlchemy, we need some features missing in the 1.1.2 version (released Oct 17 2016, more than 6 years ago) currently used by the backend, and the latest SQLAlchemy 2 version should be better.

On a related note, we should probably also look into using SQLAlchemy's session object caching through identity map, but that should probably be a separate issue, to be done after this one.

Edit 2023/12/02: now Python 3.12 instead of Python 3.11.

@myrix myrix added enhancement this label means that resolving the issue would improve some part of the system backend bug is related to backend labels Apr 4, 2023
@myrix myrix self-assigned this Apr 4, 2023
@myrix myrix changed the title Transition backend to Python 3.11, update dependencies Transition backend to Python 3.12, update dependencies Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug is related to backend enhancement this label means that resolving the issue would improve some part of the system
Projects
None yet
Development

No branches or pull requests

1 participant