forked from pool/python-pip
- 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
This commit is contained in:
@@ -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 cryptography}
|
||||
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 @@ rm -f %{buildroot}%{_bindir}/pip3-2*
|
||||
%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"
|
||||
# incompatible virtualenv version and no coverage wheel in common_wheels
|
||||
donttest+=" or test_from_link_vcs_with_source_dir_obtains_commit_id"
|
||||
donttest+=" or test_from_link_vcs_without_source_dir"
|
||||
%pytest -k "not ($donttest)" tests/unit
|
||||
# Looks broken with 22.3.1
|
||||
donttest="test_pip_self_version_check_calls_underlying_implementation"
|
||||
%pytest -m "not network" -k "not ($donttest)" tests/unit
|
||||
%endif
|
||||
|
||||
%pre
|
||||
|
Reference in New Issue
Block a user