20710: Switch from pipes.quote to shlex.quote 20710-shlex-quoting
authorBrett Smith <brett.smith@curii.com>
Wed, 5 Jul 2023 16:20:57 +0000 (12:20 -0400)
committerBrett Smith <brett.smith@curii.com>
Wed, 5 Jul 2023 16:20:57 +0000 (12:20 -0400)
commit63c629b080e1e98b4517510d43f72a6413343756
treeef4d99618f69d69f4668297339290e39112a5fce
parent0630e05d68440e421d622d1f26e956c65f3d9668
20710: Switch from pipes.quote to shlex.quote

pipes is deprecated in Python 3.11+ and slated to be removed in Python
3.13. Fortunately we only use pipes.quote, which is literally the same
as shlex.quote:

    >>> import pipes
    <stdin>:1: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
    >>> import shlex
    >>> pipes.quote is shlex.quote
    True

Switch to that instead for continued support.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
sdk/python/tests/run_test_server.py