-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove importlib_metadata.__version__. - [merged] #248
Comments
In GitLab by @jaraco on Jun 14, 2020, 17:02 added 1 commit
|
In GitLab by @codecov on Jun 14, 2020, 17:08 Codecov Report
@@ Coverage Diff @@
## master #125 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 282 281 -1
Branches 21 21
=========================================
- Hits 282 281 -1
Continue to review full report at Codecov.
|
In GitLab by @warsaw on Jun 15, 2020, 24:40 We might be! Have you seen this blog post by Brett? It's true that module version numbers have weird semantics for standalone packages of stdlib libraries. IIRC the standalone It's also true that I do think it's better in the long run to promote package metadata and using these APIs to get at the version numbers, so +1 if you want to remove them here! |
In GitLab by @jaraco on Jun 26, 2020, 22:42 approved this merge request |
In GitLab by @jaraco on Jun 26, 2020, 22:42 merged |
In GitLab by @jaraco on Jun 14, 2020, 16:58
Merges bugfix/remove-dunder-version -> master
As discussed in importlib_resources#100, there's little value in exposing a
__version__
, despite PEP 396 recommending one.What do you think, Barry? Are we on the cusp of a post-PEP-396 world? Should we create a new pep to supersede 396 that recommends against
__version__
and recommends instead that packages not present a__version__
if they are part of a distribution package (i.e. have metadata)?The text was updated successfully, but these errors were encountered: