snowflakedb/snowflake-cli

SNOW-994128: Cannot install snowcli with dev dependencies for python 3.8

Closed this issue · 1 comments

SnowCLI version

No response

Python version

Python 3.8.18

Platform

macOS-14.2-arm64-arm-64bit

What happened

Installing snowcli with dev dependencies as described in CONTRIBUTING.md fails because of pre-commit dependencies versions.

Console output

snowcli on  main [!+] via 🐍 v3.8.18 (.venv)
❯ pip install -e '.[dev]'
Obtaining file:///Users/mraba/sources/snowcli
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting coverage==7.3.2
  Using cached coverage-7.3.2-cp38-cp38-macosx_11_0_arm64.whl (200 kB)
Collecting urllib3<2.2,>=1.21.1
  Using cached urllib3-2.1.0-py3-none-any.whl (104 kB)
Collecting jinja2==3.1.2
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting tomlkit==0.12.3
  Using cached tomlkit-0.12.3-py3-none-any.whl (37 kB)
Collecting gitpython==3.1.40
  Using cached GitPython-3.1.40-py3-none-any.whl (190 kB)
Collecting requests==2.31.0
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting pyyaml==6.0.1
  Using cached PyYAML-6.0.1-cp38-cp38-macosx_11_0_arm64.whl
Collecting requirements-parser==0.5.0
  Using cached requirements_parser-0.5.0-py3-none-any.whl (18 kB)
Collecting typer==0.9.0
  Using cached typer-0.9.0-py3-none-any.whl (45 kB)
Collecting rich==13.7.0
  Using cached rich-13.7.0-py3-none-any.whl (240 kB)
Collecting pluggy==1.3.0
  Using cached pluggy-1.3.0-py3-none-any.whl (18 kB)
Collecting strictyaml==1.7.3
  Using cached strictyaml-1.7.3-py3-none-any.whl (123 kB)
Collecting snowflake-connector-python[secure-local-storage]==3.6.0
  Using cached snowflake_connector_python-3.6.0-cp38-cp38-macosx_11_0_arm64.whl (919 kB)
Collecting tox==4.11.4
  Using cached tox-4.11.4-py3-none-any.whl (153 kB)
Collecting pytest-randomly==3.15.0
  Using cached pytest_randomly-3.15.0-py3-none-any.whl (8.7 kB)
Collecting pytest==7.4.3
  Using cached pytest-7.4.3-py3-none-any.whl (325 kB)
ERROR: Ignored the following versions that require a different python version: 3.6.0 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement pre-commit==3.6.0; extra == "dev" (from snowflake-cli-labs[dev]) (from versions: 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.12.2, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.13.5, 0.13.6, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.13.0, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15.0, 1.15.1, 1.15.2, 1.16.0, 1.16.1, 1.17.0, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.19.0, 1.20.0, 1.21.0, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.8.2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0, 2.10.1, 2.11.0, 2.11.1, 2.12.0, 2.12.1, 2.13.0, 2.14.0, 2.14.1, 2.15.0, 2.16.0, 2.17.0, 2.18.0, 2.18.1, 2.19.0, 2.20.0, 2.21.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.1, 3.2.0, 3.2.1, 3.2.2, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.5.0)
ERROR: No matching distribution found for pre-commit==3.6.0; extra == "dev"

How to reproduce

Follow contributing guide with python 3.8.

Closing due to to action taken, support for 3.8 is sunsetting soon.