Skip to content

Commit 6eaf2c1

Browse files
Update source dist build command from deprecated
1 parent aa34a68 commit 6eaf2c1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/test-source-dist.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ jobs:
112112
shell: bash -l {0}
113113
working-directory: ${{ github.workspace }}/main
114114
run: |
115-
python setup.py sdist
115+
# Previously 'python setup.py sdist', but this is now deprecated
116+
python -m build
116117
# Get the cf-python version and put it in an environment variable for
117118
# the next step (only available in steps subsequent to one set in).
118119
echo "CF_VERSION=$(python setup.py --version 2> /dev/null)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)