[packages/python3-astroid] - skip benchmark tests and pydantic-dependent test - release 2

adamg adamg at pld-linux.org
Thu Nov 19 14:10:30 CET 2026


commit 1800b6d26e61b82dd2a75d5b04e685bebf176a2d
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Thu Nov 19 14:10:24 2026 +0100

    - skip benchmark tests and pydantic-dependent test
    - release 2

 python3-astroid.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index 0924ab1..c97afd5 100644
--- a/python3-astroid.spec
+++ b/python3-astroid.spec
@@ -6,9 +6,9 @@
 Summary:	An abstract syntax tree for Python 3 with inference support
 Summary(pl.UTF-8):	Abstrakcyjnego drzewa składniowe dla Pythona 3 z obsługą wywodu
 Name:		python3-%{module}
-# keep version compatible with pylint.spec (4.0.x for pylint 4.0.x)
+# keep version compatible with pylint.spec (4.3.x for pylint 4.1.x)
 Version:	4.3.4
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/astroid/
@@ -63,11 +63,15 @@ potrzebami pylinta. Dawniej nazywała się logilab-astng.
 %if %{with tests}
 # few numpy tests fail
 # test_identify_old_namespace_package_protocol needs pkg_resources, removed in setuptools 81+
+# benchmarks clone real projects and need pytest-benchmark
+# test_pydantic_field result depends on installed pydantic version
 # get_module_part('sys.path') resolves a builtin's "submodule" against the whole
 # sys.path, so the test fails whenever a top-level 'path' module is installed
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
 %{__python3} -m pytest tests --ignore tests/brain/numpy \
+	--ignore tests/benchmarks \
+	--deselect tests/brain/test_dataclasses.py::test_pydantic_field \
 	--deselect tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol \
 	--deselect tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-astroid.git/commitdiff/1800b6d26e61b82dd2a75d5b04e685bebf176a2d



More information about the pld-cvs-commit mailing list