Skip to content

Commit bc7f6d5

Browse files
build(kernel): require databricks-sql-kernel >=0.2.0
Bump the [kernel] extra's floor from ^0.1.0 to ^0.2.0 (>=0.2.0,<0.3.0) now that 0.2.0 is published. The <0.3.0 cap is deliberate: the kernel is pre-1.0, so each 0.x minor may be breaking — we bump this when the kernel ships 0.3.0 rather than auto-adopting a potentially-breaking minor. 0.2.0 keeps the same Requires-Python (>=3.10) and pyarrow (>=23.0.1,<24) pin as 0.1.x, so the python>=3.10 marker and the pyarrow <23 sub-3.10 cap are unchanged. Verified `poetry lock` resolves and locks databricks-sql-kernel 0.2.0. Co-authored-by: Isaac Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
1 parent ad93bad commit bc7f6d5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@ requests-kerberos = {version = "^0.15.0", optional = true}
4747
# so the dependency is gated to Python >= 3.10: on 3.8/3.9 the
4848
# ``[kernel]`` extra resolves to nothing and ``use_kernel=True`` raises
4949
# a clear ImportError at runtime (see backend/kernel/_errors.py).
50-
databricks-sql-kernel = {version = "^0.1.0", optional = true, python = ">=3.10"}
50+
#
51+
# Floor is 0.2.0 (``^0.2.0`` == ``>=0.2.0,<0.3.0``). The kernel is
52+
# pre-1.0, so each 0.x minor may carry breaking changes — the ``<0.3.0``
53+
# cap means we bump this deliberately when the kernel ships 0.3.0 rather
54+
# than letting a potentially-breaking minor flow in automatically. 0.2.0
55+
# keeps the same Requires-Python (>=3.10) and pyarrow (>=23.0.1,<24) pin
56+
# as 0.1.x, so the gating below is unchanged.
57+
databricks-sql-kernel = {version = "^0.2.0", optional = true, python = ">=3.10"}
5158

5259

5360
[tool.poetry.extras]

0 commit comments

Comments
 (0)