python-buildpack
python-buildpack copied to clipboard
Error installing Flask-Silk still latest buildpack with setuptools problem.
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?
2024-09-03T09:26:33.168-05:00 [STG/0] [OUT] -----> Python Buildpack version 1.8.28
2024-09-03T09:26:33.168-05:00 [STG/0] [OUT] [31;1m**WARNING**[0m buildpack version changed from 1.8.25 to 1.8.28
2024-09-03T09:26:33.169-05:00 [STG/0] [OUT] -----> Supplying Python
2024-09-03T09:26:33.169-05:00 [STG/0] [OUT] -----> Installing python 3.10.14
2024-09-03T09:26:33.169-05:00 [STG/0] [OUT] Download [https://buildpacks.cloudfoundry.org/dependencies/python/python_3.10.14_linux_x64_cflinuxfs3_64840750.tgz]
2024-09-03T09:26:37.437-05:00 [STG/0] [OUT] Using python's pip module
2024-09-03T09:26:38.943-05:00 [STG/0] [OUT] pip 23.0.1 from /tmp/contents463938786/deps/0/python/lib/python3.10/site-packages/pip (python 3.10)
2024-09-03T09:26:38.999-05:00 [STG/0] [OUT] -----> Running Pip Install (Unvendored)
2024-09-03T09:26:39.000-05:00 [STG/0] [OUT] python -m pip install -r /tmp/app/requirements.txt --ignore-installed --exists-action=w --src=/tmp/contents463938786/deps/0/src --disable-pip-version-check --no-warn-script-location
2024-09-03T09:26:40.231-05:00 [STG/0] [OUT] Collecting gunicorn[gevent]
2024-09-03T09:26:40.426-05:00 [STG/0] [OUT] Downloading gunicorn-23.0.0-py3-none-any.whl (85 kB)
What version of the buildpack you are using?
1.8.28
If you were attempting to accomplish a task, what was it you were attempting to do?
Install and run our app that uses Flask-Silk dependency
What did you expect to happen?
The app was able to startup
What was the actual behavior?
2024-09-03T09:26:53.319-05:00 [STG/0] [ERR] AttributeError: module 'setuptools.dist' has no attribute 'check_test_suite'
2024-09-03T09:26:53.319-05:00 [STG/0] [ERR] [end of output]
2024-09-03T09:26:53.319-05:00 [STG/0] [ERR]
2024-09-03T09:26:53.320-05:00 [STG/0] [ERR] note: This error originates from a subprocess, and is likely not a problem with pip.
2024-09-03T09:26:53.320-05:00 [STG/0] [ERR] error: legacy-install-failure
2024-09-03T09:26:53.320-05:00 [STG/0] [ERR]
2024-09-03T09:26:53.320-05:00 [STG/0] [ERR] × Encountered error while trying to install package.
2024-09-03T09:26:53.320-05:00 [STG/0] [ERR] ╰─> Flask-Silk