Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-plumbum for openSUSE:Factory 
checked in at 2025-11-24 14:13:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-plumbum (Old)
 and      /work/SRC/openSUSE:Factory/.python-plumbum.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-plumbum"

Mon Nov 24 14:13:53 2025 rev:8 rq:1319612 version:1.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-plumbum/python-plumbum.changes    
2024-01-15 22:17:07.542213374 +0100
+++ /work/SRC/openSUSE:Factory/.python-plumbum.new.14147/python-plumbum.changes 
2025-11-24 14:16:31.747850030 +0100
@@ -1,0 +2,26 @@
+Mon Nov 24 03:05:12 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 1.10.0:
+  * Add Python 3.14, drop Python 3.8
+  * CLI: Fix flag invoke behavior to respect False values
+  * CLI: Allow subapplication registration under multiple subcommand names
+  * CLI: Better support for future annotations on 3.9
+  * CLI: Termsize determination fixed on Linux Python 3.14, broken due to
+    wrong struct size
+  * Drop some unused variables
+  * Simpler urljoin
+  * Use SPDX license identifier
+  * Drop Python <3.8
+  * Add 3.13 testing and classifiers
+  * setuptools-less installs couldn't translate, add test
+  * Use importlib resources
+  * Replaced NotImplementedError by NotImplemented
+  * Fix StdinDataRedirection's formulate() method
+  * Missing non-zero return code from TEE'd pipe
+  * Fix stalling in Pipeline command
+  * Use high-speed method for C locale too
+  * Update index.rst - fix broken link for sh project
+- Add patch use-python3-not-python.patch:
+  * Use the correct interpreter under test when running two scripts.
+
+-------------------------------------------------------------------

Old:
----
  plumbum-1.8.2.tar.gz

New:
----
  plumbum-1.10.0.tar.gz
  use-python3-not-python.patch

----------(New B)----------
  New:  * Update index.rst - fix broken link for sh project
- Add patch use-python3-not-python.patch:
  * Use the correct interpreter under test when running two scripts.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-plumbum.spec ++++++
--- /var/tmp/diff_new_pack.mOWr8f/_old  2025-11-24 14:16:32.527882802 +0100
+++ /var/tmp/diff_new_pack.mOWr8f/_new  2025-11-24 14:16:32.527882802 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-plumbum
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 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
@@ -16,17 +16,18 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-plumbum
-Version:        1.8.2
+Version:        1.10.0
 Release:        0
 Summary:        Shell combinators library
 License:        MIT
 URL:            https://github.com/tomerfiliba/plumbum
 Source:         
https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz#/plumbum-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Use python3.<minor version> when running two test scripts
+Patch0:         use-python3-not-python.patch
+BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module hatch_vcs}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -52,8 +53,7 @@
 application toolkit.
 
 %prep
-%setup -q -n plumbum-%{version}
-sed -i '/addopts/d' setup.cfg
+%autosetup -p1 -n plumbum-%{version}
 
 %build
 export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
@@ -74,5 +74,5 @@
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/plumbum
-%{python_sitelib}/plumbum-%{version}*-info
+%{python_sitelib}/plumbum-%{version}.dist-info
 

++++++ plumbum-1.8.2.tar.gz -> plumbum-1.10.0.tar.gz ++++++
++++ 3646 lines of diff (skipped)

++++++ use-python3-not-python.patch ++++++
Index: plumbum-1.10.0/tests/test_pipelines.py
===================================================================
--- plumbum-1.10.0.orig/tests/test_pipelines.py
+++ plumbum-1.10.0/tests/test_pipelines.py
@@ -1,5 +1,7 @@
 from __future__ import annotations
 
+import sys
+
 import pytest
 
 import plumbum
@@ -57,7 +59,7 @@ for i in range(5000):
     print(i)
 """
     )
-    return plumbum.local["python"][generate]
+    return plumbum.local[f"python3.{sys.version_info.minor}"][generate]
 
 
 @pytest.fixture
@@ -72,7 +74,7 @@ for line in sys.stdin:
     print(i)
 """
     )
-    return plumbum.local["python"][process]
+    return plumbum.local[f"python3.{sys.version_info.minor}"][process]
 
 
 def get_output_with_iter_lines(cmd: BaseCommand) -> tuple[list[str], 
list[str]]:

Reply via email to