This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
python3.13-pip/plan.fmf
Miro Hrončok c12e9f5e3a CI: Adjust for EPEL Python 3.13
Note that epel-rpm-macros was added as a requirement to bring
rpmautospec-rpm-macros on EPEL 9.
rpmautospec-rpm-macros no longer exists on EPEL 10,
the macros were added to redhat-rpm-config.
The rpmautospec macros are needed for the mock_bootstrap_build test.

Technically, always pulling epel-rpm-macros is the right thing to do,
as it allows us to build SRPM correctly.
The EPEL macros are installed by default inside the mock chroot,
but not on the CI system.
Alternatively, we could build the SRPM using mock,
but that's an overkill.

[skip changelog]
2025-09-02 17:35:04 +02:00

56 lines
1.4 KiB
Text

execute:
how: tmt
discover:
- name: tests_python
how: shell
url: https://src.fedoraproject.org/tests/python.git
tests:
- name: smoke313
path: /smoke
test: VERSION=3.13 ./venv.sh
- name: smoke313_virtualenv
path: /smoke
test: VERSION=3.13 METHOD=virtualenv ./venv.sh
- name: rpms_pyproject-rpm-macros
how: shell
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
tests:
- name: pyproject_isort
path: /tests
test: ./mocktest.sh python-isort
- name: same_repo
how: shell
dist-git-source: true
dist-git-download-only: true
tests:
- name: mock_bootstrap_build
test: |
cd $TMT_SOURCE_DIR &&
$TMT_TREE/../discover/rpms_pyproject-rpm-macros/tests/tests/mocktest.sh python3.13-pip --without tests --without man
- name: pip_install_upgrade
path: /tests/pip_install_upgrade/
test: ./runtest.sh
- name: bash_completion
path: /tests/bash_completion
test: ./pip_completion_full_test.sh
prepare:
- name: Install dependencies
how: install
package:
- gcc
- virtualenv
- python3.13-devel
- python3-tox
- mock
- rpmdevtools
- rpm-build
- epel-rpm-macros
- grep
- util-linux
- shadow-utils
- expect
- dnf
- name: Update packages
how: shell
script: dnf upgrade -y