supported_python_versions¶
See current python version status:
https://devguide.python.org/versions/
To roll python versions, use this feature_story tag to find (or mark) all places for update.
Tested versions¶
Normally, protoprimer supports these Python versions:
min: the earliest possible to testCurrently, it runs 3.7.
med: something in betweenCurrently, it starts with 3.10 but tests under 3.11.
max: the latest oneCurrently, it runs 3.14.
Test-ability¶
TODO: Switch CI jobs to run with docker to avoid dependence on github.com runner OS (and update this section accordingly).
It does not mean protoprimer cannot run with other versions - it simply means:
no tests run for versions other than
min,med,maxoneschanges to support versions earlier than the
minone are still accepted (but unreliable as not tested)
Supporting versions earlier than min is mainly limited by available resources with those versions.
For example, github.com retires runners with EOL versions - diff these jobs to see the current test config:
Local tests with docker¶
TODO: Switch CI jobs to run with docker to avoid dependence on github.com runner OS (and update this section accordingly).
The most reliable way to test with old python is to use docker - this local (manual, not CI) test does that:
./cmd/test_python_version --min
./cmd/test_python_version --med
./cmd/test_python_version --max