heroku / buildpacks-python

Heroku's Cloud Native Buildpack for Python applications.
BSD 3-Clause "New" or "Revised" License
26 stars 2 forks source link

Stop manually creating a `src` dir in the Pip dependencies layer #228

Closed edmorley closed 1 month ago

edmorley commented 1 month ago

Since Pip will create the directory itself if needed (which is only when there are editable mode VCS dependencies being installed).

This behaviour is already tested, via: https://github.com/heroku/buildpacks-python/blob/ff51b31c65cbd1932fc4cdc585c60942efcfe836/tests/pip_test.rs#L197-L216

GUS-W-16390558.