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 the --system flag in pipenv run
#2692
Comments
I believe we have rejected this in the past because when you use |
Having the commands defined in the Also in our case |
All in all it's just a bit inconsistent. You can take advantage of the Not to mention you might have a system command in Having said that perhaps |
Yeah I agree with you. If @uranusjr agrees I can bring it up with Kenneth and see if we can find a consensus. Out of curiosity is your pipfile usage here inspired by node-style package files? |
It's not that it's inspired by 'node-style package files' more that it's a common use case that node-style package files happen to solve in a similar way, as I'm sure other package files for other languages do as well. It's just very convenient to use the Also, as well as this, if you use it with a private pypi repository in the If this is accepted, and as this is blocking our adoption of pipenv completely, I'd dedicate whatever time is needed to get this through. |
I am -0 on this. On one hand I can understand it is convinient to be able to use Pipfile as a script holder, but on the other hand this really feels out-of-place. On yet another hand (OK I know this is not how this expression is supposed to work) the whole |
@uranusjr we need to split requirementslib into about 3 or 4 different libraries at this point probably, I'll start the process if you can think of some names besides 'pipfile-cli' because I'm never publishing anything called that :p |
Is your feature request related to a problem? Please describe.
When using
pipenv
in a docker container you can install dependencies using the--system
flag. However if you usepipenv run
in the docker container it will automatically create a virtualenv and there is no way to stop this - this entails installingpip
andwheel
inside the container, which in specific environments may not be possible or may take a long time.Describe the solution you'd like
Provide a
--system
flag topipenv run
that skips the creation of a virtualenv and instead uses the system default.The text was updated successfully, but these errors were encountered: