Uh oh!
There was an error while loading. Please reload this page.
gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when delegated through PathFinder. - #116812
Conversation
jaraco
commented
Mar 14, 2024
I guess this change should be backported, since it fixes a missed expectation that the cache invalidation was happening. I don't feel strongly about it, though. |
jaraco
commented
Mar 14, 2024
In order not to have too many open threads, I'm going to merge this, but feel free to comment if you have concerns and we can revisit or roll back if needed. |
Thanks @jaraco for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @jaraco, I could not cleanly backport this to |
Sorry, @jaraco, I could not cleanly backport this to |
bedevere-bot
commented
Mar 14, 2024
|
…s reachable when delegated through PathFinder. (pythonGH-116812) * Make MetadataPathFinder a proper classmethod. * In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches. * Add blurb (cherry picked from commit 5f52d20) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
jaraco
commented
Mar 15, 2024
The backports failed due to conflicts created by the introduction of marginally-useful type hints, in this case the |
jaraco
commented
Mar 15, 2024
Investigating the buildbot failure, I see: and I suspect these failures are environmental and transient and not caused by this change. |
jaraco
commented
Mar 15, 2024
GH-116864 is a backport of this pull request to the 3.12 branch. |
…s reachable when delegated through PathFinder. (pythonGH-116812) * Make MetadataPathFinder a proper classmethod. * In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches. * Add blurb (cherry picked from commit 5f52d20) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
GH-116865 is a backport of this pull request to the 3.11 branch. |
…hen delegated through PathFinder. (python/cpython#116812) * Make MetadataPathFinder a proper classmethod.
…able when delegated through PathFinder. (python#116812) * Make MetadataPathFinder a proper classmethod. * In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches. * Add blurb
…0.2 to version 7.1.0 Jason R. Coombs (13): gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when delegated through PathFinder. (python/cpython#116812) Add support for python/cpython references Fix test failures on older Pythons with os_helper shim. Copied 'from_test_support' from importlib_resources. Moved compatibility module to compat package. Moved compatibility module to compat package. Remove legacy logic for Python 3.7. Moved compatibility tests to the compat package, as they're not included in CPython. Consolidated test support logic in jaraco.test.cpython. Copy backport of isolated_modules from importlib_resources. Ensure tests do not leak references in sys.modules. Make MetadataPathFinder.find_distributions a classmethod for consistency with CPython. Closes #484. Need to include names from test.support for py312 compat. Finalize Petr Viktorin (1): gh-114107: Fix symlink test if symlinks aren't supported (python/cpython#114108) Shantanu (1): gh-109653: Improve import time of importlib.metadata / email.utils (python/cpython#114664)
…able when delegated through PathFinder. (python#116812) * Make MetadataPathFinder a proper classmethod. * In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches. * Add blurb
…able when delegated through PathFinder. (python#116812) * Make MetadataPathFinder a proper classmethod. * In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches. * Add blurb

Uh oh!
There was an error while loading. Please reload this page.