From 078cfcf5b75b2461663553bf64333518d3cf459e Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Wed, 17 Aug 2022 16:46:17 +0100 Subject: [PATCH] Add a marker to indicate Python 3.10 isn't supported Currently, Python 3.10 isn't supported (GitHub Issue: https://github.com/databricks/databricks-sql-python/issues/26), but as this marker here says it works for all Python version, if a user tries to install it on Py 3.10 it fails with unhelpful messages. Signed-off-by: Kaxil Naik --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 30db9673c..b7c170d4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ packages = [{include = "databricks", from = "src"}] include = ["CHANGELOG.md"] [tool.poetry.dependencies] -python = "^3.7.1" +python = ">3.7.1,<3.10" thrift = "^0.13.0" pyarrow = "^5.0.0" pandas = "^1.3.0" @@ -28,4 +28,4 @@ ignore_missing_imports = "true" exclude = ['ttypes\.py$', 'TCLIService\.py$'] [tool.black] -exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist|thrift_api)/' \ No newline at end of file +exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist|thrift_api)/'