Skip to content

Commit 01448e1

Browse files
CopilotSkn0tt
andauthored
fix(setup): update auditwheel to 6.3.0 and use Path objects for InWheel
Agent-Logs-Url: https://github.com/microsoft/playwright-python/sessions/fd70085c-5b32-4dc2-8e63-b6edeadc9114 Co-authored-by: Skn0tt <14912729+Skn0tt@users.noreply.github.com>
1 parent b56dbf4 commit 01448e1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools==80.9.0", "setuptools-scm==9.2.2", "wheel==0.45.1", "auditwheel==6.2.0"]
2+
requires = ["setuptools==80.9.0", "setuptools-scm==9.2.2", "wheel==0.45.1", "auditwheel==6.3.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import subprocess
2020
import sys
2121
import zipfile
22+
from pathlib import Path
2223
from typing import Dict
2324

2425
driver_version = "1.59.1"
@@ -176,7 +177,7 @@ def _build_wheel(
176177
if InWheel:
177178
wheelhouse_whl = os.path.join("wheelhouse", os.path.basename(whlfile))
178179
shutil.move(whlfile, wheelhouse_whl)
179-
with InWheel(in_wheel=wheelhouse_whl, out_wheel=whlfile):
180+
with InWheel(in_wheel=Path(wheelhouse_whl), out_wheel=Path(whlfile)):
180181
print(f"Updating RECORD file of {whlfile}")
181182
print("Copying new wheels")
182183
shutil.rmtree("wheelhouse")

0 commit comments

Comments
 (0)