--no-cache-dir option for requirements.txt

Open
#538 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
devops

Research direction

Start by locating how the puppet-python module handles pip_args and pip_extra_args when installing from requirements.txt. Verify how command options are assembled and define done as allowing --no-cache-dir to reach the pip command without requiring a user home directory.

Written by the indexing model from the issue text.

Description

I'm trying to install packages with pip from a requirements.txt file and I can't install the packages in the virtualenv because pip wants to create a cache in the local home of the user that executes the pip command. The user does not have a home dir and I don't want to create one. Is there a working option to add --no-cache-dir to the pip command? I tried pip_args and pip_extra_args and both did not work :/

Thanks for your help.

Dominant language
Ruby
Stars
196
Forks
372
Avg merge
1d 18m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voxpupuli/puppet-python

All issues in voxpupuli/puppet-python

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.