[SYNPY-1910] Remove support for python 3.10 - #1464
Merged
Merged
Conversation
andrewelamb
marked this pull request as draft
October 1, 2026 15:27
andrewelamb
marked this pull request as ready for review
October 1, 2026 15:41
BryanFauble
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem:
Selffromtyping_extensions. Python 3.11 addstyping.Self, so this import is not necessary now.Solution:
Package configuration
setup.cfg: removed theProgramming Language :: Python :: 3.10classifier. Changedpython_requiresfrom>=3.10, <3.15to>=3.11, <3.15.pyproject.toml: changed the blacktarget-versionfrom['py39']to['py311']. The old value was already out of date.pylintrc: changedpy-versionfrom3.10to3.11. Pylint does not run in pre-commit or CI, but earlier PRs that dropped Python 3.8 and 3.9 also changed this value.CI (
.github/workflows/build.yml)3.10from theunit-testsandcheck-deploymatrices. The matrices are now['3.11', '3.12', '3.13', '3.14'].Check for Secret availabilitycondition.Download Failed Tests from Previous Attemptcondition.run-integration-testscondition.SYNAPSE_PROFILEselection for Ubuntu, Windows and macOS. The profile names (Test*MinimumPython) did not change.deployjob now uses Python3.11.-v33to-v34, so that CI does not use old caches.Documentation
README.md: the list of tested versions is now 3.11, 3.12, 3.13 and 3.14. Added: "Version 4.15.0 and later needs Python 3.11 or higher."CONTRIBUTING.md: the supported versions are now>=3.11 and <=3.14. The example versions in the instructions for adding and dropping a Python version are one version later.docs/tutorials/reticulate.md: the minimum Python version is now 3.11.Code cleanup:
typing.Selfsynapseclient/models/(models, mixins and protocols), removedfrom typing_extensions import Selfand addedSelfto the existingfrom typing import ...line.typing_extensionsimports are left insynapseclient/,synapseutils/ortests/.Test cleanup
tests/unit/synapseutils/unit_test_synapseutils_describe.py: removed theif sys.version_info < (3, 7, 0):branch, which could never run, and the unusedimport sys.