Marcel Telka
2024-02-25 e1ab8b811b14c23356493d7a7b0122c861759402
python/astroid: update to 3.1.0

6 files modified
29 ■■■■■ changed files
components/python/astroid/Makefile 4 ●●●● patch | view | raw | blame | history
components/python/astroid/patches/01-not-needed-for-tests.patch 4 ●●●● patch | view | raw | blame | history
components/python/astroid/patches/02-no-ruff.patch 4 ●●●● patch | view | raw | blame | history
components/python/astroid/patches/03-test-deps-optional.patch 4 ●●●● patch | view | raw | blame | history
components/python/astroid/patches/04-test-disable-failing.patch 4 ●●●● patch | view | raw | blame | history
components/python/astroid/test/results-all.master 9 ●●●●● patch | view | raw | blame | history
components/python/astroid/Makefile
@@ -19,10 +19,10 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        astroid
HUMAN_VERSION =            3.0.3
HUMAN_VERSION =            3.1.0
COMPONENT_SUMMARY =        astroid - An abstract syntax tree for Python with inference support.
COMPONENT_ARCHIVE_HASH =    \
    sha256:4148645659b08b70d72460ed1921158027a9e53ae8b7234149b1400eddacbb93
    sha256:ac248253bfa4bd924a0de213707e7ebeeb3138abeb48d798784ead1e56d419d4
COMPONENT_LICENSE =        LGPL-2.1-only
COMPONENT_LICENSE_FILE =    LICENSE
components/python/astroid/patches/01-not-needed-for-tests.patch
@@ -1,7 +1,7 @@
These requirements are not needed for testing.
--- astroid-3.0.3/requirements_minimal.txt.orig
+++ astroid-3.0.3/requirements_minimal.txt
--- astroid-3.1.0/requirements_minimal.txt.orig
+++ astroid-3.1.0/requirements_minimal.txt
@@ -1,7 +1,3 @@
-# Tools used when releasing
-contributors-txt>=0.7.4
components/python/astroid/patches/02-no-ruff.patch
@@ -1,8 +1,8 @@
We have no ruff support yet.
see https://github.com/tikv/jemallocator/issues/58
--- astroid-3.0.3/requirements_dev.txt.orig
+++ astroid-3.0.3/requirements_dev.txt
--- astroid-3.1.0/requirements_dev.txt.orig
+++ astroid-3.1.0/requirements_dev.txt
@@ -5,4 +5,3 @@
 pre-commit
 pylint
components/python/astroid/patches/03-test-deps-optional.patch
@@ -1,7 +1,7 @@
We do not have these optional test dependencies packaged yet.
--- astroid-3.0.3/requirements_full.txt.orig
+++ astroid-3.0.3/requirements_full.txt
--- astroid-3.1.0/requirements_full.txt.orig
+++ astroid-3.1.0/requirements_full.txt
@@ -4,9 +4,7 @@
 # Packages used to run additional tests
 attrs
components/python/astroid/patches/04-test-disable-failing.patch
@@ -1,5 +1,5 @@
--- astroid-3.0.3/tests/test_modutils.py.orig
+++ astroid-3.0.3/tests/test_modutils.py
--- astroid-3.1.0/tests/test_modutils.py.orig
+++ astroid-3.1.0/tests/test_modutils.py
@@ -138,6 +138,7 @@
         self.assertEqual(modutils.get_module_part("math.log10"), "math")
         self.assertEqual(modutils.get_module_part("math.log10", __file__), "math")
components/python/astroid/test/results-all.master
@@ -6,7 +6,7 @@
rootdir: $(@D)
configfile: pyproject.toml
testpaths: tests
collecting ... collected 1673 items / 1 skipped
collecting ... collected 1676 items / 1 skipped
  coverage._warn(msg, slug="couldnt-parse")
tests/brain/numpy/test_core_einsumfunc.py::test_function_parameters SKIPPED
@@ -413,6 +413,7 @@
tests/test_builder.py::BuilderTest::test_asstuple PASSED
tests/test_builder.py::BuilderTest::test_augassign_attr PASSED
tests/test_builder.py::BuilderTest::test_build_constants PASSED
tests/test_builder.py::BuilderTest::test_data_build_error_filename PASSED
tests/test_builder.py::BuilderTest::test_data_build_invalid_x_escape PASSED
tests/test_builder.py::BuilderTest::test_data_build_null_bytes PASSED
tests/test_builder.py::BuilderTest::test_future_imports PASSED
@@ -1161,6 +1162,7 @@
tests/test_nodes.py::AsStringTest::test_module2_as_string PASSED
tests/test_nodes.py::AsStringTest::test_module_as_string PASSED
tests/test_nodes.py::AsStringTest::test_operator_precedence PASSED
tests/test_nodes.py::AsStringTest::test_recursion_error_trapped PASSED
tests/test_nodes.py::AsStringTest::test_slice_and_subscripts PASSED
tests/test_nodes.py::AsStringTest::test_slices PASSED
tests/test_nodes.py::AsStringTest::test_tuple_as_string PASSED
@@ -1670,6 +1672,7 @@
tests/test_transforms.py::TestTransforms::test_function_inlining_transform PASSED
tests/test_transforms.py::TestTransforms::test_predicates PASSED
tests/test_transforms.py::TestTransforms::test_recursive_transforms_into_astroid_fields PASSED
tests/test_transforms.py::TestTransforms::test_transform_aborted_if_recursion_limited PASSED
tests/test_transforms.py::TestTransforms::test_transform_crashes_on_is_subtype_of PASSED
tests/test_transforms.py::TestTransforms::test_transform_patches_locals PASSED
tests/test_transforms.py::TestTransforms::test_transforms_are_called_for_builtin_modules PASSED
@@ -1681,10 +1684,10 @@
tests/test_utils.py::InferenceUtil::test_not_exclusive_walrus_operator_nested PASSED
tests/test_utils.py::InferenceUtil::test_try_except PASSED
tests/test_utils.py::InferenceUtil::test_unpack_infer_empty_tuple PASSED
tests/test_utils.py::InferenceUtil::test_unpack_infer_uninferable_nodes PASSED [100%]$(PYTHON_DIR)/vendor-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/tmp/tmpke4z9ey_/tmpb_wnxoow.py': No source for code: '/tmp/tmpke4z9ey_/tmpb_wnxoow.py'. (couldnt-parse)
tests/test_utils.py::InferenceUtil::test_unpack_infer_uninferable_nodes PASSED [100%]$(PYTHON_DIR)/vendor-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/tmp/tmp4y0_up98/tmp2w5ahi8f.py': No source for code: '/tmp/tmp4y0_up98/tmp2w5ahi8f.py'. (couldnt-parse)
======== 1582 passed, 75 skipped, 16 xfailed, 1 xpassed ========
======== 1585 passed, 75 skipped, 16 xfailed, 1 xpassed ========
  py$(PYV): OK
  congratulations :)