@@ -110,7 +110,7 @@ def test_docker_compose_userexperience():
110110 custom_config_file .unlink (missing_ok = True )
111111 custom_config_file .write_text ("testasdf: testasdf" )
112112
113- BBCTL_COMMAND = ["poetry " , "run" , "bbctl" , "--config" , str (custom_config_file )]
113+ BBCTL_COMMAND = ["uv " , "run" , "bbctl" , "--config" , str (custom_config_file )]
114114
115115 # current config should have no api key or valid api keys
116116 result = subprocess .run (
@@ -219,7 +219,7 @@ def test_docker_compose_custom_config():
219219 custom_config_file .write_text ("test1234: test4321" )
220220
221221 # can we read it outside of docker compose?
222- BBCTL_COMMAND = ["poetry " , "run" , "bbctl" , "--config" , str (custom_config_file )]
222+ BBCTL_COMMAND = ["uv " , "run" , "bbctl" , "--config" , str (custom_config_file )]
223223 result = subprocess .run (
224224 BBCTL_COMMAND + ["--current-config" ],
225225 cwd = project_root ,
@@ -232,7 +232,7 @@ def test_docker_compose_custom_config():
232232
233233 # if we don't pass --config, the docker container should use the default config
234234 result = subprocess .run (
235- ["poetry " , "run" , "bbctl" , "server" , "compose" , "run" , "server" , "bbctl" , "--current-config" ],
235+ ["uv " , "run" , "bbctl" , "server" , "compose" , "run" , "server" , "bbctl" , "--current-config" ],
236236 cwd = project_root ,
237237 capture_output = True ,
238238 text = True ,
@@ -261,7 +261,7 @@ def test_docker_compose_listening_interface():
261261 with open (custom_config_file , "a" ) as f :
262262 f .write ("\n url: http://127.0.0.1:8807/v1/\n " )
263263
264- BBCTL_COMMAND = ["poetry " , "run" , "bbctl" , "--config" , str (custom_config_file )]
264+ BBCTL_COMMAND = ["uv " , "run" , "bbctl" , "--config" , str (custom_config_file )]
265265
266266 # start docker compose
267267 result = subprocess .run (
@@ -351,7 +351,7 @@ def test_docker_compose_authentication():
351351 custom_config_file .unlink (missing_ok = True )
352352 custom_config_file .write_text ("" )
353353
354- BBCTL_COMMAND = ["poetry " , "run" , "bbctl" , "--config" , str (custom_config_file )]
354+ BBCTL_COMMAND = ["uv " , "run" , "bbctl" , "--config" , str (custom_config_file )]
355355
356356 with docker_test_env (reset_config = True , docker_down_first = True ):
357357 # start docker compose
@@ -375,7 +375,7 @@ def test_docker_compose_authentication():
375375 # without the API key, auth should fail
376376 for _ in range (120 ):
377377 result = subprocess .run (
378- ["poetry " , "run" , "bbctl" , "asset" , "stats" ],
378+ ["uv " , "run" , "bbctl" , "asset" , "stats" ],
379379 cwd = project_root ,
380380 capture_output = True ,
381381 text = True ,
@@ -405,7 +405,7 @@ def test_docker_compose_no_authentication():
405405 """
406406 custom_config_file .unlink (missing_ok = True )
407407
408- BBCTL_COMMAND = ["poetry " , "run" , "bbctl" , "--config" , str (custom_config_file )]
408+ BBCTL_COMMAND = ["uv " , "run" , "bbctl" , "--config" , str (custom_config_file )]
409409
410410 with docker_test_env (reset_config = True , docker_down_first = True ):
411411 result = subprocess .run (
0 commit comments