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
The current version of "Single-sourcing the package version" has an example using pkg_resources. It would probably make sense to include an item using importlib.metadata since it will be standard in 3.8+ with a backport as importlib_metadata and can serve the same purpose. That may look like
I suggest that we close this out and file a separate issue for improving the option 5 to de-emphasize pkg_resources and prefer importlib.metadata on 3.8+.
The current version of "Single-sourcing the package version" has an example using
pkg_resources
. It would probably make sense to include an item usingimportlib.metadata
since it will be standard in 3.8+ with a backport asimportlib_metadata
and can serve the same purpose. That may look likeThe text was updated successfully, but these errors were encountered: