-
Notifications
You must be signed in to change notification settings - Fork 239
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
build[uv] uses wrong Python when testing on Windows #1877
Comments
Could you check the previous version of uv? https://github.com/deepmodeling/deepmd-kit/blob/73dab63fa847acb1acd0aa76700130e10a8e8516/.github/workflows/build_wheel.yml#L78 can be modified to install a specific version. Like We specify the Python version at cibuildwheel/cibuildwheel/windows.py Line 521 in 78da7ba
|
It works with uv 0.2.6: https://github.com/deepmodeling/deepmd-kit/actions/runs/9488527936/job/26147696043
|
Can you try with the latest one and |
|
Hi! What's happening here is the Python interpreter at the top of the |
And now I see why you were using the edit: Henry pointed out this pull request isn't the reason, investigating what pull request changed it. |
I'm not sure there are tests for tests (except on macOS). |
Thanks looks like you found an unexpected change in the latest release astral-sh/uv#4289 I would still strongly recommend not using |
Thanks. It works:
|
xref: pypa/cibuildwheel#1877 (comment) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated installation script URL in build workflow to ensure compatibility with version 0.2.10. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
xref: pypa/cibuildwheel#1877 (comment) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated installation script URL in build workflow to ensure compatibility with version 0.2.10. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
Description
It worked yesterday but failed today.
See below. The
cp311-win_amd64
build uses Python 3.7.9 to create the environment.Build log
https://github.com/deepmodeling/deepmd-kit/actions/runs/9483099069/job/26133743134
CI config
https://github.com/deepmodeling/deepmd-kit/blob/devel/.github/workflows/build_wheel.yml
The text was updated successfully, but these errors were encountered: