Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support poetry_version input to specify Poetry tool version #197

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

bflad
Copy link
Member

@bflad bflad commented Jan 8, 2025

Reference: https://linear.app/speakeasy/issue/GEN-877/tech-debt-python-poetry-20

This change adds a poetry_version input to each of the workflows to specify the Poetry tool version to install and use. By default, the latest (2.0.0 as of this change) is installed, but this is being added as a compatibility layer for calling GitHub Actions workflows that pin the Speakeasy CLI to an older version, which require an older Poetry version before the major version update such as 1.8.3.

This change also bumps Python from 3.8 (EOL since October 2024) to 3.9 (required for Poetry 2.0.0) for publishing workflows.

Reference: https://linear.app/speakeasy/issue/GEN-877/tech-debt-python-poetry-20

This change adds a `poetry_version` input to each of the workflows to specify the Poetry tool version to install and use. By default, the latest (2.0.0 as of this change) is installed, but this is being added as a compatibility layer for calling GitHub Actions workflows that pin the Speakeasy CLI to an older version, which require an older Poetry version before the major version update such as 1.8.3.
@bflad bflad requested a review from a team as a code owner January 8, 2025 15:02
Copy link

linear bot commented Jan 8, 2025

@bflad
Copy link
Member Author

bflad commented Jan 9, 2025

Welp, the CLI was just released, so iterating forward even though we most likely need to now fix the Docker build urgently for this to actually work.

@bflad bflad merged commit 172d3dd into main Jan 9, 2025
1 check passed
@bflad bflad deleted the bflad/gen-877-tech-debt-python-poetry-20 branch January 9, 2025 17:17
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.

3 participants