Tests/tox: Fedora 43 is now using python 3.14

Add testing on pythong 3.14 and keep testing on python 3.13 for the
current stable Fedora version (42 at this time).

Use osbuild-ci:latest-202506112350 for tests.yml
This commit is contained in:
Brian C. Lane 2025-06-11 13:17:28 -07:00 committed by Brian C. Lane
parent bc99513c0a
commit 3f91723402
2 changed files with 6 additions and 5 deletions

View file

@ -23,14 +23,15 @@ jobs:
environment: environment:
- "py36" # RH8 - "py36" # RH8
- "py39" # RH9 - "py39" # RH9
- "py313" # latest fedora - "py313" # latest stable Fedora
- "py314" # Fedora rawhide
steps: steps:
- name: "Clone Repository" - name: "Clone Repository"
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: "Run" - name: "Run"
uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b
with: with:
image: ghcr.io/osbuild/osbuild-ci:latest-202502250751 image: ghcr.io/osbuild/osbuild-ci:latest-202506112350
run: | run: |
# Hacky replacement of container storage driver: # Hacky replacement of container storage driver:
# The default overlayfs doesn't work in the runner, so let's change # The default overlayfs doesn't work in the runner, so let's change
@ -69,7 +70,7 @@ jobs:
# Using 4 workers is a bit arbitrary, "auto" is probably too aggressive. # Using 4 workers is a bit arbitrary, "auto" is probably too aggressive.
TEST_WORKERS: "-n 4" TEST_WORKERS: "-n 4"
with: with:
image: ghcr.io/osbuild/osbuild-ci:latest-202502250751 image: ghcr.io/osbuild/osbuild-ci:latest-202506112350
run: | run: |
OSBUILD_TEST_STORE="${{ env.OSBUILD_TEST_STORE }}" \ OSBUILD_TEST_STORE="${{ env.OSBUILD_TEST_STORE }}" \
tox -e "py36" -- ${{ env.TEST_WORKERS }} test.run.test_assemblers tox -e "py36" -- ${{ env.TEST_WORKERS }} test.run.test_assemblers

View file

@ -1,11 +1,11 @@
[tox] [tox]
env_list = env_list =
py{36,37,38,39,310,311,312,313} py{36,37,38,39,310,311,312,313,314}
lint lint
type type
labels = labels =
test = py{36,37,38,39,310,311,312,313} test = py{36,37,38,39,310,311,312,313,314}
lint = ruff, autopep8, pylint lint = ruff, autopep8, pylint
type = mypy,mypy-strict type = mypy,mypy-strict