:wave: My GHA deploy action is failing with the fo...
# dagster-plus
x
👋 My GHA deploy action is failing with the following error in the
Build and deploy to Dagster Cloud serverless
step:
Copy code
#15 28.12       g++ -std=c++11 -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/local/include/python3.8 -c buildutils/initlibzmq.cpp -o build/temp.linux-x86_64-cpython-38/buildutils/initlibzmq.o
#15 28.12       error: command 'g++' failed: No such file or directory
#15 28.12       [end of output]
#15 28.12   
#15 28.12   note: This error originates from a subprocess, and is likely not a problem with pip.
#15 28.12   ERROR: Failed building wheel for pyzmq
#15 28.12 Successfully built wkflw promise
#15 28.12 Failed to build pyzmq
#15 28.12 ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
#15 ERROR: process "/bin/sh -c if [ -f \"requirements.txt\" ]; then         pip install -r requirements.txt;     fi" did not complete successfully: exit code: 1
------
 > [ 9/11] RUN if [ -f "requirements.txt" ]; then         pip install -r requirements.txt;     fi:
#15 28.12       creating build/temp.linux-x86_64-cpython-38/bundled/zeromq/src
#15 28.12       g++ -std=c++11 -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/local/include/python3.8 -c buildutils/initlibzmq.cpp -o build/temp.linux-x86_64-cpython-38/buildutils/initlibzmq.o
#15 28.12       error: command 'g++' failed: No such file or directory
#15 28.12       [end of output]
#15 28.12   
#15 28.12   note: This error originates from a subprocess, and is likely not a problem with pip.
#15 28.12   ERROR: Failed building wheel for pyzmq
#15 28.12 Successfully built wkflw promise
#15 28.12 Failed to build pyzmq
#15 28.12 ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
------
Dockerfile:24
--------------------
  23 |     # Install the rest of dependencies in case there is a requirements.txt
  24 | >>> RUN if [ -f "requirements.txt" ]; then \
  25 | >>>         pip install -r requirements.txt; \
  26 | >>>     fi
  27 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c if [ -f \"requirements.txt\" ]; then         pip install -r requirements.txt;     fi" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c if [ -f \"requirements.txt\" ]; then         pip install -r requirements.txt;     fi" did not complete successfully: exit code: 1
Builds were 👌 yesterday
d
Hi Xuan - it looks like an upstream dependency of your build did a new release less than an hour ago and the wheels have yet to be released: https://pypi.org/project/pyzmq/#history I suspect if you add a “pyzmq==24.0.0” to your requirements.txt it will unblock your build until the upstream library is able to sort that out.
x
Thank you for the quick response! thank you box thankewe
condagster 1