Skip to content

Conversation

skshetry
Copy link
Collaborator

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:
pypa/setuptools-scm#455 (comment).

…load

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:
pypa/setuptools-scm#455 (comment).
@skshetry skshetry merged commit b824bc4 into main Apr 10, 2025
40 of 41 checks passed
@skshetry skshetry deleted the test-pypi-no-local-version branch April 10, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant