yehoshuadimarsky commented on issue #37785:
URL: https://github.com/apache/airflow/issues/37785#issuecomment-1973840615

   Edit #3: Followed instructions here 
https://docs.docker.com/engine/install/debian/ to setup Docker with BuildKit on 
GH Codespaces, now I can build the image. It ran for a while, but then failed 
with this output:
   
   <details>
   
   ```
   root@53324cd94090:/opt/airflow# docker build . \
       --build-arg PYTHON_BASE_IMAGE="python:3.8-slim-bookworm" \
       --build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
       --tag "my-tag:0.0.1"
   [+] Building 268.2s (61/75)                                                  
                                                                                
                                                        docker:default
    => [internal] load .dockerignore                                            
                                                                                
                                                                  0.3s
    => => transferring context: 3.08kB                                          
                                                                                
                                                                  0.0s
    => [internal] load build definition from Dockerfile                         
                                                                                
                                                                  0.3s
    => => transferring dockerfile: 69.12kB                                      
                                                                                
                                                                  0.0s
    => resolve image config for docker.io/docker/dockerfile:1.4                 
                                                                                
                                                                  0.5s
    => [auth] docker/dockerfile:pull token for registry-1.docker.io             
                                                                                
                                                                  0.0s
    => 
docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc
                                                                                
                     0.7s
    => => resolve 
docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc
                                                                                
                         0.1s
    => => 
sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 2.00kB 
/ 2.00kB                                                                        
                                                         0.0s
    => => 
sha256:ad87fb03593d1b71f9a1cfc1406c4aafcb253b1dabebf569768d6e6166836f34 528B / 
528B                                                                            
                                                         0.0s
    => => 
sha256:1e8a16826fd1c80a63fa6817a9c7284c94e40cded14a9b0d0d3722356efa47bd 2.37kB 
/ 2.37kB                                                                        
                                                         0.0s
    => => 
sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 9.94MB 
/ 9.94MB                                                                        
                                                         0.2s
    => => extracting 
sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546         
                                                                                
                                             0.2s
    => [internal] load metadata for docker.io/library/python:3.8-slim-bookworm  
                                                                                
                                                                  0.6s
    => [auth] library/python:pull token for registry-1.docker.io                
                                                                                
                                                                  0.0s
    => [internal] preparing inline document                                     
                                                                                
                                                                  0.7s
    => [internal] preparing inline document                                     
                                                                                
                                                                  1.7s
    => [internal] preparing inline document                                     
                                                                                
                                                                  1.3s
    => [internal] preparing inline document                                     
                                                                                
                                                                  1.9s
    => [internal] preparing inline document                                     
                                                                                
                                                                  1.5s
    => [internal] preparing inline document                                     
                                                                                
                                                                  1.9s
    => [internal] preparing inline document                                     
                                                                                
                                                                  1.6s
    => [internal] preparing inline document                                     
                                                                                
                                                                  1.9s
    => [internal] settings cache mount permissions                              
                                                                                
                                                                  2.4s
    => [internal] preparing inline document                                     
                                                                                
                                                                  2.0s
    => [internal] preparing inline document                                     
                                                                                
                                                                  2.0s
    => [internal] preparing inline document                                     
                                                                                
                                                                  2.1s
    => [internal] preparing inline document                                     
                                                                                
                                                                  2.2s
    => [internal] load build context                                            
                                                                                
                                                                  1.0s
    => => transferring context: 69.12kB                                         
                                                                                
                                                                  0.0s
    => [internal] preparing inline document                                     
                                                                                
                                                                  2.2s
    => [main  1/19] FROM 
docker.io/library/python:3.8-slim-bookworm@sha256:23252009f10b4af8a8c90409c54a866473a251b001b74902f04631dd54cfccc8
                                                                                
       3.2s
    => => resolve 
docker.io/library/python:3.8-slim-bookworm@sha256:23252009f10b4af8a8c90409c54a866473a251b001b74902f04631dd54cfccc8
                                                                                
              1.2s
    => => 
sha256:23252009f10b4af8a8c90409c54a866473a251b001b74902f04631dd54cfccc8 1.86kB 
/ 1.86kB                                                                        
                                                         0.0s
    => => 
sha256:3e9292a5e3bc66896a7c1dd89d59626123fbc68f9c8d45db96eacd53b0ad4580 1.37kB 
/ 1.37kB                                                                        
                                                         0.0s
    => => 
sha256:809c394c4cffdc8d84af5418b1ecf9c3195b6b9b9b3412690951f30677727a56 6.97kB 
/ 6.97kB                                                                        
                                                         0.0s
    => [internal] preparing inline document                                     
                                                                                
                                                                  2.3s
    => [internal] preparing inline document                                     
                                                                                
                                                                  2.3s
    => [internal] preparing inline document                                     
                                                                                
                                                                  0.2s
    => [scripts  1/17] COPY <<EOF /install_os_dependencies.sh                   
                                                                                
                                                                  2.2s
    => [scripts  2/17] COPY <<EOF /install_mysql.sh                             
                                                                                
                                                                  0.4s
    => [scripts  3/17] COPY <<EOF /install_mssql.sh                             
                                                                                
                                                                  0.3s
    => [scripts  4/17] COPY <<EOF /install_postgres.sh                          
                                                                                
                                                                  0.2s
    => [scripts  5/17] COPY <<EOF /install_packaging_tools.sh                   
                                                                                
                                                                  0.2s
    => [scripts  6/17] COPY <<EOF 
/install_airflow_dependencies_from_branch_tip.sh                                
                                                                                
                                0.2s
    => [scripts  7/17] COPY <<EOF /common.sh                                    
                                                                                
                                                                  0.2s
    => [scripts  8/17] COPY <<EOF /pip                                          
                                                                                
                                                                  0.2s
    => [scripts  9/17] COPY <<EOF /install_from_docker_context_files.sh         
                                                                                
                                                                  0.2s
    => [scripts 10/17] COPY <<EOF /get_package_specs.py                         
                                                                                
                                                                  0.2s
    => [scripts 11/17] COPY <<EOF /install_airflow.sh                           
                                                                                
                                                                  0.2s
    => [scripts 12/17] COPY <<EOF /install_additional_dependencies.sh           
                                                                                
                                                                  0.2s
    => [scripts 13/17] COPY <<EOF /create_prod_venv.sh                          
                                                                                
                                                                  0.2s
    => [scripts 14/17] COPY <<EOF /create_prod_venv.sh                          
                                                                                
                                                                  0.2s
    => [scripts 15/17] COPY <<EOF /entrypoint_prod.sh                           
                                                                                
                                                                  0.2s
    => [scripts 16/17] COPY <<EOF /clean-logs.sh                                
                                                                                
                                                                  0.2s
    => [scripts 17/17] COPY <<EOF /airflow-scheduler-autorestart.sh             
                                                                                
                                                                  0.2s
    => [main  2/19] COPY --from=scripts install_os_dependencies.sh 
/scripts/docker/                                                                
                                                                               
0.3s
    => [airflow-build-image  3/16] RUN bash 
/scripts/docker/install_os_dependencies.sh dev                                  
                                                                                
                    170.5s
    => [main  3/19] RUN bash /scripts/docker/install_os_dependencies.sh runtime 
                                                                                
                                                                 67.6s
    => [main  4/19] COPY --from=scripts common.sh /scripts/docker/              
                                                                                
                                                                  0.4s
    => [main  5/19] COPY --from=scripts install_mysql.sh install_mssql.sh 
install_postgres.sh /scripts/docker/                                            
                                                                        0.5s
    => [main  6/19] RUN bash /scripts/docker/install_mysql.sh prod     && bash 
/scripts/docker/install_mssql.sh prod     && bash 
/scripts/docker/install_postgres.sh prod     && adduser --gecos "First 
Last,RoomNumber,WorkPho  33.0s
    => [airflow-build-image  4/16] COPY --from=scripts common.sh 
/scripts/docker/                                                                
                                                                                
 0.3s
    => [airflow-build-image  5/16] COPY --from=scripts install_mysql.sh 
install_mssql.sh install_postgres.sh /scripts/docker/                           
                                                                          0.3s
    => [airflow-build-image  6/16] RUN bash /scripts/docker/install_mysql.sh 
dev &&     bash /scripts/docker/install_mssql.sh dev &&     bash 
/scripts/docker/install_postgres.sh dev                                         
   25.8s
    => [airflow-build-image  7/16] RUN adduser --gecos "First 
Last,RoomNumber,WorkPhone,HomePhone" --disabled-password        --quiet 
"airflow" --uid "50000" --gid "0" --home "/home/airflow" &&     mkdir -p 
/opt/airflow && c  1.2s
    => [airflow-build-image  8/16] COPY --chown=50000:0 Dockerfile 
/docker-context-files                                                           
                                                                               
0.3s
    => [airflow-build-image  9/16] RUN if [[ -f /docker-context-files/pip.conf 
]]; then         mkdir -p /home/airflow/.config/pip;         cp 
/docker-context-files/pip.conf "/home/airflow/.config/pip/pip.conf";     fi;    
   0.5s
    => [airflow-build-image 10/16] COPY --from=scripts common.sh 
install_packaging_tools.sh      install_airflow_dependencies_from_branch_tip.sh 
create_prod_venv.sh /scripts/docker/                                            
 0.5s
    => [airflow-build-image 11/16] RUN bash 
/scripts/docker/install_packaging_tools.sh;     bash 
/scripts/docker/create_prod_venv.sh;     if [[ false == "true" &&         false 
== "false" &&         false == "false" ]]; the  14.0s
    => [airflow-build-image 12/16] COPY --chown=airflow:0 Dockerfile 
/Dockerfile                                                                     
                                                                             
0.3s
    => [airflow-build-image 13/16] WORKDIR /opt/airflow                         
                                                                                
                                                                  0.3s
    => [airflow-build-image 14/16] COPY --from=scripts 
install_from_docker_context_files.sh install_airflow.sh      
install_additional_dependencies.sh create_prod_venv.sh get_package_specs.py 
/scripts/docker/                  0.4s
    => ERROR [airflow-build-image 15/16] RUN 
--mount=type=cache,id=python:3.8-slim-bookworm-24.0-amd64-9,target=/tmp/.cache/pip,uid=50000
     if [[ false == "true" ]]; then         bash 
/scripts/docker/install_from_docker_c  43.6s
   ------
    > [airflow-build-image 15/16] RUN 
--mount=type=cache,id=python:3.8-slim-bookworm-24.0-amd64-9,target=/tmp/.cache/pip,uid=50000
     if [[ false == "true" ]]; then         bash 
/scripts/docker/install_from_docker_context_files.sh;     fi;     if ! airflow 
version 2>/dev/null >/dev/null; then         bash 
/scripts/docker/install_airflow.sh;     fi;     if [[ -n "" ]]; then         
bash /scripts/docker/install_additional_dependencies.sh;     fi;     find 
"/home/airflow/.local/" -name '*.pyc' -print0 | xargs -0 rm -f || true ;     
find "/home/airflow/.local/" -type d -name '__pycache__' -print0 | xargs -0 rm 
-rf || true ;     find "/home/airflow/.local" -executable ! -type l -print0 | 
xargs --null chmod g+x;     find "/home/airflow/.local" ! -type l -print0 | 
xargs --null chmod g+rw:
   0.722 
   0.722 Using 'uv' to install Airflow
   0.722 
   0.736   % Total    % Received % Xferd  Average Speed   Time    Time     Time 
 Current
   0.737                                  Dload  Upload   Total   Spent    Left 
 Speed
   100 18207  100 18207    0     0   143k      0 --:--:-- --:--:-- --:--:--  
144k
   0.864 
PATH=/home/airflow/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/mssql-tools/bin
   0.864 Using 'uv' to install Airflow
   0.866 uv on path: /home/airflow/.local/bin/uv
   0.872 Using uv: uv 0.1.13
   0.873 + uv pip install 
'apache-airflow[aiobotocore,amazon,async,celery,cncf-kubernetes,common-io,docker,elasticsearch,ftp,google,google-auth,graphviz,grpc,hashicorp,http,ldap,microsoft-azure,mysql,odbc,openlineage,pandas,postgres,redis,sendgrid,sftp,slack,snowflake,ssh,statsd,uv,virtualenv]==2.8.2'
 --constraint /home/airflow/constraints.txt
   0.873 
   0.873 Installing all packages with constraints and upgrade if needed
   0.873 
   7.668 Resolved 350 packages in 6.66s
   29.86 Downloaded 350 packages in 22.17s
   32.07 Installed 350 packages in 2.18s
   32.07  + adal==1.2.7
   32.07  + adlfs==2024.2.0
   32.07  + aiobotocore==2.11.2
   32.07  + aiofiles==23.2.1
   32.07  + aiohttp==3.9.3
   32.07  + aioitertools==0.11.0
   32.07  + aiosignal==1.3.1
   32.07  + alembic==1.13.1
   32.07  + amqp==5.2.0
   32.07  + anyio==4.3.0
   32.07  + apache-airflow==2.8.2
   32.07  + apache-airflow-providers-amazon==8.18.0
   32.07  + apache-airflow-providers-celery==3.6.0
   32.07  + apache-airflow-providers-cncf-kubernetes==8.0.0
   32.07  + apache-airflow-providers-common-io==1.3.0
   32.07  + apache-airflow-providers-common-sql==1.11.0
   32.07  + apache-airflow-providers-docker==3.9.1
   32.07  + apache-airflow-providers-elasticsearch==5.3.3
   32.07  + apache-airflow-providers-ftp==3.7.0
   32.07  + apache-airflow-providers-google==10.15.0
   32.07  + apache-airflow-providers-grpc==3.4.1
   32.07  + apache-airflow-providers-hashicorp==3.6.3
   32.07  + apache-airflow-providers-http==4.9.1
   32.07  + apache-airflow-providers-imap==3.5.0
   32.07  + apache-airflow-providers-microsoft-azure==9.0.0
   32.07  + apache-airflow-providers-mysql==5.5.3
   32.07  + apache-airflow-providers-odbc==4.4.1
   32.07  + apache-airflow-providers-openlineage==1.5.0
   32.07  + apache-airflow-providers-postgres==5.10.1
   32.07  + apache-airflow-providers-redis==3.6.0
   32.07  + apache-airflow-providers-sendgrid==3.4.0
   32.07  + apache-airflow-providers-sftp==4.9.0
   32.07  + apache-airflow-providers-slack==8.6.1
   32.07  + apache-airflow-providers-snowflake==5.3.1
   32.07  + apache-airflow-providers-sqlite==3.7.1
   32.08  + apache-airflow-providers-ssh==3.10.1
   32.08  + apispec==6.4.0
   32.08  + argcomplete==3.2.2
   32.08  + asgiref==3.7.2
   32.08  + asn1crypto==1.5.1
   32.08  + async-timeout==4.0.3
   32.08  + asyncssh==2.14.2
   32.08  + attrs==23.2.0
   32.08  + authlib==1.3.0
   32.08  + azure-batch==14.1.0
   32.08  + azure-common==1.1.28
   32.08  + azure-core==1.30.0
   32.08  + azure-cosmos==4.5.1
   32.08  + azure-datalake-store==0.0.53
   32.08  + azure-identity==1.15.0
   32.08  + azure-keyvault-secrets==4.8.0
   32.08  + azure-kusto-data==4.3.1
   32.08  + azure-mgmt-containerinstance==10.1.0
   32.08  + azure-mgmt-containerregistry==10.3.0
   32.08  + azure-mgmt-core==1.4.0
   32.08  + azure-mgmt-cosmosdb==9.4.0
   32.08  + azure-mgmt-datafactory==5.0.0
   32.08  + azure-mgmt-datalake-nspkg==3.0.1
   32.08  + azure-mgmt-datalake-store==0.5.0
   32.08  + azure-mgmt-nspkg==3.0.2
   32.08  + azure-mgmt-resource==23.0.1
   32.08  + azure-mgmt-storage==21.1.0
   32.08  + azure-nspkg==3.0.2
   32.08  + azure-servicebus==7.11.4
   32.08  + azure-storage-blob==12.19.0
   32.08  + azure-storage-file-datalake==12.14.0
   32.08  + azure-storage-file-share==12.15.0
   32.08  + azure-synapse-artifacts==0.18.0
   32.08  + azure-synapse-spark==0.7.0
   32.08  + babel==2.14.0
   32.08  + backoff==2.2.1
   32.08  + backports-zoneinfo==0.2.1
   32.08  + bcrypt==4.1.2
   32.08  + beautifulsoup4==4.12.3
   32.08  + billiard==4.2.0
   32.08  + blinker==1.7.0
   32.08  + boto3==1.33.13
   32.08  + botocore==1.33.13
   32.08  + cachelib==0.9.0
   32.08  + cachetools==5.3.2
   32.08  + cattrs==23.2.3
   32.08  + celery==5.3.6
   32.08  + certifi==2024.2.2
   32.08  + cffi==1.16.0
   32.08  + chardet==5.2.0
   32.08  + charset-normalizer==3.3.2
   32.08  + click==8.1.7
   32.08  + click-didyoumean==0.3.0
   32.08  + click-plugins==1.1.1
   32.08  + click-repl==0.3.0
   32.08  + clickclick==20.10.2
   32.08  + colorama==0.4.6
   32.08  + colorlog==4.8.0
   32.08  + configupdater==3.2
   32.08  + connexion==2.14.2
   32.08  + cron-descriptor==1.4.3
   32.08  + croniter==2.0.1
   32.08  + cryptography==41.0.7
   32.08  + db-dtypes==1.2.0
   32.08  + decorator==5.1.1
   32.08  + deprecated==1.2.14
   32.08  + dill==0.3.1.1
   32.08  + distlib==0.3.8
   32.08  + dnspython==2.6.1
   32.08  + docker==7.0.0
   32.08  + docutils==0.20.1
   32.08  + elastic-transport==8.12.0
   32.08  + elasticsearch==8.12.1
   32.08  + email-validator==1.3.1
   32.08  + eventlet==0.35.2
   32.08  + exceptiongroup==1.2.0
   32.08  + filelock==3.13.1
   32.08  + flask==2.2.5
   32.08  + flask-appbuilder==4.3.11
   32.08  + flask-babel==2.0.0
   32.08  + flask-caching==2.1.0
   32.08  + flask-jwt-extended==4.6.0
   32.08  + flask-limiter==3.5.1
   32.08  + flask-login==0.6.3
   32.08  + flask-session==0.5.0
   32.08  + flask-sqlalchemy==2.5.1
   32.08  + flask-wtf==1.2.1
   32.08  + flower==2.0.1
   32.08  + frozenlist==1.4.1
   32.08  + fsspec==2024.2.0
   32.08  + gcloud-aio-auth==4.2.3
   32.08  + gcloud-aio-bigquery==7.1.0
   32.08  + gcloud-aio-storage==9.2.0
   32.08  + gcsfs==2024.2.0
   32.08  + gevent==24.2.1
   32.08  + google-ads==23.1.0
   32.08  + google-analytics-admin==0.22.6
   32.08  + google-api-core==2.17.1
   32.08  + google-api-python-client==2.119.0
   32.08  + google-auth==2.28.1
   32.08  + google-auth-httplib2==0.2.0
   32.08  + google-auth-oauthlib==1.2.0
   32.08  + google-cloud-aiplatform==1.42.1
   32.08  + google-cloud-appengine-logging==1.4.2
   32.08  + google-cloud-audit-log==0.2.5
   32.08  + google-cloud-automl==2.13.2
   32.08  + google-cloud-batch==0.17.12
   32.08  + google-cloud-bigquery==3.17.2
   32.08  + google-cloud-bigquery-datatransfer==3.15.0
   32.08  + google-cloud-bigquery-storage==2.24.0
   32.08  + google-cloud-bigtable==2.23.0
   32.08  + google-cloud-build==3.23.2
   32.08  + google-cloud-compute==1.17.0
   32.08  + google-cloud-container==2.41.0
   32.08  + google-cloud-core==2.4.1
   32.08  + google-cloud-datacatalog==3.18.2
   32.08  + google-cloud-dataflow-client==0.8.9
   32.08  + google-cloud-dataform==0.5.8
   32.08  + google-cloud-dataplex==1.12.2
   32.08  + google-cloud-dataproc==5.9.2
   32.08  + google-cloud-dataproc-metastore==1.15.2
   32.08  + google-cloud-dlp==3.15.2
   32.08  + google-cloud-kms==2.21.2
   32.08  + google-cloud-language==2.13.2
   32.08  + google-cloud-logging==3.9.0
   32.08  + google-cloud-memcache==1.9.2
   32.08  + google-cloud-monitoring==2.19.2
   32.08  + google-cloud-orchestration-airflow==1.12.0
   32.08  + google-cloud-os-login==2.14.2
   32.08  + google-cloud-pubsub==2.19.6
   32.08  + google-cloud-redis==2.15.2
   32.08  + google-cloud-resource-manager==1.12.2
   32.08  + google-cloud-run==0.10.4
   32.08  + google-cloud-secret-manager==2.18.2
   32.08  + google-cloud-spanner==3.42.0
   32.08  + google-cloud-speech==2.25.0
   32.08  + google-cloud-storage==2.14.0
   32.08  + google-cloud-storage-transfer==1.11.2
   32.08  + google-cloud-tasks==2.16.2
   32.08  + google-cloud-texttospeech==2.16.2
   32.08  + google-cloud-translate==3.15.2
   32.08  + google-cloud-videointelligence==2.13.2
   32.08  + google-cloud-vision==3.7.1
   32.08  + google-cloud-workflows==1.14.2
   32.08  + google-crc32c==1.5.0
   32.08  + google-re2==1.1
   32.08  + google-resumable-media==2.7.0
   32.09  + googleapis-common-protos==1.62.0
   32.09  + graphviz==0.20.1
   32.09  + greenlet==3.0.3
   32.09  + grpc-google-iam-v1==0.13.0
   32.09  + grpc-interceptor==0.15.4
   32.09  + grpcio==1.62.0
   32.09  + grpcio-gcp==0.2.2
   32.09  + grpcio-status==1.62.0
   32.09  + gunicorn==21.2.0
   32.09  + h11==0.14.0
   32.09  + httpcore==0.16.3
   32.09  + httplib2==0.22.0
   32.09  + httpx==0.23.3
   32.09  + humanize==4.9.0
   32.09  + hvac==2.1.0
   32.09  + idna==3.6
   32.09  + ijson==3.2.3
   32.09  + importlib-metadata==6.11.0
   32.09  + importlib-resources==5.13.0
   32.09  + inflection==0.5.1
   32.09  + isodate==0.6.1
   32.09  + itsdangerous==2.1.2
   32.09  + jinja2==3.1.3
   32.09  + jmespath==0.10.0
   32.09  + json-merge-patch==0.2
   32.09  + jsonpath-ng==1.6.1
   32.09  + jsonschema==4.21.1
   32.09  + jsonschema-specifications==2023.12.1
   32.09  + kombu==5.3.5
   32.09  + kubernetes==29.0.0
   32.09  + kubernetes-asyncio==29.0.0
   32.09  + lazy-object-proxy==1.10.0
   32.09  + ldap3==2.9.1
   32.09  + limits==3.9.0
   32.09  + linkify-it-py==2.0.3
   32.09  + lockfile==0.12.2
   32.09  + looker-sdk==24.2.0
   32.09  + lxml==5.1.0
   32.09  + mako==1.3.2
   32.09  + markdown-it-py==3.0.0
   32.09  + markupsafe==2.1.5
   32.09  + marshmallow==3.20.2
   32.09  + marshmallow-oneofschema==3.1.1
   32.09  + marshmallow-sqlalchemy==0.26.1
   32.09  + mdit-py-plugins==0.4.0
   32.09  + mdurl==0.1.2
   32.09  + more-itertools==10.2.0
   32.09  + msal==1.27.0
   32.09  + msal-extensions==1.1.0
   32.09  + msrest==0.7.1
   32.09  + msrestazure==0.6.4
   32.09  + multidict==6.0.5
   32.09  + mysql-connector-python==8.3.0
   32.09  + mysqlclient==2.2.4
   32.09  + numpy==1.24.4
   32.09  + oauthlib==3.2.2
   32.09  + openlineage-integration-common==1.9.0
   32.09  + openlineage-python==1.9.0
   32.09  + openlineage-sql==1.9.0
   32.09  + opentelemetry-api==1.23.0
   32.09  + opentelemetry-exporter-otlp==1.23.0
   32.09  + opentelemetry-exporter-otlp-proto-common==1.23.0
   32.09  + opentelemetry-exporter-otlp-proto-grpc==1.23.0
   32.09  + opentelemetry-exporter-otlp-proto-http==1.23.0
   32.09  + opentelemetry-proto==1.23.0
   32.09  + opentelemetry-sdk==1.23.0
   32.09  + opentelemetry-semantic-conventions==0.44b0
   32.09  + ordered-set==4.1.0
   32.09  + packaging==23.2
   32.09  + pandas==2.0.3
   32.09  + pandas-gbq==0.21.0
   32.09  + paramiko==3.4.0
   32.09  + pathspec==0.12.1
   32.09  + pendulum==3.0.0
   32.09  + pkgutil-resolve-name==1.3.10
   32.09  + platformdirs==3.11.0
   32.09  + pluggy==1.4.0
   32.09  + ply==3.11
   32.09  + portalocker==2.8.2
   32.09  + prison==0.2.1
   32.09  + prometheus-client==0.20.0
   32.09  + prompt-toolkit==3.0.43
   32.09  + proto-plus==1.23.0
   32.09  + protobuf==4.25.3
   32.09  + psutil==5.9.8
   32.09  + psycopg2-binary==2.9.9
   32.09  + pyarrow==14.0.2
   32.09  + pyasn1==0.5.1
   32.09  + pyasn1-modules==0.3.0
   32.09  + pyathena==3.3.0
   32.09  + pycparser==2.21
   32.09  + pydata-google-auth==1.8.2
   32.09  + pygments==2.17.2
   32.09  + pyjwt==2.8.0
   32.09  + pynacl==1.5.0
   32.09  + pyodbc==5.1.0
   32.09  + pyopenssl==24.0.0
   32.09  + pyparsing==3.1.1
   32.09  + python-daemon==3.0.1
   32.09  + python-dateutil==2.8.2
   32.09  + python-dotenv==1.0.1
   32.09  + python-http-client==3.3.7
   32.09  + python-ldap==3.4.4
   32.09  + python-nvd3==0.15.0
   32.09  + python-slugify==8.0.4
   32.09  + pytz==2024.1
   32.09  + pyyaml==6.0.1
   32.09  + redis==4.6.0
   32.09  + redshift-connector==2.1.0
   32.09  + referencing==0.33.0
   32.09  + requests==2.31.0
   32.09  + requests-oauthlib==1.3.1
   32.09  + requests-toolbelt==1.0.0
   32.09  + rfc3339-validator==0.1.4
   32.09  + rfc3986==1.5.0
   32.09  + rich==13.7.0
   32.09  + rich-argparse==1.4.0
   32.09  + rpds-py==0.18.0
   32.09  + rsa==4.9
   32.09  + s3transfer==0.8.2
   32.09  + scramp==1.4.4
   32.09  + sendgrid==6.11.0
   32.09  + setproctitle==1.3.3
   32.09  - setuptools==56.0.0
   32.09  + setuptools==66.1.1
   32.09  + shapely==2.0.3
   32.09  + six==1.16.0
   32.09  + slack-sdk==3.27.0
   32.09  + sniffio==1.3.0
   32.09  + snowflake-connector-python==3.7.1
   32.09  + snowflake-sqlalchemy==1.5.1
   32.09  + sortedcontainers==2.4.0
   32.09  + soupsieve==2.5
   32.09  + sqlalchemy==1.4.51
   32.09  + sqlalchemy-bigquery==1.9.0
   32.09  + sqlalchemy-jsonfield==1.0.2
   32.09  + sqlalchemy-redshift==0.8.14
   32.09  + sqlalchemy-spanner==1.6.2
   32.09  + sqlalchemy-utils==0.41.1
   32.09  + sqlparse==0.4.4
   32.09  + sshtunnel==0.4.0
   32.09  + starkbank-ecdsa==2.2.0
   32.09  + statsd==4.0.1
   32.09  + tabulate==0.9.0
   32.09  + tenacity==8.2.3
   32.09  + termcolor==2.4.0
   32.09  + text-unidecode==1.3
   32.09  + time-machine==2.13.0
   32.09  + tomlkit==0.12.3
   32.09  + tornado==6.4
   32.09  + typing-extensions==4.9.0
   32.09  + tzdata==2024.1
   32.09  + uc-micro-py==1.0.3
   32.09  + unicodecsv==0.14.1
   32.09  + universal-pathlib==0.1.4
   32.09  + uritemplate==4.1.1
   32.09  + urllib3==1.26.18
   32.09  + vine==5.1.0
   32.09  + virtualenv==20.25.1
   32.09  + watchtower==3.0.1
   32.09  + wcwidth==0.2.13
   32.09  + websocket-client==1.7.0
   32.09  + werkzeug==2.2.3
   32.09  + wrapt==1.16.0
   32.09  + wtforms==3.1.2
   32.09  + yarl==1.9.4
   32.09  + zipp==3.17.0
   32.09  + zope-event==5.0
   32.09  + zope-interface==6.2
   32.11 + common::install_packaging_tools
   32.11 
   32.11 Installing pip version 24.0
   32.11 
   32.11 + echo
   32.11 + echo 'Installing pip version 24.0'
   32.11 + echo
   32.11 + [[ 24.0 =~ .*https.* ]]
   32.12 + pip install --root-user-action ignore --disable-pip-version-check 
pip==24.0
   33.10 Requirement already satisfied: pip==24.0 in 
/home/airflow/.local/lib/python3.8/site-packages (24.0)
   37.14 + echo
   37.14 
   37.14 + echo 'Installing uv version 0.1.13'
   37.14 Installing uv version 0.1.13
   37.14 + echo
   37.14 
   37.14 + [[ 0.1.13 =~ .*https.* ]]
   37.14 + pip install --root-user-action ignore --disable-pip-version-check 
uv==0.1.13
   38.11 Requirement already satisfied: uv==0.1.13 in 
/home/airflow/.local/lib/python3.8/site-packages (0.1.13)
   41.80 + mkdir -p /home/airflow/.local/bin
   41.81 + uv pip install --upgrade --resolution lowest-direct 
'apache-airflow[aiobotocore,amazon,async,celery,cncf-kubernetes,common-io,docker,elasticsearch,ftp,google,google-auth,graphviz,grpc,hashicorp,http,ldap,microsoft-azure,mysql,odbc,openlineage,pandas,postgres,redis,sendgrid,sftp,slack,snowflake,ssh,statsd,uv,virtualenv]==2.8.2'
   43.06 error: Failed to download and build: apache-airflow==1.8.1
   43.06   Caused by: Failed to build: apache-airflow==1.8.1
   43.07   Caused by: Build backend failed to determine extra requires with 
`build_wheel()`:
   43.07 --- stdout:
   43.07 
   43.07 --- stderr:
   43.07 Traceback (most recent call last):
   43.07   File "<string>", line 14, in <module>
   43.07   File 
"/home/airflow/.cache/uv/.tmplTHsNi/.venv/lib/python3.8/site-packages/setuptools/build_meta.py",
 line 325, in get_requires_for_build_wheel
   43.07     return self._get_build_requires(config_settings, 
requirements=['wheel'])
   43.07   File 
"/home/airflow/.cache/uv/.tmplTHsNi/.venv/lib/python3.8/site-packages/setuptools/build_meta.py",
 line 295, in _get_build_requires
   43.07     self.run_setup()
   43.07   File 
"/home/airflow/.cache/uv/.tmplTHsNi/.venv/lib/python3.8/site-packages/setuptools/build_meta.py",
 line 487, in run_setup
   43.07     super().run_setup(setup_script=setup_script)
   43.07   File 
"/home/airflow/.cache/uv/.tmplTHsNi/.venv/lib/python3.8/site-packages/setuptools/build_meta.py",
 line 311, in run_setup
   43.07     exec(code, locals())
   43.07   File "<string>", line 112
   43.07     async = [
   43.07           ^
   43.07 SyntaxError: invalid syntax
   43.07 ---
   ------
   Dockerfile:1520
   --------------------
    1519 |     # hadolint ignore=SC2086, SC2010, DL3042
    1520 | >>> RUN 
--mount=type=cache,id=$PYTHON_BASE_IMAGE-$AIRFLOW_PIP_VERSION-$TARGETARCH-$PIP_CACHE_EPOCH,target=/tmp/.cache/pip,uid=${AIRFLOW_UID}
 \
    1521 | >>>     if [[ ${INSTALL_PACKAGES_FROM_CONTEXT} == "true" ]]; then \
    1522 | >>>         bash 
/scripts/docker/install_from_docker_context_files.sh; \
    1523 | >>>     fi; \
    1524 | >>>     if ! airflow version 2>/dev/null >/dev/null; then \
    1525 | >>>         bash /scripts/docker/install_airflow.sh; \
    1526 | >>>     fi; \
    1527 | >>>     if [[ -n "${ADDITIONAL_PYTHON_DEPS}" ]]; then \
    1528 | >>>         bash /scripts/docker/install_additional_dependencies.sh; 
\
    1529 | >>>     fi; \
    1530 | >>>     find "${AIRFLOW_USER_HOME_DIR}/.local/" -name '*.pyc' 
-print0 | xargs -0 rm -f || true ; \
    1531 | >>>     find "${AIRFLOW_USER_HOME_DIR}/.local/" -type d -name 
'__pycache__' -print0 | xargs -0 rm -rf || true ; \
    1532 | >>>     # make sure that all directories and files in .local are 
also group accessible
    1533 | >>>     find "${AIRFLOW_USER_HOME_DIR}/.local" -executable ! -type l 
-print0 | xargs --null chmod g+x; \
    1534 | >>>     find "${AIRFLOW_USER_HOME_DIR}/.local" ! -type l -print0 | 
xargs --null chmod g+rw
    1535 |     
   --------------------
   ERROR: failed to solve: process "/bin/bash -o pipefail -o errexit -o nounset 
-o nolog -c if [[ ${INSTALL_PACKAGES_FROM_CONTEXT} == \"true\" ]]; then         
bash /scripts/docker/install_from_docker_context_files.sh;     fi;     if ! 
airflow version 2>/dev/null >/dev/null; then         bash 
/scripts/docker/install_airflow.sh;     fi;     if [[ -n 
\"${ADDITIONAL_PYTHON_DEPS}\" ]]; then         bash 
/scripts/docker/install_additional_dependencies.sh;     fi;     find 
\"${AIRFLOW_USER_HOME_DIR}/.local/\" -name '*.pyc' -print0 | xargs -0 rm -f || 
true ;     find \"${AIRFLOW_USER_HOME_DIR}/.local/\" -type d -name 
'__pycache__' -print0 | xargs -0 rm -rf || true ;     find 
\"${AIRFLOW_USER_HOME_DIR}/.local\" -executable ! -type l -print0 | xargs 
--null chmod g+x;     find \"${AIRFLOW_USER_HOME_DIR}/.local\" ! -type l 
-print0 | xargs --null chmod g+rw" did not complete successfully: exit code: 2
   ```
   
   </details>


-- 
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]


Reply via email to