[packages/python3-astroid] - updated to 3.3.10

qboosh qboosh at pld-linux.org
Thu Jul 3 20:58:39 CEST 2025


commit abdb9d6d53376fe3df6f068d9c1ff8fa9b93ae67
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 3 21:00:07 2025 +0200

    - updated to 3.3.10

 python3-astroid.spec | 33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index 75e4203..6fb093c 100644
--- a/python3-astroid.spec
+++ b/python3-astroid.spec
@@ -1,39 +1,45 @@
 #
 # Conditional build:
-%bcond_with	tests	# unit tests (not included in sdist)
+%bcond_with	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.9
+Version:	3.3.10
 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:	ca20a247e15cfcafcee493bab9a50975
+# Source0-md5:	79df142c44c28a51563d992cd78d3797
 URL:		https://github.com/PyCQA/astroid
-BuildRequires:	python3-devel >= 1:3.7.2
-BuildRequires:	python3-modules >= 1:3.7.2
+BuildRequires:	python3-devel >= 1:3.9.0
+BuildRequires:	python3-modules >= 1:3.9.0
 BuildRequires:	python3-build
 BuildRequires:	python3-installer
+BuildRequires:	python3-setuptools >= 1:77
 %if %{with tests}
+# optional
+#BuildRequires:	python3-PyQt6
+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
-%if "%{py3_ver}" == "3.7"
-BuildRequires:	python3-typed_ast >= 1.4.0
-BuildRequires:	python3-typed_ast < 2.0
-%endif
-%if "%{_ver_lt '%{py3_ver}' '3.10'}" == "1"
-BuildRequires:	python3-typing_extensions >= 3.10
+BuildRequires:	python3-urllib3 >= 1
+BuildRequires:	python3-urllib3 < 2
+%if "%{_ver_lt %{py3_ver} 3.11}" == "1"
+BuildRequires:	python3-typing_extensions >= 4.4
 %endif
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.7.2
+Requires:	python3-modules >= 1:3.9.0
 Obsoletes:	python3-logilab-astng < 1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -58,9 +64,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
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
-%{__python3} -m pytest tests
+%{__python3} -m pytest tests -k 'not test_identify_old_namespace_package_protocol'
 %endif
 
 %install
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list