actions / actions/setup-python

Install with package manager

Open
#659 12 comments 22 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
TypeScript
Stars
2.2k
Forks
739
Avg merge
6d 18h
Merged PRs (30d)
1

Description

Description:

Currently, if we use poetry, we have to write two steps:

      - name: Install poetry
        run: pipx install poetry

      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version: ...
          cache: poetry

I hope this can be easier:

      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version: ...
          package-manager: poetry@{version}
          cache: poetry

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the actions/setup-python@v4 entry point and how its current cache: poetry setup handles the separate Poetry installation step. Define the package-manager input and its version behavior, then verify that a workflow can install the requested Poetry version through the single setup step while preserving dependency caching.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.