From 28175bbee2c111cf41b80c97bbadd7dbabaa8990 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Tue, 22 Jun 2021 16:20:14 +0200 Subject: pathlib: Patch pathlib to work around some bugs (fixes #7295) --- run_project_tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'run_project_tests.py') diff --git a/run_project_tests.py b/run_project_tests.py index c9b7a8f42..fcd856f9a 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -14,6 +14,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Work around some pathlib bugs... +from mesonbuild import _pathlib +import sys +sys.modules['pathlib'] = _pathlib + from concurrent.futures import ProcessPoolExecutor, CancelledError from enum import Enum from io import StringIO @@ -29,7 +34,6 @@ import shlex import shutil import signal import subprocess -import sys import tempfile import time import typing as T -- cgit v1.2.3