rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / python / astroid / python-integrate-project.conf
blobf91fa9e77fc7e48b2961809bc5257564bad188f2
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2023 Marcel Telka
16 %patch% 01-not-needed-for-tests.patch
17 %patch% 02-no-ruff.patch
18 %patch% 03-test-deps-optional.patch
19 %patch% 05-no-pre-commit.patch
21 %hook-no-license%
22 # https://github.com/PyCQA/astroid/issues/1966
23 LICENSE="LGPL-2.1-only"
25 %include-3%
26 # https://github.com/pylint-dev/astroid/issues/2392
27 PYTEST_ADDOPTS += --deselect tests/brain/test_dataclasses.py::test_pydantic_field
28 # fails with tox-current-env
29 PYTEST_ADDOPTS += --deselect tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
30 # fails with our numpy
31 PYTEST_ADDOPTS += --deselect tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils
33 # Random temporary dir name
34 COMPONENT_TEST_TRANSFORMS += "-e 's|\(/tmp\).\{8\}/|\1XXXXXXXX/|g'"
35 # Random temporary file name
36 COMPONENT_TEST_TRANSFORMS += "-e 's|\(/tmp\).\{8\}\.py|\1XXXXXXXX.py|g'"