-
-
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
importlib_metadata.metadata("")
start raising ValueError since 4.12.0
#395
Comments
The fact that Because it was a backward-incompatible change introduced in a point release, it's conceivable that we should roll back the change, and then re-apply the change in a major release (5.0), but I suspect that wouldn't help your situation. Would that help any more than for you to pin to <4.12?
|
The core problem for us is that it affects the already released version that is available on pypi. New releases are working, but in science, it sometimes needs to install old releases for reproducibility. But if you think that such change is wrong we will try to put proper information in documentation. |
I understand reproducibility is important. In that case, the best thing to do to maintain reproducibility and compatibility is not to update importlib_resources (keep the pin to
Indeed, I don't see a way short of restoring the prior behavior and re-introducing the bug. I'm not sure what documentation you speak of, but yes, I'd recommend to link to this issue to inform any users affected. Thanks. |
Hello,
In
napari
we use the following code to check the metadata of the package used as a launcher of the application:as
importlib_metadata
is replacement forimportlib.metadata
then there is inconsitece as for python 3.8-3.10 the following code executes correctly:but
ends with error from #391
I found this issue, but as I understand that solution will impact python 3.11 or python 3.12
python/cpython#93259
it is possible to restore old behaviour for old version of python to not break existing code? I understand that new version of libraries should be fixed, but such updates should not break existing code.
The text was updated successfully, but these errors were encountered: