Actions
Idea #20710
closedStop using deprecated pipes module
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
07/05/2023
Due date:
Story points:
0.5
Release:
Release relationship:
Auto
Description
When you run tests with Python 3.11+, you get a bunch of this warning:
/home/brett/Curii/arvados/sdk/python/tests/run_test_server.py:15: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13 import pipes
run_test_server.py
only uses this module for shell quoting. Find a replacement to use instead.
Updated by Brett Smith over 1 year ago
20710-shlex-quoting @ 63c629b080e1e98b4517510d43f72a6413343756 - developer-run-tests: #3729
Updated by Lucas Di Pentima over 1 year ago
One small nit: the services/fuse/tests/test_exec.py
file imports the pipes.quote()
func as a backwards compatibility option, but as shlex.quote()
is supported since Python 3.3, we can just remove that code.
With that, it LGTM.
Updated by Brett Smith over 1 year ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|de9d73176a3cc5c965e10664c626348c575dfc98.
Actions