15
0

15 Commits

Author SHA256 Message Date
2225355c1c Accepting request 1251791 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1251791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=14
2025-03-11 19:44:03 +00:00
b4972a92de - Update to 2.2.0
* fix: backward compatibility fix for changed source positions in 3.12.6 (#85)
  * fix: handle changed positions for __exit__ of ast.With
  * update and fix table of contents link, 'libraries' → 'projects' (#93)
  * fix: check for pytest compatibility (#94)
- Drop new-python-312.patch, merged upstream
- Drop pytest.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=26
2025-03-10 12:24:16 +00:00
c1711054df Accepting request 1238543 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1238543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=13
2025-01-20 16:14:03 +00:00
99e2f9fe62 - Add pytest.patch to fix compatibility with new pytest
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=24
2025-01-17 16:40:30 +00:00
c9ffd7439b Accepting request 1217356 from devel:languages:python
- Remove ipython dependency for Leap

OBS-URL: https://build.opensuse.org/request/show/1217356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=12
2024-10-23 19:08:08 +00:00
86dd7e31f3 - Remove ipython dependency for Leap
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=22
2024-10-23 13:04:28 +00:00
2bc77f1780 Accepting request 1203862 from devel:languages:python
- Split test run into separate build using _multibuild.
- The test suite has to be run with pytest, unittest is not enough
- Add missing BuildRequires: ipython

OBS-URL: https://build.opensuse.org/request/show/1203862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=11
2024-09-26 16:52:46 +00:00
670786715f - Split test run into separate build using _multibuild.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=20
2024-09-26 09:29:05 +00:00
8079568381 - The test suite has to be run with pytest, unittest is not enough
- Add missing BuildRequires: ipython

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=19
2024-09-20 20:30:06 +00:00
234322b8d1 Accepting request 1201732 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=10
2024-09-20 15:08:52 +00:00
2c4a66a529 - Add new-python-312.patch to fix build with recent Python 3.12 release
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=17
2024-09-18 08:31:43 +00:00
1c99f4c877 Accepting request 1199964 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1199964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=9
2024-09-12 14:53:56 +00:00
77b6be5ecc - Update to 2.1.0
* Add many_calls tests to EXECUTING_SLOW_TESTS (#78)
  * fix: backward compatibility fix for changed source positions in 3.12.5 (#82) (#83)
  * fix(3.13): show_caches is deprecated
  * fix(3.13): added new rules to the verification
  * build(3.13): added 3.13 to ci workflow
  * fix(3.13): fixed typing errors
  * fix(3.13): handle STORE_FAST_STORE_FAST and similar instructions as known issues
  * fix(3.13): loading of __class__ is mapped to the last element of the class
  * fix(3.13): handle CALL_KW like method calls which are only located by the end position
  * fix(3.13): a lambda can also have nonlocal variables
  * fix(3.13): a async function can also have nonlocal variables
  * fix(3.13): COMPARE_OP maps always to ast.Compare
  * fix(3.13): a type variable can also have nonlocal variables
  * test(3.13): handle optimization of `not not x`
  * test: fixed tests for 3.13.0b1
  * fix: allow to LOAD_FAST variables for TypeVars
  * fix: skip files with raise an recursion error in 3.13,
    because the recursion limit has no effect
  * test(3.13): added sample_results
  * test: skip module tests for now
  * refactor: review changes
  * fix: handle __firstlineno__
  * fix: removed unused verification
  * doc: review changes
  * Catch exception if node is in unexpected statement (#84)
  * test: optimized test preformance by moving deadcode check to the end (#89)
  * add 3.13 to setup.cfg classifiers
- Drop support-new-python-3.12.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=15
2024-09-11 06:18:25 +00:00
41f8d3f1ec Accepting request 1195976 from devel:languages:python
- Switch to autosetup macro.
- Add patch support-new-python-3.12.patch:
  * Support Python 3.13 (and backported to 3.12.5) AST changes for For.

OBS-URL: https://build.opensuse.org/request/show/1195976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=8
2024-08-29 13:42:30 +00:00
b3c613d68f - Switch to autosetup macro.
- Add patch support-new-python-3.12.patch:
  * Support Python 3.13 (and backported to 3.12.5) AST changes for For.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=13
2024-08-26 02:32:35 +00:00
3 changed files with 0 additions and 32 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Wed Jul 9 06:44:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-pytest-8.4.patch:
* Do not allow pytest to collect non-test functions.
-------------------------------------------------------------------
Mon Mar 10 09:25:36 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -32,8 +32,6 @@ Summary: Get the currently executing AST node of a frame, and other infor
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_"