File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 43
43
44
44
python setup.py bdist_wheel
45
45
46
- # hacky until the right distribution wheel can be made...
47
- find dist -name "*linux_x86_64.whl" -type f -exec bash -c 'mv "$1" "${1/linux_x86_64.whl/manylinux2014_x86_64.whl}"' _ {} \;
46
+ # Repair wheel (distribution support)
47
+ pip install auditwheel
48
+ auditwheel -v repair dist/* --plat manylinux2014_x86_64 --exclude libtorch_python.so --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so
49
+ rm -rf dist/*
50
+ mv wheelhouse/* dist/
48
51
ls -la dist/
49
52
50
53
# Run tests
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ async def test_get_or_create(self) -> None:
230
230
check_interval = _5_MS ,
231
231
)
232
232
233
- mock_create .called_once_with (config , appdef )
233
+ mock_create .assert_called_once_with (config , appdef )
234
234
self .assertEqual (server_info .server_handle , "slurm:///456" )
235
235
self .assertListEqual (
236
236
mock_info .call_args_list ,
You can’t perform that action at this time.
0 commit comments