👈 back to home

Vinit Kumar

TIL 24-November-2021 (Python)

November 24, 2021

Today, I saw an link to an article on Github. All my projects (work and personal) run on github actions as CI. Now, github actions pip install didn’t had cache for pip. So now that can be enabled using changes to the yaml file like this:

Link to the announcement here:

- uses: actions/checkout@v2
- uses: actions/setup-python@v2
    python-version: '3.9'
    cache: 'pip'
- run: pip install -r requirements.txt
- run: pip test

Also, if you don’t have wheel installed, pip uses legacy install (setup.py) install. So install, wheel as a dep first, so that your dependencies can install with a faster and better format.

As a Software Engineer with a passion for creating and problem-solving, I am constantly seeking new challenges and opportunities to push the boundaries of what computers can do. I am an avid admirer of good literature, music, art, and coffee. Explore my website to learn more about my skills, experience, and values as a programmer. Here, you can also find links to my resume and code repositories .

© 2022, Vinit Kumar