python-executor
python-executor copied to clipboard
Replace deprecated `pipes` module with `shlex.quote`
pipes.quote
is undocumented. It is mentioned in 2.7 docs as deprecated and exported as shlex.quote
. Now whole pipes
module is deprecated as of 3.11 and scheduled for removal in python 3.13.
Currently using executor results in a deprecation warning:
../../.venv/lib/python3.11/site-packages/executor/__init__.py:47
/.venv/lib/python3.11/site-packages/executor/__init__.py:47: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
import pipes