File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,10 @@ jobs:
101101 with :
102102 python-version : ' 3.x'
103103 - name : " Install cibuildwheel"
104- run : python -m pip install cibuildwheel==2.16.5
104+ # Need to limit setuptools here in order to apply limitations for transitive dependencies
105+ run : |
106+ python -m pip install cibuildwheel==2.16.5
107+ echo "setuptools<82" > /tmp/build-constraints.txt
105108 - name : " Build python wheels for ${{ matrix.os_name }}"
106109 run : python -m cibuildwheel --output-dir flink-python/dist flink-python
107110 env :
@@ -116,6 +119,7 @@ jobs:
116119 CIBW_REPAIR_WHEEL_COMMAND_LINUX : " auditwheel repair -w {dest_dir} {wheel}"
117120 # Skip repair on MacOS
118121 CIBW_REPAIR_WHEEL_COMMAND_MACOS : " "
122+ PIP_CONSTRAINT : /tmp/build-constraints.txt
119123 - name : " Upload python wheels"
120124 uses : actions/upload-artifact@v4
121125 with :
Original file line number Diff line number Diff line change 1919# Minimum requirements for the build system to execute.
2020requires = [
2121 " packaging>=20.5; platform_machine=='arm64'" , # macos M1
22- " setuptools>=75.3" ,
22+ " setuptools>=75.3,<82 " ,
2323 " wheel" ,
2424 " cython>=0.29.24,<3; sys_platform == 'darwin' and python_version == '3.8'" ,
2525 " fastavro==1.7.4; sys_platform == 'darwin' and python_version == '3.8'" ,
@@ -30,7 +30,7 @@ requires = [
3030[dependency-groups ]
3131dev = [
3232 " pip>=20.3" ,
33- " setuptools>=75.3" ,
33+ " setuptools>=75.3,<82 " ,
3434 " wheel" ,
3535 " apache-beam>=2.54.0,<=2.61.0" ,
3636 " cython>=0.29.24" ,
You can’t perform that action at this time.
0 commit comments