python3.9 and python3.6 were 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.9) will make all the packaged Pythons packaged in the same way. Additionally, this also enables the debug build, which was added to CI. See https://src.fedoraproject.org/rpms/python3.9/c/7a81f94ccc Assisted-By: Cursor 2.0.38 with gpt-5
38 lines
1,018 B
Text
38 lines
1,018 B
Text
execute:
|
|
how: tmt
|
|
|
|
environment:
|
|
pybasever: '3.6'
|
|
|
|
discover:
|
|
- name: tests_python
|
|
how: shell
|
|
url: https://src.fedoraproject.org/tests/python.git
|
|
tests:
|
|
- name: smoke
|
|
path: /smoke
|
|
test: "VERSION=${pybasever} TOX_REQUIRES='virtualenv<20.22.0' ./venv.sh"
|
|
- name: debugsmoke
|
|
path: /smoke
|
|
test: "PYTHON=python${pybasever}dm TOX=false VERSION=${pybasever} INSTALL_OR_SKIP=true ./venv.sh"
|
|
- name: marshalparser
|
|
path: /marshalparser
|
|
test: "VERSION=${pybasever} SAMPLE=10 ./test_marshalparser_compatibility.sh"
|
|
|
|
prepare:
|
|
- name: Install dependencies
|
|
how: install
|
|
package:
|
|
- gcc
|
|
- python3-tox
|
|
- python${pybasever}
|
|
- glibc-all-langpacks # for locale tests
|
|
- marshalparser # for testing compatibility (magic numbers) with marshalparser
|
|
- dnf # for upgrade
|
|
- name: Update packages
|
|
how: shell
|
|
script: dnf upgrade -y
|
|
- name: rpm_qa
|
|
order: 100
|
|
how: shell
|
|
script: rpm -qa | sort | tee $TMT_PLAN_DATA/rpmqa.txt
|