Commit Graph

18 Commits

Author SHA1 Message Date
Miro Hrončok
5e3e97d02b Fix incomplete pip-updates in virtual environments 2021-10-15 09:36:43 +02:00
Miro Hrončok
54943ebf8a Update to 21.3 2021-10-13 13:39:10 +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
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
d39c496473 Update to 21.2.3
The bundled toml was replaced by tomli, same license (MIT).
2021-08-09 20:33:45 +02:00
Karolina Surma
5afdc00b06 Update to 21.1.1
Changes:
- dropped emit-a-warning-when-running-with-root-privileges.patch (fixed in upstream)
- rebased dummy-certifi.patch, remove-existing-dist-only-if-path-conflicts.patch, nowarn-pip._internal.main.patch
2021-05-18 13:43:22 +02:00
Lumir Balhar
e8f3551533 Update to 21.0.1 2021-02-17 10:26:08 +01:00
Lumir Balhar
093819ce2e Update to 21.0 (#1919530) 2021-01-26 13:27:36 +01:00
Petr Viktorin
6eac568430 Patch the new resolver to not uninstall from /usr/lib on updates 2020-12-17 17:23:37 +01:00
Petr Viktorin
0626df487e Update the patches 2020-12-17 17:23:37 +01:00
Tomas Orsava
8825fe54dc Update to 20.2.2 (#1838553) 2020-08-11 16:20:47 +02:00
Tomas Hrnciar
55406531cf Update to 20.1~b1
Don't install pip wheel via path to prevent PEP 610 treatment, see:
https://discuss.python.org/t/pep-610-usage-guidelines-for-linux-distributions/4012
2020-05-20 08:15:36 +00:00
Miro Hrončok
f994ff1cc7 Update to 20.0.2
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1793456

The main() wrapper moved the import path again, this time with compatibility shim:

 - we still need pip-allow-different-versions.patch to support older pips installed by users
 - we dropped callable-main.patch - the shim is provided by pip for all previous paths
 - no need to patch older pips to support user installed pip 20+
 - no need to patch Pythons (or virtualenv) to support pip 20+ wheel in ensurepip
2020-03-04 12:47:38 +01:00
Tomas Orsava
f6e9c0640b Update to 19.3.1 (#1761508)
Drop upstreamed patch that fixed expected output in test to not break with alpha/beta/rc Python versions
2019-12-11 16:41:11 +01:00
Miro Hrončok
add791f1d5 Update to 19.2.3 (#1742230) 2019-09-02 12:17:41 +02:00
Miro Hrončok
bbe9e6d297 Update to 19.0.2 (#1668492) 2019-02-13 13:04:06 +01:00
Miro Hrončok
82235d4efa Update to 18.1 (#1652089) 2018-11-22 13:58:09 +01:00
Michal Cyprian
50d9d64d96 Subject: Prevent removing of the system packages installed under /usr/lib
when pip install -U is executed.

Resolves: rhbz#1550368
2018-09-21 14:54:31 +02:00