Skip to content

module pipes is removed in python version 3.13 - Please use the subprocess module instead #73

Open

Description

@bitranox

Deprecated since version 3.11, will be removed in version 3.13: The pipes module is deprecated (see PEP 594 for details).
Please use the subprocess module instead.

  File "/opt/hostedtoolcache/Python/3.13.0-alpha.2/x64/lib/python3.13/site-packages/humanfriendly/cli.py", line 82, in <module>
    import pipes
ModuleNotFoundError: No module named 'pipes'

Activity

  1. added a commit that references this issue on May 31, 2024
    13d05b8
  2. maaaaz commented on Oct 24, 2026

    @maaaaz

    It is now a blocking bug:

    $ pip freeze
    humanfriendly==10.0
    
    $ humanfriendly
    Traceback (most recent call last):
      File "/venv/bin/humanfriendly", line 5, in <module>
        from humanfriendly.cli import main
      File "/venv/lib/python3.13/site-packages/humanfriendly/cli.py", line 82, in <module>
        import pipes
    ModuleNotFoundError: No module named 'pipes'
    
    $ cat /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
    NAME="Debian GNU/Linux"
    VERSION_ID="13"
    VERSION="13 (trixie)"
    VERSION_CODENAME=trixie
    DEBIAN_VERSION_FULL=13.7
    
    $ python -V
    Python 3.13.5
    

    Can we expect a fix ?

  3. bitranox commented on Oct 24, 2026

    @bitranox
    Author

    humanfriendly is a dependency of coloredlogs - since there is no activity of the developer since 2024, I dont think its gonna happen - thats why I wrote my own logging library - anyone interested can check out https://github.com/bitranox/lib_log_rich

    Enjoy vibrant Rich-style colored console output with clean formatting.
    Tailor colored (or monochrome) logs with flexible templates and themes, while your OS takes care of persistence.
    Forget about manual logfile rotation.
    Export logs as JSON, HTML or plain text whenever you need.
    Send events to journald, Windows Event Log, or Graylog with ease.
    Get optional OpenTelemetry integration for deeper observability.
    Configure logging per app/user/host via configfile or environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions