From ba61c4cc553427141a96719571abbc6e4009dab6 Mon Sep 17 00:00:00 2001 From: mikedarcy Date: Sat, 29 Jul 2023 20:27:59 -0700 Subject: [PATCH] Fix inaccurate wording. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bcf0f5..df94fe3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ informational version string `VERSION` set by `bdbag` when it is running in a "f In such cases, `VERSION` is set to something like `1.7.1-frozen`, which is not `PEP-440` compliant. This was not an issue in previous releases due to the fact that the implementation used `pkg_resources.parse_version` which was not as strict. -The code in `upgrade_config()` has been changed to parse the `PEP-440` compliant version returned by `packaging.parse` +The code in `upgrade_config()` has been changed to parse the `PEP-440` compliant version returned by `distribution("bdbag").version` function from `importlib_metadata`, rather than use the global string `VERSION`, which can still be (and is) used elsewhere for purely informational and descriptive purposes. ## 1.7.0