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

Deprecate python 3.9 #1177

Closed
mfranzon opened this issue Jan 18, 2024 · 5 comments
Closed

Deprecate python 3.9 #1177

mfranzon opened this issue Jan 18, 2024 · 5 comments

Comments

@mfranzon
Copy link
Collaborator

The main reasons are:

@jluethi could you please confirm that we can deprecate python3.9 and keep only 3.10/3.11?

@tcompa
Copy link
Collaborator

tcompa commented Jan 18, 2024

@jluethi could you please confirm that we can deprecate python3.9 and keep only 3.10/3.11?

For the record: 3.11 support is not fully there yet, but it's mostly related to #1170 and #528.

@jluethi
Copy link
Collaborator

jluethi commented Jan 18, 2024

We can not deprecate Python 3.9 for the time being:
Multiple deployment machines only run Python 3.9, not newer versions of Python just yet. That currently applies to FMI machines.

We can start investigating using different Python versions on those, but that won’t be immediate.

I also checked numpy and they recommend dropping Python 3.9 support in April

@tcompa
Copy link
Collaborator

tcompa commented Jan 18, 2024

Multiple deployment machines only run Python 3.9, not newer versions of Python just yet.

Just to avoid ambiguity: Are there active fractal-server instances running with Python 3.9? (the deprecation would only concern fractal-server, not tasks)

EDIT: given fractal-analytics-platform/fractal-demos#65, I thought this was not the case. But of course I may be wrong ;)

@jluethi
Copy link
Collaborator

jluethi commented Jan 18, 2024

Yes, the 2 servers at FMI are running under Python 3.9

EDIT: given fractal-analytics-platform/fractal-demos#65, I thought this was not the case. But of course I may be wrong ;)

That warning was just about not using Python 3.9.0 or 3.9.1. The later 3.9.x versions are running fine.

We're using venvs from the system Python at FMI, as conda environments are having some issues with system libraries. On the machines we are running, the system only provides Python 3.9.x versions (some later 3.9.x release).

That may be something that can be changed in the future. Let's check back what machines we get after the FMI move in March / April. And if really necessary, we can find a way to install newer Python on them I guess (just maybe not via the system Python)

@tcompa
Copy link
Collaborator

tcompa commented Jan 18, 2024

OK, thanks for the clarification.

Closing.

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

No branches or pull requests

3 participants