Skip to content

fix: Add input for overriding poetry version#18

Open
tiagovrtr wants to merge 5 commits intonborrmann:mainfrom
tiagovrtr:fix/poetry_version
Open

fix: Add input for overriding poetry version#18
tiagovrtr wants to merge 5 commits intonborrmann:mainfrom
tiagovrtr:fix/poetry_version

Conversation

@tiagovrtr
Copy link

@tiagovrtr tiagovrtr commented Feb 5, 2025

Adds new input poetry_version in order to override the latest version during the container build.
Adds entrypoint script to reinstall poetry at runtime if this input is set
Sets the default version to the latest v1 version of poetry in order to fix breaking changes introduced by the release of Poetry 2, as reported in #16 .
I suggest in order to support Poetry 2 in the future, to remove the version constraint from pip install "poetry<2" in /Dockerfile and make the necessary changes to pyproject.toml in a later commit and set a major release at that point to mark that deprecation

Signed-off-by: Tiago Reis <tiagovrtreis@gmail.com>
Signed-off-by: Tiago Reis <tiagovrtreis@gmail.com>
Signed-off-by: Tiago Reis <tiagovrtreis@gmail.com>
Signed-off-by: Tiago Reis <tiagovrtreis@gmail.com>
Signed-off-by: Tiago Reis <tiagovrtreis@gmail.com>
@tiagovrtr
Copy link
Author

Any opinions on this @nborrmann ?

@colindean
Copy link
Contributor

I've started a fork I'm intending to maintain: https://github.com/colindean/diff-poetry-lock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants