mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
ci(build): use envvar override to omit local version for Test PyPI upload (#10720)
Uses `SETUPTOOLS_SCM_OVERRIDES_FOR_DVC` to omit the local version when uploading to Test PyPI. This is needed because (Test) PyPI does not support local version. This requires bumping minimum version of `setuptools_scm` to `8.0.0`. The envvar is documented here: https://setuptools-scm.readthedocs.io/en/latest/overrides/. Also see: https://github.com/pypa/setuptools-scm/issues/455#issuecomment-2791301186.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[build-system]
|
||||
build-backend = "setuptools.build_meta"
|
||||
requires = ["setuptools>=77", "setuptools_scm[toml]>=7"]
|
||||
requires = ["setuptools>=77", "setuptools_scm[toml]>=8"]
|
||||
|
||||
[project]
|
||||
name = "dvc"
|
||||
|
||||
Reference in New Issue
Block a user