public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-rope] f45: Upgrade to 1.15.0 (rhbz#2541935)
@ 2026-11-05 16:24 Federico Pellegrin
0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-11-05 16:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-rope
Branch : f45
Commit : 0154efc837023bd71d33cafbc5426a6889b397b3
Author : Federico Pellegrin <fede@evolware.org>
Date : 2026-09-29T05:40:19+02:00
Stats : +3/-108 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-rope/c/0154efc837023bd71d33cafbc5426a6889b397b3?branch=f45
Log:
Upgrade to 1.15.0 (rhbz#2541935)
---
diff --git a/.gitignore b/.gitignore
index 190c1d1..64b04cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@
/rope-1.12.0.tar.gz
/rope-1.13.0.tar.gz
/rope-1.14.0.tar.gz
+/rope-1.15.0.tar.gz
diff --git a/809.patch b/809.patch
deleted file mode 100644
index b3e5218..0000000
--- a/809.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 8bb4ac0f8da1494efde63b0ef296132460274b3e Mon Sep 17 00:00:00 2001
-From: Nowa Ammerlaan <nowa@gentoo.org>
-Date: Thu, 2 Jan 2025 15:14:31 +0100
-Subject: [PATCH 1/2] type_hinting/utils.py: python3.13 removes collections.abc
-
-instead use _collections_abc for the alias
-
-Bug: https://github.com/python-rope/rope/issues/801
-Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
----
- rope/base/oi/type_hinting/utils.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/rope/base/oi/type_hinting/utils.py b/rope/base/oi/type_hinting/utils.py
-index b0a7aff97..2381c8472 100644
---- a/rope/base/oi/type_hinting/utils.py
-+++ b/rope/base/oi/type_hinting/utils.py
-@@ -1,6 +1,7 @@
- from __future__ import annotations
-
- import logging
-+import sys
- from typing import TYPE_CHECKING, Optional, Union
-
- import rope.base.utils as base_utils
-@@ -81,7 +82,10 @@ def resolve_type(
- """
- Find proper type object from its name.
- """
-- deprecated_aliases = {"collections": "collections.abc"}
-+ if sys.version_info < (3, 13):
-+ deprecated_aliases = {"collections": "collections.abc"}
-+ else:
-+ deprecated_aliases = {"collections": "_collections_abc"}
- ret_type = None
- logging.debug("Looking for %s", type_name)
- if "." not in type_name:
-
-From 90e2451d2dc67923f63ba66ea6e35718537bff9e Mon Sep 17 00:00:00 2001
-From: Nowa Ammerlaan <nowa@gentoo.org>
-Date: Thu, 2 Jan 2025 15:15:46 +0100
-Subject: [PATCH 2/2] autoimport/sqlite.py: python3.13 iterdir() raises
- PermissionError
-
-The PermissionError is now raised earlier when we initialize the iterdir
-object instead of when we attempt to get the next()
-
-Closes: https://github.com/python-rope/rope/issues/801
-Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
----
- rope/contrib/autoimport/sqlite.py | 19 +++++++++++--------
- 1 file changed, 11 insertions(+), 8 deletions(-)
-
-diff --git a/rope/contrib/autoimport/sqlite.py b/rope/contrib/autoimport/sqlite.py
-index 54a6d03cf..f06fdaca3 100644
---- a/rope/contrib/autoimport/sqlite.py
-+++ b/rope/contrib/autoimport/sqlite.py
-@@ -569,14 +569,17 @@ def filter_folders(folder: Path) -> bool:
- return list(OrderedDict.fromkeys(folder_paths))
-
- def _safe_iterdir(self, folder: Path):
-- dirs = folder.iterdir()
-- while True:
-- try:
-- yield next(dirs)
-- except PermissionError:
-- pass
-- except StopIteration:
-- break
-+ try:
-+ dirs = folder.iterdir()
-+ while True:
-+ try:
-+ yield next(dirs)
-+ except PermissionError:
-+ pass
-+ except StopIteration:
-+ break
-+ except PermissionError:
-+ pass
-
- def _get_available_packages(self) -> List[Package]:
- packages: List[Package] = [
diff --git a/818.patch b/818.patch
deleted file mode 100644
index 73cd97e..0000000
--- a/818.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From a083c5d4dd6c6effcc1d7487fb690a7073389cdc Mon Sep 17 00:00:00 2001
-From: Sandro <devel@penguinpee.nl>
-Date: Wed, 25 Jun 2025 17:55:44 +0200
-Subject: [PATCH] Adapt conditional for Python 3.14
-
-As of Python 3.14 `ast` will lack `_const_node_type_names`.
----
- rope/base/ast.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/rope/base/ast.py b/rope/base/ast.py
-index eeed6fe84..16c44da4a 100644
---- a/rope/base/ast.py
-+++ b/rope/base/ast.py
-@@ -9,7 +9,7 @@
- from ast import _const_node_type_names # type:ignore
- except ImportError:
- # backported from stdlib `ast`
-- assert sys.version_info < (3, 8)
-+ assert sys.version_info < (3, 8) or sys.version_info >= (3, 14)
- _const_node_type_names = {
- bool: "NameConstant", # should be before int
- type(None): "NameConstant",
diff --git a/python-rope.spec b/python-rope.spec
index eec2f13..bbca0e1 100644
--- a/python-rope.spec
+++ b/python-rope.spec
@@ -1,5 +1,5 @@
Name: python-rope
-Version: 1.14.0
+Version: 1.15.0
Release: %autorelease
Summary: Python Code Refactoring Library
diff --git a/sources b/sources
index 95be168..1b0cf01 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rope-1.14.0.tar.gz) = 8495b173e43b429384bf85bc4844e9f967ed78976668ef84ecae7a7dbf07e0462b4e39bbb6fa4e44d44da3936275be28017addf6193c3726e010591d9db06313
+SHA512 (rope-1.15.0.tar.gz) = 9c4d6361082fe6f9e2f3a1d3a89649420cf56c3c92b137591a110baf1fa612315ede4e4f699e8087f11495cdca6609bef555e8460fb890e34a604e7566991ddb
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-05 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 16:24 [rpms/python-rope] f45: Upgrade to 1.15.0 (rhbz#2541935) Federico Pellegrin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox