Remove usage of `pipes`
bersbersbers opened this issue · 3 comments
I am getting
C:\Python\Lib\site-packages\nodeenv.py:26: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
due to
Line 26 in 4ae75e3
Just came across another one:
pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Same here - this occurred when I attempted to add support for python 3.12:
task: [check] ./scripts/builder.sh python3 -m pyright --stats archivist
/usr/local/lib/python3.12/site-packages/nodeenv.py:26: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
import pipes
/usr/local/lib/python3.12/site-packages/nodeenv.py:48: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import parse_version
- Install prebuilt node (21.0.0) .
The 'Install prebuilt node..' hangs forever
FWIW, it is deprecated since Python 3.11 and the subprocess module is the recommended as replacement