Fix crash when an empty dist-info/egg-info is present
Resolves: rhbz#2115001
This commit is contained in:
parent
9361272bc9
commit
ca7bb6bb48
2 changed files with 102 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
Name: python-%{srcname}
|
||||
Version: %{base_version}%{?prerel:~%{prerel}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A tool for installing and managing Python packages
|
||||
|
||||
# We bundle a lot of libraries with pip, which itself is under MIT license.
|
||||
|
|
@ -89,6 +89,11 @@ Patch: nowarn-pip._internal.main.patch
|
|||
# Upstream issue: https://github.com/pypa/packaging/issues/368
|
||||
Patch: no-version-warning.patch
|
||||
|
||||
# Ignore distributions with invalid name in metadata instead of crashing, when
|
||||
# using the importlib.metadata backend.
|
||||
# Resolved upstream: https://github.com/pypa/pip/pull/11353
|
||||
Patch: bad-metadata-fix.patch
|
||||
|
||||
# Downstream only patch
|
||||
# Users might have local installations of pip from using
|
||||
# `pip install --user --upgrade pip` on older/newer versions.
|
||||
|
|
@ -403,6 +408,10 @@ pytest_k='not completion and
|
|||
%{python_wheel_dir}/%{python_wheel_name}
|
||||
|
||||
%changelog
|
||||
* Mon Sep 05 2022 Charalampos Stratakis <cstratak@redhat.com> - 22.2.2-2
|
||||
- Fix crash when an empty dist-info/egg-info is present
|
||||
Resolves: rhbz#2115001
|
||||
|
||||
* Wed Aug 03 2022 Charalampos Stratakis <cstratak@redhat.com> - 22.2.2-1
|
||||
- Update to 22.2.2
|
||||
Resolves: rhbz#2109468
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue