17
0

Accepting request 1306877 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1306877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=16
This commit is contained in:
2025-09-25 16:43:48 +00:00
committed by Git OBS Bridge
5 changed files with 14 additions and 31 deletions

Binary file not shown.

3
executing-2.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4
size 1129488

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Sep 24 08:54:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 2.2.1
* fix: check for pytest compatibility
* fix: SentinelNodeFinder uses now mangled_name
* 3.14 support
- Drop support-pytest-8.4.patch, merged upstream
-------------------------------------------------------------------
Wed Jul 9 06:44:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-executing
#
# Copyright (c) 2025 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
@@ -26,14 +26,12 @@
%endif
%{?sle15_python_module_pythons}
Name: python-executing%{psuffix}
Version: 2.2.0
Version: 2.2.1
Release: 0
Summary: Get the currently executing AST node of a frame, and other information
License: MIT
URL: https://github.com/alexmojaki/executing
Source: https://files.pythonhosted.org/packages/source/e/executing/executing-%{version}.tar.gz
# PATCH-FIX-UPSTREAM One commit from gh#alexmojaki/executing#97
Patch0: support-pytest-8.4.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm >= 4.0.0}

View File

@@ -1,24 +0,0 @@
From fae0dd2f4bd0e74b8a928e19407fd4167f4b2295 Mon Sep 17 00:00:00 2001
From: Frank Hoffmann <15r10nk-git@polarbit.de>
Date: Wed, 18 Jun 2025 22:20:25 +0200
Subject: [PATCH] fix: prevent pytest from thinking that Tester() could be a
test function
---
pyproject.toml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index d5cf1ab..226e061 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -14,4 +14,7 @@ warn_redundant_casts=true
[[tool.mypy.overrides]]
module = "astroid"
-ignore_missing_imports = true
\ No newline at end of file
+ignore_missing_imports = true
+
+[tool.pytest.ini_options]
+python_functions = "test_"