-
Notifications
You must be signed in to change notification settings - Fork 23
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
[BUG]: importlib.metadata
error in python 3.11.6
#72
Comments
Ayup. Sorry, I borked it trying to resolve new PyPI and packaging
shenanigans. I then made it worse in PyPi itself with ghost versions.
Unfortunately I don’t have time to figure it out, specifically the “test”
garbage that would need to get setup in the GHA before actually deploying a
new package.
Basically at some point setup.py fell out of favor and now there are
multiple ways to do it, but none of them actually work as simply as it
should be - to get the version from the file. I give up, waving the white
flag. I will try and archive this bad version so at least the install
works. But I’ve moved in to a Rust-based version of this utility.
…On Fri, Mar 29, 2024 at 1:59 AM Zack Kollar ***@***.***> wrote:
After running pip install clikan and executing the clikan command I get
this error:
Traceback (most recent call last):
File "/usr/local/bin/clikan", line 5, in <module>
from clikan import clikan
File "/usr/local/lib/python3.11/site-packages/clikan.py", line 15, in <module>
VERSION = importlib.metadata.version('clikan')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'metadata'
—
Reply to this email directly, view it on GitHub
<#72>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABBGJRMIC3MHICIBMEJ2TY2T7M3AVCNFSM6AAAAABFN7A55WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTINZRGM2DINY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
If you could point me to that I'd love to check it out! |
https://github.com/kitplummer/cliban - note that it isn't as featured-up as
this one. but works as a binary install.
…On Wed, Apr 3, 2024 at 2:05 AM Zack Kollar ***@***.***> wrote:
But I’ve moved in to a Rust-based version of this utility.
If you could point me to that I'd love to check it out!
—
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABBGJWXTF2SYW7NY2A3SDY3OLZDAVCNFSM6AAAAABFN7A55WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZTGYZDQNZWGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi Sorry to read this.
|
not sure if this fixes the problem completely - but you can run it using this library: https://importlib-metadata.readthedocs.io/en/latest/ ref: https://stackoverflow.com/questions/59216175/importerror-cannot-import-name-metadata-from-importlib |
After running
pip install clikan
and executing theclikan
command I get this error:The text was updated successfully, but these errors were encountered: