Skip to content
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

[REQUEST] Rich return version property #291

Closed
oleksis opened this issue Sep 18, 2020 · 2 comments
Closed

[REQUEST] Rich return version property #291

oleksis opened this issue Sep 18, 2020 · 2 comments

Comments

@oleksis
Copy link
Contributor

oleksis commented Sep 18, 2020

I would like to know the version of Rich if I am using it as a dependency. Something like:

python -c "import rich; print(rich.__version__)"
6.2.0
@oleksis
Copy link
Contributor Author

oleksis commented Sep 18, 2020

The answer!
#282 (comment)

@oleksis oleksis closed this as completed Sep 18, 2020
@oleksis
Copy link
Contributor Author

oleksis commented Sep 18, 2020

I would like to know the version of Rich if I am using it as a dependency. Something like:

python -c "import rich; print(rich.__version__)"
6.2.0
python -c "import importlib.metadata; print(importlib.metadata.version('rich'))"
6.2.0

python-poetry/poetry#2366 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant