From 2db18d16361002d13bcc083af93c900b47c1b949 Mon Sep 17 00:00:00 2001 From: Mathias Ertl Date: Sun, 11 Dec 2022 23:53:12 +0100 Subject: [PATCH] fix wheel testing --- devscripts/files/Dockerfile.wheel | 3 ++- devscripts/validation/wheel.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/devscripts/files/Dockerfile.wheel b/devscripts/files/Dockerfile.wheel index 9f6ba35aa..84f8e4f0f 100644 --- a/devscripts/files/Dockerfile.wheel +++ b/devscripts/files/Dockerfile.wheel @@ -24,5 +24,6 @@ RUN twine check --strict dist/* FROM $IMAGE WORKDIR /work/ -ADD devscripts/standalone/test-imports.py setup.cfg ./ +ADD setup.cfg ./ +ADD devscripts/standalone/test-imports.py devscripts/standalone/test-imports.py COPY --from=build /work/dist/* dist/ diff --git a/devscripts/validation/wheel.py b/devscripts/validation/wheel.py index 07bdc3493..fdf6e0ceb 100644 --- a/devscripts/validation/wheel.py +++ b/devscripts/validation/wheel.py @@ -28,7 +28,7 @@ def run(release, image, pip_cache_dir, extra=None): """Actually run a given wheel test.""" docker_pip_cache = "/tmp/cache" wheel = f"dist/django_ca-{release}-py3-none-any.whl" - command = "test-imports.py" + command = "devscripts/standalone/test-imports.py" if extra is not None: wheel += f"[{extra}]"