hatch-vcs
hatch-vcs copied to clipboard
pyproject section warning
I am just moving to hatch-vcs
and after installing and adding minimal config to my pyproject.toml
I am getting the following warning when running hatch build
:
WARNING pyproject.toml does not contain a tool.setuptools_scm section
pyproject.toml
[project]
...
dynamic = ["version"]
...
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "mypackage/_version.py"
Versions:
hatch==1.9.1
hatch-vcs==0.4.0
hatchling==1.21.0
setuptools-scm==8.0.4
Is this warning expected? Is there a good way to mute it without just making a dummy section in my pyproject.toml
?