Latest python_buildpack (1.8.10 at the time of writing) fails to deploy the test app with the following error:
[API/0] OUT Creating build for app with guid 05bfeab1-88cf-4327-92b9-4278b56ee3aa
[API/0] OUT Updated app with guid 05bfeab1-88cf-4327-92b9-4278b56ee3aa ({“state”=>“STARTED”})
[STG/0] OUT Downloading python_buildpack...
[STG/0] OUT Downloaded python_buildpack
[STG/0] OUT Cell 2a0f5dbf-c4d7-44c6-9379-4c68ce0d9f85 creating container for instance 14a18fcb-7bf7-4456-9766-482a23e941c8
[STG/0] OUT Security group rules were updated
[STG/0] OUT Cell 2a0f5dbf-c4d7-44c6-9379-4c68ce0d9f85 successfully created container for instance 14a18fcb-7bf7-4456-9766-482a23e941c8
[STG/0] OUT Downloading app package...
[STG/0] OUT Downloaded app package (2.9M)
[STG/0] OUT -----> Python Buildpack version 1.8.10
[STG/0] OUT -----> Supplying Python
[STG/0] OUT -----> Installing python 3.11.3
[STG/0] OUT Copy [/tmp/buildpacks/9e46c102f1297cf1d9865bce260fad84/dependencies/8e733817b256b4fc09c5f8985c56243c/python_3.11.3_linux_x64_cflinuxfs3_269dbe79.tgz]
[STG/0] OUT Using python’s pip module
[STG/0] OUT pip 22.3.1 from /tmp/contents4223508812/deps/0/python/lib/python3.11/site-packages/pip (python 3.11)
[STG/0] OUT -----> Running Pip Install (Vendored)
[STG/0] OUT Using the pip --no-build-isolation flag since it is available
[STG/0] OUT python -m pip install -r /tmp/app/requirements.txt --ignore-installed --exists-action=w --src=/tmp/contents4223508812/deps/0/src --no-index --find-links=file:///tmp/app/vendor --disable-pip-version-check --no-warn-script-location --no-build-isolation
[STG/0] OUT Looking in links: file:///tmp/app/vendor
[STG/0] OUT Processing ./vendor/Flask-2.3.2.tar.gz
[STG/0] OUT Preparing metadata (pyproject.toml): started
[STG/0] OUT Preparing metadata (pyproject.toml): finished with status ‘error’
[STG/0] ERR error: subprocess-exited-with-error
[STG/0] ERR
[STG/0] ERR Preparing metadata (pyproject.toml) did not run successfully.
[STG/0] ERR exit code: 1
[STG/0] ERR > [19 lines of output]
[STG/0] ERR /tmp/contents4223508812/deps/0/python/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for [tool.setuptools] in pyproject.toml is still beta.
[STG/0] ERR warnings.warn(msg, _BetaConfiguration)
[STG/0] ERR running dist_info
[STG/0] ERR creating /tmp/pip-modern-metadata-hrl6q870/Flask.egg-info
[STG/0] ERR writing /tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/PKG-INFO
[STG/0] ERR writing dependency_links to /tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/dependency_links.txt
[STG/0] ERR writing entry points to /tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/entry_points.txt
[STG/0] ERR writing requirements to /tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/requires.txt
[STG/0] ERR writing top-level names to /tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/top_level.txt
[STG/0] ERR writing manifest file ‘/tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/SOURCES.txt’
[STG/0] ERR reading manifest file ‘/tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/SOURCES.txt’
[STG/0] ERR reading manifest template ‘MANIFEST.in’
[STG/0] ERR warning: no directories found matching ‘artwork’
[STG/0] ERR no previously-included directories found matching ‘docs/_build’
[STG/0] ERR warning: no previously-included files matching ‘*.pyc’ found anywhere in distribution
[STG/0] ERR adding license file ‘LICENSE.rst
[STG/0] ERR writing manifest file ‘/tmp/pip-modern-metadata-hrl6q870/Flask.egg-info/SOURCES.txt’
[STG/0] ERR creating ‘/tmp/pip-modern-metadata-hrl6q870/Flask-2.3.2.dist-info’
[STG/0] ERR error: invalid command ‘bdist_wheel’
[STG/0] ERR [end of output]
[STG/0] ERR
[STG/0] ERR note: This error originates from a subprocess, and is likely not a problem with pip.
[STG/0] ERR error: metadata-generation-failed
[STG/0] ERR
[STG/0] ERR Encountered error while generating package metadata.
[STG/0] ERR > See above for output.
[STG/0] ERR
[STG/0] ERR note: This is an issue with the package mentioned above, not pip.
[STG/0] ERR hint: See above for details.
[STG/0] OUT Running pip install failed. You need to include all dependencies in the vendor directory.
[STG/0] OUT [31;1mERROR[0m Could not install vendored pip packages: could not run pip: exit status 1
[STG/0] ERR Failed to compile droplet: Failed to run all supply scripts: exit status 14
[STG/0] OUT Exit status 223
[STG/0] OUT Cell 2a0f5dbf-c4d7-44c6-9379-4c68ce0d9f85 stopping instance 14a18fcb-7bf7-4456-9766-482a23e941c8
[STG/0] OUT Cell 2a0f5dbf-c4d7-44c6-9379-4c68ce0d9f85 destroying container for instance 14a18fcb-7bf7-4456-9766-482a23e941c8
[API/0] ERR Failed to stage build: staging failed
[STG/0] OUT Cell 2a0f5dbf-c4d7-44c6-9379-4c68ce0d9f85 successfully destroyed container for instance 14a18fcb-7bf7-4456-9766-482a23e941c8
Stderr Using cflinuxfs3 stack
Error staging application: App staging failed in the buildpack compile phase
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
Latest python_buildpack (1.8.10 at the time of writing) fails to deploy the test app with the following error:
Stderr Using cflinuxfs3 stack Error staging application: App staging failed in the buildpack compile phase