diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d098e49..87f38d4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -204,6 +204,8 @@ jobs: ls dist/ auditwheel show dist/pywlroots-*.whl auditwheel repair --plat manylinux_2_28_x86_64 -w output_wheels dist/pywlroots-*.whl + env: + PIP_CONSTRAINT=dist-build-constraints.txt - name: Upload wheel uses: actions/upload-artifact@v3 with: @@ -257,6 +259,8 @@ jobs: ls dist/ auditwheel show dist/pywlroots-*.whl auditwheel repair --plat manylinux_2_28_x86_64 -w output_wheels dist/pywlroots-*.whl + env: + PIP_CONSTRAINT=dist-build-constraints.txt - name: Upload wheel uses: actions/upload-artifact@v3 with: @@ -346,6 +350,8 @@ jobs: - name: Build source run: | python -m build --sdist + env: + PIP_CONSTRAINT=dist-build-constraints.txt - name: Upload source uses: actions/upload-artifact@v3 with: diff --git a/dist-build-constraints.txt b/dist-build-constraints.txt new file mode 100644 index 00000000..d6b6fc27 --- /dev/null +++ b/dist-build-constraints.txt @@ -0,0 +1 @@ +xkbcommon<1.5