Trevor Manz
Trevor Manz
Thanks for your patience. I think I was able to achieve the desired behavior and added another test. I'm not sure how we should plan on testing the remote behavior...
hmm ```sh cargo run run https://raw.githubusercontent.com/astral-sh/uv/main/scripts/uv-run-remote-script-test.py CI ``` seems to be working on this branch, but the test suite is having trouble resolving the version of `rich`. Maybe I'm missing...
No worries, I opened https://github.com/astral-sh/uv/pull/7713
Test is working now, pointing to #7713. Will switch to hash on main once merged.
Thanks for the tips! > Also, I think we need to add docs to uv run mentioning this feature. :) I took a stab at updating the docs.
Ah, sorry... wasn't sure what the source of truth was. Thanks!
Any thoughts on how to update the test checking for the local file? Is there a way to mark that a test _should_ fail on windows for example?
> I don't think it should fail though? It looks like it's failing because it can't write a temp file? I'm not sure what the issue is there. I think...
> OK, so you're referring to the `run_url_like_with_local_file_priority` test here. I was looking at `run_remote_pep723_script`. Yes, apologies for the confusion. I added the `#[cfg(unix)]` with a comment.
> For run_remote_pep723_script, I think the test should pass. Agreed.