Skip to contentSkip to conversation

python3-pathlib2: remove recipe (moved to meta-python)

PATCH New Ross Burton 1 participant 7 messages Aug 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 python3-pathlib2: remove recipe (moved to meta-python)

This recipe is a backport of pathlib intended for older releases of Python but as we have a modern release of Python it shouldn't be needed.

There are no users in oe-core, so move to meta-python.

---
 meta/conf/distro/include/maintainers.inc             |  1 -
 .../python/python3-pathlib2_2.3.7.bb                 | 12 ------------
 2 files changed, 13 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb
meta/conf/distro/include/maintainers.inc +0 -1
index cf9fda812f7..dcab241f6be 100644
@@ -661,7 +661,6 @@ RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <[email protected]
 RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-numpy = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-packaging = "Tim Orling <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-pathlib2 = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pathspec = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pbr = "Zang Ruochen <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pip = "Zang Ruochen <[email protected]>"
meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb deleted +0 -12
deleted file mode 100644
index d4de40893a6..00000000000
@@ -1,12 +0,0 @@
-SUMMARY = "Object-oriented filesystem paths"
-HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2dc08586cce3ab91bfa091b655c0e440"
-
-SRC_URI[sha256sum] = "7a4329d67beff9a712e1d3ae147e4e3e108b0bfd284ffdea03a635126c76b3c0"
-
-inherit pypi setuptools3
-
-RDEPENDS:${PN} += "python3-six python3-ctypes"
-
-BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/7 python3-rfc3986-validator: remove recipe (moved to meta-python)

The only user of this recipe in core is python3-jsonschema, but only if you select the non-default 'nongpl' PACKAGECONFIG.

Move to meta-python so it's there if needed.

---
 meta/conf/distro/include/maintainers.inc      |  1 -
 ...e-pytest-runner-to-test_requirements.patch | 32 -------------------
 .../python/python3-rfc3986-validator_0.1.1.bb | 24 --------------
 3 files changed, 57 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
 delete mode 100644 meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
