diff --git a/pyproject.toml b/pyproject.toml index 2e0a1acc0..f67ef9b62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools==78.0.1", "setuptools-scm==8.2.0", "wheel==0.45.1", "auditwheel==6.2.0"] +requires = ["setuptools==78.0.1", "setuptools-scm==8.2.0", "wheel==0.45.1", "auditwheel==6.3.0"] build-backend = "setuptools.build_meta" [project] diff --git a/setup.py b/setup.py index 7b32878dd..c4b0e7b34 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,7 @@ import subprocess import sys import zipfile +from pathlib import Path from typing import Dict driver_version = "1.51.1" @@ -167,7 +168,7 @@ def _build_wheel( if InWheel: wheelhouse_whl = os.path.join("wheelhouse", os.path.basename(whlfile)) shutil.move(whlfile, wheelhouse_whl) - with InWheel(in_wheel=wheelhouse_whl, out_wheel=whlfile): + with InWheel(in_wheel=Path(wheelhouse_whl), out_wheel=Path(whlfile)): print(f"Updating RECORD file of {whlfile}") print("Copying new wheels") shutil.rmtree("wheelhouse")