From 4900dbb9bcc88dedd8b25dfd7ae1f3296fbd4bd2 Mon Sep 17 00:00:00 2001 From: Alex Hedges Date: Tue, 3 Sep 2024 16:18:45 -0400 Subject: [PATCH] Lower minimum required version of `importlib.metadata` I had problems installing a package that required `daidepp` because `daidepp` requires too recent a version of `importlib.metadata`. Commit d31a7d5[^1] added the requirement for `importlib.metadata` with a minimum version of `6.0.0`. The commit was made on 2023-02-08, and `6.0.0` was the latest version available at the time.[^2] However, according to the README,[^3] `1.4.0` was the version used by the Python 3.8 stdlib, so no newer version is needed. I have loosened the requirement accordingly. [^1]: https://github.com/SHADE-AI/daidepp/commit/d31a7d5b620eec3220631db723957dfb376f1085 [^2]: https://pypi.org/project/importlib-metadata/#history [^3]: https://pypi.org/project/importlib-metadata/#description --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index bbca534..ef3ba99 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,7 @@ packages = find: python_requires = >=3.7 install_requires = parsimonious==0.9.0 - importlib-metadata>=6.0.0 ; python_version < "3.8" + importlib-metadata>=1.4.0 ; python_version < "3.8" [options.packages.find] where = src