summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-html/no-pip.patch24
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb4
2 files changed, 28 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 @@
1Upstream-Status: Submitted [https://github.com/pytest-dev/pytest-html/pull/516]
2Signed-off-by: Ross Burton <ross.burton@arm.com>
3
4From d7fbc79d428323c838ce68a51e1e1806c2096a76 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@arm.com>
6Date: Mon, 23 May 2022 13:46:50 +0100
7Subject: [PATCH] pip isn't a build dependency
8
9It'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
14diff --git a/pyproject.toml b/pyproject.toml
15index 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",
diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
index ce55554a01..1bbdfb633b 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
@@ -10,6 +10,10 @@ PYPI_PACKAGE = "pytest-html"
10 10
11inherit pypi python_setuptools_build_meta 11inherit pypi python_setuptools_build_meta
12 12
13DEPENDS += "python3-setuptools-scm-git-archive-native"
14
15SRC_URI += "file://no-pip.patch"
16
13RDEPENDS:${PN} += " \ 17RDEPENDS:${PN} += " \
14 ${PYTHON_PN}-pytest \ 18 ${PYTHON_PN}-pytest \
15" 19"