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
a378787915
Update rpmlintrc rules to match rpmlint 2 and the current pip
...
We got:
python3-pip.noarch: E: unused-rpmlintrc-filter "(non-executable-script|wrong-script-interpreter) .+/pip/_vendor/appdirs.py\b"
python3-pip.noarch: E: unused-rpmlintrc-filter "zero-length .+/site-packages/.+\.dist-info/REQUESTED\b"
python3-pip.noarch: E: unused-rpmlintrc-filter "W: spelling-error .* venv"
python3-pip.noarch: E: non-executable-script /usr/lib/python3.11/site-packages/pip/_vendor/distro/distro.py 644 /usr/bin/env python
2023-05-22 13:34:10 +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
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
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
Miro Hrončok
25bc125898
CI: Add Python 3.12
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
Charalampos Stratakis
d6c837fe66
Fedora CI: Fix Python 3.10 and 3.11
2022-06-29 15:34:21 +02:00
Python Maint
2c59c720fb
Rebuilt for Python 3.11
2022-06-15 15:03:57 +02:00
Python Maint
9f67b4d1a3
Bootstrap for Python 3.11
2022-06-13 13:19:54 +02:00
Miro Hrončok
b0f90f583c
Spaces: Align all patches definitions consistently
2022-04-27 10:30:20 +02:00
Tomáš Hrnčiar
5a8c8943b0
Fallback to pep517 if setup.py is present and setuptools cannot be imported
2022-04-27 08:28:54 +02:00
Tomáš Hrnčiar
1963d79695
Remove patch numbering
2022-04-27 08:28:54 +02:00
Karolina Surma
590775acbf
Update to 22.0.4
2022-03-21 10:17:04 +01:00
Lumir Balhar
093cb73c53
Update to 22.0.3
2022-02-21 10:57:04 +01:00
Fedora Release Engineering
636f3bf0bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 14:11:18 +00:00
Tomas Orsava
b4e24c5cb6
Use new macros %python_wheel_dir and %python_wheel_pkg_prefix
...
..when creating the wheel subpackage.
This does not actually change the name or the contents of the subpackage.
2021-11-24 13:51:47 +00:00
Miro Hrončok
931a7e69a1
Update to 21.3.1
2021-10-25 21:36:52 +02:00
Miro Hrončok
5e3e97d02b
Fix incomplete pip-updates in virtual environments
2021-10-15 09:36:43 +02:00
Miro Hrončok
20ae7fd440
Fedora CI: Add Python 3.11
2021-10-13 13:50:30 +02:00
Miro Hrončok
54943ebf8a
Update to 21.3
2021-10-13 13:39:10 +02:00
Charalampos Stratakis
05b44649bb
Remove bundled windows executables
...
Resolves: rhbz#2005453
2021-10-06 16:58:53 +02:00
Miro Hrončok
8b7935f5a8
Detect paths not to uninstall from via sysconfig's rpm_prefix install scheme
2021-10-05 12:07:51 +02:00
Miro Hrončok
27c255ce81
Fedora CI: Add pip-upgrade tests
2021-08-16 13:02:05 +02:00
Miro Hrončok
192c4aebdf
Fix broken uninstallation by a bogus downstream patch
...
In pip 21.2, the Distribution here is a wrapper around the regular Distribution.
It has a limited set of API defined by the BaseDistribution protocol.
dist_location() uses the project_name attribute under the hood --
and that is not part of the API.
If we ever upstream this, we should make this check a property of BaseDistribution.
But, for now, we hotfix it by accessing the private wrapped Distribution object directly.
Yes, this is ugly.
2021-08-16 12:27:18 +02:00
Miro Hrončok
d7a96d26f4
Enable previously failing test
2021-08-11 18:57:08 +02:00
Miro Hrončok
d3f6b95d9c
Adapt wheel installation to be more like %pyproject_install, use %python3
2021-08-11 18:57:08 +02:00
Miro Hrončok
8f31f816cc
Mark the installed LICENSE.txt as %license instead of duplicating it
2021-08-11 18:57:08 +02:00
Miro Hrončok
d39c496473
Update to 21.2.3
...
The bundled toml was replaced by tomli, same license (MIT).
2021-08-09 20:33:45 +02:00
Fedora Release Engineering
08464d3bcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 08:14:14 +00:00
Lumir Balhar
44c8353812
Update to 21.1.3
2021-07-07 13:46:14 +02:00
Karolina Surma
de909508e7
Update to 21.1.2
2021-06-17 09:45:24 +02:00
Python Maint
d2309d3f09
Rebuilt for Python 3.10
2021-06-04 02:57:58 +02:00
Python Maint
ec8cee20b2
Bootstrap for Python 3.10
2021-06-01 16:35:15 +02:00