On Fedora 44+, split this package into multiple subpackages

python3.9 and python3.6 are the only remaining Pythons that are "flatpackaged".

As they are likely to stay around for a while,
it makes no sense to wait this out (like we did with e.g. 3.7 and 3.8).

This (together with similar change in python3.6)
will make all the packaged Pythons packaged in the same way.

Additionally, this also enables the debug build, which was added to CI.
This commit is contained in:
Miro Hrončok 2025-10-06 23:53:41 +02:00
commit 7a81f94ccc
2 changed files with 46 additions and 12 deletions

View file

@ -5,6 +5,9 @@ provision:
hardware:
memory: '>= 3 GB'
environment:
pybasever: '3.9'
discover:
- name: tests_python
how: shell
@ -12,13 +15,16 @@ discover:
tests:
- name: smoke
path: /smoke
test: "VERSION=3.9 ./venv.sh"
test: "VERSION=${pybasever} ./venv.sh"
- name: debugsmoke
path: /smoke
test: "PYTHON=python${pybasever}d TOX=false VERSION=${pybasever} INSTALL_OR_SKIP=true ./venv.sh"
- name: selftest
path: /selftest
test: VERSION=3.9 X="-x test_wsgiref" ./parallel.sh
test: VERSION=${pybasever} X="-x test_wsgiref" ./parallel.sh
- name: marshalparser
path: /marshalparser
test: "VERSION=3.9 SAMPLE=10 ./test_marshalparser_compatibility.sh"
test: "VERSION=${pybasever} SAMPLE=10 ./test_marshalparser_compatibility.sh"
prepare:
- name: Install dependencies
@ -26,7 +32,10 @@ prepare:
package:
- gcc # for extension building in venv and selftest
- gdb # for test_gdb
- python3.9 # the test subject
- "python${pybasever}" # the test subject
- "python${pybasever}-devel" # for extension building in venv and selftest
- "python${pybasever}-tkinter" # for selftest
- "python${pybasever}-test" # for selftest
- python3-tox # for venv tests
- glibc-all-langpacks # for locale tests
- marshalparser # for testing compatibility (magic numbers) with marshalparser