Skip to content
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

poetry can't be used without internet access, because it runs pip with --isolated #7551

Closed
4 tasks done
smoofra opened this issue Feb 23, 2023 · 2 comments
Closed
4 tasks done
Labels
status/duplicate Duplicate issues

Comments

@smoofra
Copy link

smoofra commented Feb 23, 2023

  • 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 and pip.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 or patch-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

@smoofra smoofra added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Feb 23, 2023
@dimbleby
Copy link
Contributor

#3249, again

@neersighted neersighted added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Feb 23, 2023
@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

3 participants