Skip to content

fix(tests): enable uv run pytest#899

Merged
AlessandroPomponio merged 1 commit into
mainfrom
maj_uv_ray_fix
Apr 22, 2026
Merged

fix(tests): enable uv run pytest#899
AlessandroPomponio merged 1 commit into
mainfrom
maj_uv_ray_fix

Conversation

@michael-johnston
Copy link
Copy Markdown
Member

@michael-johnston michael-johnston commented Apr 22, 2026

The solution to #893, while also avoiding the issue the now bugged code tried to solve (#506), requires setting RAY_ENABLE_UV_RUN_RUNTIME_ENV=0 when uv run is used to run ado code locally e.g. uv run ado ... or uv run pytest

This PR enables this for uv run pytest via the pytest-env plugin.

by disabling RAY_ENABLE_UV_RUN_RUNTIME_ENV via pytest_env.
@AlessandroPomponio AlessandroPomponio added this pull request to the merge queue Apr 22, 2026
Merged via the queue into main with commit dad2ace Apr 22, 2026
19 checks passed
@AlessandroPomponio AlessandroPomponio deleted the maj_uv_ray_fix branch April 22, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(tests): unable to run tests with uv run due to none working dir

2 participants