Please answer these questions before submitting your issue. Thanks!
What version of Python are you using?
Multiple
What operating system and processor architecture are you using?
MacOS 13.3.1 with ARM processor
What are the component versions in the environment (pip freeze)?
None
What did you do?
Unable to install 3.0.4 using pip or poetry in multiple python versions. Note that as of 3.0.4 no source packages are available and the wheels are limited. See the download files in pypi: https://pypi.org/project/snowflake-connector-python/3.0.4/#files. I suspect that the build process is doing something unconventional and incorrect.
What did you expect to see?
I should be able to install version 3.0.4
Can you set logging to DEBUG and collect the logs?
% poetry add snowflake-connector-python
Using version ^3.0.4 for snowflake-connector-python
Updating dependencies
Resolving dependencies... (0.1s)
Package operations: 1 install, 0 updates, 0 removals
• Installing snowflake-connector-python (3.0.4): Failed
RuntimeError
Unable to find installation candidates for snowflake-connector-python (3.0.4)
at /opt/homebrew/Cellar/poetry/1.4.2/libexec/lib/python3.11/site-packages/poetry/installation/chooser.py:109 in choose_for
105│
106│ links.append(link)
107│
108│ if not links:
→ 109│ raise RuntimeError(f"Unable to find installation candidates for {package}")
110│
111│ # Get the best link
112│ chosen = max(links, key=lambda link: self._sort_key(package, link))
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using?
Multiple
What operating system and processor architecture are you using?
MacOS 13.3.1 with ARM processor
What are the component versions in the environment (
pip freeze
)?None
What did you do?
Unable to install 3.0.4 using pip or poetry in multiple python versions. Note that as of 3.0.4 no source packages are available and the wheels are limited. See the download files in pypi: https://pypi.org/project/snowflake-connector-python/3.0.4/#files. I suspect that the build process is doing something unconventional and incorrect.
What did you expect to see?
I should be able to install version 3.0.4
Can you set logging to DEBUG and collect the logs?
Pip in python 3.9 and 3.10.
Poetry:
This may be related to https://github.com/snowflakedb/snowflake-connector-python/issues/1581.