From 25dfb8271cc623b742bf29d26d084c2792ee8917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 27 Feb 2025 00:13:14 -0300 Subject: [PATCH] python3-astroid: update to 3.3.10. --- srcpkgs/python3-astroid/template | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python3-astroid/template b/srcpkgs/python3-astroid/template index dc5db329490..5703676eea0 100644 --- a/srcpkgs/python3-astroid/template +++ b/srcpkgs/python3-astroid/template @@ -1,20 +1,28 @@ # Template file for 'python3-astroid' pkgname=python3-astroid -version=3.2.4 -revision=2 +version=3.3.10 +revision=1 build_style=python3-pep517 +# broken with numpy 2.0, see https://github.com/pylint-dev/astroid/issues/2442 +# pkg_resources is deprecated, see https://github.com/pylint-dev/astroid/issues/2759 make_check_args=" - --deselect tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils - " + --deselect tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray + --deselect tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray + --deselect tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray + --deselect tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return + --deselect tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables + --deselect tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type + --deselect tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple + --deselect tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol +" hostmakedepends="python3-setuptools python3-wheel" -depends="python3-lazy-object-proxy python3-wrapt" -# pip is necessary because IsolatedAstroidManagerTest.test_no_user_warning -# tries to use the pip module with mgr.ast_from_module_name("pip") -checkdepends="$depends python3-pytest python3-numpy python3-pip" +depends="python3" +checkdepends="python3-pytest python3-attrs python3-dateutil python3-mypy + python3-numpy python3-regex python3-typing_extensions python3-urllib3" short_desc="Abstract syntax tree for Python3" maintainer="Orphaned " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://github.com/PyCQA/astroid" changelog="https://raw.githubusercontent.com/PyCQA/astroid/master/ChangeLog" distfiles="https://github.com/PyCQA/astroid/archive/refs/tags/v$version.tar.gz" -checksum=e668c1d31790c6dcc4ab0ec6251cb02ed3c610a860d66ffeb6f72f1811f13605 +checksum=49a49abfe129a58c17d623544461780f77a24acf27ddc921d9ed7fc31b73279e