# If installed via the official installer
poetry self update
```

If Poetry is not updated, the generator will output a dependency version error:

```
WARN	can't compile - Dependency Version Mismatch - Install Poetry by following the instructions at https://python-poetry.org/docs/#installing-with-pipx.
ERROR	dependency version not met -- poetry - version 1.8.5 is less than required version 2.0.0
FATAL	Failed to generate SDK to XXX
```

## GitHub Actions configuration

API producers using GitHub Actions (`speakeasy-api/sdk-generation-action@v15`) with the latest Speakeasy version will have Poetry automatically updated. No changes are needed for the most common usage.

If the Speakeasy version is pinned to an older version, add the `poetry_version` input to the repository's workflow configuration to pin Poetry to the older major version:

```yaml
uses: speakeasy-api/sdk-generation-action@v15
with:
  # ... other existing inputs ...
  poetry_version: "1.8.5"
```

## Version update considerations

Consistent with industry practice, the Speakeasy generator will suggest a minor version update for the generated SDK to reflect these Python changes. However, consider releasing the SDK as a major version update if API consumers are likely to be using Python 3.8, which was previously common for some data management SaaS platforms.

For questions, reach out on [Slack](https://go.speakeasy.com/slack).