You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] I am on the latest stable Poetry version, installed using a recommended method.
[ x] I have searched the issues of this repo and believe that this is not a duplicate.
[ x] I have consulted the FAQ and blog for any relevant entries or release notes.
[ x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.
Issue
I am operating on an internal network that doesn't have visibility of the external internet. We have an internal PyPI that we use. I am able to 'poetry add' many things (yaml, pytest, plotly, kaleido, and more). But when I try 'poetry add fire', it hangs for a while waiting on network timeouts and retries, then dies. The poetry add fire -vvv is in the pyproject.toml gist.
I tried manually running the 'pip install' spawned by Poetry (after activating the Poetry virtenv). I get the same hang. When I remove --isolated, it runs ok (I have ~/.config/pip/pip.conf pointed to our internal PyPI). Also, I hacked subprocess to print out the commands it is getting, and I see this one.
Shouldn't Poetry be passing my configured source url as a --index-url argument to pip since it is using --isolated?
I would suspect user error (and still do), but I am able to add so many dependencies successfully. This is the first one that didn't work. When I create a fresh virt-env, activate, then pip install fire, no problem. It respects my pip.conf, and all is well.
Thanks!
--Myles
PS I have tried clearing the cache and recreating poetry.lock many times. Didn't help.
The text was updated successfully, but these errors were encountered:
Poetry version: Poetry (version 1.3.2)
Python version: Poetry (version 1.3.2)
OS version and name: Poetry (version 1.3.2)
pyproject.toml: https://gist.github.com/smprather/2a9e338226b53a9e3199e18b03ffcf50
[ x] I am on the latest stable Poetry version, installed using a recommended method.
[ x] I have searched the issues of this repo and believe that this is not a duplicate.
[ x] I have consulted the FAQ and blog for any relevant entries or release notes.
[ x] If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below.Issue
I am operating on an internal network that doesn't have visibility of the external internet. We have an internal PyPI that we use. I am able to 'poetry add' many things (yaml, pytest, plotly, kaleido, and more). But when I try 'poetry add fire', it hangs for a while waiting on network timeouts and retries, then dies. The poetry add fire -vvv is in the pyproject.toml gist.
I tried manually running the 'pip install' spawned by Poetry (after activating the Poetry virtenv). I get the same hang. When I remove --isolated, it runs ok (I have ~/.config/pip/pip.conf pointed to our internal PyPI). Also, I hacked subprocess to print out the commands it is getting, and I see this one.
Shouldn't Poetry be passing my configured source url as a --index-url argument to pip since it is using --isolated?
I would suspect user error (and still do), but I am able to add so many dependencies successfully. This is the first one that didn't work. When I create a fresh virt-env, activate, then pip install fire, no problem. It respects my pip.conf, and all is well.
Thanks!
--Myles
PS I have tried clearing the cache and recreating poetry.lock many times. Didn't help.
The text was updated successfully, but these errors were encountered: