hatch-vcs icon indicating copy to clipboard operation
hatch-vcs copied to clipboard

Hatch plugin for versioning with your preferred VCS

Results 16 hatch-vcs issues
Sort by recently updated
recently updated
newest added

I'm using hatch-vcs and want it to produce the _version.py file at the root of the package. However it creates it at the same level as the pyproject.toml file and...

I have a project with multiple sub-directories for packages. With setuptools_scm you can do root="../.." but with hatch-vcs I suspect that is fixed to the root of the project. https://github.com/ofek/hatch-vcs/blob/master/hatch_vcs/version_source.py#L54...

When building my project locally (on windows 10), I get the version as : 5.0.1.dev32+gdd533cb3 which is what is expected since I dit commits since the last tagging to 5.0.1...

The `tag-pattern` seems to only match on latest tag in the repo. How can I pass the `match` argument to git to filter out tags?

How can I use the plugin to get the version when the .git folder is n levels up?

my latest tag is v1.1.0 , however, after build, the generated package verison is v1.1.1, why?