mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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>
31 lines
862 B
Diff
31 lines
862 B
Diff
From 843d050f1bf889b81fa8fc3e7a1350385c8348ec Mon Sep 17 00:00:00 2001
|
|
From: Trevor Gamblin <tgamblin@baylibre.com>
|
|
Date: Mon, 1 May 2023 11:32:24 -0400
|
|
Subject: [PATCH] pyproject.toml: Remove hard-coded dependencies
|
|
|
|
The upstream pyproject.toml has hard-coded dependencies on specific
|
|
versions of wheel and setuptools. This breaks builds of pylint
|
|
2.17.3, so patch it to remove the pinned versions.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
|
---
|
|
pyproject.toml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/pyproject.toml b/pyproject.toml
|
|
index e4b63c660..0ee21e0eb 100644
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -1,5 +1,5 @@
|
|
[build-system]
|
|
-requires = ["setuptools~=62.6", "wheel~=0.37.1"]
|
|
+requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
--
|
|
2.40.0
|
|
|