poetry can't be used without internet access, because it runs pip with --isolated #7551
Closed
4 tasks done
Labels
status/duplicate
Duplicate issues
Poetry version: 1.3.2
Python version: 3.10.8
OS version and name: Mac OS 13.0
pyproject.toml: pyproject.toml.txt
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below.Issue
When poetry calls out to pip, it passes
--isolated
, which causes pip to ignore$PIP_INDEX_URL
andpip.conf
. This makes it impossible to use poetry without access to the internet, because pip cannot be redirected to an index on the local network.This issue only occurs when depending on certain projects such as
pluginbase
orpatch-ng
, because pip tries to install setuptools in order to build them, even when called with--no-deps
This issue was casued by https://github.com/python-poetry/poetry/pull/6531/files
log.txt
The text was updated successfully, but these errors were encountered: