Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Built-in caching for poetry dependencies #298

Copy link
Copy link
Closed
astro-informatics/sopt
#321
astro-informatics/sopt#321
@floatingpurr

Description

@floatingpurr
Issue body actions

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 logicNew 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.