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

Cache pip dependencies from pyproject.toml file (without requirements.txt) #502

Copy link
Copy link
Closed
@EwoutH

Description

@EwoutH
Issue body actions

Description:
Currently setup-python (v4) produces an error when trying to cache pip packages defined in a .pyproject.toml file instead of requirements.txt.

    - uses: actions/setup-python@v4
      with:
        cache: 'pip'

results in

Error: No file in /home/runner/work/EMAworkbench/EMAworkbench matched to [**/requirements.txt], make sure you have checked out the target repository

It would be great if pip packages defined in a .pyproject.toml file could also be cached, without a requirements.txt file present. Support for caching defined extras (optional dependencies) would also be great.

Justification:
setup-python should support projects following the latest build and configuration standards.

Are you willing to submit a PR?
Not at this moment

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.