Skip to content

Commit

Permalink
Don't copy rapids-test-dummy to temp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Aug 8, 2024
1 parent 8f2c8a8 commit 36e1126
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def wheelhouse(tmp_path_factory, pip_cache):
"""A PEP 517 wheelhouse containing the local copy of rapids-build-backend."""
wheelhouse = tmp_path_factory.mktemp("wheelhouse")

# Build the rapids-builder wheel in a temporary directory where we can bump the
# version to ensure that it is preferred to any other available wheels.
# Build the rapids-build-backend wheel in a temporary directory where we can bump
# the version to ensure that it is preferred to any other available wheels.
rapids_build_backend_build_dir = tmp_path_factory.mktemp(
"rapids_build_backend_build_dir"
)
Expand All @@ -176,11 +176,6 @@ def wheelhouse(tmp_path_factory, pip_cache):
ignore=shutil.ignore_patterns("tests*"),
dirs_exist_ok=True,
)
shutil.copytree(
DIR / "tests/rapids-test-dummy",
rapids_build_backend_build_dir / "tests/rapids-test-dummy",
dirs_exist_ok=True,
)

pyproject_file = rapids_build_backend_build_dir / "pyproject.toml"
with open(pyproject_file) as f:
Expand Down Expand Up @@ -219,7 +214,7 @@ def wheelhouse(tmp_path_factory, pip_cache):
str(wheelhouse),
"--cache-dir",
pip_cache,
f"{rapids_build_backend_build_dir}/tests/rapids-test-dummy",
f"{DIR}/tests/rapids-test-dummy",
],
check=True,
)
Expand Down

0 comments on commit 36e1126

Please sign in to comment.