Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Built-in caching for poetry dependencies #298

Closed
astro-informatics/sopt
#321
@floatingpurr

Description

@floatingpurr

Description:
As per the doc, here and here, setup-python supports built-in caching of pip and pipenv dependencies. It'd nice to have the same feature also for Poetry out-of-the-box.

Justification:
Poetry is one of the latest projects joining the party of Python dependency management systems. If you want to cache inter-run dependencies, you have to build your own caching step (e.g., this):

- name: Set up cache
      uses: actions/cache@v1
      with:
        path: .venv
        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}

I'd great if that were managed by setup-python!

Are you willing to submit a PR?
Please, note that I'm not familiar with TS. Looking for support / hints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions