Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Support Python 3.11 #14601

Closed
sla-te opened this issue Dec 2, 2022 · 6 comments · Fixed by #14673
Closed

Support Python 3.11 #14601

sla-te opened this issue Dec 2, 2022 · 6 comments · Fixed by #14673
Assignees
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Blocks non-critical functionality, workarounds exist. T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@sla-te
Copy link

sla-te commented Dec 2, 2022

Hello, is Python 3.11 supported in 1.72?

@H-Shay
Copy link
Contributor

H-Shay commented Dec 2, 2022

It is not officially supported, currently the highest supported version is 3.10.

@H-Shay H-Shay closed this as completed Dec 2, 2022
@clokep
Copy link
Member

clokep commented Dec 2, 2022

Let's leave this open as a request to officially support it.

Note that #13790 did add tests for this in CI, but I think the Synapse metadata and documentation needs to be updated still.

@clokep clokep reopened this Dec 2, 2022
@clokep clokep added S-Minor Blocks non-critical functionality, workarounds exist. T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. O-Occasional Affects or can be seen by some users regularly or most users rarely labels Dec 2, 2022
@clokep clokep changed the title Python 3.11 support Support Python 3.1 Dec 2, 2022
@clokep clokep changed the title Support Python 3.1 Support Python 3.11 Dec 2, 2022
@DMRobertson
Copy link
Contributor

The metadata declares support for anything semver-compatible with 3.7.1:

synapse/pyproject.toml

Lines 115 to 116 in 2a3cd59

[tool.poetry.dependencies]
python = "^3.7.1"

There are gaps in our CI overage for 3.11 that we decided we're okay with, see the description of #13790

The only other mention I could see is

- Python 3.7 or later, up to Python 3.10.

which is easy to update.

@DMRobertson
Copy link
Contributor

The metadata declares support for anything semver-compatible with 3.7.1:

In particular this means that we show up on PyPI as supporting 3.11 since https://pypi.org/project/matrix-synapse/1.69.0/

@iakat
Copy link
Contributor

iakat commented Jan 20, 2023

any plans to bump the Docker version? Currently pinned 3.9.

@DMRobertson
Copy link
Contributor

any plans to bump the Docker version? Currently pinned 3.9.

See #13234.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Blocks non-critical functionality, workarounds exist. T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants