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.

Support `--system` to `pipenv sync`

See original GitHub issue

I’m trying to install dependencies inside of tox, which I believe needs --system (to install into tox’s virtualenv instead of into pipenvs own virtualenv). See also #154.

However, pipenv sync, which is the new way to install dependencies from Pipfile.lock does not support --system (it seems it was intentionally left out initially in #1463), so I have to resort to pipenv install.

It seems it would be useful to support --system for sync as well.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:42
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

19reactions
nre-abletoncommented, Feb 7, 2019

I really would appreciate having pipenv sync --system as well. This would be the preferred way to use pipenv in a Docker container. At the moment I’m using pipenv install --system --deploy which is not as great of a solution.

It seems that this issue has stalled. Would it make sense to take https://github.com/pypa/pipenv/commit/aca8e1238e93aeb42ce20c660f3ec5d7ec4b5479 and make a PR from it?

9reactions
jonbesgacommented, Apr 13, 2019

Is there any difference between pipenv install --ignore-pipfile and pipenv sync?

I’m currently using pipenv install --system --ignore-pipfile when I want to install dependencies from the Pipfile.lock into the system.

Update: Found an explanation in #3150, it seems that using the pipenv install --system --ignore-pipfile --deploy should be equivalent to pipenv sync

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced Usage of Pipenv - Read the Docs
pipenv install --ignore-pipfile is nearly equivalent to pipenv sync , but pipenv sync will never attempt to re-lock your dependencies as it is...
Read more >
Basic Usage of Pipenv - Python Packaging Authority
Originally pipenv supported only two package groups: packages and dev-packages in the Pipfile which mapped to default and develop in the Pipfile.lock ....
Read more >
pipenv Documentation - Read the Docs
Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the. Python...
Read more >
system --ignore-pipfile in docker environment - Stack Overflow
pipenv install --ignore-pipfile is nearly equivalent to pipenv sync , but pipenv sync will never attempt to re-lock your dependencies as it is ......
Read more >
pipenv sync - Fig.io
Options ; --system, Install a Pipfile's contents into its parent system ; --bare, Minimal output ; --sequential, Install dependencies one-at-a-time, instead of ...
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