SHA256
1
0
forked from pool/python-pip
Commit Graph

145 Commits

Author SHA256 Message Date
Dominique Leuenberger
59a20bd3d6 Accepting request 1084918 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1084918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=59
2023-05-30 20:01:58 +00:00
6075e156e4 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=104
2023-05-04 20:03:20 +00:00
8e6dc8d6ee Accepting request 1084785 from home:dgarcia:pep-668
- 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 not warn when user supplied hashes
    were missing for package B. (#11938)
  - Correctly report requested_extras in the installation report when
    extras are specified for a local directory installation. (#11946)
  - When installing an archive from a direct URL or local file,
    populate download_info.info.hashes in the installation report, in
    addition to the legacy download_info.info.hash key. (#11948)
- 23.0.1:
  - Change the hashes in the installation report to be a mapping. Emit
    the archive_info.hashes dictionary in direct_url.json. (#11312)
  - Implement logic to read the EXTERNALLY-MANAGED file as specified
    in PEP 668. This allows a downstream Python distributor to prevent
    users from using pip to modify the externally managed environment.
    (#11381)
  - Enable the use of keyring found on PATH. This allows keyring
    installed using pipx to be used by pip. (#11589)
  - The inspect and installation report formats are now declared
    stable, and their version has been bumped from 0 to 1. (#11757)
  - Wheel cache behavior is restored to match previous versions,
    allowing the cache to find existing entries. (#11527)
  - Use the "venv" scheme if available to obtain prefixed lib paths.
    (#11598)
  - Deprecated a historical ambiguity in how egg fragments in
    URL-style requirements are formatted and handled. egg fragments
    that do not look like PEP 508 names now produce a deprecation
    warning. (#11617)
  - Fix scripts path in isolated build environment on Debian. (#11623)
  - Make pip show show the editable location if package is editable
    (#11638)
  - Stop checking that wheel is present when build-system.requires is
    provided without build-system.build-backend as setuptools (which
    we still check for) will inject it anyway. (#11673)
  - Fix an issue when an already existing in-memory distribution would
    cause exceptions in pip install (#11704)

OBS-URL: https://build.opensuse.org/request/show/1084785
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=103
2023-05-04 19:59:15 +00:00
Dominique Leuenberger
6531b0803b Accepting request 1081839 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=58
2023-04-22 19:59:47 +00:00
caa9979d38 Accepting request 1081519 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081519
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=102
2023-04-21 14:15:41 +00:00
Dominique Leuenberger
163fe8bde0 Accepting request 1041297 from devel:languages:python
- 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. (#11111)
    + 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)

OBS-URL: https://build.opensuse.org/request/show/1041297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=57
2022-12-09 12:16:25 +00:00
Steve Kowalik
e7a16fb30e - 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. (#11111)
    + 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=101
2022-12-08 04:12:44 +00:00
Dominique Leuenberger
7e09a496cb Accepting request 994298 from devel:languages:python
- skip subversion tests, not that relevant to pull in
  dozens of dependencies into small bootstrap

- 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).

OBS-URL: https://build.opensuse.org/request/show/994298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=56
2022-08-10 15:12:28 +00:00
fa06cedcd2 - skip subversion tests, not that relevant to pull in
dozens of dependencies into small bootstrap

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=100
2022-08-10 10:34:01 +00:00
c6fe1446b4 Accepting request 993345 from home:mcepl:branches:devel:languages:python
- 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).

OBS-URL: https://build.opensuse.org/request/show/993345
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=99
2022-08-05 15:13:09 +00:00
Dominique Leuenberger
426449ea52 Accepting request 963100 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/963100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=55
2022-03-22 18:36:11 +00:00
19311e4f60 Accepting request 963083 from home:bnavigator:branches:devel:languages:python
- Avoid cycle: BuildRequire ca-certificates only in tests

OBS-URL: https://build.opensuse.org/request/show/963083
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=98
2022-03-19 23:03:41 +00:00
875ceee46f Accepting request 962618 from home:bnavigator:branches:devel:languages:python
- Update requirements: v22 is not compatible with Python 3.6 and
  thus not suitable for SLE/Leap 15.

OBS-URL: https://build.opensuse.org/request/show/962618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=97
2022-03-18 17:03:06 +00:00
90461fc037 - 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 <!doctype html> on index pages.
  - Properly handle links parsed by html5lib, when using
    --use-deprecated=html5lib.
- Update to 22.0:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=96
2022-03-17 10:48:03 +00:00
ea42b17226 Fix SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=95
2022-02-25 16:35:29 +00:00
ea597cee0d Remove conflicts.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=94
2021-11-13 16:28:39 +00:00
aca87be971 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=93 2021-11-08 12:12:17 +00:00
ab9131a0af - update to 21.3.1:
* Always refuse installing or building projects that have no ``pyproject.toml`` nor
    ``setup.py``. 
  * Tweak running-as-root detection, to check ``os.getuid`` if it exists, on
    Unix-y and non-Linux/non-MacOS machines.
  * When installing projects with a ``pyproject.toml`` in editable mode, and the build
    backend does not support :pep:`660`, prepare metadata using
    ``prepare_metadata_for_build_wheel`` instead of ``setup.py egg_info``. Also, refuse
    installing projects that only have a ``setup.cfg`` and no ``setup.py`` nor
    ``pyproject.toml``. These restore the pre-21.3 behaviour.
  * Restore compatibility of where configuration files are loaded from on MacOS
  * Upgrade pep517 to 0.12.0
  * Improve deprecation warning regarding the copying of source trees when
    installing from a local directory.
  * Suppress location mismatch warnings when pip is invoked from a Python source
    tree, so ``ensurepip`` does not emit warnings on CPython ``make install``.
  * On Python 3.10 or later, the installation scheme backend has been changed to use
    ``sysconfig``. This is to anticipate the deprecation of ``distutils`` in Python
    3.10, and its scheduled removal in 3.12. For compatibility considerations, pip
    installations running on Python 3.9 or lower will continue to use ``distutils``.
  * Remove the ``--build-dir`` option and aliases, one last time.
  * In-tree builds are now the default. ``--use-feature=in-tree-build`` is now
    ignored. ``--use-deprecated=out-of-tree-build`` may be used temporarily to ease
    the transition.
  * Un-deprecate source distribution re-installation behaviour.
  * Replace vendored appdirs with platformdirs.
  * Support `PEP 610 <https://www.python.org/dev/peps/pep-0610/>`_ to detect
    editable installs in ``pip freeze`` and  ``pip list``. The ``pip list`` column output
    has a new ``Editable project location`` column, and the JSON output has a new
    ``editable_project_location`` field.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=92
2021-11-07 18:12:24 +00:00
Dominique Leuenberger
1c02e69cec Accepting request 929675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/929675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=54
2021-11-06 17:15:46 +00:00
24643ed603 Accepting request 923310 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/923310
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=91
2021-11-05 14:12:26 +00:00
Dominique Leuenberger
da67104680 Accepting request 860150 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/860150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=53
2021-01-08 16:32:17 +00:00
5bae5d22f5 Accepting request 860101 from home:polslinux:branches:devel:languages:python
- Update to 20.2.4:
  Deprecations and Removals
    * Document that certain removals can be fast tracked. 
    * Document that Python versions are generally supported until
      PyPI usage falls below 5%
  Features
    * New resolver: Avoid accessing indexes when the installed
      candidate is preferred and considered good enough
    * Improve error message friendliness when an environment
      has packages with corrupted metadata
    * Cache package listings on index packages so they are guarenteed
      to stay stable during a pip command session. This also improves
      performance when a index page is accessed multiple times during
      the command session
    * New resolver: Tweak resolution logic to improve user experience
      when user-supplied requirements conflict
  Bug Fixes
    * New resolver: Correctly respect ``Requires-Python`` metadata
      to reject incompatible packages in ``--no-deps`` mode
    * New resolver: Pick up hash declarations in constraints files
      and use them to filter available distributions
    * New resolver: If a package appears multiple times in user
      specification with different ``--hash`` options, only hashes
      that present in all specifications should be allowed

OBS-URL: https://build.opensuse.org/request/show/860101
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=90
2021-01-04 11:34:14 +00:00
Dominique Leuenberger
a076c60351 Accepting request 855625 from devel:languages:python
- Fix the condition to really not break Python 2.7 in Leap

- We don't need to break Python 2.7

- Add remove_mock.patch to remove dependency on the external mock
  package (gh#pypa/pip#9266).

OBS-URL: https://build.opensuse.org/request/show/855625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=52
2020-12-16 09:59:28 +00:00
2f884dd870 Accepting request 855624 from home:bnavigator:branches:devel:languages:python
- Fix the condition to really not break Python 2.7 in Leap

OBS-URL: https://build.opensuse.org/request/show/855624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=89
2020-12-14 00:24:25 +00:00
7f7716d917 Accepting request 855619 from home:mcepl:branches:devel:tools:scm
- We don't need to break Python 2.7

OBS-URL: https://build.opensuse.org/request/show/855619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=88
2020-12-13 21:37:51 +00:00
ab39133ac8 Accepting request 855338 from home:mcepl:branches:devel:tools:scm
- Add remove_mock.patch to remove dependency on the external mock
  package (gh#pypa/pip#9266).

OBS-URL: https://build.opensuse.org/request/show/855338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=87
2020-12-12 12:12:56 +00:00
Dominique Leuenberger
2bdcb1dc9d Accepting request 848968 from devel:languages:python
- Actually, test the new structure of package. :$
- Remove the additional sourced setuptools*.whl and use BR on
  python-setuptools-wheel.

- 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.

OBS-URL: https://build.opensuse.org/request/show/848968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=51
2020-11-25 18:27:44 +00:00
ec091103ec - Actually, test the new structure of package. :$
- Remove the additional sourced setuptools*.whl and use BR on
  python-setuptools-wheel.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=86
2020-11-16 16:40:46 +00:00
c71a1fcae8 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=84
2020-11-13 18:54:07 +00:00
Dominique Leuenberger
c5362853a5 Accepting request 845027 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/845027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=50
2020-11-02 08:39:26 +00:00
a80f0c1f13 Accepting request 844950 from home:bnavigator:branches:devel:languages:python
- Make executables setup compatible with multiple python3 flavors
  * update-alternatives for pip3
  * use python_clone and python_install_alternative for sip and 
    sip3
  * use original sip%{python_bin_suffix} as is
  * effect: consistent shebangs and specifiers inside the
    entry_point scripts

OBS-URL: https://build.opensuse.org/request/show/844950
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=83
2020-10-30 12:49:34 +00:00
Dominique Leuenberger
f3ce0051e1 Accepting request 841872 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/841872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=49
2020-10-29 08:48:05 +00:00
Tomáš Chvátal
86e65d86fb Accepting request 841036 from home:bnavigator:branches:devel:languages:python
Update to 20.2.3

With the increased use of %pyproject_wheel we need an up to date pip

Needs new package python-csv23 for testing

OBS-URL: https://build.opensuse.org/request/show/841036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=82
2020-10-15 08:14:59 +00:00
Dominique Leuenberger
91e967375f Accepting request 786378 from devel:languages:python
- Skip virtualenv tests that are pinned to old virtualenv 16

OBS-URL: https://build.opensuse.org/request/show/786378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=48
2020-03-26 23:27:15 +00:00
Tomáš Chvátal
ced1a9187c Accepting request 788169 from devel:languages:python
- Skip virtualenv tests that are pinned to old virtualenv 16

OBS-URL: https://build.opensuse.org/request/show/788169
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=81
2020-03-25 11:57:55 +00:00
Tomáš Chvátal
1d4598150d osc copypac from project:openSUSE:Factory package:python-pip revision:47
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=80
2020-03-25 11:56:51 +00:00
Tomáš Chvátal
1f5afbea3e - Skip virtualenv tests that are pinned to old virtualenv 16
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=79
2020-03-19 09:43:50 +00:00
Oliver Kurz
a5c550ebec Accepting request 770248 from devel:languages:python
- update to 20.0.2
- add setuptools-45.1.0-py3-none-any.whl for testsuite
- drop pytest5.patch
 * Fix a regression in generation of compatibility tags
 * Rename an internal module, to avoid ImportErrors due to improper uninstallation
 * Switch to a dedicated CLI tool for vendoring dependencies.
 * Remove wheel tag calculation from pip and use packaging.tags. This should provide more tags ordered better than in prior releases.
 *  Deprecate setup.py-based builds that do not generate an .egg-info directory.
 *  The pip>=20 wheel cache is not retro-compatible with previous versions. Until pip 21.0, pip will continue to take advantage of existing legacy cache entries.
 *  Deprecate undocumented --skip-requirements-regex option.
 *  Deprecate passing install-location-related options via --install-option.
 *  Use literal "abi3" for wheel tag on CPython 3.x, to align with PEP 384 which only defines it for this platform.
 *  Remove interpreter-specific major version tag e.g. cp3-none-any from consideration. This behavior was not documented strictly, and this tag in particular is not useful. Anyone with a use case can create an issue with pypa/packaging.
 *  Wheel processing no longer permits wheels containing more than one top-level .dist-info directory.
 *  Support for the git+git@ form of VCS requirement is being deprecated and will be removed in pip 21.0. Switch to git+https:// or git+ssh://. git+git:// also works but its use is discouraged as it is insecure.
 *  Default to doing a user install (as if --user was passed) when the main site-packages directory is not writeable and user site-packages are enabled.
 *  Warn if a path in PATH starts with tilde during pip install.
 *  Cache wheels built from Git requirements that are considered immutable, because they point to a commit hash.
 *  Add option --no-python-version-warning to silence warnings related to deprecation of Python versions.
 *  Cache wheels that pip wheel built locally, matching what pip install does. This particularly helps performance in workflows where pip wheel is used for building before installing. Users desiring the original behavior can use pip wheel --no-cache-dir
 *  Display CA information in pip debug.
 *  Show only the filename (instead of full URL), when downloading from PyPI.
 *  Suggest a more robust command to upgrade pip itself to avoid confusion when the current pip command is not available as pip.
 *  Define all old pip console script entrypoints to prevent import issues in stale wrapper scripts.
 *  The build step of pip wheel now builds all wheels to a cache first, then copies them to the wheel directory all at once. Before, it built them to a temporary directory and moved them to the wheel directory one by one.
 *  Expand ~ prefix to user directory in path options, configs, and environment variables. Values that may be either URL or path are not currently supported, to avoid ambiguity:
   --find-links
   --constraint, -c
   --requirement, -r
   --editable, -e

OBS-URL: https://build.opensuse.org/request/show/770248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=47
2020-02-14 15:24:40 +00:00
709047657f - drop pytest5.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=77
2020-02-05 12:23:24 +00:00
5c90bd62cc - update to 20.0.2
- add setuptools-45.1.0-py3-none-any.whl for testsuite
 * Fix a regression in generation of compatibility tags
 * Rename an internal module, to avoid ImportErrors due to improper uninstallation
 * Switch to a dedicated CLI tool for vendoring dependencies.
 * Remove wheel tag calculation from pip and use packaging.tags. This should provide more tags ordered better than in prior releases.
 *  Deprecate setup.py-based builds that do not generate an .egg-info directory.
 *  The pip>=20 wheel cache is not retro-compatible with previous versions. Until pip 21.0, pip will continue to take advantage of existing legacy cache entries.
 *  Deprecate undocumented --skip-requirements-regex option.
 *  Deprecate passing install-location-related options via --install-option.
 *  Use literal "abi3" for wheel tag on CPython 3.x, to align with PEP 384 which only defines it for this platform.
 *  Remove interpreter-specific major version tag e.g. cp3-none-any from consideration. This behavior was not documented strictly, and this tag in particular is not useful. Anyone with a use case can create an issue with pypa/packaging.
 *  Wheel processing no longer permits wheels containing more than one top-level .dist-info directory.
 *  Support for the git+git@ form of VCS requirement is being deprecated and will be removed in pip 21.0. Switch to git+https:// or git+ssh://. git+git:// also works but its use is discouraged as it is insecure.
 *  Default to doing a user install (as if --user was passed) when the main site-packages directory is not writeable and user site-packages are enabled.
 *  Warn if a path in PATH starts with tilde during pip install.
 *  Cache wheels built from Git requirements that are considered immutable, because they point to a commit hash.
 *  Add option --no-python-version-warning to silence warnings related to deprecation of Python versions.
 *  Cache wheels that pip wheel built locally, matching what pip install does. This particularly helps performance in workflows where pip wheel is used for building before installing. Users desiring the original behavior can use pip wheel --no-cache-dir
 *  Display CA information in pip debug.
 *  Show only the filename (instead of full URL), when downloading from PyPI.
 *  Suggest a more robust command to upgrade pip itself to avoid confusion when the current pip command is not available as pip.
 *  Define all old pip console script entrypoints to prevent import issues in stale wrapper scripts.
 *  The build step of pip wheel now builds all wheels to a cache first, then copies them to the wheel directory all at once. Before, it built them to a temporary directory and moved them to the wheel directory one by one.
 *  Expand ~ prefix to user directory in path options, configs, and environment variables. Values that may be either URL or path are not currently supported, to avoid ambiguity:
   --find-links
   --constraint, -c
   --requirement, -r
   --editable, -e
 *  Correctly handle system site-packages, in virtual environments created with venv (PEP 405).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=76
2020-02-05 10:27:04 +00:00
Dominique Leuenberger
4994d55d89 Accepting request 741067 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/741067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=46
2019-11-04 16:07:16 +00:00
Tomáš Chvátal
ed5c541dc1 Accepting request 741057 from home:mcalabkova:branches:devel:languages:python
- Update to version 19.3.1
  * Document Python 3.8 support.
  * Fix bug that prevented installation of PEP 517 packages without setup.py.
  * Remove undocumented support for un-prefixed URL requirements pointing to SVN repositories.
  * Remove the deprecated --venv option from pip config.
  * Make pip show warn about packages not found.
  * Abort installation if any archive contains a file which would be placed outside the extraction location.
  * pip's CLI completion code no longer prints a Traceback if it is interrupted.
  * Ignore errors copying socket files for local source installs (in Python 3).
  * Skip copying .tox and .nox directories to temporary build directories
  * Ignore "require_virtualenv" in pip config

OBS-URL: https://build.opensuse.org/request/show/741057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=74
2019-10-18 12:29:37 +00:00
Dominique Leuenberger
92cfb5c5e2 Accepting request 723012 from devel:languages:python
- Update to version 19.2.2:
  * Merge pull request #6827 from cjerdonek/issue-6804-find-links-expansion
  * Fix handling of tokens (single part credentials) in URLs (#6818)
  * Simplify the handling of "typing.cast"

OBS-URL: https://build.opensuse.org/request/show/723012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=45
2019-08-16 13:28:31 +00:00
5115d3704b - Update to version 19.2.2:
* Merge pull request #6827 from cjerdonek/issue-6804-find-links-expansion
  * Fix handling of tokens (single part credentials) in URLs (#6818)
  * Simplify the handling of "typing.cast"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=72
2019-08-13 08:20:21 +00:00
Dominique Leuenberger
6c37711f24 Accepting request 721781 from devel:languages:python
- Update to version 19.2.1:
  * Fix a ``NoneType`` ``AttributeError`` when evaluating hashes and no hashes provided
  * Drop support for EOL Python 3.4.
  * Credentials will now be loaded using keyring when installed
  * Fully support using --trusted-host inside requirements files
  * Update timestamps in pip's --log file to include milliseconds
  * Respect whether a file has been marked as "yanked" from a simple repository (see PEP 592 for details)
  * When choosing candidates to install, prefer candidates with a hash matching one of the user-provided hashes
  * Improve the error message when METADATA or PKG-INFO is None when accessing metadata
  * Add a new command pip debug that can display e.g. the list of compatible tags for the current Python
  * Display hint on installing with --pre when search results include pre-release versions
  * Report to Warehouse that pip is running under CI if the PIP_IS_CI environment variable is set
  * Allow --python-version to be passed as a dotted version string (e.g. 3.7 or 3.7.3)
  * Log the final filename and SHA256 of a .whl file when done building a wheel
  * Include the wheel's tags in the log message explanation when a candidate wheel link is found incompatible
  * Add a --path argument to pip freeze to support --target installations
  * Add a --path argument to pip list to support --target installations

OBS-URL: https://build.opensuse.org/request/show/721781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=44
2019-08-09 14:49:01 +00:00
e0c3171293 - Update to version 19.2.1:
* Fix a ``NoneType`` ``AttributeError`` when evaluating hashes and no hashes provided
  * Drop support for EOL Python 3.4.
  * Credentials will now be loaded using keyring when installed
  * Fully support using --trusted-host inside requirements files
  * Update timestamps in pip's --log file to include milliseconds
  * Respect whether a file has been marked as "yanked" from a simple repository (see PEP 592 for details)
  * When choosing candidates to install, prefer candidates with a hash matching one of the user-provided hashes
  * Improve the error message when METADATA or PKG-INFO is None when accessing metadata
  * Add a new command pip debug that can display e.g. the list of compatible tags for the current Python
  * Display hint on installing with --pre when search results include pre-release versions
  * Report to Warehouse that pip is running under CI if the PIP_IS_CI environment variable is set
  * Allow --python-version to be passed as a dotted version string (e.g. 3.7 or 3.7.3)
  * Log the final filename and SHA256 of a .whl file when done building a wheel
  * Include the wheel's tags in the log message explanation when a candidate wheel link is found incompatible
  * Add a --path argument to pip freeze to support --target installations
  * Add a --path argument to pip list to support --target installations

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=70
2019-08-08 14:02:19 +00:00
Dominique Leuenberger
2082c67f05 Accepting request 717473 from devel:languages:python
- Add patch to build with pytest5, also sent upstream:
  * pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/717473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=43
2019-07-30 11:04:18 +00:00
Tomáš Chvátal
4662065a62 - Add patch to build with pytest5, also sent upstream:
* pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=68
2019-07-22 08:25:30 +00:00
Dominique Leuenberger
25a7a5805b Accepting request 703186 from devel:languages:python
- Update to version 19.1.1+git.1557777841.63878672:
  * Update news file to match usual style
  * fix-5963: assert error message
  * Simplify CandidateEvaluator.evaluate_link().
  * Fix 6486 mac gitignore (#6487)
  * Store instances in the VcsSupport registry instead of classes.
  * Remove unused cls argument from VcsSupport.unregister().
  * fix-5963: Add news file
  * fix-5963: fail elegantly on missing name or section in config set / unset
  * Remove unnecessary slices.
  * Fix typo.

- Switch to multibuild, so testing is separate from the building
  of the package itself. (forwarded request 703184 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/703186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=42
2019-05-17 21:40:44 +00:00
34466b4ae2 Accepting request 703184 from home:mcepl:branches:devel:languages:python
- Update to version 19.1.1+git.1557777841.63878672:
  * Update news file to match usual style
  * fix-5963: assert error message
  * Simplify CandidateEvaluator.evaluate_link().
  * Fix 6486 mac gitignore (#6487)
  * Store instances in the VcsSupport registry instead of classes.
  * Remove unused cls argument from VcsSupport.unregister().
  * fix-5963: Add news file
  * fix-5963: fail elegantly on missing name or section in config set / unset
  * Remove unnecessary slices.
  * Fix typo.

- Switch to multibuild, so testing is separate from the building
  of the package itself.

OBS-URL: https://build.opensuse.org/request/show/703184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=66
2019-05-15 15:33:36 +00:00