I'm looking for the equivalent of SETUPTOOLS_SCM_PRETEND_VERSION environment variable as available in setuptools-scm, for versioningit.
Would be great if that's possible without the need to write a custom versioningit method. My use case is a build in Docker where I can exclude the (huge) .git/ folder from the Docker context, have no dependency on git tooling in the image and just supply the version from the host as Docker build argument.
I'm looking for the equivalent of
SETUPTOOLS_SCM_PRETEND_VERSIONenvironment variable as available in setuptools-scm, for versioningit.Would be great if that's possible without the need to write a custom versioningit method. My use case is a build in Docker where I can exclude the (huge)
.git/folder from the Docker context, have no dependency on git tooling in the image and just supply the version from the host as Docker build argument.