-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Replace importlib_metadata with importlib.metadata on Python 3.8+ #5539
Conversation
OK, the failures indeed seem related, yet I'll let the CI show them here, so we can figure out what's the actual problem.
|
Codecov Report
@@ Coverage Diff @@
## features #5539 +/- ##
============================================
+ Coverage 96.08% 96.11% +0.02%
============================================
Files 117 117
Lines 25695 25698 +3
Branches 2493 2494 +1
============================================
+ Hits 24690 24699 +9
+ Misses 701 695 -6
Partials 304 304
Continue to review full report at Codecov.
|
the py38 failures make sense -- until |
I've tried with
And that didn't work either :( |
Hmmm strange then. Btw @hroncok this should target I will try to investigate this later too. |
14f4bf0
to
d68d5eb
Compare
retargeted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than my comment, LGTM! 👍
I'm hitting |
d68d5eb
to
15962e3
Compare
Oh I'm afraid not... please cherry-pick 9021194 into your branch |
Oh you just did it 😅 👍 |
(I have no idea how features vs. master works, so I've just cherrypicked it to be able to test it.) |
Hopefully by Python 3.9 this will be fixed upstream, if not we will need to bump the version again. Fix pytest-dev#5523
That's fine, thanks. |
330b71a
to
c54cbd6
Compare
How are bugfixes usually forward-ported from master to features? is there a huge merge before release? |
We do that periodically and before a release, it just happens that this was not done before the short-option fix landed. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a ton @hroncok!
@asottile want't to take a look or can we merge this? |
Thanks again @hroncok! |
[4.6] Replace importlib_metadata with importlib.metadata on Python 3.8+ (#5539)
Fixes #5537
features
branchUnless your change is trivial or a small documentation fix (e.g., a typo or reword of a small section) please:
changelog
folder, with a name like<ISSUE NUMBER>.<TYPE>.rst
. See changelog/README.rst for details.AUTHORS
in alphabetical order;I'm still running tox locally, there are some 3.8 failures, not yet sure if related.