Skip to contentSkip to conversation

python3-pytz-deprecation-shim: Remove outdated recipe meant to be a short lived shim

PATCH Superseded Derek Straka 2 participants 2 messages Sep 27, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pytz-deprecation-shim: Remove outdated recipe meant to be a short lived shim

The upstream package hasn't been updated since 2020 and was meant to be a short term bridge to remote pytz. As noted in the usage documents, "This library is intended for temporary usage only, and should allow you to drop your dependency on pytz while also giving your users notice that eventually you will remove support for the pytz-specific interface." Three years should be sufficient for folks to move on from a temp library, so removing the recipe.

---
 .../python3-pytz-deprecation-shim_0.1.0.post0.bb  | 15 ---------------
 1 file changed, 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb
meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb deleted +0 -15
deleted file mode 100644
index 022cf39ac..000000000
@@ -1,15 +0,0 @@
-SUMMARY = "Shims to help you safely remove pytz"
-HOMEPAGE = "https://github.com/pganssle/pytz-deprecation-shim"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48"
-
-SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d"
-
-PYPI_PACKAGE = "pytz_deprecation_shim"
-PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz"
-
-inherit pypi python_setuptools_build_meta
-
-RDEPENDS:${PN} += "\
-        ${PYTHON_PN}-zoneinfo \
-"
Signature · 1 line
2.34.1
#1 lore raw
Quoted 2 lines · Derek Straka

The upstream package hasn't been updated since 2020 and was meant to be a short term bridge to remote pytz. As noted in the usage documents, "This library is intended for temporary usage only, and should allow you to drop your dependency on pytz while also giving your users notice that eventually you will remove support for the pytz-specific interface." Three years should be sufficient for folks to move on from a temp library, so removing the recipe.

I am fine with reasoning to remove it but we also need to remove the recipes depending on it. meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb depends on it. Additionally this needs to be
removed from meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb

Finally, commit msg is a long one line. Please reformat it so it is readable on a terminal with 80 columns.

Quoted 40 lines
---
 .../python3-pytz-deprecation-shim_0.1.0.post0.bb  | 15 ---------------
 1 file changed, 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb
meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb deleted +0 -16
deleted file mode 100644
index 022cf39ac..000000000
@@ -1,15 +0,0 @@
-SUMMARY = "Shims to help you safely remove pytz"
-HOMEPAGE = "https://github.com/pganssle/pytz-deprecation-shim"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48"
-
-SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d"
-
-PYPI_PACKAGE = "pytz_deprecation_shim"
-PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz"
-
-inherit pypi python_setuptools_build_meta
-
-RDEPENDS:${PN} += "\
-        ${PYTHON_PN}-zoneinfo \
-"
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105170): https://lists.openembedded.org/g/openembedded-devel/message/105170
Mute This Topic: https://lists.openembedded.org/mt/101612869/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-