Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rope for openSUSE:Factory 
checked in at 2025-11-06 18:14:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rope (Old)
 and      /work/SRC/openSUSE:Factory/.python-rope.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rope"

Thu Nov  6 18:14:32 2025 rev:35 rq:1315907 version:1.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes  2024-11-14 
16:10:35.295520909 +0100
+++ /work/SRC/openSUSE:Factory/.python-rope.new.1980/python-rope.changes        
2025-11-06 18:17:25.570132957 +0100
@@ -1,0 +2,18 @@
+Thu Nov  6 03:52:00 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 1.14.0:
+  * Add type hints to importinfo.py and add repr to ImportInfo
+  * Introduce the preferred_import_style configuration
+  * Add explicit sphinx.configuration key
+  * Python3.13 compat
+  * Adapt conditional for Python 3.14
+  * Isolate tests that uses external_fixturepkg into a venv
+  * Check for ast.Attributes when finding occurrences in fstrings
+  * add validation to refuse Rename refactoring to a python keyword
+  * Match on module aliases for autoimport suggestions
+  * Remove dependency on build package being installed while running tests
+  * Improved function parser to use ast parser instead of Worder
+- Add patch use-venv-executable-for-uninstall.patch:
+  * Do not system pip to uninstall external_fixturepkg.
+
+-------------------------------------------------------------------

Old:
----
  rope-1.12.0.tar.gz

New:
----
  rope-1.14.0.tar.gz
  use-venv-executable-for-uninstall.patch

----------(New B)----------
  New:  * Improved function parser to use ast parser instead of Worder
- Add patch use-venv-executable-for-uninstall.patch:
  * Do not system pip to uninstall external_fixturepkg.
----------(New E)----------

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

Other differences:
------------------
++++++ python-rope.spec ++++++
--- /var/tmp/diff_new_pack.rVy1SW/_old  2025-11-06 18:17:26.194159728 +0100
+++ /var/tmp/diff_new_pack.rVy1SW/_new  2025-11-06 18:17:26.194159728 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rope
 #
-# 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
@@ -18,13 +18,14 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-rope
-Version:        1.12.0
+Version:        1.14.0
 Release:        0
 Summary:        A python refactoring library
 License:        LGPL-3.0-or-later
-Group:          Development/Languages/Python
 URL:            https://github.com/python-rope/rope
 Source:         
https://files.pythonhosted.org/packages/source/r/rope/rope-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#python-rope/rope#824
+Patch0:         use-venv-executable-for-uninstall.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}

++++++ rope-1.12.0.tar.gz -> rope-1.14.0.tar.gz ++++++
++++ 4280 lines of diff (skipped)

++++++ use-venv-executable-for-uninstall.patch ++++++
>From bd57ab3c2fd6052d10a0000e80009bdb3df54b68 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Thu, 6 Nov 2025 14:38:59 +1100
Subject: [PATCH] Do not use sys.executable for pip uninstall

The system executable might be an externally managed environment[1],
which means pip then refuses to uninstall the installed package, and it
bubbles up as a teardown error. Use the venv to avoid that.

1: 
https://packaging.python.org/en/latest/specifications/externally-managed-environments/
---
 ropetest/conftest.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/ropetest/conftest.py b/ropetest/conftest.py
index 30af57e8..819c70ab 100644
--- a/ropetest/conftest.py
+++ b/ropetest/conftest.py
@@ -105,4 +105,11 @@ def external_fixturepkg(session_venv, 
session_venv_python_executable):
         
"ropetest-package-fixtures/external_fixturepkg/dist/external_fixturepkg-1.0.0-py3-none-any.whl",
     ])
     yield
-    check_call([sys.executable, "-m", "pip", "uninstall", "--yes", 
"external-fixturepkg"])
+    check_call([
+        session_venv_python_executable,
+        "-m",
+        "pip",
+        "uninstall",
+        "--yes",
+        "external-fixturepkg"
+    ])

Reply via email to