added pip requirment for config virtualenv.create=False#2818
Conversation
|
This should no longer be required since #2666 right? The embedded pip from |
|
For installing project dependencies that makes sense but how does poetry install it's The |
|
From $ ls poetry/_vendor
py2.7 py3.5 py3.6 py3.7 py3.8 py3.9At the moment, the Verified this by installing in a minimal environment without $ docker run --rm -it fedora:latest bash -c '\
> type pip || :; \
> curl -sLO https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py;\
> python3 get-poetry.py --preview --yes; \
> source $HOME/.poetry/env; \
> poetry --version'
bash: line 1: type: pip: not found
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
$HOME/.poetry/bin
This path will then be added to your `PATH` environment variable by
modifying the profile files located at:
$HOME/.profile
$HOME/.bash_profile
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing version: 1.1.0b2
- Downloading poetry-1.1.0b2-linux.tar.gz (57.18MB)
Poetry (1.1.0b2) is installed now. Great!
To get started you need Poetry's bin directory ($HOME/.poetry/bin) in your `PATH`
environment variable. Next time you log in this will be done
automatically.
To configure your current shell run `source $HOME/.poetry/env`
Poetry version 1.1.0b2 |
|
Gotcha. I checked the source code zip and just incorrectly assumed the |
|
@KGB33 this still has value; but maybe make it clear that this is only required for cases where the project is using the system environment ( |
…oetry into issue_1165_pip_as_sys_requirment
|
@abn Sorry for the delay, I've added a simple note to the configuration docs. I was thinking adding an error message might be helpful as well, however, I haven't gotten a docker image to work for me quite yet. |
|
Got the docker image to work for me and the error message is very clear. |
Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
|
What about adding why. Something like: |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Resolves: #1165