Skip to content
Merged
Show file tree
Hide file tree
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/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"""Configuration for generating readthedocs docstrings."""
from __future__ import absolute_import

import pkg_resources
from importlib.metadata import version as _get_distribution_version
from datetime import datetime
import sys
import os
Expand All @@ -22,7 +22,7 @@
from doc_utils.jumpstart_doc_utils import create_jumpstart_model_table # noqa: E402

project = "sagemaker"
version = pkg_resources.require(project)[0].version
version = _get_distribution_version(project)

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies = [
"platformdirs",
"protobuf>=3.12,<7.0",
"psutil",
"pytz",
"PyYAML>=6.0.1",
"requests",
"sagemaker-core>=1.0.71,<2.0.0",
Expand Down
Loading