meta/conf/distro/include/maintainers.inc +0 -1
index dcab241f6be..9da07540ce2 100644
@@ -689,7 +689,6 @@ RECIPE_MAINTAINER:pn-python3-rdflib = "Wang Mingyu <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-referencing = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-requests = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-rfc3339-validator = "Bruce Ashfield <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-rfc3986-validator = "Bruce Ashfield <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-rfc3987 = "Bruce Ashfield <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-rpds-py = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-ruamel-yaml = "Bruce Ashfield <[email protected]>"
meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch deleted +0 -32
deleted file mode 100644
index 8a646874e87..00000000000
@@ -1,32 +0,0 @@
-From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001
-From: Nicola Lunghi <[email protected]>
-Date: Thu, 14 Nov 2019 12:17:51 +0000
-Subject: [PATCH] setup.py: move pytest-runner to test_requirements
-
-This fixes an issue with yocto build.
-pytest-runner is only needed when running tests.
-
-Upstream-Status: Pending
----
- setup.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 53ebea7..ebb0de2 100644
---- a/setup.py
-+++ b/setup.py
-@@ -10,9 +10,9 @@ with open('README.md') as readme_file:
- 
- requirements = []
- 
--setup_requirements = ['pytest-runner', ]
-+setup_requirements = []
- 
--test_requirements = ['pytest>=3', ]
-+test_requirements = ['pytest>=3', 'pytest-runner']
- 
- setup(
-     author="Nicolas Aimetti",
--- 
-2.20.1
-
meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb deleted +0 -24
deleted file mode 100644
index e374979cb40..00000000000
@@ -1,24 +0,0 @@
-SUMMARY = "Pure python rfc3986 validator"
-HOMEPAGE = "https://github.com/naimetti/rfc3986-validator"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3986-validator:"
-
-SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
-SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
-
-PYPI_PACKAGE = "rfc3986_validator"
-UPSTREAM_CHECK_REGEX = "/rfc3986-validator/(?P<pver>(\d+[\.\-_]*)+)/"
-
-inherit pypi setuptools3
-
-SRC_URI += "\
-    file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
-"
-
-RDEPENDS:${PN} += "\
-    python3-core \
-"
-
-BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/7 python3-py: remove recipe (moved to meta-python)

In reply to Ross Burton

The last user in core was pytest, removed in 0aee9a.

---
 meta/conf/distro/include/maintainers.inc          |  1 -
 meta/recipes-devtools/python/python3-py_1.11.0.bb | 14 --------------
 2 files changed, 15 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-py_1.11.0.bb
meta/conf/distro/include/maintainers.inc +0 -1
index 9da07540ce2..b0bc22ccfa3 100644
@@ -669,7 +669,6 @@ RECIPE_MAINTAINER:pn-python3-ply = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-poetry-core = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pretend = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-psutil = "Tim Orling <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-py = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyasn1 = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pycairo = "Zang Ruochen <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pycparser = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-py_1.11.0.bb deleted +0 -14
deleted file mode 100644
index 31d5a377a7e..00000000000
@@ -1,14 +0,0 @@
-SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities"
-HOMEPAGE = "http://py.readthedocs.io/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
-
-SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
-
-DEPENDS += "python3-setuptools-scm-native"
-
-inherit pypi python_setuptools_build_meta
-
-BBCLASSEXTEND = "native nativesdk"
-
-RDEPENDS:${PN} += "python3-netclient"
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/7 pytest-runner: remove recipe (moved to meta-python)

In reply to Ross Burton

This is a deprecated package so rarely used now.

The last user in core was python3-chardet, removed in 55b49e9.

---
 meta/conf/distro/include/maintainers.inc          |  1 -
 .../python/python3-pytest-runner_6.0.1.bb         | 15 ---------------
 2 files changed, 16 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
meta/conf/distro/include/maintainers.inc +0 -1
index b0bc22ccfa3..87a3fdcfa60 100644
@@ -680,7 +680,6 @@ RECIPE_MAINTAINER:pn-python3-pyparsing = "Trevor Gamblin <[email protected]>
 RECIPE_MAINTAINER:pn-python3-pyproject-hooks = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pysocks = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytest = "Trevor Gamblin <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-pytest-runner = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytest-subtests = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytz = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyyaml = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb deleted +0 -15
deleted file mode 100644
index e5e5e048bd4..00000000000
@@ -1,15 +0,0 @@
-SUMMARY = "Invoke py.test as distutils command with dependency resolution"
-HOMEPAGE = "https://pypi.org/project/pytest-runner/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
-
-SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b"
-
-inherit pypi python_setuptools_build_meta
-
-DEPENDS += " \
-    python3-setuptools-scm-native"
-
-RDEPENDS:${PN} = "python3-setuptools python3-debugger python3-json python3-io"
-
-BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
#4 lore raw

PATCH 5/7 python3-importlib-metadata: remove recipe (moved to meta-python)

In reply to Ross Burton

This package is a backport of the importlib.metadata standard library package, so shouldn't really be needed since we have Python 3.12.

The last user in core was pytest, removed in 0aee9aa.

---
 meta/conf/distro/include/maintainers.inc      |  1 -
 .../python3-importlib-metadata_8.2.0.bb       | 20 -------------------
 2 files changed, 21 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_8.2.0.bb
meta/conf/distro/include/maintainers.inc +0 -1
index 87a3fdcfa60..90fde4f8546 100644
@@ -638,7 +638,6 @@ RECIPE_MAINTAINER:pn-python3-hatch-vcs = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-hypothesis = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-idna = "Bruce Ashfield <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-imagesize = "Tim Orling <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-importlib-metadata = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-iniconfig = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-iniparse = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-iso8601 = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-importlib-metadata_8.2.0.bb deleted +0 -20
deleted file mode 100644
index 3e1c7a7d6b7..00000000000
@@ -1,20 +0,0 @@
-SUMMARY = "Read metadata from Python packages"
-HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-inherit pypi python_setuptools_build_meta
-
-PYPI_PACKAGE = "importlib_metadata"
-UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/"
-
-SRC_URI[sha256sum] = "72e8d4399996132204f9a16dcc751af254a48f8d1b20b9ff0f98d4a8f901e73d"
-
-S = "${WORKDIR}/importlib_metadata-${PV}"
-
-DEPENDS += "python3-setuptools-scm-native"
-RDEPENDS:${PN} += "python3-zipp"
-RDEPENDS:${PN}:append:class-target = " python3-misc"
-RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"
-
-BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
#5 lore raw

PATCH 6/7 python3-toml: remove recipe (moved to meta-python)

In reply to Ross Burton

There are no potential users of this recipe now that importlib_metadata has been removed, and importlib_metadata used tomllib anyway.

---
 meta/conf/distro/include/maintainers.inc          |  1 -
 .../python/python3-toml_0.10.2.bb                 | 15 ---------------
 2 files changed, 16 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-toml_0.10.2.bb
meta/conf/distro/include/maintainers.inc +0 -1
index 90fde4f8546..33ce99e4e2f 100644
@@ -711,7 +711,6 @@ RECIPE_MAINTAINER:pn-python3-sphinxcontrib-serializinghtml = "Tim Orling <tim.or
 RECIPE_MAINTAINER:pn-python3-sphinx-rtd-theme = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-subunit = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-testtools = "Trevor Gamblin <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-toml = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-tomli = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-trove-classifiers = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-typing-extensions = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-toml_0.10.2.bb deleted +0 -15
deleted file mode 100644
index 649464b961b..00000000000
@@ -1,15 +0,0 @@
-SUMMARY = "Python Library for Tom's Obvious, Minimal Language"
-HOMEPAGE = "https://github.com/uiri/toml"
-LICENSE = "MIT"
-SECTION = "devel/python"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=16c77b2b1050d2f03cb9c2ed0edaf4f0"
-
-SRC_URI[sha256sum] = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
-
-inherit pypi setuptools3
-
-BBCLASSEXTEND = "native nativesdk"
-
-RDEPENDS:${PN} += " \
-    python3-misc \
-"
Signature · 1 line
2.34.1
#6 lore raw

PATCH 7/7 python3-tomli: remove recipe (moved to meta-python)

In reply to Ross Burton

Most packages use tomllib and fall back to tomli. The last user in core was python3-setuptools-scm, removed in 5c8a0a2.

---
 meta/conf/distro/include/maintainers.inc       |  1 -
 .../python/python3-tomli_2.0.1.bb              | 18 ------------------
 2 files changed, 19 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-tomli_2.0.1.bb
meta/conf/distro/include/maintainers.inc +0 -1
index 33ce99e4e2f..0875b2cbd31 100644
@@ -711,7 +711,6 @@ RECIPE_MAINTAINER:pn-python3-sphinxcontrib-serializinghtml = "Tim Orling <tim.or
 RECIPE_MAINTAINER:pn-python3-sphinx-rtd-theme = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-subunit = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-testtools = "Trevor Gamblin <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-tomli = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-trove-classifiers = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-typing-extensions = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-typogrify = "Alexander Kanavin <[email protected]>"
meta/recipes-devtools/python/python3-tomli_2.0.1.bb deleted +0 -18
deleted file mode 100644
index 9401ed897fb..00000000000
@@ -1,18 +0,0 @@
-SUMMARY = "A lil' TOML parser"
-DESCRIPTION = "Tomli is a Python library for parsing TOML. Tomli is fully \
-compatible with TOML v1.0.0."
-HOMEPAGE = "https://github.com/hukkin/tomli"
-BUGTRACKER = "https://github.com/hukkin/tomli/issues"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
-
-inherit pypi python_flit_core
-
-SRC_URI[sha256sum] = "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
-
-BBCLASSEXTEND = "native nativesdk"
-
-RDEPENDS:${PN} += " \
-    python3-datetime \
-    python3-stringold \
-"
Signature · 1 line
2.34.1