[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
When running poetry add snowflake-connector-python I expected Poetry to add the latest version of the package for which there is a viable release on PyPI. This is what pip does:
% poetry -vvv add snowflake-connector-python
Using virtualenv: /Users/spencer/Library/Caches/pypoetry/virtualenvs/abc-z643ngl0-py3.11
[keyring.backend] Loading KWallet
[keyring.backend] Loading SecretService
[keyring.backend] Loading Windows
[keyring.backend] Loading chainer
[keyring.backend] Loading libsecret
[keyring.backend] Loading macOS
Creating new session for pypi.org
Source (PyPI): 119 packages found for snowflake-connector-python *
Using version ^3.0.4 for snowflake-connector-python
...
How'd it decide to use ^3.0.4 and not ^3.0.3 (which would have installed successfully)? Is this expected?
-vvv
option) and have included the output below.Issue
When running
poetry add snowflake-connector-python
I expected Poetry to add the latest version of the package for which there is a viable release on PyPI. This is what pip does:In contrast,
How'd it decide to use ^3.0.4 and not ^3.0.3 (which would have installed successfully)? Is this expected?
context: I was among those affected by https://github.com/snowflakedb/snowflake-connector-python/issues/1584, where this behavior of poetry resulted in some surprises.