Сравнение pylint-2.17.7 с pylint-3.0.0

/usr/portage/dev-python/pylint/pylint-3.0.0.ebuild 2023-10-09 14:52:30.340368372 +0300
9 9

  
10 10
inherit distutils-r1
11 11

  
12
MY_P=${P/_beta/b}
12 13
DESCRIPTION="Python code static checker"
13 14
HOMEPAGE="
14 15
	https://pypi.org/project/pylint/
15 16
	https://github.com/pylint-dev/pylint/
16 17
"
17 18
SRC_URI="
18
	https://github.com/pylint-dev/pylint/archive/v${PV}.tar.gz
19
		-> ${P}.gh.tar.gz
19
	https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz
20
		-> ${MY_P}.gh.tar.gz
20 21
"
22
S=${WORKDIR}/${MY_P}
21 23

  
22 24
LICENSE="GPL-2"
23 25
SLOT="0"
......
27 29
# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps
28 30
# Adjust dep bounds!
29 31
RDEPEND="
30
	<dev-python/astroid-2.17[${PYTHON_USEDEP}]
31
	>=dev-python/astroid-2.15.8[${PYTHON_USEDEP}]
32
	>=dev-python/dill-0.3.6[${PYTHON_USEDEP}]
32
	<dev-python/astroid-3.1[${PYTHON_USEDEP}]
33
	>=dev-python/astroid-3.0.0[${PYTHON_USEDEP}]
34
	>=dev-python/dill-0.3.7[${PYTHON_USEDEP}]
33 35
	>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
34 36
	<dev-python/isort-6[${PYTHON_USEDEP}]
35 37
	>=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
......
51 53
distutils_enable_tests pytest
52 54

  
53 55
python_test() {
54
	rm -rf pylint || die
55

  
56 56
	local EPYTEST_DESELECT=(
57 57
		# TODO
58
		'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]'
59 58
		'tests/test_functional.py::test_functional[dataclass_with_field]'
59

  
60
		# incompatible versions of numpy/scikit-learn?
60 61
		'tests/test_functional.py::test_functional[no_name_in_module]'
61 62
		'tests/test_functional.py::test_functional[shadowed_import]'
62
		tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg
63
		tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg
64
		tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config
65

  
66
		# apparently fragile, needs unpickleable plugin
67
		tests/test_check_parallel.py::TestCheckParallelFramework::test_linter_with_unpickleable_plugins_is_pickleable
68 63
	)
69 64
	local EPYTEST_IGNORE=(
70 65
		# No need to run the benchmarks
71 66
		tests/benchmark/test_baseline_benchmarks.py
72 67
	)
73
	epytest
68

  
69
	rm -rf pylint || die
70

  
71
	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
72
	epytest -p timeout
74 73
}
75 74

  
76 75
python_install_all() {
Спасибо!