opensafely-core / opensafely-core/opensafely-cli

Drop support for Python 3.8 and Python 3.9

Open
#280 9 comments 0 reactions 2 assignees View on GitHub

@rebkwok is already working on this.

Since Aug 5, 2026.

deck-scrubbing
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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.