Skip to contentSkip to conversation

python3-pytest-html: update to version 4.1.1

PATCH Applied Derek Straka 2 participants 3 messages Dec 21, 2023 – Dec 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-pytest-html: update to version 4.1.1

---
 ...test-html_3.2.0.bb => python3-pytest-html_4.1.1.bb} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pytest-html_3.2.0.bb => python3-pytest-html_4.1.1.bb} (59%)
meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb renamed from meta-python/recipes-devtools/python/python3-pytest-html_3.2.0.bb +6 -4
similarity index 59%
rename from meta-python/recipes-devtools/python/python3-pytest-html_3.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb
index 713a84b41..b9023dfcd 100644
@@ -4,13 +4,15 @@ DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132"
 
-SRC_URI[sha256sum] = "c4e2f4bb0bffc437f51ad2174a8a3e71df81bbc2f6894604e604af18fbe687c3"
+SRC_URI[sha256sum] = "70a01e8ae5800f4a074b56a4cb1025c8f4f9b038bba5fe31e3c98eb996686f07"
 
-PYPI_PACKAGE = "pytest-html"
+PYPI_PACKAGE = "pytest_html"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_hatchling
 
-DEPENDS += "python3-setuptools-scm-git-archive-native"
+DEPENDS += "\
+    ${PYTHON_PN}-hatch-vcs-native \
+"
 
 RDEPENDS:${PN} += " \
     ${PYTHON_PN}-pytest \
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 python3-setuptools-scm-git-archive: remove obsolete package

Upstream project is obsolete with setuptools_scm >= 7.0 which natively supports git archives

See upstream repo for details - https://github.com/Changaco/setuptools_scm_git_archive/

---
 .../packagegroups/packagegroup-meta-python.bb    |  1 -
 .../python/python3-ansi2html_1.9.1.bb            |  1 -
 .../python3-setuptools-scm-git-archive_1.1.bb    | 16 ----------------
 3 files changed, 18 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-setuptools-scm-git-archive_1.1.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -1
index a8b4532c3..7b7d7bee9 100644
@@ -391,7 +391,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-serpent \
     python3-service-identity \
     python3-setuptools-declarative-requirements \
-    python3-setuptools-scm-git-archive \
     python3-sh \
     python3-sijax \
     python3-simpleeval \
meta-python/recipes-devtools/python/python3-ansi2html_1.9.1.bb +0 -1
index 82b8ef37e..e419fdcf1 100644
@@ -11,7 +11,6 @@ inherit pypi python_setuptools_build_meta
 
 DEPENDS += " \
 	${PYTHON_PN}-setuptools-scm-native \
-	${PYTHON_PN}-setuptools-scm-git-archive-native \
 "
 
 RDEPENDS:${PN} = " \
meta-python/recipes-devtools/python/python3-setuptools-scm-git-archive_1.1.bb deleted +0 -16
deleted file mode 100644
index 2068871d9..000000000
@@ -1,16 +0,0 @@
-SUMMARY = "setuptools_scm plugin for git archives"
-HOMEPAGE = "https://pypi.org/project/setuptools-scm-git-archive/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
-
-SRC_URI[sha256sum] = "6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE = "setuptools_scm_git_archive"
-PYPI_SRC_URI = "https://files.pythonhosted.org/packages/7e/2c/0c15b29a1b5940250bfdc4a4f53272e35cd7cf8a34159291b6b4ec9eb291/${PYPI_ARCHIVE_NAME}"
-
-DEPENDS += "python3-setuptools-scm-native"
-RDEPENDS:${PN} += "python3-setuptools-scm"
-
-BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
Applied
#2 lore raw
In reply to Derek Straka
Quoted 1 line · Derek Straka

Applied, thanks!

[1/2] python3-pytest-html: update to version 4.1.1

      commit: 0c17c667adf58d6e25250b68303389174f360b1b
[2/2] python3-setuptools-scm-git-archive: remove obsolete package
      commit: 3ddad1958930c6357217b79986136c9a45a9caf2

Best regards,

Signature · 1 line
Khem Raj <[email protected]>