Questions tagged [pip-tools]

Pip-tools is a set of command tools designed to keep your pinned Python dependencies up-to-date.

pip-tools is a set of command line tools to help you keep your pip-based packages fresh, even when you've pinned them. In building your Python application and its dependencies for production, you want to make sure that your builds are predictable and deterministic.

Resources

38 questions
0
votes
1 answer

i keep having subprocess.CalledProcessError while trying to run pip-compile for pip-tools

This is my code at github i am trying to test layered requirements for setup.py using pip-tools and i keep having issues with this error about subprocess.CalledProcessError I am not sure what i did wrong. Below is the asciicast How do i fix this?
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
0
votes
1 answer

pip-compile with --index-url option delivers pinned package versions that are not on passed package index

We are using pip-tools in combination with a private package index. Now, if I run pip-compile --index-url https://user:password@gitlab.my.tld/api/../packages/pypi/simple This creates a requirements.txt with pinned versions that are not existing in…
Cord Kaldemeyer
  • 6,405
  • 8
  • 51
  • 81
0
votes
1 answer

Does docker layer caching combined with pip install lead to nonreproducible images?

Given the following dockerfile: FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./app /code/app CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0",…
gebbissimo
  • 2,137
  • 2
  • 25
  • 35
0
votes
1 answer

Something like pip-tools for homebrew?

When you install something with homebrew, it also installs the dependencies, which is fine. But later, when you deinstall this specific item, the dependencies remain installed. So by time, you have a lot of software installed and don't know why. For…
Ralf Zosel
  • 683
  • 1
  • 7
  • 26
0
votes
1 answer

How to use pip-tools to enforce a minimum python version for a django 3.2 project?

I'm following the without setup.py example in the pip-tools documentation at https://github.com/jazzband/pip-tools#without-setuppy What I did is I have this as my requirements.in # To update requirements.txt, run: # # pip-compile…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
0
votes
0 answers

pip-compile fails while parsing base.py

This is the first time I try to use pip-compile from pip-tools. The base-level settings for a Django project are provided in main/settings/base.py. I added this section for pip-tools: install_requires = [ 'django-oscar>=3.0.2,<4.0.0', …
Mike Slinn
  • 7,705
  • 5
  • 51
  • 85
0
votes
1 answer

pip-reqs compile only resolves one github zip package from multiple

I have a requirements.in file that only installs one of the packages pointing to github zip URL. This is how I reproduce the problem. Check out the cases. I always run pip-reqs…
Juho Rutila
  • 2,316
  • 1
  • 25
  • 40
-1
votes
1 answer

Issue with depcache-py3.5.json in pip-tools for python 3

On running the below command pipenv install --python 3.5 I get the following error PermissionError: [Errno 13] Permission denied: '/home/somansh/.cache/pip-tools/depcache-py3.5.json' I checked my /home/somansh/.cache/pip-tools/ folder…
Somansh Reddy
  • 125
  • 2
  • 13
1 2
3