question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Builtin pip cache

See original GitHub issue

setup-node recently released a new version with builtin cache support that can be enabled simply by adding cache under with. Are there plans for setup-python to get the same convenience instead of having to use actions/cache?

setup-node@v2

The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are npm , yarn .

- uses: actions/setup-node@v2
  with:
    node-version: '14'
    cache: 'npm'

I asked on github.community but got no response so I figured I try here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:15
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
hugovkcommented, Nov 12, 2021
2reactions
dmitry-shibanovcommented, Nov 18, 2021

Hello everyone, we’ve updated tag v2. It points to release 2.3.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip cache - pip documentation v22.3.1
Description#. Inspect and manage pip's wheel cache. Subcommands: dir: Show the cache directory. info: Show information about the cache.
Read more >
How do I install from a local cache with pip? - Stack Overflow
To install from the index you built in step 2., you can simply use: pip install --index-url=file:///tmp/packages/simple/ httpie==0.2.
Read more >
ansible.builtin.pip module – Manages Python library ...
ansible.builtin.pip module – Manages Python library dependencies ... This module is part of ansible-core and included in all Ansible installations. In...
Read more >
caches - PyPI
Python caching backed by Redis. ... caching class and also a key function (similar to the python built-in sorted() function key argument), except...
Read more >
functools — Higher-order functions and operations on callable ...
Example of an LRU cache for static web content: @lru_cache(maxsize=32) def get_pep(num): 'Retrieve text of a Python Enhancement Proposal' resource ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found