New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support `--system` to `pipenv sync` #2227

Open
matthijskooijman opened this Issue May 20, 2018 · 4 comments

Comments

Projects
None yet
5 participants
@matthijskooijman
Copy link

matthijskooijman commented May 20, 2018

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.

frostming added a commit to frostming/pipenv that referenced this issue May 21, 2018

@kenneth-reitz

This comment has been minimized.

Copy link
Contributor

kenneth-reitz commented May 23, 2018

+1

@matthijskooijman

This comment has been minimized.

Copy link
Author

matthijskooijman commented May 23, 2018

I just tried aca8e12 from @frostming's branch, and it works as expected in my usecase (see https://travis-ci.org/evolution-events/Artaxerxes/jobs/382857314). Thanks!

@txomon

This comment has been minimized.

Copy link

txomon commented Jul 16, 2018

Hey, just in case pipenv uses Tox's virtualenv directly, with no intervention needed. ( for example https://circleci.com/gh/txomon/mosbot/17)

@nre-ableton

This comment has been minimized.

Copy link

nre-ableton commented 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
aca8e12 and make a PR from it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment