Skip to contentSkip to conversation

python3-test-generator: drop recipe

PATCH New Tim Orling 1 participant 1 message Feb 22, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python3-test-generator: drop recipe

python3-nose still contains Python 2 code which causes errors in do_compile when using bdist_wheel or PEP-517 packaging.

Like nose, test-generator has not been touched since 2016.

Drop this recipe unless someone fixes the issues in python3-nose

[YOCTO #14638]

---
 .../packagegroups/packagegroup-meta-python.bb |  2 --
 .../python/python3-test-generator/run-ptest   |  3 --
 .../python/python3-test-generator_0.1.2.bb    | 29 -------------------
 3 files changed, 34 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-test-generator/run-ptest
 delete mode 100644 meta-python/recipes-devtools/python/python3-test-generator_0.1.2.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -2
index 8b574bdf0f..8345fc5989 100644
@@ -423,7 +423,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-tabulate \
     python3-term \
     python3-termcolor \
-    python3-test-generator \
     python3-textparser \
     python3-texttable \
     python3-thrift \
@@ -535,7 +534,6 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\
     python3-smpplib-ptest \
     python3-soupsieve-ptest \
     python3-sqlparse-ptest \
-    python3-test-generator-ptest \
     python3-typeguard-ptest \
     python3-ujson-ptest \
     python3-u-msgpack-python-ptest \
meta-python/recipes-devtools/python/python3-test-generator/run-ptest deleted +0 -3
deleted file mode 100644
index 5cec711696..0000000000
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest
meta-python/recipes-devtools/python/python3-test-generator_0.1.2.bb deleted +0 -29
deleted file mode 100644
index 7f212ddd87..0000000000
@@ -1,29 +0,0 @@
-SUMMARY = "Generator is a helper for generating test methods for nose while still using unittest."
-DESCRIPTION = "Python package with modified subclasses of all stdlib XML \
-parsers that prevent any potentially malicious operation."
-
-LICENSE = "ISC"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=041a2bff595d40ccb4b36356f89dab00"
-
-SRC_URI += " \
-	file://run-ptest \
-"
-
-SRC_URI[md5sum] = "6c69e73ba5b4b3ed62f7bcda071c64f1"
-SRC_URI[sha256sum] = "ad5925c814bfe79497b43df096e3bb52c166d1577f7aff160137301676232f4a"
-
-inherit pypi setuptools3 ptest
-
-RDEPENDS:${PN}-ptest += " \
-	${PYTHON_PN}-pytest \
-	${PYTHON_PN}-mock \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
-DEPENDS += "python3-nose-native"
-
-RDEPENDS:${PN} += "python3-six"
Signature · 1 line
2.30.2