diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-05-02 12:50:03 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-12 10:33:54 -0700 |
commit | b9b6308f3d2c6a75bd1b71dce5b475efe292c85d (patch) | |
tree | e30aecb04655e954e4cc402617922a4c0eb5f3d9 /meta-python/recipes-devtools/python/python3-pylint | |
parent | 1410b40c2f04af9104220c967a81b2c4779efa6c (diff) | |
download | meta-openembedded-b9b6308f3d2c6a75bd1b71dce5b475efe292c85d.tar.gz |
python3-pylint: upgrade 2.14.5 -> 2.17.3
Change pylint to inherit python_setuptools_build_meta instead of
setuptools3. Also add a patch to remove hard-coded version depdendencies
for wheel and setuptools from the pyproject.toml, otherwise the
following error occurs during do_compile:
| ERROR Missing dependencies:
| wheel~=0.37.1
| setuptools~=62.6
Release note links:
2.17.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.17/index.html
2.16.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.16/index.html
2.15.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.15/index.html
2.14.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/index.html
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch new file mode 100644 index 0000000000..55d42b1016 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 843d050f1bf889b81fa8fc3e7a1350385c8348ec Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Gamblin <tgamblin@baylibre.com> | ||
3 | Date: Mon, 1 May 2023 11:32:24 -0400 | ||
4 | Subject: [PATCH] pyproject.toml: Remove hard-coded dependencies | ||
5 | |||
6 | The upstream pyproject.toml has hard-coded dependencies on specific | ||
7 | versions of wheel and setuptools. This breaks builds of pylint | ||
8 | 2.17.3, so patch it to remove the pinned versions. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
13 | --- | ||
14 | pyproject.toml | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/pyproject.toml b/pyproject.toml | ||
18 | index e4b63c660..0ee21e0eb 100644 | ||
19 | --- a/pyproject.toml | ||
20 | +++ b/pyproject.toml | ||
21 | @@ -1,5 +1,5 @@ | ||
22 | [build-system] | ||
23 | -requires = ["setuptools~=62.6", "wheel~=0.37.1"] | ||
24 | +requires = ["setuptools", "wheel"] | ||
25 | build-backend = "setuptools.build_meta" | ||
26 | |||
27 | [project] | ||
28 | -- | ||
29 | 2.40.0 | ||
30 | |||