Skip to content

Enable minimal testing with windows and macOS #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Jun 20, 2025

Due to the specific nature of how uv works, some minimal testing on Windows and MacOS would be needed.

Related: #193 #183
Related: astral-sh/uv#14239

@ssbarnea
Copy link
Member Author

ssbarnea commented Jun 20, 2025

@gaborbernat I am unable to test this change because I cannot create branches in tox-uv itself and GHA pipeline changes run only on local PRs, not the ones from forks. Can you please give a hand with this? Thanks.

Here is PR I made with the same code on my branch https://github.com/ssbarnea/tox-uv/actions/runs/15777559807/job/44475364088?pr=2

If you want I can remove the pull_request_target from it. As you can see we have 3 broken Windows tests, which proves the need for platform testing. As a first stage I would probably add a conditional xfail to them to allow the testing to be abled, and fix them after. Sounds ok to you?

@ssbarnea ssbarnea force-pushed the chore/test-os branch 5 times, most recently from 50f9a8f to a8f17ea Compare June 20, 2025 11:06
@gaborbernat
Copy link
Member

If you want I can remove the pull_request_target from it. As you can see we have 3 broken Windows tests, which proves the need for platform testing. As a first stage I would probably add a conditional xfail to them to allow the testing to be abled, and fix them after. Sounds ok to you?

Ok.

@ssbarnea ssbarnea force-pushed the chore/test-os branch 5 times, most recently from 87fcab2 to 352ef5e Compare June 24, 2025 11:55
@ssbarnea ssbarnea changed the title Enable minimal testing with windows and ubuntu Enable minimal testing with windows and macOS Jun 24, 2025
@ssbarnea ssbarnea force-pushed the chore/test-os branch 6 times, most recently from a72ae90 to 1e15c31 Compare June 25, 2025 07:27
Due to the specific nature of how uv works, some minimal testing on
Windows and MacOS would be needed.

Related: tox-dev#193 tox-dev#183
@ssbarnea ssbarnea marked this pull request as ready for review June 25, 2025 07:34
@ssbarnea ssbarnea requested a review from gaborbernat as a code owner June 25, 2025 07:34
@ssbarnea
Copy link
Member Author

@gaborbernat I finally made it pass CI. I had to use "xfail" on some broken tests as they are not fixable by us. I fixed few minor issues with existing ones. Once this goes in we will be able to gradually address these bugs.

Please let me know what I need to change to close this one. Thanks.

project = tox_project({"tox.ini": f"[testenv]\npackage=skip\nbase_python={other_interpreter_exe}"})
result = project.run("-vv")
result.assert_success()


@pytest.mark.xfail(
sys.platform == "win32",
reason="Bug https://github.com/tox-dev/tox-uv/issues/193 https://github.com/astral-sh/uv/issues/14239",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not using pypy, so how come this happens?

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.

2 participants