diff --git a/.gitignore b/.gitignore index 89824507c5..83516c7896 100644 --- a/.gitignore +++ b/.gitignore @@ -43,7 +43,7 @@ scripts/ci/gcp-creds.json .gcp-creds.json *~ -/dvc/_dvc_version.py +/dvc/_version.py .mypy_cache/ .pytest_cache/ diff --git a/dvc/version.py b/dvc/version.py index c9275fd777..f9b59c94ad 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -1,6 +1,6 @@ try: - from ._dvc_version import version as __version__ # type: ignore[import] - from ._dvc_version import version_tuple # type: ignore[import] + from ._version import version as __version__ # type: ignore[import] + from ._version import version_tuple # type: ignore[import] except ImportError: __version__ = "UNKNOWN" version_tuple = (0, 0, __version__) # type: ignore[assignment] diff --git a/pyproject.toml b/pyproject.toml index 3bc70fa2a4..48ca5bb6b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "attrs>=22.2.0", "celery", "colorama>=0.3.9", - "configobj>=5.0.6", + "configobj>=5.0.9", "distro>=1.3", "dpath<3,>=2.1.0", "dulwich", @@ -156,7 +156,7 @@ exclude = ["tests", "tests.*"] namespaces = false [tool.setuptools_scm] -write_to = "dvc/_dvc_version.py" +write_to = "dvc/_version.py" [tool.pytest.ini_options] addopts = "-ra --cov-config pyproject.toml"