Commit graph

30 commits

Author SHA1 Message Date
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
Lukáš Zachar
36777b94ec CI: Drop STI and use tmt instead
Use 'discovery --how shell' for bash completion test as well,
even though it contains metadata, to be same as all other migrated
plans.

Resolves: rhbz#2383041

[skip changelog]
2025-08-11 12:54:33 +00:00
Lukáš Zachar
71ac6be0f4 CI: Test bash completion
Originally generated by CursorAI, manually edited.

[skip changelog]
2025-07-09 13:03:23 +00:00
Miro Hrončok
8390734c31 Stop building the HTML documentation, only build manual pages
- Also build manual pages on RHEL
- The python-pip-doc package is gone but not Obsoleted, it has no dependencies

Also:

Rename the bcond,
update the CI test,
use sphinx-build without the -3 suffix,
always BR python3-sphinx (for RHEL alternate Python versions where we don't package Sphinx).
2025-05-03 11:11:10 +02:00
Miro Hrončok
8c346262d5 Bootstrap: wheel is not needed
Also, test this on the CI.

[skip changelog]
2025-04-24 13:36:36 +02:00
Charalampos Stratakis
97a9e3e215 Fix CI tests to account for normalization of dist-info dirs (PEP 491)
setuptools now normalizes the dist-info directory names to lowercase
according to PEP 491

Also egg-info directories are not created anymore

[skip changelog]
2025-03-18 01:25:34 +01:00
Charalampos Stratakis
d681b5b429 Remove testing of retired python3.8 from the CI
See https://fedoraproject.org/wiki/Changes/RetirePython3.8

[skip changelog]
2025-02-27 02:42:36 +01:00
Miro Hrončok
533a4ecd2d CI: Add Python 3.14
[skip changelog]
2024-11-06 13:24:37 +01:00
Miro Hrončok
476f824742 CI: Drop Python 3.7 entirely
It is not available in F40+ and the tests.yml is already diverged.

[skip changelog]
2024-11-06 13:23:59 +01:00
Miro Hrončok
4965892859 CI: Disable Python 2.7 and 3.6 virtualenv tests
virtualenv in Fedora 42+ no longer supports them

[skip changelog]
2024-11-06 13:22:37 +01:00
Karolina Surma
77a1a20083 CI: Prepare for Python 2 removal
https://fedoraproject.org/wiki/Changes/RetirePython2.7
2024-07-26 16:20:20 +02:00
Karolina Surma
454b4fe562 CI: Python 3.5 is gone from all Fedoras (removed in F35)
https://fedoraproject.org/wiki/Changes/RetirePython3.5
2024-07-26 16:19:19 +02:00
Miro Hrončok
30632b6e8c CI: Add Python 3.13 2024-03-07 11:54:26 +01:00
Miro Hrončok
e286eac28b CI: Remove pipenv test, pipenv was retired from Rawhide
https://src.fedoraproject.org/rpms/pipenv/c/892789a4d91e00f80f7ebc2a187d51038b7b5223
2024-01-03 20:07:48 +01:00
Miro Hrončok
6648d06bdf CI: Make Python 3.7 tests optional
Python 3.7 has been retired from Fedora 40+:
https://fedoraproject.org/wiki/Changes/RetirePython3.7
2023-10-27 15:20:12 +02:00
Miro Hrončok
a2d6e7ddd8 CI: Remove pipenv --three from tests
It does no longer exist:

    Usage: pipenv [OPTIONS] COMMAND [ARGS]...
    Try 'pipenv -h' for help.

    Error: No such option: --three (Possible options: --bare, --help, --where)

The `pipenv install` command will create the environment.
See https://src.fedoraproject.org/rpms/pipenv/c/5591b2df503495b
2023-05-19 13:11:09 +02:00
Miro Hrončok
25bc125898 CI: Add Python 3.12 2022-11-16 17:54:41 +01:00
Charalampos Stratakis
d6c837fe66 Fedora CI: Fix Python 3.10 and 3.11 2022-06-29 15:34:21 +02:00
Miro Hrončok
20ae7fd440 Fedora CI: Add Python 3.11 2021-10-13 13:50:30 +02:00
Miro Hrončok
27c255ce81 Fedora CI: Add pip-upgrade tests 2021-08-16 13:02:05 +02:00
Miro Hrončok
4e92c5da5b Fedora CI: Cleanup for Fedora 32 EOL and prepare for Python 3.5 retirement
Fedora 32 was the last one to include Python 3.4
https://fedoraproject.org/wiki/Changes/RetirePython34

Fedora 35 will be the first one not to include Python 3.5
https://fedoraproject.org/wiki/Changes/RetirePython3.5
2021-05-25 00:50:46 +02:00
Miro Hrončok
b650cd95c0 Add Python 3.10 to the CI tests 2020-12-30 10:20:05 +01:00
Miro Hrončok
9a044bd673 Run Python 3.4 tests optionally
https://fedoraproject.org/wiki/Changes/RetirePython34
2020-08-04 20:43:35 +02:00
Miro Hrončok
e858da1425 Fedora CI: Add Python 3.9 2020-04-27 17:10:03 +02:00
Miro Hrončok
abb97d98f6 Fedora CI: Run %pyproject macros integration tests 2020-03-06 11:40:32 +01:00
Miro Hrončok
b5e9f71561 Fedora CI: Stop testing on Python 2.6 2019-07-29 11:59:42 +02:00
Miro Hrončok
85a78b8c13 Fedora CI: Workaround for fedora-ci/general #31
https://pagure.io/fedora-ci/general/issue/31
2019-03-01 11:15:05 +01:00
Miro Hrončok
3af98288df Test pip on Python 3.8 2019-02-09 20:15:59 +01:00
Miro Hrončok
1d76c3e182 Test if pipenv work (when updating pip) 2018-11-29 14:55:24 +01:00
Miro Hrončok
ae152c5ccf Enable basic venv smoke test in the CI 2018-09-04 11:45:35 +02:00