You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ informational version string `VERSION` set by `bdbag` when it is running in a "f
6
6
In such cases, `VERSION` is set to something like `1.7.1-frozen`, which is not `PEP-440` compliant.
7
7
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.
8
8
9
-
The code in `upgrade_config()` has been changed to parse the `PEP-440` compliant version returned by `packaging.parse`
9
+
The code in `upgrade_config()` has been changed to parse the `PEP-440` compliant version returned by `distribution("bdbag").version` function from `importlib_metadata`,
10
10
rather than use the global string `VERSION`, which can still be (and is) used elsewhere for purely informational and descriptive purposes.
0 commit comments