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

Replace remaming usage of pkg_resources in doc build #1427

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import pkg_resources
import importlib.metadata

# -- General configuration -----------------------------------------------------

Expand Down Expand Up @@ -38,7 +38,7 @@
# built documents.
#
# The short X.Y version.
release = pkg_resources.get_distribution('gnocchi').version
release = importlib.metadata.version('gnocchi')

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
Loading