diff options
author | Ross Burton <ross.burton@arm.com> | 2022-07-14 13:44:01 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-15 12:48:34 -0400 |
commit | 388ba0d74d6edc966f3b5db665b1895f5ab64a76 (patch) | |
tree | 5ecbd5d63c694b83f6fc3227b3b7069dd6a02b37 /meta-python/recipes-devtools/python/python3-pytest-html/no-pip.patch | |
parent | ca039757994cd6643b63c70cd85145eb98331e2a (diff) | |
download | meta-openembedded-388ba0d74d6edc966f3b5db665b1895f5ab64a76.tar.gz |
python3-pytest-html: fix DEPENDS, don't depend on pip
Add a DEPENDS on ptyhon3-setuptools-scm-git-archive-native as the setup.py
uses it.
In the future we'll have a Python building tool which validates build
requirements, so remove pip from those dependencies as it shouldn't depend
on a specific build tool being present.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest-html/no-pip.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-html/no-pip.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-html/no-pip.patch b/meta-python/recipes-devtools/python/python3-pytest-html/no-pip.patch new file mode 100644 index 0000000000..e120498846 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-html/no-pip.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status: Submitted [https://github.com/pytest-dev/pytest-html/pull/516] | ||
2 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
3 | |||
4 | From d7fbc79d428323c838ce68a51e1e1806c2096a76 Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@arm.com> | ||
6 | Date: Mon, 23 May 2022 13:46:50 +0100 | ||
7 | Subject: [PATCH] pip isn't a build dependency | ||
8 | |||
9 | It's possible, and even desirable, to build modern Python code without pip, for example by using the `build` and `installer` packages. | ||
10 | --- | ||
11 | pyproject.toml | 1 - | ||
12 | 1 file changed, 1 deletion(-) | ||
13 | |||
14 | diff --git a/pyproject.toml b/pyproject.toml | ||
15 | index 2683f072..e3f25bf7 100644 | ||
16 | --- a/pyproject.toml | ||
17 | +++ b/pyproject.toml | ||
18 | @@ -1,6 +1,5 @@ | ||
19 | [build-system] | ||
20 | requires = [ | ||
21 | - "pip >= 19.3.1", | ||
22 | "setuptools >= 42", | ||
23 | "setuptools_scm[toml] >= 3.5.0", | ||
24 | "setuptools_scm_git_archive >= 1.1", | ||