Miro Hrončok
cea7bb935f
Use /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem even in truststore
...
- https://fedoraproject.org/wiki/Changes/dropingOfCertPemFile
- Fixes: rhbz#2380441
2025-07-22 11:45:35 +02:00
Lukáš Zachar
685d136d85
CI: Test bash completion
...
Originally generated by CursorAI, manually edited.
[skip changelog]
2025-07-09 15:03:23 +02:00
Miro Hrončok
c61c7b352c
Use /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
...
- https://fedoraproject.org/wiki/Changes/dropingOfCertPemFile
2025-07-08 10:17:52 +00:00
Miro Hrončok
5802dc6818
Handle alternate executable names for cases this isn't the main Python
...
This is based on work in f1b86318fc
and https://src.fedoraproject.org/rpms/python-pip/pull-request/71 (not merged)
With one notable difference: The Bash completion function has no dot in it now.
I believe that having a dot in it breaks it: https://issues.redhat.com/browse/RHEL-99083
[skip changelog]
2025-06-20 19:48:15 +02:00
Karolina Surma
435a2e9aa1
Use the short -t CLI option for sphinx-build
...
The long options were added in Sphinx 7.3.0, which is not available in
RHEL 9 and 10. The short option works for each of the currently supported systems.
Ref: https://www.sphinx-doc.org/en/master/changes/7.3.html
[skip changelog]
2025-06-20 14:20:11 +02:00
Karolina Surma
6c37700fd5
Remove the obsolete Conflicts from the Python 2 -> 3 transition
...
[skip changelog]
2025-06-20 14:20:11 +02:00
Karolina Surma
1ae9237431
Macronize the Python version of the bundled provides
...
We build it in alternative Python stacks and want it to pick up
the redefined %{python3_pkgversion}. For main Python it
evaluates to 3, meaning no change in Fedora proper.
It will result in a smaller diff when creating alternative package definitions.
[skip changelog]
2025-06-20 14:20:11 +02:00
Karolina Surma
2b190b00bf
We don't want to run tests on EPEL by default
...
It adds unwanted complexity, and in some alternative stacks the
dependencies are not available.
[skip changelog]
2025-06-20 14:19:58 +02:00
Miro Hrončok
b0472d2883
Rebuilt for Python 3.14
...
- Fix test failures
- Fixes: rhbz#2335909
2025-06-16 11:01:07 +02:00
Python Maint
8e291b0b6c
Bootstrap for Python 3.14
2025-06-02 11:23:07 +02:00
Miro Hrončok
b4fe5333a1
Run functional tests
...
- Drop test requirement of python-wheel-wheel
- Use pytest-xdist to run tests faster
The motivation for this was the need to drop python-wheel-wheel in wheel 0.46+.
Due to newly gained runtime dependencies of wheel,
such wheel cannot be used as is.
I realized that when the explicit BuildRequires is removed,
the package is brought in by python3-virtualenv.
But even when python3-virtualenv drops the dependency,
the tests still passed without python-wheel-wheel.
Because the tests that require packaged wheels were all --ignored
for obsolete reasons. When unignored, they errored due to missing coverage.whl.
While attempting to fix this, I realized we cannot use the RPM packaged wheel anyway.
When the functional tests run, it takes a while, hence pytest-xdist.
---
For the record, the coverage-0-py3-none-any.whl was created as:
[project]
name = "coverage"
version = "0"
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
And coverage.py with:
def process_startup():
pass
Wheel generated by `python3 -m build` (with python3-build-1.2.1-4.fc41.noarch).
2025-05-07 09:44:49 +02:00
Miro Hrončok
f467900a68
Remove Recommends only related to unsupported Pythons
...
This pip version no longer supports Python 3.7 and 3.8.
2025-05-06 00:02:06 +02:00
Miro Hrončok
2fbd290be0
Update to 25.1.1
...
- Fixes: rhbz#2363801
2025-05-03 11:11:10 +02: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
be112f861a
Drop unused rpmlintrc filter
...
python3-pip.noarch: E: unused-rpmlintrc-filter "E: spelling-error .+'venv'"
[skip changelog]
2025-05-03 11:11:10 +02:00
Miro Hrončok
274df105b5
Remove no longer needed RIGHT-TO-LEFT OVERRIDE stripping
...
See https://github.com/pypa/pip/pull/12517
[skip changelog]
2025-05-03 09:44:44 +02:00
Tomáš Hrnčiar
d4edbde902
Update to 25.1.0 (rhbz#2362438)
2025-04-29 09:33:34 +00: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
Charalampos Stratakis
048126313b
Update to 25.0.1
...
- Fixes: rhbz#2342135
2025-02-27 01:14:04 +01:00
Fedora Release Engineering
10e0ef58aa
Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
2025-01-18 17:14:20 +00:00
Tomáš Hrnčiar
990a77f1c0
Update to 24.3.1
...
- Fixes: rhbz#2321997
2024-11-07 09:45:38 +00: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
858b6685fa
Verify no unwanted files are present in the package
2024-09-06 16:26:18 +02:00
Miro Hrončok
09c6b24cb0
Update to 24.2
...
- Fixes: rhbz#2296203
2024-08-06 19:07:00 +02:00
Miro Hrončok
f0db4e7df0
rpmlint: Ignore venv spelling error
...
[skip changelog]
2024-08-06 19:07:00 +02:00
Miro Hrončok
f7056f5f8a
Use %pyproject_install
...
[skip changelog]
2024-08-06 19:07:00 +02: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
Fedora Release Engineering
bac2129304
Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
2024-07-19 14:03:51 +00:00
Karolina Surma
3dcabb5165
Update to 24.1.1
2024-06-28 12:12:44 +02:00
Miro Hrončok
05483f6f20
Stop invoking setup.py during the build
...
This is a preparation for pip 24.1 which drops setup.py entirely.
[skip changelog]
2024-06-27 12:08:46 +02:00
Python Maint
531939a7ca
Rebuilt for Python 3.13
2024-06-09 10:15:36 +02:00
Python Maint
af4d3ddf26
Bootstrap for Python 3.13
2024-06-06 16:32:01 +02:00
Miro Hrončok
8a984c4565
Fix tests with Python 3.13.0b1
2024-05-28 14:06:13 +02:00
Miro Hrončok
30632b6e8c
CI: Add Python 3.13
2024-03-07 11:54:26 +01:00
Tomáš Hrnčiar
4899b5284a
Update to 24.0
...
Resolves: rhbz#2262492
2024-02-28 16:58:05 +01:00
Miro Hrončok
3c290026a9
Update to 23.3.2
2024-01-25 15:52:13 +01:00
Miro Hrončok
b582198d1c
Convert to %autorelease and %autochangelog
...
[skip changelog]
2024-01-25 15:48:44 +01:00
Miro Hrončok
bd7e7a076a
Replace custom %{bashcompdir} macro with %{bash_completions_dir}
...
$ pkg-config --variable=completionsdir bash-completion
/usr/share/bash-completion/completions
$ rpm --eval '%{bash_completions_dir}'
/usr/share/bash-completion/completions
2024-01-25 15:48:44 +01:00
Miro Hrončok
9cd97d1338
Generate test BuildRequires
2024-01-25 12:29:49 +01:00
Fedora Release Engineering
2a7f383501
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2024-01-22 04:56:31 +00:00
Maxwell G
26b3caa925
Remove unused python3-mock dependency
2024-01-12 23:12:02 +00: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
Maxwell G
b9cefb7bc1
Remove weak dependency on python3-setuptools
...
Now that pip defaults to building in an isolated environment, there's no
reason to pull in the python3-setuptools package.
2024-01-03 18:40:52 +00:00
Petr Viktorin
0cc1518397
Update to 23.3.1
2023-11-16 16:36:32 +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