Skip to content

Commit 0205ff6

Browse files
authored
Pin versions of build toolchain (#1140)
This PR pins the versions of build dependencies
1 parent f6438aa commit 0205ff6

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

pyproject.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,20 @@ path = "src/databricks/labs/ucx/__about__.py"
6060

6161
[tool.hatch.envs.default]
6262
dependencies = [
63-
"pylint",
63+
"black~=24.3.0",
64+
"coverage[toml]~=7.4.4",
65+
"isort~=5.13.2",
66+
"mypy~=1.9.0",
67+
"pylint~=3.1.0",
6468
"pylint-pytest==2.0.0a0",
65-
"coverage[toml]>=6.5",
66-
"pytest",
67-
"pytest-xdist",
68-
"pytest-cov>=4.0.0,<5.0.0",
69-
"pytest-mock>=3.0.0,<4.0.0",
70-
"pytest-timeout",
71-
"black>=23.1.0",
72-
"ruff>=0.3.0",
73-
"isort>=2.5.0",
74-
"mypy",
75-
"types-PyYAML",
76-
"types-requests",
69+
"pytest~=8.1.0",
70+
"pytest-cov~=4.1.0",
71+
"pytest-mock~=3.14.0",
72+
"pytest-timeout~=2.3.1",
73+
"pytest-xdist~=3.5.0",
74+
"ruff~=0.3.4",
75+
"types-PyYAML~=6.0.12",
76+
"types-requests~=2.31.0",
7777
]
7878

7979
python="3.10"
@@ -156,7 +156,7 @@ parallel = true
156156
[tool.coverage.report]
157157
omit = [
158158
"src/databricks/labs/ucx/mixins/*",
159-
"src/databricks/labs/ucx/code/lsp.py",
159+
"src/databricks/labs/ucx/source_code/lsp.py",
160160
"*/working-copy/*",
161161
"*/fresh_wheel_file/*",
162162
"*/__init__.py"

tests/unit/source_code/test_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_files_fix_ignores_unsupported_extensions():
2020
def test_files_fix_ignores_unsupported_language():
2121
languages = create_autospec(Languages)
2222
files = Files(languages)
23-
files._extensions[".py"] = None
23+
files._extensions[".py"] = None # pylint: disable=protected-access
2424
path = Path('unsupported.py')
2525
assert not files.apply(path)
2626

0 commit comments

Comments
 (0)