-
Notifications
You must be signed in to change notification settings - Fork 9
Avoid pkg_resources at runtime #25
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
Avoid pkg_resources at runtime #25
Conversation
|
|
pkg_resources is scheduled to be removed in 2025-11-30 but altgraph still uses it to query its own version. There is an open pull request to altgraph to fix it (ronaldoussoren/altgraph#25) but it's showing no signs getting merged. Monkeypatch a fake pkg_resources into sys.modules when importing altgraph so that its version query doesn't take out PyInstaller come 2025-11-30.
pkg_resources is scheduled to be removed in 2025-11-30 but altgraph still uses it to query its own version. There is an open pull request to altgraph to fix it (ronaldoussoren/altgraph#25) but it's showing no signs getting merged. Monkeypatch a fake pkg_resources into sys.modules when importing altgraph so that its version query doesn't take out PyInstaller come 2025-11-30.
pkg_resources is scheduled to be removed in 2025-11-30 but altgraph still uses it to query its own version. There is an open pull request to altgraph to fix it (ronaldoussoren/altgraph#25) but it's showing no signs getting merged. Monkeypatch a fake pkg_resources into sys.modules when importing altgraph so that its version query doesn't take out PyInstaller come 2025-11-30.
|
Hi. Any reason why this hasn't merged yet after being approved in June? |
|
Still not merged? What is the plan to deal with this further? |
|
I'm afraid this package is not actively maintained anymore... |
|
I've been busy at work, and this package generally only sees minor upgrades for new versions of Python. This means this package gets minimal attention. I'll push out a release that usage of pkg_resources soon. |
|
I've implemented a different solution: just accept that I'll have to update both version and setup.cfg for new versions. |
|
Thanks @ronaldoussoren |
Addresses #12 in as backwards compatible as you can get, without forcing a dependency on the
importlib_metadatabackport.Alternative to #24