diff options
Diffstat (limited to 'src/setuptools_scm/version.py')
-rw-r--r-- | src/setuptools_scm/version.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/setuptools_scm/version.py b/src/setuptools_scm/version.py index 16992d3..bbd28a6 100644 --- a/src/setuptools_scm/version.py +++ b/src/setuptools_scm/version.py @@ -12,7 +12,7 @@ from typing import Callable from typing import Match from typing import TYPE_CHECKING -from ._entrypoints import _call_version_scheme +from . import _entrypoints from ._modify_version import _bump_dev from ._modify_version import _bump_regex from ._modify_version import _dont_guess_next_version @@ -414,12 +414,12 @@ def format_version(version: ScmVersion, **config: Any) -> str: if version.preformatted: assert isinstance(version.tag, str) return version.tag - main_version = _call_version_scheme( + main_version = _entrypoints._call_version_scheme( version, "setuptools_scm.version_scheme", config["version_scheme"], None ) trace("version", main_version) assert main_version is not None - local_version = _call_version_scheme( + local_version = _entrypoints._call_version_scheme( version, "setuptools_scm.local_scheme", config["local_scheme"], "+unknown" ) trace("local_version", local_version) |