Ed Morley
Ed Morley
Let's move the discussion to Slack :-)
Another use-case for having a custom venv location outside of the project directory is CNBs ([Cloud Native Buildpacks](https://buildpacks.io/)). With CNBs, the layer/caching model is different to `Dockerfile`, so standard Dockerfile...
I found some upstream history for the hooks in: - https://github.com/pypa/virtualenv/issues/1632 - https://github.com/pypa/virtualenv/issues/1663 - https://github.com/pypa/virtualenv/pull/1688 Of note I found this comment: https://github.com/pypa/virtualenv/issues/1663#issuecomment-596679468 ...which said: > So, MacOS Catalina 10.15.3 came...
Hmm so the `distutils.cfg` venv issue was supposedly fixed upstream in distutils in Python 3.3: - https://github.com/python/cpython/issues/61932 - https://github.com/python/cpython/commit/521ed521317ffd385afaabdd889879e7cb7461df And that fix is still there in Python 3.11: https://github.com/python/cpython/blob/795f2597a4be988e2bb19b69ff9958e981cb894e/Lib/distutils/dist.py#L384-L392 Plus...
I'd like to use `uv venv` rather than `python -m venv`, but this issue blocks doing so, since we don't want these custom hooks installed. Would you be open to...
I think there might be two overlapping (or at least related) bugs here: 1. This comment here says "we should always have os & arch" but that's not the case...
Also, I feel like `lifecycle` should never be setting the `CNB_TARGET_*` env vars to the empty string here: https://github.com/buildpacks/lifecycle/blob/f2a3bd78a819d433eeee7561ec81c02e840db476/platform/target_data.go#L115-L119 Instead it should either: 1. (For the mandatory env vars) Fail...
Example failure: ``` [Installing Python] Installing Python 3.12.7 [Error: Unable to download Python] An error occurred whilst downloading the Python runtime archive. In some cases, this happens due to an...
@colincasey I don't suppose this is something you would have time to take a look at? The env var would only need to be set at run time, and only...
In the meantime, I've documented the workaround at: https://devcenter.heroku.com/articles/heroku-24-stack#changes-to-git