Skip to content

Flask quickstart error: command 'g++' failed: No such file or directory greenlet #56

Description

@chrisjsimpson

Is your feature request related to a problem? Please describe.

Problem: flask quickstart project deploy job fails to build due to greenlet change in build requirements

14.17       running build_ext
14.17       building 'greenlet._greenlet' extension
14.17       creating build/temp.linux-x86_64-cpython-314/src/greenlet
14.17       g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.14 -c src/greenlet/greenlet.cpp -o build/temp.linux-x86_64-cpython-314/src/greenlet/greenlet.o
14.17       error: command 'g++' failed: No such file or directory
14.17       [end of output]
14.17   
14.17   note: This error originates from a subprocess, and is likely not a problem with pip.
14.18   ERROR: Failed building wheel for greenlet
14.18 Failed to build greenlet
14.36 
14.36 [notice] A new release of pip is available: 25.2 -> 25.3
14.36 [notice] To update, run: pip install --upgrade pip
14.36 error: failed-wheel-build-for-install
14.36 
14.36 × Failed to build installable wheels for some pyproject.toml based projects
14.36 ╰─> greenlet
------
Dockerfile:6
--------------------
   4 |     WORKDIR /usr/src/app
   5 |     COPY requirements.txt /usr/src/app/
   6 | >>> RUN pip install -U -r requirements.txt
   7 |     COPY ./web /usr/src/app/
   8 |     COPY ./entrypoint.sh /

Describe the solution you'd like
Build should build out of box as before..

Describe alternatives you've considered

Additional context
( #55 related end result- different cause)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions