Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trim21/setup-poetry

github actions to setup poetry
https://github.com/trim21/setup-poetry

actions github-action python-poetry

Last synced: 21 days ago
JSON representation

github actions to setup poetry

Awesome Lists containing this project

README

        

# Setup Python-Poetry

[![ci](https://github.com/Trim21/setup-poetry/workflows/build-test/badge.svg)](https://github.com/Trim21/setup-poetry/actions)

Install [python-poetry](https://github.com/python-poetry/poetry) in your OS.

Support poetry>=1.3

```yaml
steps:
- uses: trim21/setup-poetry@dist/v2
# with:
# version: "<2.0" # empty string for latest poetry
```

default it will install latest poetry.

Or you can use any valid pep440 version range.

for example

- `>=1.2,<2.0`
- `~=1.2` (version 1.2 or later, but not version 2.0 or later)
- `== 3.1.*` (`==` is required, `3.1.*` and `3.1.x` won't work)
- `~=1.1.0, != 1.1.3`: version 1.1.0 or later, but not version 1.1.3 and not version 1.2.0 or later.