Skip to content

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

@EwoutH

Description

@EwoutH

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 logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy