snowflakedb / snowflake-connector-python

Snowflake Connector for Python
https://pypi.python.org/pypi/snowflake-connector-python/
Apache License 2.0
576 stars 467 forks source link

SNOW-828577: No source packages in PyPI for 3.0.4 #1588

Closed DustinMoriarty closed 1 year ago

DustinMoriarty commented 1 year ago

Please answer these questions before submitting your issue. Thanks!

  1. What version of Python are you using?

    Multiple

  2. What operating system and processor architecture are you using?

    MacOS 13.3.1 with ARM processor

  3. What are the component versions in the environment (pip freeze)?

    None

  4. 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.

  5. What did you expect to see?

    I should be able to install version 3.0.4

  6. Can you set logging to DEBUG and collect the logs?

Pip in python 3.9 and 3.10.

% python -m pip install snowflake-connector-python==3.0.4
ERROR: Could not find a version that satisfies the requirement snowflake-connector-python==3.0.4 (from versions: 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 1.4.14, 1.4.15, 1.4.16, 1.4.17, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.6.11, 1.6.12, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.9.1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8, 2.7.9, 2.7.10, 2.7.11, 2.7.12, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.9.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3)
ERROR: No matching distribution found for snowflake-connector-python==3.0.4

Poetry:

% 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))

This may be related to https://github.com/snowflakedb/snowflake-connector-python/issues/1581.

sfc-gh-achandrasekaran commented 1 year ago

Dup of pinned issue