Skip to content

pytest-profiling: Python 3.11 deprecation warning: 'pipes' is deprecated and slated for removal in Python 3.13 #235

@fgmacedo

Description

@fgmacedo

When trying to use pytest-profiling on the Python 3.13 rc2, I got this error:

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File ".venv/lib/python3.13/site-packages/_pytest/assertion/rewrite.py", line 186, in exec_module
    exec(co, module.__dict__)
    ~~~~^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.13/site-packages/pytest_profiling.py", line 9, in <module>
    import pipes
ModuleNotFoundError: No module named 'pipes'

The last pypi release of pytest-profiling is 1.7.0 at 28 de mai. de 2019. The current code at this repository does not contain the refererences for pipe, so just publishing the last changes may fix the problem.

Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions