opensafely-core / opensafely-core/osgithub

Update from Python 3.9 to a supported Python version

Open
#242 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
0
Forks
0
Avg merge
2d 20h
Merged PRs (30d)
9

Description

Python 3.9 is end of life as of October 2025.

This repository is already tested with later Python versions; we should move to a newer version.

  • Update .python-version
  • Update versions in .github/workflows/test.yml: 1, 2
  • Update version in .github/workflows/build_and_publish.yml
  • Update version in .pre-commit-config.yaml
  • Update version in justfile
  • Update version in setup.py (although if #236 is implemented first, it may not exist and pyproject.toml should be updated instead)
  • Rebuild requirements

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.

Research direction

Review .python-version, the Python versions in .github/workflows/test.yml and .github/workflows/build_and_publish.yml, then check .pre-commit-config.yaml, justfile, and setup.py or pyproject.toml if #236 changes it first. Rebuild requirements and verify that all listed version references consistently use the selected supported Python version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.