Skip to content

Conversation

@sgaist
Copy link
Member

@sgaist sgaist commented Jan 29, 2026

Describe your changes

This PR makes this buildpack fully self-contained.

Up until now, it still relied on the pip buildpack for pipenv and poetry.

This is not longer the case as pip is "self-provided" for these two package managers.

As drive by improvements:

  • Use of t.Setenv in place of os.Setenv to ensure proper testing
  • Put BuildPlanMetadata definition in one place as it was a repeated definition
  • Sort imports to separate the local imports from std and external

@sgaist sgaist added the semver:minor A change requiring a minor version bump label Jan 29, 2026
@sgaist sgaist force-pushed the refactor/self-contained branch from 90ec896 to 914c262 Compare January 29, 2026 22:11
This will allow to remove duplicates declarations
which also means that each sub package has its own
variant but they are mostly the same.
This will allow other packages requiring pip to use
the same code to get the requirements.
This refactor allows to make the pipenv installation
"self contained" as it will also make use of this
buildpack to provide pip.
This refactor allows to make the poetry installation
"self contained" as it will also make use of this
buildpack to provide pip.
This is required to allow for the buildpack to be
self-serving.

Self-serving means that pipenv and poetry requiring pip
will get it from this very buildpack.
@sgaist sgaist force-pushed the refactor/self-contained branch from 914c262 to a559ef0 Compare January 30, 2026 07:09
@sgaist sgaist merged commit 06229af into main Jan 30, 2026
13 of 19 checks passed
@sgaist sgaist deleted the refactor/self-contained branch January 30, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:minor A change requiring a minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants