opensafely-core / opensafely-core/opensafely-cli
Drop support for Python 3.8 and Python 3.9
@rebkwok is already working on this.
Since Aug 5, 2026.
- Dominant language
- Python
- Stars
- 2
- Forks
- 5
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 4
Description
What are we doing?
The RAP team will be dropping support for Python 3.8 and Python 3.9 soon in the pipeline library (thread). This means we will need to remove support for Python 3.8 and Python 3.9 from the OpenSAFELY CLI. This may affect some researchers.
We test with Python 3.8 + 3.9, and also produce the build with Python 3.8 and 3.9. Existing users with local setups may be using an existing Python 3.8/Python 3.9 installation to run this software.
Why are we doing this?
Python 3.8 is end-of-life as of 2024-10-07. Python 3.9 is end-of-life as of 2025-11-31. There could be security vulnerabilities in the future that affect the CLI or one of its dependencies, like the pipeline library.
How will we know when it's done?
The OpenSAFELY CLI will no longer be tested or built for Python 3.8 and 3.9.
What will we do?
- We'll run a poll to see if it's likely any researchers will be affected
- Potentially provide information to affected users about how to upgrade their version of Python (dependent on outcome of poll); see also #103.
- Remove Python 3.8 and 3.9 from the test and build steps
- Tag a new release
- Let the RAP Team know, so they can update the dependencies to address security vulnerabilities
- #431
- #432
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.