Skip to content

Commit d469ed3

Browse files
committed
fix
1 parent 624f422 commit d469ed3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ dev = [
5151
"pytest-rerunfailures",
5252
"openai",
5353
'langchain-openai; python_version > "3.7"',
54-
"httpx"
54+
"httpx",
55+
"build", # some integration tests depend on the databricks-sdk-py wheel
5556
]
5657
notebook = [
5758
"ipython>=8,<9",

tests/integration/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def fresh_wheel_file(tmp_path) -> Path:
2525
build_root = tmp_path / 'databricks-sdk-py'
2626
shutil.copytree(project_root, build_root)
2727
try:
28-
completed_process = subprocess.run([sys.executable, 'setup.py', 'bdist_wheel'],
28+
completed_process = subprocess.run([sys.executable, '-m', 'build'],
2929
capture_output=True,
3030
cwd=build_root)
3131
if completed_process.returncode != 0:

0 commit comments

Comments
 (0)