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]
This commit is contained in:
parent
36777b94ec
commit
c12e9f5e3a
2 changed files with 7 additions and 55 deletions
56
plan.fmf
56
plan.fmf
|
|
@ -6,61 +6,19 @@ discover:
|
|||
how: shell
|
||||
url: https://src.fedoraproject.org/tests/python.git
|
||||
tests:
|
||||
- name: smoke36
|
||||
path: /smoke
|
||||
test: VERSION=3.6 TOX=false ./venv.sh
|
||||
- name: smoke39
|
||||
path: /smoke
|
||||
test: VERSION=3.9 ./venv.sh
|
||||
- name: smoke310
|
||||
path: /smoke
|
||||
test: VERSION=3.10 ./venv.sh
|
||||
- name: smoke311
|
||||
path: /smoke
|
||||
test: VERSION=3.11 ./venv.sh
|
||||
- name: smoke312
|
||||
path: /smoke
|
||||
test: VERSION=3.12 ./venv.sh
|
||||
- name: smoke313
|
||||
path: /smoke
|
||||
test: VERSION=3.13 ./venv.sh
|
||||
- name: smoke314
|
||||
path: /smoke
|
||||
test: VERSION=3.14 ./venv.sh
|
||||
- name: smoke39_virtualenv
|
||||
path: /smoke
|
||||
test: VERSION=3.9 METHOD=virtualenv ./venv.sh
|
||||
- name: smoke310_virtualenv
|
||||
path: /smoke
|
||||
test: VERSION=3.10 METHOD=virtualenv ./venv.sh
|
||||
- name: smoke311_virtualenv
|
||||
path: /smoke
|
||||
test: VERSION=3.11 METHOD=virtualenv ./venv.sh
|
||||
- name: smoke312_virtualenv
|
||||
path: /smoke
|
||||
test: VERSION=3.12 METHOD=virtualenv ./venv.sh
|
||||
- name: smoke313_virtualenv
|
||||
path: /smoke
|
||||
test: VERSION=3.13 METHOD=virtualenv ./venv.sh
|
||||
- name: smoke314_virtualenv
|
||||
path: /smoke
|
||||
test: VERSION=3.14 METHOD=virtualenv ./venv.sh
|
||||
- name: rpms_pyproject-rpm-macros
|
||||
how: shell
|
||||
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
|
||||
tests:
|
||||
- name: pyproject_pytest
|
||||
- name: pyproject_isort
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-pytest
|
||||
- name: pyproject_entrypoints
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-entrypoints
|
||||
- name: pyproject_pluggy
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-pluggy
|
||||
- name: pyproject_clikit
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-clikit
|
||||
test: ./mocktest.sh python-isort
|
||||
- name: same_repo
|
||||
how: shell
|
||||
dist-git-source: true
|
||||
|
|
@ -69,7 +27,7 @@ discover:
|
|||
- name: mock_bootstrap_build
|
||||
test: |
|
||||
cd $TMT_SOURCE_DIR &&
|
||||
$TMT_TREE/../discover/rpms_pyproject-rpm-macros/tests/tests/mocktest.sh python-pip --without tests --without man
|
||||
$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
|
||||
|
|
@ -82,18 +40,12 @@ prepare:
|
|||
package:
|
||||
- gcc
|
||||
- virtualenv
|
||||
- python3.6
|
||||
- python3.9
|
||||
- python3.10-devel
|
||||
- python3.11-devel
|
||||
- python3.12-devel
|
||||
- python3.13-devel
|
||||
- python3.14-devel
|
||||
- python3-devel
|
||||
- python3-tox
|
||||
- mock
|
||||
- rpmdevtools
|
||||
- rpm-build
|
||||
- epel-rpm-macros
|
||||
- grep
|
||||
- util-linux
|
||||
- shadow-utils
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ description: |
|
|||
installed and functional after package installation.
|
||||
|
||||
component:
|
||||
- python3-pip
|
||||
- python3.13-pip
|
||||
|
||||
test: ./pip_completion_full_test.sh
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ tier: 1
|
|||
|
||||
|
||||
require:
|
||||
- python3-pip
|
||||
- python3.13-pip
|
||||
- bash-completion
|
||||
- expect
|
||||
- rpm
|
||||
|
|
@ -32,4 +32,4 @@ require:
|
|||
|
||||
|
||||
environment:
|
||||
PACKAGE: python3-pip
|
||||
PACKAGE: python3.13-pip
|
||||
|
|
|
|||
Reference in a new issue