Commit graph

228 commits

Author SHA1 Message Date
Miro Hrončok
5183a7da7b Drop unused test requirement of python-wheel-wheel
- Run more tests

The motivation for this is 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.

As a result of this change, the unused dependencies on packaged wheels are dropped,
but the tests are collected and only those that require wheels are skipped (still the most).

This change enables some tests, but skips most of them :/
Before: 1567 passed, 28 skipped, 12 deselected, 8 xfailed
After: 1602 passed, 893 skipped, 173 deselected, 8 xfailed

The added comment assumes python-wheel-wheel no longer exists.
2025-05-05 23:41:54 +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
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
048126313b Update to 25.0.1
- Fixes: rhbz#2342135
2025-02-27 01:14:04 +01:00
Tomáš Hrnčiar
990a77f1c0 Update to 24.3.1
- Fixes: rhbz#2321997
2024-11-07 09:45:38 +00: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
f7056f5f8a Use %pyproject_install
[skip changelog]
2024-08-06 19:07:00 +02: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
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
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
e03098bace Don't generate conditional Recommends when the wheel is built for a single Python version 2023-10-27 14:19:50 +02:00
Miro Hrončok
be83e98e05 When built without tests, run a smoke test and bundled() Provides verification 2023-10-27 14:19:45 +02:00
Miro Hrončok
fb213c6f74 Update to 23.2.1 2023-08-04 21:33:37 +02:00
Miro Hrončok
432aea6d5c Remove leftovers from Python 3.12 bootstrap 2023-08-04 18:11:34 +02:00
Miro Hrončok
da117b5316 Stop Recommending libcrypt.so.1 on Python 3.12+
See https://discuss.python.org/t/29455/
2023-08-02 22:47:04 +02:00
Miro Hrončok
960d5f25da Drop a pinned dependency only relevant with early Python 3.11 2023-08-02 22:42:14 +02:00
Miro Hrončok
e82cd73bd4 Drop no-longer-needed custom changes to /usr/bin/pip*
pip >= 20 has a mechanism that replaces our pip-allow-different-versions.patch
However, we kept our patch to support users doing e.g.:

    $ pip install --user --upgrade 'pip<20'

However, pip 19.3.1 (the latest <20 version) does not even operate without distutils:

    (venv3.12)$ pip list
    Package    Version
    ---------- -------
    pip        22.3.1
    setuptools 65.5.0

    (venv3.12)$ pip install --upgrade 'pip<20'
    ...

    (venv3.12) $ pip list
    Traceback (most recent call last):
      File ".../venv3.12/bin/pip", line 5, in <module>
        from pip._internal.main import main
      File ".../venv3.12/lib64/python3.12/site-packages/pip/_internal/main.py", line 13, in <module>
        from pip._internal.cli.autocompletion import autocomplete
      File ".../venv3.12/lib64/python3.12/site-packages/pip/_internal/cli/autocompletion.py", line 11, in <module>
        from pip._internal.cli.main_parser import create_main_parser
      File ".../venv3.12/lib64/python3.12/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
        from pip._internal.cli import cmdoptions
      File ".../venv3.12/lib64/python3.12/site-packages/pip/_internal/cli/cmdoptions.py", line 19, in <module>
        from distutils.util import strtobool
    ModuleNotFoundError: No module named 'distutils'

Hence, it no longer makes any sense to keep the patch with Python 3.12.
2023-08-02 00:28:38 +02:00
Python Maint
3292de8e3b Rebuilt for Python 3.12 2023-07-25 12:10:44 +02:00
Fedora Release Engineering
72a236c147 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 12:17:32 +00:00
Python Maint
8b06ef16f8 Rebuilt for Python 3.12 2023-07-20 11:54:01 +02:00
Python Maint
558f1a0e2b Bootstrap for Python 3.12 2023-06-13 16:40:50 +02:00
Miro Hrončok
f58b7e613e Remove RIGHT-TO-LEFT OVERRIDE from AUTHORS.txt 2023-05-22 13:34:10 +02:00
Miro Hrončok
384163c9b7 Update to 23.1.2 2023-05-19 13:11:09 +02:00
Karolina Surma
f657771b14 Fix compatibility with Sphinx 6+ (fixes FTBFS) 2023-03-28 09:50:21 +02:00
Miro Hrončok
83fe8f1d73 Update the RHEL %bconds comment and style
It is obvious to me now that this is not going to be removed,
but will be reused for RHEL 10, 11, etc.

The new %bcond syntax is nicer.
2023-03-01 12:54:28 +00:00
Tomáš Hrnčiar
7fdfa3a50a Update to 23.0.1 2023-02-22 12:12:24 +01:00
Fedora Release Engineering
6cbe3a846c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 15:40:55 +00:00
Miro Hrončok
a1e1c1dfc9 Convert the License tag to SPDX 2022-11-16 17:54:41 +01:00
Karolina Surma
c3f04d6b6d Update to 22.3.1 2022-11-16 17:54:41 +01:00
Miro Hrončok
a2dfa8738e No longer use the rpm_install prefix to determine RPM-installed packages
In https://src.fedoraproject.org/rpms/python3.11/c/d75ca77a64 the rpm_prefix scheme stopped being interesting.
Instead, we make sure to properly set both {base} and {platbase} variables which was subtly wrong before.
2022-09-06 16:40:34 +02:00
Charalampos Stratakis
ca7bb6bb48 Fix crash when an empty dist-info/egg-info is present
Resolves: rhbz#2115001
2022-09-06 16:36:12 +02:00
Charalampos Stratakis
9361272bc9 Update to 22.2.2
Resolves: rhbz#2109468
2022-08-06 03:55:45 +02:00
Charalampos Stratakis
6300db47ba Update to 22.2
Resolves: rhbz#2109468
2022-07-25 14:59:00 +02:00
Fedora Release Engineering
3e8bb70757 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 20:50:51 +00:00
Python Maint
2c59c720fb Rebuilt for Python 3.11 2022-06-15 15:03:57 +02:00