diff options
Diffstat (limited to 'dev-python/astroid/astroid-4.3.0.ebuild')
| -rw-r--r-- | dev-python/astroid/astroid-4.3.0.ebuild | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/dev-python/astroid/astroid-4.3.0.ebuild b/dev-python/astroid/astroid-4.3.0.ebuild deleted file mode 100644 index a262de696687..000000000000 --- a/dev-python/astroid/astroid-4.3.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/pylint-dev/astroid -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE=" - https://github.com/pylint-dev/astroid/ - https://pypi.org/project/astroid/ -" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# dev-python/regex isn't available for pypy -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # hangs randomly - tests/test_nodes.py::AsStringTest::test_recursion_error_trapped - # no clue why they're broken - tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part - # TODO - tests/test_builder.py::BuilderTest::test_data_build_error_filename - # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) - tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple - # old pythons only - tests/brain/test_dataclasses.py::test_pydantic_field - tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils - # -Werror, sigh - tests/test_nodes.py::test_deprecated_nodes_import_from_toplevel - ) - - if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/test_raw_building.py - ) - fi - - case ${EPYTHON} in - python3.15) - EPYTEST_DESELECT+=( - tests/brain/test_brain.py::TypingBrain::test_typing_object_notsubscriptable_3 - tests/brain/test_dataclasses.py::test_kw_only_sentinel - tests/test_regrtest.py::test_regression_parse_deeply_nested_parentheses - ) - ;; - esac - - if ! has_version "dev-python/pkg-resources[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # tests a package using pkg_resources - tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol - ) - fi - - epytest -} |
