Skip to content

manylinux support for nightly wheel #416

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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ jobs:

python setup.py bdist_wheel

# hacky until the right distribution wheel can be made...
find dist -name "*linux_x86_64.whl" -type f -exec bash -c 'mv "$1" "${1/linux_x86_64.whl/manylinux2014_x86_64.whl}"' _ {} \;
# Repair wheel (distribution support)
pip install auditwheel
auditwheel -v repair dist/* --plat manylinux2014_x86_64 --exclude libtorch_python.so --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so
rm -rf dist/*
mv wheelhouse/* dist/
ls -la dist/

# Run tests
Expand Down
2 changes: 1 addition & 1 deletion python/tests/tools/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ async def test_get_or_create(self) -> None:
check_interval=_5_MS,
)

mock_create.called_once_with(config, appdef)
mock_create.assert_called_once_with(config, appdef)
self.assertEqual(server_info.server_handle, "slurm:///456")
self.assertListEqual(
mock_info.call_args_list,
Expand Down
Loading