<#1066 fix publish CI> Pull request opened by <cos...
# flyte-github
a
#1066 fix publish CI Pull request opened by cosmicBboy This pull request makes a targeted improvement to the publishing workflow to ensure that Python package wheels are built with a valid version string for PyPI uploads. Specifically, it addresses an issue where modifying
pyproject.toml
could result in setuptools_scm generating a local version string that PyPI rejects. The workflow now explicitly pins the version using an environment variable. Publishing workflow improvements: •
.github/workflows/publish.yml
: Added logic to set the
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTE
environment variable to the release tag, ensuring that the wheel is built with a valid version string for PyPI, even when the git working tree is dirty after editing
pyproject.toml
. flyteorg/flyte-sdk