commit python-pip for openSUSE:Factory

2024-09-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2024-09-24 17:31:20

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.29891 (New)


Package is "python-pip"

Tue Sep 24 17:31:20 2024 rev:68 rq:1202624 version:24.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2024-08-29 
15:42:33.603218199 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip.new.29891/python-pip.changes 
2024-09-24 17:31:27.892529433 +0200
@@ -1,0 +2,6 @@
+Mon Sep 23 11:21:24 UTC 2024 - Daniel Garcia 
+
+- Adapt disable-ssl-context-in-buildenv.patch to make it compatible
+  with leap
+
+---



Other differences:
--
++ disable-ssl-context-in-buildenv.patch ++
--- /var/tmp/diff_new_pack.bkHvF6/_old  2024-09-24 17:31:30.392634094 +0200
+++ /var/tmp/diff_new_pack.bkHvF6/_new  2024-09-24 17:31:30.420635267 +0200
@@ -7,7 +7,7 @@
  extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
  )
 -except ImportError:
-+except (ImportError, FileNotFoundError):
++except (ImportError, FileNotFoundError, ssl.SSLError):
  # Bypass default SSLContext creation when Python
  # interpreter isn't built with the ssl module.
  _preloaded_ssl_context = None
@@ -22,7 +22,7 @@
 -ctx.load_verify_locations(certifi.where())
 +try:
 +ctx.load_verify_locations(certifi.where())
-+except FileNotFoundError:
++except (FileNotFoundError, ssl.SSLError):
 +logger.warning("Disabling truststore because of missing certificates")
 +return None
  return ctx


commit python-pip for openSUSE:Factory

2024-02-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2024-02-02 15:45:01

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.1815 (New)


Package is "python-pip"

Fri Feb  2 15:45:01 2024 rev:64 rq:1136254 version:23.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2023-12-19 
23:15:47.237434820 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1815/python-pip.changes  
2024-02-02 15:45:22.956589671 +0100
@@ -1,0 +2,8 @@
+Fri Dec 22 16:06:25 UTC 2023 - Ben Greiner 
+
+- Drop deprecated setup.py installmethod, bootstrap PEP517 with
+  built-in pip instead
+- python3XX-pip-wheel can now be a regular subpackage
+- Drop obsolete python2 directives in specfile
+
+---



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.EafT9L/_old  2024-02-02 15:45:24.584648641 +0100
+++ /var/tmp/diff_new_pack.EafT9L/_new  2024-02-02 15:45:24.600649220 +0100
@@ -20,24 +20,18 @@
 %if "%{flavor}" == "test"
 %define psuffix -test
 %bcond_without test
-%bcond_with wheel
-%else
-%if "%{flavor}" == "wheel"
-%define psuffix -wheel
-%bcond_without wheel
-%bcond_with test
 %else
 %define psuffix %{nil}
 %bcond_with test
-%bcond_with wheel
-%endif
 %endif
-%global skip_python2 1
 %if 0%{?suse_version} > 1500
 %bcond_without libalternatives
 %else
 %bcond_with libalternatives
 %endif
+
+# in order to avoid rewriting for subpackage generator
+%define mypython python
 %{?sle15_python_module_pythons}
 Name:   python-pip%{psuffix}
 Version:23.3.2
@@ -54,12 +48,12 @@
 Patch1: distutils-reproducible-compile.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module setuptools >= 40.8.0}
+# The rpm python-wheel build is bootstrap friendly since 0.42
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros >= 20210929
 Requires:   ca-certificates
 Requires:   coreutils
-Requires:   python-setuptools
-Requires:   python-xml
 Recommends: ca-certificates-mozilla
 BuildArch:  noarch
 %if %{with libalternatives}
@@ -71,6 +65,7 @@
 %endif
 %if %{with test}
 # Test requirements:
+BuildRequires:  %{python_module pip = %{version}}
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module Werkzeug}
 BuildRequires:  %{python_module cryptography}
@@ -82,15 +77,8 @@
 BuildRequires:  %{python_module scripttest}
 BuildRequires:  %{python_module setuptools-wheel}
 BuildRequires:  %{python_module virtualenv >= 1.10}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  ca-certificates
 BuildRequires:  git-core
-%if 0%{?suse_version} <= 1500
-BuildRequires:  %{python_module mock}
-%endif
-%endif
-%if %{with wheel}
-BuildRequires:  %{python_module wheel}
 %endif
 %python_subpackages
 
@@ -99,6 +87,14 @@
 finding packages, so packages that were made easy_installable should be
 pip-installable as well.
 
+%package wheel
+Summary:The pip wheel for custom tests and install requirements
+Requires:   %mypython(abi) = %python_version
+
+%description wheel
+This packages provides the pip wheel as separate file for cases where
+the wheel needs to be used directly in test or install setups
+
 %prep
 # Unbundling is not advised by upstream. See src/pip/_vendor/README.rst
 # Exception: Use our own cabundle. Adapted patch from python-certifi package
