AnandInguva commented on code in PR #22635:
URL: https://github.com/apache/beam/pull/22635#discussion_r941337047
##########
.github/workflows/build_wheels.yml:
##########
@@ -240,6 +240,7 @@ jobs:
working-directory: apache-beam-source
env:
CIBW_BUILD: ${{ matrix.os_python.python }}
+ CIBW_ENVIRONMENT: "SETUPTOOLS_USE_DISTUTILS=stdlib"
Review Comment:
So the image cibuildwheel uses has a very old setuptools. For the effort to
support python 3.10, I would need setuptools>=60 since the stdlib distutils
module is deprecated and distutils provided by setuptools is recommended to
use.
Cibuildwheel==1.11.0 uses get-pip.py to install packages. This combined with
latest version of setuptools fails because in the setuptools, there is an
assertion statement which checks if _distutils is imported or not.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]