python3.14-setuptools/plan.fmf
Lukáš Zachar 7f8b084737 Adjust gating
- Generic gating.yaml for all rhel
- Use CS repos instead of Fedora
- Remove python versions not available on c10s
- Test with python-isort
2025-11-26 00:25:21 +01:00

57 lines
1.5 KiB
Plaintext

execute:
how: tmt
discover:
- name: rpms_pyproject-rpm-macros
how: shell
url: https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git
ref: c10s
tests:
- name: pyproject_pytest
path: /tests
test: ./mocktest.sh python-isort
- name: same_repo
how: shell
dist-git-source: true
dist-git-download-only: true
tests:
- name: import_test
test: python3.14 -c "import setuptools"
- name: mock_bootstrap_build
# Needs cwd to contain downloaded sources, path to mocktes.sh depends on tmt tree structure
test: |
cd $TMT_SOURCE_DIR &&
$TMT_TREE/../discover/rpms_pyproject-rpm-macros/tests/tests/mocktest.sh python-setuptools --with bootstrap
- name: tests_python
how: shell
url: https://gitlab.com/redhat/centos-stream/tests/python.git
tests:
- name: smoke312_virtualenv
path: /smoke
test: VERSION=3.12 METHOD=virtualenv VIRTUALENV_SETUPTOOLS=bundle ./venv.sh
- name: smoke314_virtualenv
path: /smoke
test: VERSION=3.14 METHOD=virtualenv VIRTUALENV_SETUPTOOLS=bundle ./venv.sh
prepare:
- name: Install dependencies
how: install
package:
- gcc
- virtualenv
- python3.12-devel
- python3.14-devel
- python3-devel
- python3-tox
- mock
- rpmdevtools
- rpm-build
- dnf
- 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