Add rich.__version__
See original GitHub issuerich
should have __version__
property.
AttributeError: module 'rich' has no attribute '__version__'
This is a common python convention to tell package version easily.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Declaring Rich Versions - Gradle User Manual
Rich version declaration is accessed through the version DSL method on a dependency or constraint declaration which gives access to MutableVersionConstraint.
Read more >rich - PyPI
Rich is a Python library for rich text and beautiful formatting in the terminal. The Rich API makes it easy to add color...
Read more >Introduction — Rich 12.6.0 documentation
Rich is a Python library for writing rich text (with color and style) to the terminal, and for displaying advanced content such as...
Read more >Add rich.__version__ · Issue #15 · Textualize/rich - GitHub
I use poetry to do packaging, which recommends pkg_resources to get the version from meta data. They initially recommended dropping ...
Read more >About Rich Edit Controls - Win32 apps | Microsoft Learn
Each version of rich edit is a superset of the preceding one, ... For RTF roundtripping only, added amount to space between letters, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the feedback. But why is it closed (it’s still unimplemented)? Even though poetry is used, we could add this property with a workaround.
It was a standard of sorts, but now importlib is recommended, and
__version__
is a convenience.Unless poetry has an answer to this that doesn’t require a backport of importlib, I’m afraid there is no motivation to change it.