-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[python-package] [ci] switch to PEP 517 / 518 builds (remove setup.py
) (fixes #5061)
#5759
Changes from all commits
b376e1e
2bda465
f810685
2ed9696
5783a33
cb1ee48
833548f
b170cd3
39aed07
f3713b3
133ef86
cee55f6
23e706d
27c2fad
23bbb78
cd0dc46
4e1cf4c
985c5b1
571ae69
52c4cab
78d0019
7acff39
ed4fc0d
ccdf765
ffa036f
6d9eaac
3c48b9d
296e3a6
cd22dc4
eacd069
007bca5
93b6a58
4cbe3dc
7b948a9
55a0b5b
d19e72a
0ee9063
9ce5848
6da577d
d67b359
8c0d209
9acbc3d
258ea5a
ba5db2e
25984ec
3bd4757
8330c81
4737691
553310b
22d0e59
4ffa63d
ddbfe9b
874d556
9ceef1a
0984609
41fb149
7a647cf
91227aa
c7456da
34b5f1a
f39a374
289666e
2b2ea5d
464501c
c682523
b843ece
ca3fb04
4feed80
8fdd0fd
74ed6f6
a203340
7761cf8
d545eec
0c6b187
57b70a1
817b4af
ee7476b
3d995e8
0b380bf
641d26a
b34c660
91b68f6
751d432
404b31e
81fce5e
3214a0a
65be071
1ca0acb
f2a850f
ae72139
43ab386
bfcb1b5
5eabb0a
bd10f2e
6c1ddac
cdb4628
2341507
77b0ed1
73df701
985c8d4
3a6e388
7058a22
5360f53
1e9916c
cee5d57
4da614a
b24ec30
4414897
41badff
695aecd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,8 +96,8 @@ elseif ($env:TASK -eq "bdist") { | |
cd $env:BUILD_SOURCESDIRECTORY | ||
sh "build-python.sh" bdist_wheel --integrated-opencl ; Check-Output $? | ||
sh $env:BUILD_SOURCESDIRECTORY/.ci/check_python_dists.sh $env:BUILD_SOURCESDIRECTORY/dist ; Check-Output $? | ||
cd dist; pip install --user @(Get-ChildItem *.whl) ; Check-Output $? | ||
cp @(Get-ChildItem *.whl) $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
cd dist; pip install --user @(Get-ChildItem *py3-none-win_amd64.whl) ; Check-Output $? | ||
cp @(Get-ChildItem *py3-none-win_amd64.whl) $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This ensures we get a loud error if the wheels are not tagged in the way we'd expect. Since as far as I can tell, you can't pass a To be clear... |
||
} elseif (($env:APPVEYOR -eq "true") -and ($env:TASK -eq "python")) { | ||
cd $env:BUILD_SOURCESDIRECTORY | ||
if ($env:COMPILER -eq "MINGW") { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This two-step process avoids the error:
caused by the fact the
scikit-build-core
automatically produces the correct platform tag, but this script defensively assumes that wheel tags need to be corrected 😀