Accepting request 1106201 from devel:languages:python

- Finally drop csv23, it has been removed upstream since 2021. 
- Shift around sle15_python_module_pythons.

- Upgrade to 23.2.1
  * Bug fixes
    - Disable PEP 658 metadata fetching with the legacy resolver.
- Upgrade to 23.2
  * Process
    - Deprecate support for eggs for Python 3.11 or later, when the
      new importlib.metadata backend is used to load distribution
      metadata. This only affects the egg distribution format (with
      the .egg extension); distributions using the .egg-info metadata
      format (but are not actually eggs) are not affected. For more
      information about eggs, see relevant section in the setuptools
      documentation.
  * Deprecations and Removals
    - Deprecate legacy version and version specifiers that don’t
      conform to PEP 440
    - freeze no longer excludes the setuptools, distribute, and wheel
      from the output when running on Python 3.12 or later, where they
      are not included in a virtual environment by default. Use
      --exclude if you wish to exclude any of these packages.
  * Features
    - make rejection messages slightly different between 1 and 8, so
      the user can make the difference.
  * Bug Fixes
    - Fix pip completion --zsh.
    - Prevent downloading files twice when PEP 658 metadata is present
    - Add permission check before configuration
    - Fix deprecation warnings in Python 3.12 for usage of

OBS-URL: https://build.opensuse.org/request/show/1106201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=61
This commit is contained in:
Ana Guerrero 2023-08-30 08:19:12 +00:00 committed by Git OBS Bridge
commit ffacb94886
4 changed files with 70 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac5c959a099b88840db897451678810a8b9aec469f296cfd04a88131d64b4c29
size 9345911

3
pip-23.2.1-gh.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:975e6b09fe9d14927b67db05d7de3a60503a1696c8c23ca2486f114c20097ad4
size 9370625

View File

@ -1,3 +1,68 @@
-------------------------------------------------------------------
Mon Aug 28 03:30:09 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Finally drop csv23, it has been removed upstream since 2021.
- Shift around sle15_python_module_pythons.
-------------------------------------------------------------------
Mon Aug 7 22:01:39 UTC 2023 - Martin Schreiner <martin.schreiner@suse.com>
- Upgrade to 23.2.1
* Bug fixes
- Disable PEP 658 metadata fetching with the legacy resolver.
- Upgrade to 23.2
* Process
- Deprecate support for eggs for Python 3.11 or later, when the
new importlib.metadata backend is used to load distribution
metadata. This only affects the egg distribution format (with
the .egg extension); distributions using the .egg-info metadata
format (but are not actually eggs) are not affected. For more
information about eggs, see relevant section in the setuptools
documentation.
* Deprecations and Removals
- Deprecate legacy version and version specifiers that dont
conform to PEP 440
- freeze no longer excludes the setuptools, distribute, and wheel
from the output when running on Python 3.12 or later, where they
are not included in a virtual environment by default. Use
--exclude if you wish to exclude any of these packages.
* Features
- make rejection messages slightly different between 1 and 8, so
the user can make the difference.
* Bug Fixes
- Fix pip completion --zsh.
- Prevent downloading files twice when PEP 658 metadata is present
- Add permission check before configuration
- Fix deprecation warnings in Python 3.12 for usage of
shutil.rmtree
- Ignore invalid or unreadable origin.json files in the cache of
locally built wheels.
- Fix installation of packages with PEP658 metadata using
non-canonicalized names
- Correctly parse dist-info-metadata values from JSON-format index
data.
- Fail with an error if the --python option is specified after the
subcommand name.
- Fix slowness when using importlib.metadata (the default way for
pip to read metadata in Python 3.11+) and there is a large
overlap between already installed and to-be-installed packages.
- Pass the -r flag to mercurial to be explicit that a revision is
passed and protect against hg options injection as part of VCS
URLs. Users that do not have control on VCS URLs passed to pip
are advised to upgrade.
* Vendored Libraries
- Upgrade certifi to 2023.5.7
- Upgrade platformdirs to 3.8.1
- Upgrade pygments to 2.15.1
- Upgrade pyparsing to 3.1.0
- Upgrade Requests to 2.31.0
- Upgrade rich to 13.4.2
- Upgrade setuptools to 68.0.0
- Updated typing_extensions to 4.6.0
- Upgrade typing_extensions to 4.7.1
- Upgrade urllib3 to 1.26.16
-------------------------------------------------------------------
Mon Jun 12 10:50:56 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -16,7 +16,6 @@
#
%{?sle15_python_module_pythons}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@ -39,8 +38,9 @@
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-pip%{psuffix}
Version: 23.1.2
Version: 23.2.1
Release: 0
Summary: A Python package management system
License: MIT
@ -74,7 +74,6 @@ Requires(postun):update-alternatives
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module csv23}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module installer}