Skip to content

Python 3.11 deprecation warning: 'pipes' is deprecated and slated for removal in Python 3.13 #2417

Closed
@adamchainz

Description

@adamchainz

Running the tests for my plugin tox-py on Python 3.11b1 with tox 3.25.0, this warning is emitted:

tests/test_integration.py:8: in <module>
    import tox
.tox/py311/lib/python3.11/site-packages/tox/__init__.py:11: in <module>
    from . import exception
.tox/py311/lib/python3.11/site-packages/tox/exception.py:2: in <module>
    import pipes
/opt/hostedtoolcache/Python/3.11.0-beta.1/x64/lib/python3.11/pipes.py:68: in <module>
    warnings._deprecated(__name__, remove=(3, 13))
/opt/hostedtoolcache/Python/3.11.0-beta.1/x64/lib/python3.11/warnings.py:514: in _deprecated
    warn(msg, DeprecationWarning, stacklevel=3)
E   DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13

I checked and the rewrite branch doesn't use pipes, so not sure if this is worth actioning. I'm ignoring it in my test suite for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:normalaffects many people or has quite an impact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions