Skip to content

Commit 9924b97

Browse files
committed
fix test
1 parent 69b154b commit 9924b97

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN --mount=type=cache,target=/home/vscode/.cache/pip \
55
apt-get update; \
66
apt-get install -y moreutils; \
77
pip wheel --no-deps torch; \
8-
pip install patchelf pre-commit ipdb torch-*.whl; \
8+
pip install patchelf pre-commit nox ipdb torch-*.whl; \
99
mkdir -p /usr/local/lib/nv; \
1010
ln -s /usr/local/lib/python3.12/site-packages/nvidia/*/lib/*.so* /usr/local/lib/nv/; \
1111
echo "/usr/local/lib/nv" > /etc/ld.so.conf.d/nv.conf; \

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup
44

55
extras = {
6-
"test": ["pytest>=3.4", "jsonschema", "pypatchelf", "pretend", "docker"],
6+
"test": ["pytest>=3.4", "jsonschema", "patchelf", "pretend", "docker"],
77
"coverage": ["pytest-cov"],
88
}
99
extras["coverage"] += extras["test"]

src/auditwheel/repair.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ def repair_wheel(
9393
copylib, src_path, dest_dir, patcher
9494
)
9595
else:
96-
if copy_works[new_path].running() or copy_works[new_path].done():
96+
if copy_works[new_path].done():
9797
assert new_path.exists()
98-
soname_map[soname] = (new_soname, new_path)
9998
replacements.append((soname, new_soname))
10099

101100
# Replace rpath do not need copy to be done

0 commit comments

Comments
 (0)