From e5ea855ac49ae1410ede01d6c167249267eef066 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 29 Apr 2025 17:53:26 +0300 Subject: [PATCH] setupbase.py: drop pipes usage pipes is deprecated since version 3.11, and got removed in version 3.13 (see PEP 594 for details). To get pythreejs to work with python 3.13, switch to shlex.quote instead. --- setupbase.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setupbase.py b/setupbase.py index 44a02aa2..34dcda4e 100644 --- a/setupbase.py +++ b/setupbase.py @@ -14,7 +14,6 @@ import io import os import functools -import pipes import re import shlex import subprocess @@ -43,7 +42,7 @@ from subprocess import list2cmdline else: def list2cmdline(cmd_list): - return ' '.join(map(pipes.quote, cmd_list)) + return ' '.join(map(shlex.quote, cmd_list)) __version__ = '0.2.0'