6d4fd9323a- add disable-ssl-context-in-buildenv.patch: treat missing ca-certificates as "ssl not available" for buildenvsDirk Mueller2024-08-12 17:17:37 +0000
f0f6fa0113- add on-demand-linkcollector.patch to delay loading the linkcollector in build environments which have no network and no useful set of certificatesDirk Mueller2024-08-12 17:08:12 +0000
d5fb211f8e- update to 24.2: * Deprecate pip install --editable falling back to setup.py develop when using a setuptools version that does not support PEP 660 (setuptools v63 and older). * Check unsupported packages for the current platform. (#11054) * Check unsupported packages for the current platform. * Use system certificates and certifi certificates to verify HTTPS connections on Python 3.10+. Python 3.9 and earlier only use certifi. To revert to previous behaviour, pass the flag --use-deprecated=legacy-certs. (#11647) * Use system certificates and certifi certificates to verify HTTPS connections on Python 3.10+. Python 3.9 and earlier only use certifi. * To revert to previous behaviour, pass the flag --use- deprecated=legacy-certs. * Improve discovery performance of installed packages when the importlib.metadata backend is used to load distribution metadata (used by default under Python 3.11+). (#12656) * Improve discovery performance of installed packages when the importlib.metadata backend is used to load distribution metadata (used by default under Python 3.11+). * Improve performance when the same requirement string appears many times during resolution, by consistently caching the parsed requirement string. (#12663) * Improve performance when the same requirement string appears many times during resolution, by consistently caching the parsed requirement string. * Minor performance improvement of finding applicable package candidates by not repeatedly calculating their versions (#12664)Dirk Mueller2024-08-12 16:49:25 +0000
87ecd8d9d6- update to 24.1.1: * Actually use system trust stores when the truststore feature is enabled. * Report informative messages about invalid requirements. * Eagerly import the self version check logic to avoid crashes while upgrading or downgrading pip at the same time. * Accommodate for mismatches between different sources of truth for extra names, for packages generated by setuptools. * Accommodate for development versions of CPython ending in + in the version string. * requests provides optional character detection support on some APIs when processing ambiguous bytes. This isn't relevant for pip to function and we're able to remove it due to recent upstream changes. * Drop support for EOL Python 3.7. * Remove support for legacy versions and dependency specifiers. * Packages with non standard-compliant versions or dependency specifiers are now ignored by the resolver. Already installed packages with non standard-compliant versions or dependency specifiers must be uninstalled before upgrading them. * Improve performance of resolution of large dependency trees, with more caching. * Further improve resolution performance of large dependency trees, by caching hash calculations. * Reduce startup time of commands (e.g. show, freeze) that do not access the network by 15-30%. * Reword and improve presentation of uninstallation errors. * Add a 'raw' progress_bar type for simple and parsable download progress reports * pip list no longer performs the pip version check unlessDirk Mueller2024-06-30 18:46:56 +0000
ebf5677ed4Accepting request 1170734 from devel:languages:python
Ana Guerrero
2024-04-30 15:26:13 +0000
fb358edc38- update to 24.0: * Retry on HTTP status code 502 * Automatically use the setuptools PEP 517 build backend when --config-settings is used for projects without pyproject.toml. * Make pip freeze and pip uninstall of legacy editable installs of packages whose name contains _ compatible with setuptools>=69.0.3. * Support per requirement --config-settings for editable installs. * Optimized usage of --find-links=<path-to-dir>, by only scanning the relevant directory once, only considering file names that are valid wheel or sdist names, and only considering files in the directory that are related to the install. * Removed wheel from the [build-system].requires list fallback that is used when pyproject.toml is absent. * Upgrade distlib to 0.3.8 * Fix explanation of how PIP_CONFIG_FILE works * Fix outdated pip install argument description in documentation. * Replace some links to PEPs with links to the canonical specifications on the :doc:pypug:index * Updated the pyproject.toml document to stop suggesting to depend on wheel as a build dependency directly. * Update supported interpreters in development docs * Most project metadata is now defined statically via pip's pyproject.toml file.Dirk Mueller2024-04-28 19:10:57 +0000
3a92190cacAccepting request 1144283 from devel:languages:python
Ana Guerrero
2024-02-06 15:32:49 +0000
fd35a26ee1- Don't use %python_fix_shebang_path, not available on leap yetDaniel Garcia2024-02-05 12:46:46 +0000
ed277998e9Accepting request 1136254 from devel:languages:python
Ana Guerrero
2024-02-02 14:45:01 +0000
eb6fea59a9Accepting request 1134667 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2024-01-02 17:39:27 +0000
e0c8d187e0Accepting request 1133888 from devel:languages:python
Ana Guerrero
2023-12-19 22:15:35 +0000
7d362cf4a6- update to 23.3.2: * Fix a bug in extras handling for link requirements (#12372 * Fix mercurial revision "parse error": use --rev={ref} instead of -r={ref} (#12373 - Finally drop csv23, it has been removed upstream since 2021. `setup.py`. - Use libalternatives instead of update-alternatives. * Document that certain removals can be fast tracked. * use %python_clone and %python_install_alternative for sip and * Make the setup.py install deprecation warning less noisy. We warn only when setup.py install succeeded and setup.py bdist_wheel failed, as situations where both fails are most probably irrelevant to this deprecation. - 20.2.2 * Only attempt to use the keyring once and if it fails, don’t try again. This prevents spamming users with several keyring unlock * Fix regression that distributions in system site-packages are not correctly found when a virtual environment is configured * Disable caching for range requests, which causes corrupted wheels when pip tries to obtain metadata using the feature * Always use UTF-8 to read pyvenv.cfg to match the built-in venv. * 2020 Resolver: Correctly handle marker evaluation in constraints and exclude them if their markers do not match the * Correctly find already-installed distributions with dot (.) in * Trace a better error message on installation failure due to * Fix SVN version detection for alternative SVN distributions. * New resolver: Correctly include the base package when specified * Use UTF-8 to handle ZIP archive entries on Python 2 according to PEP 427, so non-ASCII paths can be resolved as expected. * Add deprecation warning for invalid requirements formatDirk Mueller2023-12-18 14:19:23 +0000
40414955d4Accepting request 1127960 from devel:languages:python
Ana Guerrero
2023-11-22 17:54:20 +0000
8a34ace17e- 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 containsMatej Cepl2023-11-21 16:33:21 +0000
b8579ce913- 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 containsMatej Cepl2023-11-21 10:45:17 +0000
ffacb94886Accepting request 1106201 from devel:languages:python
Ana Guerrero
2023-08-30 08:19:12 +0000
9143020fdcShift around sle15_python_module_pythons.
Steve Kowalik
2023-08-28 03:31:08 +0000
ce9fde948e- Finally drop csv23, it has been removed upstream since 2021.
Steve Kowalik
2023-08-28 03:27:26 +0000
4c451ce0fdAccepting request 1102789 from home:mschreiner:branches:devel:languages:pythonMatej Cepl2023-08-11 19:03:42 +0000
7251d89ab6Accepting request 1092512 from devel:languages:python
Dominique Leuenberger
2023-06-14 14:29:12 +0000
82592cacee- Remove .exe files from package (bsc#1212015)Daniel Garcia2023-06-12 10:53:56 +0000
59a20bd3d6Accepting request 1084918 from devel:languages:python
Dominique Leuenberger
2023-05-30 20:01:58 +0000
8e6dc8d6eeAccepting request 1084785 from home:dgarcia:pep-668Matej Cepl2023-05-04 19:59:15 +0000
6531b0803bAccepting request 1081839 from devel:languages:python
Dominique Leuenberger
2023-04-22 19:59:47 +0000
caa9979d38Accepting request 1081519 from home:dirkmueller:acdc:as_python3_moduleDirk Mueller2023-04-21 14:15:41 +0000
163fe8bde0Accepting request 1041297 from devel:languages:python
Dominique Leuenberger
2022-12-09 12:16:25 +0000
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)
Steve Kowalik
2022-12-08 04:12:44 +0000
7e09a496cbAccepting request 994298 from devel:languages:python
Dominique Leuenberger
2022-08-10 15:12:28 +0000
fa06cedcd2- skip subversion tests, not that relevant to pull in dozens of dependencies into small bootstrapDirk Mueller2022-08-10 10:34:01 +0000
c6fe1446b4Accepting request 993345 from home:mcepl:branches:devel:languages:pythonMatej Cepl2022-08-05 15:13:09 +0000
426449ea52Accepting request 963100 from devel:languages:python
Dominique Leuenberger
2022-03-22 18:36:11 +0000
19311e4f60Accepting request 963083 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2022-03-19 23:03:41 +0000
875ceee46fAccepting request 962618 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2022-03-18 17:03:06 +0000
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:Matej Cepl2022-03-17 10:48:03 +0000
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.Dirk Mueller2021-11-07 18:12:24 +0000
1c02e69cecAccepting request 929675 from devel:languages:python
Dominique Leuenberger
2021-11-06 17:15:46 +0000
24643ed603Accepting request 923310 from home:schubi2Matej Cepl2021-11-05 14:12:26 +0000
da67104680Accepting request 860150 from devel:languages:python
Dominique Leuenberger
2021-01-08 16:32:17 +0000
5bae5d22f5Accepting request 860101 from home:polslinux:branches:devel:languages:pythonMarkéta Machová2021-01-04 11:34:14 +0000
a076c60351Accepting request 855625 from devel:languages:python
Dominique Leuenberger
2020-12-16 09:59:28 +0000
2f884dd870Accepting request 855624 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2020-12-14 00:24:25 +0000
7f7716d917Accepting request 855619 from home:mcepl:branches:devel:tools:scmMatej Cepl2020-12-13 21:37:51 +0000
ab39133ac8Accepting request 855338 from home:mcepl:branches:devel:tools:scmMatej Cepl2020-12-12 12:12:56 +0000
2bdcb1dc9dAccepting request 848968 from devel:languages:python
Dominique Leuenberger
2020-11-25 18:27:44 +0000
ec091103ec- Actually, test the new structure of package. :$ - Remove the additional sourced setuptools*.whl and use BR on python-setuptools-wheel.Matej Cepl2020-11-16 16:40:46 +0000
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.Matej Cepl2020-11-13 18:54:07 +0000
c5362853a5Accepting request 845027 from devel:languages:python
Dominique Leuenberger
2020-11-02 08:39:26 +0000
a80f0c1f13Accepting request 844950 from home:bnavigator:branches:devel:languages:pythonMarkéta Machová2020-10-30 12:49:34 +0000
f3ce0051e1Accepting request 841872 from devel:languages:python
Dominique Leuenberger
2020-10-29 08:48:05 +0000
86e65d86fbAccepting request 841036 from home:bnavigator:branches:devel:languages:python
Tomáš Chvátal
2020-10-15 08:14:59 +0000
91e967375fAccepting request 786378 from devel:languages:python
Dominique Leuenberger
2020-03-26 23:27:15 +0000
ced1a9187cAccepting request 788169 from devel:languages:python
Tomáš Chvátal
2020-03-25 11:57:55 +0000
1d4598150dosc copypac from project:openSUSE:Factory package:python-pip revision:47
Tomáš Chvátal
2020-03-25 11:56:51 +0000
1f5afbea3e- Skip virtualenv tests that are pinned to old virtualenv 16
Tomáš Chvátal
2020-03-19 09:43:50 +0000
a5c550ebecAccepting request 770248 from devel:languages:python
Oliver Kurz
2020-02-14 15:24:40 +0000
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).Ondřej Súkup2020-02-05 10:27:04 +0000
4994d55d89Accepting request 741067 from devel:languages:python
Dominique Leuenberger
2019-11-04 16:07:16 +0000
ed5c541dc1Accepting request 741057 from home:mcalabkova:branches:devel:languages:python
Tomáš Chvátal
2019-10-18 12:29:37 +0000
92cfb5c5e2Accepting request 723012 from devel:languages:python
Dominique Leuenberger
2019-08-16 13:28:31 +0000
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"Ondřej Súkup2019-08-13 08:20:21 +0000
6c37711f24Accepting request 721781 from devel:languages:python
Dominique Leuenberger
2019-08-09 14:49:01 +0000
e0c3171293- Update to version 19.2.1: * Fix a `NoneTypeAttributeError` 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 installationsOndřej Súkup2019-08-08 14:02:19 +0000
2082c67f05Accepting request 717473 from devel:languages:python
Dominique Leuenberger
2019-07-30 11:04:18 +0000
4662065a62- Add patch to build with pytest5, also sent upstream: * pytest5.patch
Tomáš Chvátal
2019-07-22 08:25:30 +0000
25a7a5805bAccepting request 703186 from devel:languages:python
Dominique Leuenberger
2019-05-17 21:40:44 +0000
34466b4ae2Accepting request 703184 from home:mcepl:branches:devel:languages:pythonMatej Cepl2019-05-15 15:33:36 +0000
6f0bdab7e0Accepting request 702370 from home:mcepl:branches:devel:languages:pythonMatej Cepl2019-05-11 17:29:32 +0000
c7b70875b7Accepting request 683720 from devel:languages:python
Dominique Leuenberger
2019-03-12 08:46:23 +0000
00cea51cd8Accepting request 683599 from home:apersaud:branches:devel:languages:python
Tomáš Chvátal
2019-03-11 08:30:56 +0000
b92b55d7ffAccepting request 673642 from devel:languages:python
Stephan Kulow
2019-02-24 16:03:46 +0000
356c3fd368Accepting request 673607 from home:jengelh:branches:devel:languages:python
Tomáš Chvátal
2019-02-12 11:29:37 +0000
e1e06c37b8Accepting request 673419 from home:frispete:python
Tomáš Chvátal
2019-02-12 08:54:28 +0000
65686cea89Accepting request 655666 from devel:languages:python
Dominique Leuenberger
2018-12-14 19:46:24 +0000
a79f74f347- Fix fdupes call
Tomáš Chvátal
2018-12-06 13:19:23 +0000
cc791233b4Accepting request 643579 from devel:languages:python
Dominique Leuenberger
2018-11-06 12:49:41 +0000
05d175b09dAccepting request 643508 from home:apersaud:branches:devel:languages:python
Tomáš Chvátal
2018-10-21 18:21:38 +0000
3a87f72d6eAccepting request 624944 from devel:languages:python
Dominique Leuenberger
2018-08-02 12:48:43 +0000
a52524cd47Accepting request 624890 from home:mimi_vx:branches:devel:languages:python
Tomáš Chvátal
2018-07-24 06:41:54 +0000
836026db78Accepting request 599442 from devel:languages:python
Dominique Leuenberger
2018-04-26 11:34:24 +0000