Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pip-run for openSUSE:Factory checked in at 2026-02-10 21:12:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pip-run (Old) and /work/SRC/openSUSE:Factory/.python-pip-run.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pip-run" Tue Feb 10 21:12:15 2026 rev:9 rq:1332136 version:16.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pip-run/python-pip-run.changes 2025-08-21 17:00:37.665227651 +0200 +++ /work/SRC/openSUSE:Factory/.python-pip-run.new.1670/python-pip-run.changes 2026-02-10 21:12:34.799958891 +0100 @@ -1,0 +2,58 @@ +Tue Feb 10 04:55:55 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 16.1.0: + ## Features + * Implement support for max_age in persistent environments. + * Leverages coherent.deps to infer dependencies from scripts. + * Deprecated support for non-sequence __requires__. + * Add support for script dependencies in a TOML block per PEP 723. + * Ensure requirements with a URL are not detected as installed. + * Renamed PIP_RUN_MODE variable to PIP_RUN_RETENTION_STRATEGY. Also renamed + the default value of 'ephemeral' to 'destroy'. + * Presence of Python script parameters now honors files with a shebang even + if no Python extension is present. + * Require Python 3.8 or later. + * The executable parameters now accept a ! prefix, indicating to run a + separate executable instead of Python in the context. + ## Deprecations and Removals + * Now supports and prefers uv as the installer if present. + * Removed support for PIP_RUN_MODE. + * Removed support for a single string arg to __requires__. + * Dropped support for filtering out satisfied requirements. + * pip_run.launch.with_path now expects the literal command to be passed and + no longer injects the sys.executable. + ## Bugfixes + * Declare py_modules using underscore. Avoids deprecation warning. + * Suppress FileNotFoundError when attempting to inject sitecustomize file + on a degenerate install. + * Rely on ignore_cleanup_errors on Python 3.10+ to suppress cleanup errors. + * IPython inference now uses a different variable and an explicit string + value to disable inference. Instead of PIP_RUN_INFER_IPYTHON=0, use + PIP_RUN_IPYTHON_MODE=ignore. + * Now if ipython is included in the dependencies, it will be used as the + default interactive interpreter (implying -m IPython). + * Added missing implicit test dependencies on setuptools and wheel. + * Now the bin directory in the target is inserted at the front of the PATH + variable, making scripts available as installed by packages. + * Avoid OSError when a parameter to Python exceeds the allowed filename + length. + * Fixed EncodingWarnings. + * Fixed handling of inferred Python args. + * Fixed regression in sitecustomize generation where pathlib objects were + being rendered. + * Tests that require connectivity are now tagged with the network marker. + * Removed explicit parsing of .pth files, redundant to the use of + sitecustomize. + * Removed processing of JYTHONPATH as Jython is Python 2 only. + * Removed commands.separate_dash. + * Switch to platformdirs for resolving the cache dir. + * Honors PIP_RUN_MODE. + * Fixed minimum dependency on more_itertools to match usage. + * Support the "limited requirements" in comments in a script. + * No longer requires a -- separator when the first argument to Python is an + extant Python script. + * Set PIP_QUIET=1 when invoking pip to install packages. +- Refreshed patch pip-run-suse-ring1-no-nbformat.patch +- Inject setuptools-wheel into the testsuite. + +------------------------------------------------------------------- Old: ---- pip-run-8.8.2.tar.gz New: ---- pip_run-16.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pip-run.spec ++++++ --- /var/tmp/diff_new_pack.vH4ZAt/_old 2026-02-10 21:12:35.427985206 +0100 +++ /var/tmp/diff_new_pack.vH4ZAt/_new 2026-02-10 21:12:35.431985373 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pip-run # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,28 +37,35 @@ %endif %{?sle15_python_module_pythons} Name: python-pip-run%{psuffix} -Version: 8.8.2 +Version: 16.1.0 Release: 0 Summary: Install packages and run Python with them License: MIT URL: https://github.com/jaraco/pip-run -Source: https://files.pythonhosted.org/packages/source/p/pip-run/pip-run-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pip-run/pip_run-%{version}.tar.gz # Needs the wheels for path and path.py for testing Source10: https://files.pythonhosted.org/packages/py3/p/path.py/path.py-12.5.0-py3-none-any.whl Source11: https://files.pythonhosted.org/packages/py3/p/path/path-16.4.0-py3-none-any.whl # PATCH-FEATURE-OPENSUSE pip-run-suse-ring1-no-nbformat.patch [email protected] -- Don't test with nbformat if not available Patch1: pip-run-suse-ring1-no-nbformat.patch -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools >= 56} +BuildRequires: %{python_module setuptools >= 77} BuildRequires: %{python_module setuptools_scm >= 3.4.1} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-autocommand +Requires: python-coherent.deps +Requires: python-jaraco.context +Requires: python-jaraco.env +Requires: python-jaraco.functools >= 3.7 +Requires: python-more-itertools Requires: python-packaging Requires: python-path >= 15.1 Requires: python-pip >= 19.3 +Requires: python-platformdirs +Requires: python-tempora BuildArch: noarch %if %{with libalternatives} BuildRequires: alts @@ -67,14 +74,13 @@ Requires(post): update-alternatives Requires(postun): update-alternatives %endif -%if 0%{?python_version_nodots} < 38 -Requires: python-importlib-metadata -%endif %if %{with test} BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module jaraco.path} BuildRequires: %{python_module pip-run = %{version}} BuildRequires: %{python_module pytest >= 6} BuildRequires: ca-certificates-mozilla +BuildRequires: python3-setuptools-wheel %if %{without ringdisabled} BuildRequires: %{python_module nbformat} %endif @@ -97,7 +103,7 @@ readily address the on-demand needs. %prep -%autosetup -p1 -n pip-run-%{version} +%autosetup -p1 -n pip_run-%{version} %if %{without ringdisabled} sed -i -e '/nbformat/d' setup.cfg @@ -117,9 +123,11 @@ %check mkdir -p wheels cp %{SOURCE10} %{SOURCE11} wheels/ -export PIP_FIND_LINKS=$PWD/wheels/ -dont_test="" -%pytest -k "$dont_test" +export PIP_FIND_LINKS="%{python3_sitelib}/../wheels $PWD/wheels" +# requires DNS resolution +dont_test="DepsReader.infer or test_pkg_loaded_from_url" +dont_test+=" or read-deps.run or persist.clean_if_older" +%pytest -m "not network" -k "not ($dont_test)" %endif %pre @@ -134,11 +142,11 @@ %if !%{with test} %files %{python_files} %license LICENSE -%doc README.rst CHANGES.rst +%doc README.rst NEWS.rst %python_alternative %{_bindir}/pip-run -%{python_sitelib}/pip-run.py* +%{python_sitelib}/pip-run.py %pycache_only %{python_sitelib}/__pycache__/pip-run*.pyc %{python_sitelib}/pip_run -%{python_sitelib}/pip_run-%{version}*-info +%{python_sitelib}/pip_run-%{version}.dist-info %endif ++++++ pip-run-suse-ring1-no-nbformat.patch ++++++ --- /var/tmp/diff_new_pack.vH4ZAt/_old 2026-02-10 21:12:35.487987721 +0100 +++ /var/tmp/diff_new_pack.vH4ZAt/_new 2026-02-10 21:12:35.495988056 +0100 @@ -1,16 +1,16 @@ -Index: pip-run-8.8.1/pip_run/tests/test_scripts.py +Index: pip_run-16.1.0/tests/test_scripts.py =================================================================== ---- pip-run-8.8.1.orig/pip_run/tests/test_scripts.py -+++ pip-run-8.8.1/pip_run/tests/test_scripts.py +--- pip_run-16.1.0.orig/tests/test_scripts.py ++++ pip_run-16.1.0/tests/test_scripts.py @@ -4,7 +4,6 @@ import sys - import subprocess + import textwrap - import pytest + import jaraco.path -import nbformat + import pytest - from pip_run import scripts - -@@ -85,6 +84,8 @@ class TestSourceDepsReader: + from pip_run import deps, scripts +@@ -110,6 +109,8 @@ class TestSourceDepsReader: class TestNotebookDepsReader: @pytest.fixture def notebook_factory(self, tmpdir, request):
