[packages/python3-astroid] - updated to 4.0.1

qboosh qboosh at pld-linux.org
Sat Nov 1 11:12:33 CET 2025


commit 0f2270831a3634741275a9e53afea9578e14323d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 1 11:12:31 2025 +0100

    - updated to 4.0.1

 python3-astroid.spec | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index 6fb093c..59c05af 100644
--- a/python3-astroid.spec
+++ b/python3-astroid.spec
@@ -1,22 +1,22 @@
 #
 # Conditional build:
-%bcond_with	tests	# unit tests
+%bcond_without	tests	# unit tests
 
 %define	module	astroid
 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 (3.3.x for pylint 3.3.x)
-Version:	3.3.10
+# keep version compatible with pylint.spec (4.0.x for pylint 4.0.x)
+Version:	4.0.1
 Release:	1
 License:	LGPL v2.1+
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/astroid/
 Source0:	https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
-# Source0-md5:	79df142c44c28a51563d992cd78d3797
+# Source0-md5:	051c60ab412e828323ef5743202f4948
 URL:		https://github.com/PyCQA/astroid
-BuildRequires:	python3-devel >= 1:3.9.0
-BuildRequires:	python3-modules >= 1:3.9.0
+BuildRequires:	python3-devel >= 1:3.10.0
+BuildRequires:	python3-modules >= 1:3.10.0
 BuildRequires:	python3-build
 BuildRequires:	python3-installer
 BuildRequires:	python3-setuptools >= 1:77
@@ -27,7 +27,6 @@ BuildRequires:	python3-attrs
 BuildRequires:	python3-dateutil
 BuildRequires:	python3-lazy-object-proxy >= 1.4
 BuildRequires:	python3-mypy
-BuildRequires:	python3-pynose
 BuildRequires:	python3-pytest
 BuildRequires:	python3-regex
 BuildRequires:	python3-six >= 1.12
@@ -38,8 +37,8 @@ BuildRequires:	python3-typing_extensions >= 4.4
 %endif
 %endif
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.9.0
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.10.0
 Obsoletes:	python3-logilab-astng < 1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -64,10 +63,10 @@ potrzebami pylinta. Dawniej nazywała się logilab-astng.
 %py3_build_pyproject
 
 %if %{with tests}
-# test_identify_old_namespace_package_protocol fails due to DeprecationWarning
+# few numpy tests fail
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
-%{__python3} -m pytest tests -k 'not test_identify_old_namespace_package_protocol'
+%{__python3} -m pytest tests --ignore tests/brain/numpy
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-astroid.git/commitdiff/0f2270831a3634741275a9e53afea9578e14323d



More information about the pld-cvs-commit mailing list