File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed
Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,23 @@ jobs:
2222 platform : linux
2323 python-version : " 3.10"
2424 arch : x86_64
25- plat_name : linux_x86_64
25+ plat_name : manylinux2014_x86_64
2626 - os : ubuntu-latest
2727 platform : linux
2828 python-version : " 3.10"
2929 arch : arm64
30- plat_name : linux_aarch64
31- - os : windows -latest
30+ plat_name : manylinux2014_aarch64
31+ - os : ubuntu -latest
3232 platform : windows
3333 python-version : " 3.10"
3434 arch : x86_64
3535 plat_name : win_amd64
36- - os : macos -latest
36+ - os : ubuntu -latest
3737 platform : macos
3838 python-version : " 3.10"
3939 arch : x86_64
4040 plat_name : macosx_10_9_x86_64
41- - os : macos -latest
41+ - os : ubuntu -latest
4242 platform : macos
4343 python-version : " 3.10"
4444 arch : arm64
9191 packages-dir : python-package/dist
9292 repository-url : https://test.pypi.org/legacy/
9393 verbose : true
94+ # Avoid workflow to fail if the version has already been published
95+ skip-existing : true
Original file line number Diff line number Diff line change 1414
1515# Map Python plat_name to artifact names
1616ARTIFACTS = {
17- "linux_x86_64 " : ["ai-linux-cpu-x86_64" , "ai-linux-gpu-x86_64" ],
18- "linux_aarch64 " : [
17+ "manylinux2014_x86_64 " : ["ai-linux-cpu-x86_64" , "ai-linux-gpu-x86_64" ],
18+ "manylinux2014_aarch64 " : [
1919 "ai-linux-cpu-arm64" ,
2020 "ai-linux-gpu-arm64" ,
2121 ],
2525}
2626
2727BINARY_NAME = {
28- "linux_x86_64 " : "ai.so" ,
29- "linux_aarch64 " : "ai.so" ,
28+ "manylinux2014_x86_64 " : "ai.so" ,
29+ "manylinux2014_aarch64 " : "ai.so" ,
3030 "win_amd64" : "ai.dll" ,
3131 "macosx_10_9_x86_64" : "ai.dylib" ,
3232 "macosx_11_0_arm64" : "ai.dylib" ,
Original file line number Diff line number Diff line change 3737
3838# Map plat_name to classifier
3939classifier_map = {
40- "linux_x86_64 " : "Operating System :: POSIX :: Linux" ,
41- "linux_aarch64 " : "Operating System :: POSIX :: Linux" ,
40+ "manylinux2014_x86_64 " : "Operating System :: POSIX :: Linux" ,
41+ "manylinux2014_aarch64 " : "Operating System :: POSIX :: Linux" ,
4242 "win_amd64" : "Operating System :: Microsoft :: Windows" ,
4343 "macosx_10_9_x86_64" : "Operating System :: MacOS" ,
4444 "macosx_11_0_arm64" : "Operating System :: MacOS" ,
You can’t perform that action at this time.
0 commit comments