Test and support the server on a Python newer than 3.13
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend, ci-cd, infrastructure
Research direction
Start with .github/workflows/ci.yml and server/pyproject.toml to trace the server's Python version and test steps. Then read setup-scripts/debian13/00-preflight.sh, setup-scripts/debian13/lib.sh, the setup README, and the operator manual for venv creation and plugin installation. Run the existing setup script bats tests first; done means both interpreter paths are covered, the server CI job passes, and the setting and interpreter maintenance are documented.
Written by the indexing model from the issue text.
Description
Problem
The worker image already runs on Python 3.15, and CI tests the client on 3.15 (client/Dockerfile:19, client/Dockerfile:37, .github/workflows/ci.yml:211-242). The server side has not moved:
- The
server (lint + tests)job runs only on 3.13 (.github/workflows/ci.yml:18,.github/workflows/ci.yml:58). No CI job proves that the server and its locked dependencies install and pass on a newer interpreter. - The server declares only 3.13 in its classifiers and lints for 3.13 (
server/pyproject.toml:18,server/pyproject.toml:70). - The Debian 13 setup scripts build the server venv on the system
python3, which is 3.13 on Debian 13 (setup-scripts/debian13/00-preflight.sh:36-39,setup-scripts/debian13/lib.sh:736-741). There is no supported way to run the server on a newer interpreter. - Two comments are out of date.
.github/dependabot.yml:48-50says that moving the base image to 3.14 is a separate decision, but the image is already on 3.15..github/workflows/ci.yml:55-57gives the same reason for the server pin.
Proposed change
- Add a CI job
server (lint + tests, python 3.X)that runs the same steps as the server job (uv lock --check,uv sync --frozen --extra dev, ruff, pytest with PostgreSQL) on the newer interpreter. Keep the 3.13 job, because 3.13 stays the minimum. - Fix any failure the new job finds. Add the new version to the server classifiers.
- Let the Debian 13 setup scripts build the server venv on a chosen interpreter, with an opt-in setting (for example a
SERVER_PYTHONvalue passed touvas--python). The default stays the systempython3. - Document the new setting in
setup-scripts/debian13/README.mdand the operator manual. Say who updates an interpreter thatuvmanages, sinceapt upgradedoes not update it. - Update the stale comments in
.github/dependabot.ymland.github/workflows/ci.yml.
Compatibility
requires-pythonstays>=3.13inserver/pyproject.tomlandclient/pyproject.toml. Hosts on the Debian 13 system interpreter keep working, and a rollback to an older release stays possible.- The setup scripts keep the system
python3by default. An existing install sees no change unless the operator sets the new option. - Switching an existing host to another interpreter recreates the server venv. The setup scripts must do this themselves, and must reinstall server plugins afterwards, as they already do after
uv sync --frozen.
Acceptance criteria
- CI has a required server job on the newer Python that runs lint and the full test suite with PostgreSQL, and it passes.
- The 3.13 server job still runs and passes.
-
server/pyproject.tomllists the new version in its classifiers, andrequires-pythonis still>=3.13. - With the new setting unset, the setup scripts produce the same venv as today. A bats test pins this.
- With the new setting, the setup scripts build the venv on that interpreter, recreate an existing venv built on another one, and reinstall the configured plugins. A bats test covers this.
- Existing deployments keep working without config changes.
- The setup README and the operator manual document the setting, the venv recreation and who keeps the interpreter updated.
- The stale comments in
.github/dependabot.ymland.github/workflows/ci.ymlare corrected. - CHANGELOG entry under Unreleased.
Open questions
- Target version for the server: 3.15, like the worker image, or 3.14 first? Using the same version as the image keeps one extra interpreter in CI. Both options keep existing deployments working, because the default does not change.
- Should the setup scripts ever change the default away from the system
python3? Keeping the system default is the option that keeps existing deployments working without any step.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from AInvirion/orcaster
-
enhancement P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
enhancement good first issue P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug P2 server
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
bug P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
enhancement P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
All issues in AInvirion/orcaster
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
daniel-ospina/tortoise#15308 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
difficulty:easy prio:low type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NatronGitHub/Natron#2405 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Jstar269/nakagawa-recomp#3746 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day