summaryrefslogtreecommitdiff
path: root/databases/py-databricks-sql-connector/files/patch-pyproject.toml
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-09 14:37:09 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-09 19:20:48 +0800
commit8ad452903cffdb8808383cbf2b1a4bea5530fd07 (patch)
tree6abfc4960422106c3c26ca95cbd06cfe86066886 /databases/py-databricks-sql-connector/files/patch-pyproject.toml
parentdevel/base64: Add base64 0.5.2 (diff)
databases/py-databricks-sql-connector: Add py-databricks-sql-connector 4.2.2
The Databricks SQL Connector for Python allows you to develop Python applications that connect to Databricks clusters and SQL warehouses. It is a Thrift-based client with no dependencies on ODBC or JDBC. It conforms to the Python DB API 2.0 specification. This connector uses Arrow as the data-exchange format, and supports APIs (e.g. fetchmany_arrow) to directly fetch Arrow tables. Arrow tables are wrapped in the ArrowQueue class to provide a natural API to get several rows at a time. PyArrow is required to enable this and use these APIs, you can install it via pip install pyarrow or pip install databricks-sql-connector[pyarrow]. The connector includes built-in support for HTTP/HTTPS proxy servers with multiple authentication methods including basic authentication and Kerberos/Negotiate authentication. See docs/proxy.md and examples/proxy_authentication.py for details.
Diffstat (limited to 'databases/py-databricks-sql-connector/files/patch-pyproject.toml')
-rw-r--r--databases/py-databricks-sql-connector/files/patch-pyproject.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/databases/py-databricks-sql-connector/files/patch-pyproject.toml b/databases/py-databricks-sql-connector/files/patch-pyproject.toml
new file mode 100644
index 000000000000..280850edd011
--- /dev/null
+++ b/databases/py-databricks-sql-connector/files/patch-pyproject.toml
@@ -0,0 +1,23 @@
+--- pyproject.toml.orig 1970-01-01 00:00:00 UTC
++++ pyproject.toml
+@@ -10,10 +10,10 @@ python = "^3.8.0"
+
+ [tool.poetry.dependencies]
+ python = "^3.8.0"
+-thrift = ">=0.16.0,<0.21.0"
++thrift = ">=0.16.0"
+ pandas = [
+- { version = ">=1.2.5,<2.3.0", python = ">=3.8,<3.13" },
+- { version = ">=2.2.3,<2.3.0", python = ">=3.13" }
++ { version = ">=1.2.5", python = ">=3.8,<3.13" },
++ { version = ">=2.2.3", python = ">=3.13" }
+ ]
+ lz4 = "^4.0.2"
+ requests = "^2.18.1"
+@@ -88,4 +88,4 @@ skip_covered = false
+ skip_covered = false
+
+ [tool.coverage.xml]
+-output = "coverage.xml"
+\ No newline at end of file
++output = "coverage.xml"