@@ -121,32 +117,31 @@
 sed -i '/\.exe/d' setup.py
 
 %build
-%if ! %{with wheel}
-%python_build
-%else
-%python_exec setup.py bdist_wheel --universal
+%if !%{with test}
+%{python_expand # bootstrap with built-in pip
+$python -m venv build/env
+build/env/bin/python -m ensurepip
+export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
+%{$python_pyproject_wheel}
+}
 %endif
 
-%if !%{with test} && !%{with wheel}
 %install
-%python_install
+%if !%{with test}
+%{python_expand # use pip bootstrapped above
+export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
+%{$python_pyproject_install}
+install -D -m 0644 -t %{buildroot}%{$python_sitelib}/../wheels dist/*.whl
+%fdupes %{buildroot}%{$python_sitelib}
+}
 %python_clone -a %{buildroot}%{_bindir}/pip
 %python_clone -a %{buildroot}%{_bindir}/pip3
-# if we just cloned to pip3-2.7 delete it
-rm -f %{buildroot}%{_bindir}/pip3-2*
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%endif
-
-%if %{with wheel}
-%python_expand install -D -m 0644 -t %{buildroot}%{$python_sitelib}/../wheels 
dist/*.whl
+%python_expand %fdupes %{buildroot}%{_bindir}
 %endif
 
 %if %{with test}
 %check
-export PYTHONPATH=$(pwd)/

commit python-pip for openSUSE:Factory

2023-11-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2023-11-22 18:54:20

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.25432 (New)


Package is "python-pip"

Wed Nov 22 18:54:20 2023 rev:62 rq:1127960 version:23.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2023-08-30 
10:21:34.406482585 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip.new.25432/python-pip.changes 
2023-11-22 18:54:33.287457601 +0100
@@ -1,0 +2,71 @@
+Tue Nov 21 10:38:00 UTC 2023 - Matej Cepl 
+
+- Update to 23.3.1:
+  - Bug Fixes
+- Handle a timezone indicator of Z when parsing dates in the
+  self check. (#12338)
+- Fix bug where installing the same package at the same time
+  with multiple pip processes could fail. (#12361)
+- Update to 23.3:
+  - Process
+- Added reference to vulnerability reporting guidelines to
+  pip's security policy.
+  - Features
+- Improve extras resolution for multiple constraints on same
+  base package. (#11924)
+- Improve use of datastructures to make candidate selection
+  1.6x faster. (#12204)
+- Allow pip install --dry-run to use platform and ABI
+  overriding options. (#12215)
+- Add is_yanked boolean entry to the installation report
+  (--report) to indicate whether the requirement was yanked
+  from the index, but was still selected by pip conform to
+  PEP 592. (#12224)
+  - Bug Fixes
+- Ignore errors in temporary directory cleanup (show a
+  warning instead). (#11394)
+- Normalize extras according to PEP 685 from package metadata
+  in the resolver for comparison. This ensures extras are
+  correctly compared and merged as long as the package
+  providing the extra(s) is built with values normalized
+  according to the standard. Note, however, that this
+  does not solve cases where the package itself contains
+  unnormalized extra values in the metadata. (#11649)
+- Prevent downloading sdists twice when PEP 658 metadata is
+  present. (#11847)
+- Include all requested extras in the install report
+  (--report). (#11924)
+- Removed uses of datetime.datetime.utcnow from non-vendored
+  code. (#12005)
+- Consistently report whether a dependency comes from an
+  extra. (#12095)
+- Fix completion script for zsh (#12166)
+- Fix improper handling of the new onexc argument of
+  shutil.rmtree() in Python 3.12. (#12187)
+- Filter out yanked links from the available versions
+  error message: "(from versions: 1.0, 2.0, 3.0)" will
+  not contain yanked versions conform PEP 592. The yanked
+  versions (if any) will be mentioned in a separate error
+  message. (#12225)
+- Fix crash when the git version number contains something
+  else than digits and dots. (#12280)
+- Use -r=... instead of -r ... to specify references with
+  Mercurial. (#12306, CVE-2023-5752, bsc#1217353)
+- Redact password from URLs in some additional
+  places. (#12350)
+- pip uses less memory when caching large packages. As a
+  result, there is a new on-disk cache format stored in a new
+  directory ($PIP_CACHE_DIR/http-v2). (#2984)
+  - Vendored Libraries
+- Upgrade certifi to 2023.7.22
+- Add truststore 0.8.0
+- Upgrade urllib3 to 1.26.17
+  - Improved Documentation
+- Document that pip search support has been removed from PyPI
+  (#12059)
+- Clarify --prefer-binary in CLI and docs (#12122)
+- Document that using OS-provided Python can cause pip's test
+  suite to report false failures. (#12334)
+- Adjust pip-shipped-requests-cabundle.patch.
+
+---

Old:

  pip-23.2.1-gh.tar.gz

New:

  pip-23.3.1-gh.tar.gz



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.X1V6PT/_old  2023-11-22 18:54:34.075486522 +0100
+++ /var/tmp/diff_new_pack.X1V6PT/_new  2023-11-22 18:54:34.079486668 +0100
@@ -40,11 +40,11 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:   python-pip%{psuffix}
-Version:23.2.1
+Version:23.3.1
 Release:0
 Summary:A Python package management system
 License:MIT
-URL:http://www.pip-installer.org
+URL:https://pip.pypa.io
 # The PyPI archive lacks the tests
 Source: 
https://github.com/pypa/pip/archive/%{version}.tar.gz#/pip-%{version}-gh.tar.gz
 # PATCH-FIX-OPENSUSE pip-shipped-requests-cabundle.patch -- adapted patch from 
python-certifi package

++ pip-23.2.1-gh.tar.gz -> pip-23.3.1-gh.tar.gz ++
/

commit python-pip for openSUSE:Factory

2023-08-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2023-08-30 10:19:12

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.1766 (New)


Package is "python-pip"

Wed Aug 30 10:19:12 2023 rev:61 rq:1106201 version:23.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2023-06-14 
16:30:03.282732028 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1766/python-pip.changes  
2023-08-30 10:21:34.406482585 +0200
@@ -1,0 +2,65 @@
+Mon Aug 28 03:30:09 UTC 2023 - Steve Kowalik 
+
+- 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 
+
+- 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
+  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
+
+---

Old:

  pip-23.1.2-gh.tar.gz

New:

  pip-23.2.1-gh.tar.gz



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.S4bndY/_old  2023-08-30 10:21:35.650526989 +0200
+++ /var/tmp/diff_new_pack.S4bndY/_new  2023-08-30 10:21:35.654527133 +0200
@@ -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 @@
 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}

++ pip-23.1.2-gh.tar.gz -> pip-23.2.1-gh.tar.gz ++
/work/SRC/openSUSE:Factory/python-pip/pip-23.1.2-gh.tar.gz 
/work/SRC/openSUSE:Factory/.python-pip.new.1766/pip-23.2.1-gh.tar.gz differ: 
char 12, line 1


commit python-pip for openSUSE:Factory

2023-06-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2023-06-14 16:29:12

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.15902 (New)


Package is "python-pip"

Wed Jun 14 16:29:12 2023 rev:60 rq:1092512 version:23.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2023-05-30 
22:02:03.890876782 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip.new.15902/python-pip.changes 
2023-06-14 16:30:03.282732028 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 10:50:56 UTC 2023 - Daniel Garcia 
+
+- Remove .exe files from package (bsc#1212015)
+
+---



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.rqbzbH/_old  2023-06-14 16:30:04.350738593 +0200
+++ /var/tmp/diff_new_pack.rqbzbH/_new  2023-06-14 16:30:04.362738667 +0200
@@ -116,6 +116,11 @@
 sed -i 's|^#!%{_bindir}/env .*$||g' $f
 done
 
+# Remove windows executable binaries
+# bsc#1212015
+rm -v src/pip/_vendor/distlib/*.exe
+sed -i '/\.exe/d' setup.py
+
 %build
 %if ! %{with wheel}
 %python_build


commit python-pip for openSUSE:Factory

2023-05-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2023-05-30 22:01:58

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.1533 (New)


Package is "python-pip"

Tue May 30 22:01:58 2023 rev:59 rq:1084918 version:23.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2023-04-22 
22:00:33.529251740 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1533/python-pip.changes  
2023-05-30 22:02:03.890876782 +0200
@@ -1,0 +2,113 @@
+Tue May  2 10:12:33 UTC 2023 - Daniel Garcia 
+
+- Update to 23.1.2
+  - Upgrade setuptools to 67.7.2
+- 23.1.1:
+  - Revert #11487, as it causes issues with virtualenvs created by the
+Windows Store distribution of Python. (#11987)
+  - Revert pkg_resources (via setuptools) back to 65.6.3
+  - Update documentation to reflect the new behavior of using the
+cache of locally built wheels in hash-checking mode. (#11967)
+- 23.1:
+  - Remove support for the deprecated --install-options. (#11358)
+  - --no-binary does not imply setup.py install anymore. Instead a
+wheel will be built locally and installed. (#11451)
+  - --no-binary does not disable the cache of locally built wheels
+anymore. It only means "don't download wheels". (#11453)
+  - Deprecate --build-option and --global-option. Users are invited to
+switch to --config-settings. (#11859)
+  - Using --config-settings with projects that don't have a
+pyproject.toml now prints a deprecation warning. In the future the
+presence of config settings will automatically enable the default
+build backend for legacy projects and pass the setttings to it.
+(#11915)
+  - Remove setup.py install fallback when building a wheel failed for
+projects without pyproject.toml. (#8368)
+  - When the wheel package is not installed, pip now uses the default
+build backend instead of setup.py install and setup.py develop for
+project without pyproject.toml. (#8559)
+  - Specify egg-link location in assertion message when it does not
+match installed location to provide better error message for
+debugging. (#10476)
+  - Present conflict information during installation after each choice
+that is rejected (pass -vv to pip install to show it) (#10937)
+  - Display dependency chain on each Collecting/Processing log line.
+(#11169)
+  - Support a per-requirement --config-settings option in requirements
+files. (#11325)
+  - The --config-settings/-C option now supports using the same key
+multiple times. When the same key is specified multiple times, all
+values are passed to the build backend as a list, as opposed to
+the previous behavior, where pip would only pass the last value if
+the same key was used multiple times. (#11681)
+  - Add -C as a short version of the --config-settings option.
+(#11786)
+  - Reduce the number of resolver rounds, since backjumping makes the
+resolver more efficient in finding solutions. This also makes
+pathological cases fail quicker. (#11908)
+  - Warn if --hash is used on a line without requirement in a
+requirements file. (#11935)
+  - Stop propagating CLI --config-settings to the build dependencies.
+They already did not propagate to requirements provided in
+requirement files. To pass the same config settings to several
+requirements, users should provide the requirements as CLI
+arguments. (#11941)
+  - Support wheel cache when using --require-hashes. (#5037)
+  - Add --keyring-provider flag. See the Authentication page in the
+documentation for more info. (#8719)
+  - In the case of virtual environments, configuration files are now
+also included from the base installation. (#9752)
+  - Fix grammar by changing "A new release of pip available:" to "A
+new release of pip is available:" in the notice used for
+indicating that. (#11529)
+  - Normalize paths before checking if installed scripts are on PATH.
+(#11719)
+  - Correct the way to decide if keyring is available. (#11774)
+  - More consistent resolution backtracking by removing legacy hack
+related to setuptools resolution (#11837)
+  - Include AUTHORS.txt in pip's wheels. (#11882)
+  - The uninstall and install --force-reinstall commands no longer
+call normalize_path() repeatedly on the same paths. Instead, these
+results are cached for the duration of an uninstall operation,
+resulting in improved performance, particularly on Windows.
+(#11889)
+  - Fix and improve the parsing of hashes embedded in URL fragments.
+(#11936)
+  - When package A depends on package B provided as a direct URL
+dependency including a hash embedded in the link, the
+--require-hashes option did no

commit python-pip for openSUSE:Factory

2023-04-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2023-04-22 21:59:47

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.1533 (New)


Package is "python-pip"

Sat Apr 22 21:59:47 2023 rev:58 rq:1081839 version:22.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2022-12-09 
13:16:27.334579234 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1533/python-pip.changes  
2023-04-22 22:00:33.529251740 +0200
@@ -1,0 +2,10 @@
+Fri Apr 21 12:29:19 UTC 2023 - Dirk Müller 
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+---
+Thu Apr 13 22:43:01 UTC 2023 - Matej Cepl 
+
+- Make calling of %{sle15modernpython} optional.
+
+---



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.ENjKfS/_old  2023-04-22 22:00:34.061254921 +0200
+++ /var/tmp/diff_new_pack.ENjKfS/_new  2023-04-22 22:00:34.065254945 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -40,6 +40,7 @@
 %endif
 %endif
 %global skip_python2 1
+%{?sle15_python_module_pythons}
 Name:   python-pip%{psuffix}
 Version:22.3.1
 Release:0


commit python-pip for openSUSE:Factory

2022-12-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2022-12-09 13:16:25

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.1835 (New)


Package is "python-pip"

Fri Dec  9 13:16:25 2022 rev:57 rq:1041297 version:22.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2022-08-10 
17:12:36.989600949 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1835/python-pip.changes  
2022-12-09 13:16:27.334579234 +0100
@@ -1,0 +2,50 @@
+Thu Dec  8 04:10:03 UTC 2022 - Steve Kowalik 
+
+- Update to 22.3.1: (bsc#1205478)
+  * Deprecations and Removals
++ Deprecate installation with setup.py install when no-binary is enabled
+  for source distributions without pyproject.toml. (#11452)
++ Deprecate installation with setup.py install when the wheel package is
+  absent for source distributions without pyproject.toml. (#8559)
++ Drop --use-deprecated=out-of-tree-build. (#11001)
+  * Features
++ Use the data-dist-info-metadata attribute from PEP 658 to resolve
+  distribution metadata without downloading the dist yet. (#1)
++ Add --dry-run option to pip install, to let it print what it would
+ install but not actually make changes in the target environment. (#11096)
++ Add pip inspect command to obtain the list of installed distributions
+ and other information about the Python environment, in JSON. (#11245)
++ Add option to install and uninstall commands to opt-out from
+  running-as-root warning. (#10556)
++ Add a user interface for supplying config settings to build backends.
+  (#11059)
++ Explains why specified version cannot be retrieved when Requires-Python
+  is not satisfied. (#9615)
++ Validate build dependencies when using --no-build-isolation. (#9794)
+  * Bug Fixes
++ Fix entry point generation of pip.X, pipX.Y, and easy_install-X.Y to
+  correctly account for multi-digit Python version segments. (#11547)
++ Fix --no-index when --index-url or --extra-index-url is specified
+  inside a requirements file. (#11276)
++ Ignore distributions with invalid Name in metadata instead of crashing,
+  when using the importlib.metadata backend. (#11352)
++ Raise RequirementsFileParseError when parsing malformed requirements
+  options that can’t be sucessfully parsed by shlex. (#11491)
++ Show pip deprecation warnings by default. (#11330)
++ Send the pip upgrade prompt to stderr. (#11282)
++ Ensure that things work correctly in environments where
+  setuptools-injected distutils is available by default. (#11298)
++ pip config now normalizes names by converting underscores into
+  dashes. (#9330)
++ Fallback to pyproject.toml-based builds if setup.py is present in a
+  project, but setuptools cannot be imported. (#10717)
++ When checking for conflicts in the build environment, correctly skip
+  requirements containing markers that do not match the current
+  environment. (#10883)
++ Fix pip install issues using a proxy due to an inconsistency in how
+  Requests is currently handling variable precedence in session. (#9691)
+- Refresh all patches.
+- Stop skipping a lot of tests, no longer required.
+- Add installer to BuildRequires for the test flavor.
+
+---

Old:

  pip-22.0.4-gh.tar.gz

New:

  pip-22.3.1-gh.tar.gz



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.KZhBCO/_old  2022-12-09 13:16:27.778581593 +0100
+++ /var/tmp/diff_new_pack.KZhBCO/_new  2022-12-09 13:16:27.782581613 +0100
@@ -41,7 +41,7 @@
 %endif
 %global skip_python2 1
 Name:   python-pip%{psuffix}
-Version:22.0.4
+Version:22.3.1
 Release:0
 Summary:A Python package management system
 License:MIT
@@ -78,6 +78,7 @@
 BuildRequires:  %{python_module csv23}
 BuildRequires:  %{python_module docutils}
 BuildRequires:  %{python_module freezegun}
+BuildRequires:  %{python_module installer}
 BuildRequires:  %{python_module pretend}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scripttest}
@@ -140,18 +141,9 @@
 %if %{with test}
 %check
 export PYTHONPATH=$(pwd)/build/lib
-# no network on OBS
-donttest="test_network or test_remote_reqs_parse"
-# incompatible virtualenv version
-donttest+=" or test_build_env_allow_only_one_install"
-donttest+=" or test_build_env_isolation"
-donttest+=" or test_build_env_requirements_check"
-donttest+=" or test_build_env_overlay_prefix_has_priority"
-donttest+=" or test_should_cache_git_sha"

commit python-pip for openSUSE:Factory

2022-08-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2022-08-10 17:12:28

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.1521 (New)


Package is "python-pip"

Wed Aug 10 17:12:28 2022 rev:56 rq:994298 version:22.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2022-03-22 
19:36:13.762839236 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1521/python-pip.changes  
2022-08-10 17:12:36.989600949 +0200
@@ -1,0 +2,13 @@
+Wed Aug 10 10:33:35 UTC 2022 - Dirk M??ller 
+
+- skip subversion tests, not that relevant to pull in
+  dozens of dependencies into small bootstrap
+
+---
+Thu Jun 23 20:08:32 UTC 2022 - Matej Cepl 
+
+- Add distutils-reproducible-compile.patch to make installed
+  files ordered correctly and thus builds reproducible again
+  (port of the fix for bpo#29708 and gh#python/cpython#8057).
+
+---

New:

  distutils-reproducible-compile.patch



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.gMbVoS/_old  2022-08-10 17:12:37.621602599 +0200
+++ /var/tmp/diff_new_pack.gMbVoS/_new  2022-08-10 17:12:37.629602620 +0200
@@ -50,6 +50,9 @@
 Source: 
https://github.com/pypa/pip/archive/%{version}.tar.gz#/pip-%{version}-gh.tar.gz
 # PATCH-FIX-OPENSUSE pip-shipped-requests-cabundle.patch -- adapted patch from 
python-certifi package
 Patch0: pip-shipped-requests-cabundle.patch
+# PATCH-FIX-UPSTREAM distutils-reproducible-compile.patch 
gh#python/cpython#8057 mc...@suse.com
+# To get reproducible builds, byte_compile() of distutils.util now sorts 
filenames.
+Patch1: distutils-reproducible-compile.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module setuptools >= 40.8.0}
 BuildRequires:  fdupes
@@ -85,8 +88,7 @@
 BuildRequires:  %{python_module mock}
 %endif
 BuildRequires:  ca-certificates
-BuildRequires:  git
-BuildRequires:  subversion
+BuildRequires:  git-core
 %endif
 %if %{with wheel}
 BuildRequires:  %{python_module wheel}

++ distutils-reproducible-compile.patch ++
---
 src/pip/_vendor/distlib/wheel.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/pip/_vendor/distlib/wheel.py
+++ b/src/pip/_vendor/distlib/wheel.py
@@ -538,7 +538,7 @@ class Wheel(object):
 maker.source_dir = workdir
 maker.target_dir = None
 try:
-for zinfo in zf.infolist():
+for zinfo in sorted(zf.infolist()):
 arcname = zinfo.filename
 if isinstance(arcname, text_type):
 u_arcname = arcname


commit python-pip for openSUSE:Factory

2022-03-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2022-03-22 19:36:11

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.25692 (New)


Package is "python-pip"

Tue Mar 22 19:36:11 2022 rev:55 rq:963100 version:22.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2021-11-06 
18:18:29.232898722 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.25692/python-pip.changes 
2022-03-22 19:36:13.762839236 +0100
@@ -1,0 +2,159 @@
+Sat Mar 19 17:14:58 UTC 2022 - Ben Greiner 
+
+- Avoid cycle: BuildRequire ca-certificates only in tests
+
+---
+Fri Mar 18 09:32:29 UTC 2022 - Ben Greiner 
+
+- Update requirements: v22 is not compatible with Python 3.6 and
+  thus not suitable for SLE/Leap 15.
+
+---
+Thu Mar 17 10:28:24 UTC 2022 - Matej Cepl 
+
+- Update to 22.0.4:
+  - Drop the doctype check, that presented a warning for index
+pages that use non-compliant HTML 5.
+- Update to 22.0.3:
+  - Print the exception via rich.traceback, when running with
+--debug.
+  - Only calculate topological installation order, for packages
+that are going to be installed/upgraded.
+  - This fixes an AssertionError that occured when determining
+installation order, for a very specific combination of
+upgrading-already-installed-package + change of dependencies
++ fetching some packages from a package index. This
+combination was especially common in Read the Docs'
+builds.
+  - Use html.parser by default, instead of falling back
+to html5lib when --use-deprecated=html5lib is not
+passed.
+  - Clarify that using per-requirement overrides disables the
+usage of wheels.
+- Update to 22.0.2:
+  - Instead of failing on index pages that use non-compliant
+HTML 5, print a deprecation warning and fall back to
+html5lib-based parsing for now. This simplifies the migration
+for non-compliant index pages, by letting such indexes
+function with a warning.
+- Update to 22.0.1:
+  - Accept lowercase  on index pages.
+  - Properly handle links parsed by html5lib, when using
+--use-deprecated=html5lib.
+- Update to 22.0:
+  - Completely replace :pypi:`tox` in our development workflow,
+with :pypi:`nox`.
+  - Deprecate alternative progress bar styles, leaving only on
+and off as available choices.
+  - Drop support for Python 3.6.
+  - Disable location mismatch warnings on Python versions prior
+to 3.10.
+  - These warnings were helping identify potential issues as part
+of the sysconfig -> distutils transition, and we no longer
+need to rely on reports from older Python versions for
+information on the transition.
+  - Changed PackageFinder to parse HTML documents using the
+stdlib :class:`html.parser.HTMLParser` class instead of the
+html5lib package.
+  - For now, the deprecated html5lib code remains and can be used
+with the --use-deprecated=html5lib command line option.
+However, it will be removed in a future pip release.
+  - Utilise rich for presenting pip's default download progress
+bar.
+  - Present a better error message when an invalid wheel file is
+encountered, providing more context where the invalid wheel
+file is.
+  - Documents the --require-virtualenv flag for pip install.
+  - pip install  autocompletes paths.
+  - Allow Python distributors to opt-out from or opt-in to the
+sysconfig installation scheme backend by setting
+sysconfig._PIP_USE_SYSCONFIG to True or False.
+  - Make it possible to deselect tests requiring cryptography
+package on systems where it cannot be installed.
+  - Start using Rich for presenting error messages in
+a consistent format.
+  - Improve presentation of errors from subprocesses.
+  - Forward pip's verbosity configuration to VCS tools to control
+their output accordingly.
+  - Optimize installation order calculation to improve
+performance when installing requirements that form a complex
+dependency graph with a large amount of edges.
+  - When a package is requested by the user for upgrade,
+correctly identify that the extra-ed variant of that same
+package depended by another user-requested package is
+requesting the same package, and upgrade it accordingly.
+  - Prevent pip from installing yanked releases unless explicitly
+pinned via the == or === operators.
+  - Stop backtracking on build failures, by instead surfacing
+them to the user and aborting immediately. This behaviour
+provides more immediate feedback when a package cannot be
+built due to missing build dependencies o

commit python-pip for openSUSE:Factory

2021-11-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2021-11-06 18:15:46

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.1890 (New)


Package is "python-pip"

Sat Nov  6 18:15:46 2021 rev:54 rq:929675 version:20.2.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2021-01-08 
17:32:20.893167282 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1890/python-pip.changes  
2021-11-06 18:18:29.232898722 +0100
@@ -1,0 +2,5 @@
+Wed Sep  8 16:07:38 UTC 2021 - Stefan Schubert 
+
+- Use libalternatives instead of update-alternatives. 
+
+---



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.Pnlioq/_old  2021-11-06 18:18:29.732898980 +0100
+++ /var/tmp/diff_new_pack.Pnlioq/_new  2021-11-06 18:18:29.732898980 +0100
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
@@ -47,13 +53,18 @@
 Patch1: remove_mock.patch
 BuildRequires:  %{python_module setuptools >= 40.8.0}
 BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+BuildRequires:  python-rpm-macros >= 20210929
 Requires:   ca-certificates
 Requires:   coreutils
 Requires:   python-setuptools
 Requires:   python-xml
+%if %{with libalternatives}
+Requires:   alts
+BuildRequires:  alts
+%else
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+%endif
 Recommends: ca-certificates-mozilla
 BuildArch:  noarch
 %if %{with test}
@@ -146,6 +157,8 @@
 # of the old binary resulting from the non-update-alternatives-ified package:
 [ -h %{_bindir}/pip ] || rm -f %{_bindir}/pip
 [ -h %{_bindir}/pip3 ] || rm -f %{_bindir}/pip3
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative pip
 
 %if !%{with test} && !%{with wheel}
 %post


commit python-pip for openSUSE:Factory

2020-12-16 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2020-12-16 10:59:28

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.2328 (New)


Package is "python-pip"

Wed Dec 16 10:59:28 2020 rev:52 rq:855625 version:20.2.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2020-11-25 
19:27:49.262374627 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.2328/python-pip.changes  
2020-12-16 10:59:30.075511765 +0100
@@ -1,0 +2,16 @@
+Mon Dec 14 00:14:23 UTC 2020 - Benjamin Greiner 
+
+- Fix the condition to really not break Python 2.7 in Leap
+
+---
+Sun Dec 13 21:23:26 UTC 2020 - Matej Cepl 
+
+- We don't need to break Python 2.7
+
+---
+Fri Dec 11 22:13:56 UTC 2020 - Matej Cepl 
+
+- Add remove_mock.patch to remove dependency on the external mock
+  package (gh#pypa/pip#9266).
+
+---

New:

  remove_mock.patch



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.JDbyCC/_old  2020-12-16 10:59:31.019512692 +0100
+++ /var/tmp/diff_new_pack.JDbyCC/_new  2020-12-16 10:59:31.023512697 +0100
@@ -42,6 +42,9 @@
 Source: 
https://github.com/pypa/pip/archive/%{version}.tar.gz#/pip-%{version}-gh.tar.gz
 # PATCH-FIX-OPENSUSE pip-shipped-requests-cabundle.patch -- adapted patch from 
python-certifi package
 Patch0: pip-shipped-requests-cabundle.patch
+# PATCH-FIX-UPSTREAM remove_mock.patch gh#pypa/pip#9266 mc...@suse.com
+# remove dependency on the external module mock
+Patch1: remove_mock.patch
 BuildRequires:  %{python_module setuptools >= 40.8.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -61,13 +64,15 @@
 BuildRequires:  %{python_module csv23}
 BuildRequires:  %{python_module docutils}
 BuildRequires:  %{python_module freezegun}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pretend}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scripttest}
 BuildRequires:  %{python_module setuptools-wheel}
 BuildRequires:  %{python_module virtualenv >= 1.10}
 BuildRequires:  %{python_module wheel}
+%if 0%{?suse_version} <= 1500
+BuildRequires:  %{python_module mock}
+%endif
 BuildRequires:  ca-certificates
 BuildRequires:  git
 BuildRequires:  subversion
@@ -83,10 +88,10 @@
 pip-installable as well.
 
 %prep
-%setup -q -n pip-%{version}
 # Unbundling is not advised by upstream. See src/pip/_vendor/README.rst
 # Exception: Use our own cabundle. Adapted patch from python-certifi package
-%patch0 -p1
+%autosetup -p1 -n pip-%{version}
+
 rm src/pip/_vendor/certifi/cacert.pem
 
 %if %{with test}

++ remove_mock.patch ++
 601 lines (skipped)
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org


[opensuse-commit] commit python-pip for openSUSE:Factory

2020-11-25 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2020-11-25 19:27:44

Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and  /work/SRC/openSUSE:Factory/.python-pip.new.5913 (New)


Package is "python-pip"

Wed Nov 25 19:27:44 2020 rev:51 rq:848968 version:20.2.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes2020-11-02 
09:39:40.445568512 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.5913/python-pip.changes  
2020-11-25 19:27:49.262374627 +0100
@@ -1,0 +2,15 @@
+Mon Nov 16 16:37:45 UTC 2020 - Matej Cepl 
+
+- Actually, test the new structure of package. :$
+- Remove the additional sourced setuptools*.whl and use BR on
+  python-setuptools-wheel.
+
+---
+Fri Nov 13 18:51:09 UTC 2020 - Matej Cepl 
+
+- Add wheel subpackage with the generated wheel for this package
+  (bsc#1176262, CVE-2019-20916).
+- Make wheel a separate build run to avoid the setuptools/wheel build
+  cycle.
+
+---

Old:

  setuptools-45.1.0-py3-none-any.whl



Other differences:
--
++ python-pip.spec ++
--- /var/tmp/diff_new_pack.A5Nv3e/_old  2020-11-25 19:27:49.806375312 +0100
+++ /var/tmp/diff_new_pack.A5Nv3e/_new  2020-11-25 19:27:49.810375317 +0100
@@ -21,9 +21,16 @@
 %if "%{flavor}" == "test"
 %define psuffix -test
 %bcond_without test
+%bcond_with wheel
+%else
+%if "%{flavor}" == "wheel"
+%define psuffix -wheel
+%bcond_without wheel
 %else
 %define psuffix %{nil}
 %bcond_with test
+%bcond_with wheel
+%endif
 %endif
 Name:   python-pip%{psuffix}
 Version:20.2.3
@@ -33,9 +40,6 @@
 URL:http://www.pip-installer.org
 # The PyPI archive lacks the tests
 Source: 
https://github.com/pypa/pip/archive/%{version}.tar.gz#/pip-%{version}-gh.tar.gz
-# Wheel used for testing, no need to update regularly beyond the minimum 
version specified in 
-# tools/requirements/tests-common_wheels.txt
-Source1:
https://files.pythonhosted.org/packages/py3/s/setuptools/setuptools-45.1.0-py3-none-any.whl
 # PATCH-FIX-OPENSUSE pip-shipped-requests-cabundle.patch -- adapted patch from 
python-certifi package
 Patch0: pip-shipped-requests-cabundle.patch
 BuildRequires:  %{python_module setuptools >= 40.8.0}
@@ -61,12 +65,16 @@
 BuildRequires:  %{python_module pretend}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scripttest}
+BuildRequires:  %{python_module setuptools-wheel}
 BuildRequires:  %{python_module virtualenv >= 1.10}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  ca-certificates
 BuildRequires:  git
 BuildRequires:  subversion
 %endif
+%if %{with wheel}
+BuildRequires:  %{python_module wheel}
+%endif
 %python_subpackages
 
 %description
@@ -83,7 +91,7 @@
 
 %if %{with test}
 mkdir -p tests/data/common_wheels
-cp %{SOURCE1} tests/data/common_wheels/
+%python_expand cp %{$python_sitelib}/../wheels/setuptools*.whl 
tests/data/common_wheels/
 %endif
 # remove shebangs verbosely (if only sed would offer a verbose mode...)
 for f in $(find src -name \*.py -exec grep -l '^#!%{_bindir}/env' {} \;); do
@@ -91,9 +99,13 @@
 done
 
 %build
+%if ! %{with wheel}
 %python_build
+%else
+%python_exec setup.py bdist_wheel --universal
+%endif
 
-%if ! %{with test}
+%if !%{with test} && !%{with wheel}
 %install
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/pip
@@ -103,6 +115,10 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
+%if %{with wheel}
+%python_expand install -D -m 0644 -t %{buildroot}%{$python_sitelib}/../wheels 
dist/*.whl
+%endif
+
 %if %{with test}
 %check
 export PYTHONPATH=$(pwd)/build/lib
@@ -126,6 +142,7 @@
 [ -h %{_bindir}/pip ] || rm -f %{_bindir}/pip
 [ -h %{_bindir}/pip3 ] || rm -f %{_bindir}/pip3
 
+%if !%{with test} && !%{with wheel}
 %post
 # keep the alternative groups separate. Users could decide to let pip and pip3 
point to
 # different flavors
@@ -137,9 +154,10 @@
 %postun
 %python_uninstall_alternative pip
 %python_uninstall_alternative pip3
+%endif
 
-%if ! %{with test}
 %files %{python_files}
+%if !%{with test} && !%{with wheel}
 %license LICENSE.txt
 %doc AUTHORS.txt NEWS.rst README.rst
 %python_alternative %{_bindir}/pip
@@ -153,4 +171,9 @@
 %{python_sitelib}/pip
 %endif
 
+%if %{with wheel}
+%dir %{python_sitelib}/../wheels
+%{python_sitelib}/../wheels/*
+%endif
+
 %changelog

++ _multibuild ++
--- /var/tmp/diff_new_pack.A5Nv3e/_old  2020-11-25 19:27:49.838375352 +0100
+++ /var/tmp/diff_new_pack.A5Nv3e/_new  2020-11-25 19:27:49.838375352 +0100
@@ -1,3 +1,4 @@
 
   test
+  wheel
 
___
openSUSE Comm