Skip to content

Commit c215541

Browse files
authored
Pin dependencies to minor releases (#3799)
## Changes Pin dependencies to minor releases to test dependency changes before users are affected by them. The reasoning for choosing between pinned vs loose requirements is: 1. For applications (like UCX), pin the dependency minor versions to minimize instability due to changes in dependencies while still receiving dependency bug/patch fixes. We automatically test dependency changes in Dependabot's PRs. 2. For libraries (like pytest, lsql and blueprint), prefer loose requirements so that the libraries and projects that use your library have the freedom to chose their preferred version, especially important to increase the likelihood for finding a library version that fits the constrains of all dependencies and sub-dependencies (dependencies of dependencies of dependencies ...). We prefer the greater than or equal to & lower than syntax over the tilde as it is more clear what the version range is The sdk version pinning is covered by #3686 Supersedes #3766
1 parent 5807002 commit c215541

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ classifiers = [
4545
]
4646

4747
dependencies = ["databricks-sdk>=0.40,<0.42",
48-
"databricks-labs-lsql>=0.14.0,<0.15",
49-
"databricks-labs-blueprint>=0.9.1,<0.11",
50-
"PyYAML>=6.0.0,<7.0.0",
51-
"sqlglot>=25.5.0,<26.7",
52-
"astroid>=3.3.1"]
48+
"databricks-labs-lsql>=0.15.0,<0.16.0",
49+
"databricks-labs-blueprint>=0.10.0,<0.11.0",
50+
"PyYAML>=6.0.0,<6.1.0",
51+
"sqlglot>=26.7.0,<26.8.0",
52+
"astroid>=3.3.0,<3.4.0"]
5353

5454
[project.optional-dependencies]
5555
pylsp = [
56-
"python-lsp-server>=1.9.0"
56+
"python-lsp-server>=1.12.0,<1.13.0"
5757
]
5858

5959
[project.entry-points.databricks]

0 commit comments

Comments
 (0)