From d8ba27950707353c3d48f6e55b23744a7b9d54e0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 31 Mar 2025 11:46:57 +0000
Subject: [PATCH 1/2] build(deps): bump auditwheel from 6.2.0 to 6.3.0

Bumps [auditwheel](https://github.com/pypa/auditwheel) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/pypa/auditwheel/releases)
- [Changelog](https://github.com/pypa/auditwheel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pypa/auditwheel/compare/6.2.0...6.3.0)

---
updated-dependencies:
- dependency-name: auditwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]

From 9102ad7a1d2c02f11595267b6184e025a6f1c30c Mon Sep 17 00:00:00 2001
From: Max Schmitt <max@schmitt.mx>
Date: Mon, 31 Mar 2025 14:32:02 +0200
Subject: [PATCH 2/2] chore: fix build

---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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")