[packages/python3-astroid] Rel 2; build fix

arekm arekm at pld-linux.org
Mon Aug 31 16:42:50 CEST 2026


commit 9c92d99562ba073c360b4414549738fd6720df93
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Aug 31 16:42:36 2026 +0200

    Rel 2; build fix

 python3-astroid.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index 3ae88df..ff7e01b 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:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/astroid/
@@ -30,7 +30,6 @@ BuildRequires:	python3-pytest
 BuildRequires:	python3-regex
 BuildRequires:	python3-six >= 1.12
 BuildRequires:	python3-urllib3 >= 1
-BuildRequires:	python3-urllib3 < 2
 %if "%{_ver_lt %{py3_ver} 3.11}" == "1"
 BuildRequires:	python3-typing_extensions >= 4.4
 %endif
@@ -63,9 +62,11 @@ 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+
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
-%{__python3} -m pytest tests --ignore tests/brain/numpy
+%{__python3} -m pytest tests --ignore tests/brain/numpy \
+	--deselect tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-astroid.git/commitdiff/9c92d99562ba073c360b4414549738fd6720df93



More information about the pld-cvs-commit mailing list