[packages/python3-astroid] Rel 3; another build fix
arekm
arekm at pld-linux.org
Mon Aug 31 16:51:29 CEST 2026
commit 2aadd8e49ce4c9b4707f9157de52920e65b26066
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Aug 31 16:51:15 2026 +0200
Rel 3; another build fix
python3-astroid.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index ff7e01b..6b853d0 100644
--- a/python3-astroid.spec
+++ b/python3-astroid.spec
@@ -8,7 +8,7 @@ Summary(pl.UTF-8): Abstrakcyjnego drzewa składniowe dla Pythona 3 z obsługą w
Name: python3-%{module}
# keep version compatible with pylint.spec (4.0.x for pylint 4.0.x)
Version: 4.0.4
-Release: 2
+Release: 3
License: LGPL v2.1+
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/astroid/
@@ -63,10 +63,13 @@ 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+
+# 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 \
- --deselect tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol
+ --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
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-astroid.git/commitdiff/2aadd8e49ce4c9b4707f9157de52920e65b26066
More information about the pld-cvs-commit
mailing list