We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is the lack of __version__ intentional / necessary?
__version__
$ mamba list lazy-loader # packages in environment at /opt/mambaforge/envs/mnedev: # # Name Version Build Channel lazy-loader 0.3 pypi_0 pypi
In [1]: import lazy_loader In [2]: lazy_loader.__version__ --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[2], line 1 ----> 1 lazy_loader.__version__ AttributeError: module 'lazy_loader' has no attribute '__version__'
The text was updated successfully, but these errors were encountered:
No, that's silly!
Sorry, something went wrong.
I thought so, but I'm often surprised by corner cases / some reason I never would have guessed.
jinja2
pooch
sys_info
Note that for packages that do not provide __version__, you can use importlib.metadata: metadata.version('lazy_loader')
importlib.metadata
metadata.version('lazy_loader')
Successfully merging a pull request may close this issue.
Is the lack of
__version__
intentional / necessary?The text was updated successfully, but these errors were encountered: