Jason R. Coombs
Jason R. Coombs
> That sentiment does not seem to be generally shared (for example see thread starting in [pypa/pyproject-hooks#195 (comment)](https://github.com/pypa/pyproject-hooks/pull/195#discussion_r1586868076)). One of the main concerns is non-deterministic behaviour at runtime. My objective...
> Alternatively, `importlib_metadata` could get more aggressive about replacing stdlib-based MetadataPathFinders. In addition to the current patching of the stdlib finder, it could find any third party providers and patch...
After working on documentation for the proposed approach, I'm now reconsidering the strategy (of replacing instances). I'm wondering if instead, both libraries should expose (compatible) Protocols for `Distribution`, `PackagePath`, and...
As discovered in #463, the issue appears to be that something in the Python environment is causing modules to be reloaded and thus the object imported for `test_main` changes from...
> I just tried to test `importlib_metadata 7.0.0` and I found that one more test started to fail: This behavior reinforces my my suspicion that something in the environment is...
My suggestion for a next step - in the environment where the tests are failing, add a breakpoint [here in the install routine](https://github.com/python/importlib_metadata/blob/f5d6b5f3f3f6fffe01b340c5a19562433db148a9/importlib_metadata/_compat.py#L17) and inspect what's happening in `disable_stdlib_finder` -...
I don't experience that issue on macOS or Windows, so it must be unique to Linux or possibly your shell.
Possible duplicate of #7822 (though slightly different manifestation).
> @zanieb - We may want to instead take the last line rather than the full output? \cc @jaraco in case you have advice on the contract that we should...
> We should probably just provide an option to invoke a Python interpreter to call into keyring. Sounds like you may be on the same page. Do be careful here,...