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

Retrieve version via importlib.metadata in docs/conf.py #1161

Closed
jakob-keller opened this issue Aug 21, 2024 · 0 comments · Fixed by #1165
Closed

Retrieve version via importlib.metadata in docs/conf.py #1161

jakob-keller opened this issue Aug 21, 2024 · 0 comments · Fixed by #1165
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@jakob-keller
Copy link
Collaborator

          Technically, it's best to have the project installed into the same venv as Sphinx and then, there's an stdlib library to retrieve the installed metadata. That would be `importlib.metadata.version('aiobotocore')`. That would be the most accurate info you can get.

Originally posted by @webknjaz in #1160 (comment)

@jakob-keller jakob-keller added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 21, 2024
jakob-keller added a commit to jakob-keller/aiobotocore that referenced this issue Aug 21, 2024
jakob-keller added a commit to jakob-keller/aiobotocore that referenced this issue Aug 21, 2024
@jakob-keller jakob-keller mentioned this issue Aug 21, 2024
13 tasks
@jakob-keller jakob-keller self-assigned this Aug 21, 2024
jakob-keller added a commit to jakob-keller/aiobotocore that referenced this issue Aug 21, 2024
jakob-keller added a commit to jakob-keller/aiobotocore that referenced this issue Aug 21, 2024
chemelli74 pushed a commit to chemelli74/aiobotocore that referenced this issue Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant