Skip to content

pipes no longer supported in Python 3.13 #41

Description

@lucbouge

Dear @xolox Peter,

I tried to install you excellent software rotate-backups with Python 3.13, and it unfortunately failed. As far as I can understand,
it is based in executor, which imports module pipes, which is deprecated in Python 3.13

from executor/__init__.py

# Standard library modules.
import errno
import logging
import os
import pipes
import pprint
import shlex
import signal
import subprocess
import sys
import tempfile

from https://docs.python.org/3/library/pipes.html#module-pipes

This module is no longer part of the Python standard library. It was removed in Python 3.13 after being deprecated in Python 3.11. The removal was decided in PEP 594.

Applications should use the subprocess module instead.

The last version of Python that provided the pipes module was Python 3.12.

Hopefully, I could force installation with Python 3.12.

Do you intend to update module executor with subprocess?

Best regards,

Luc (from Britanny, France)

Activity

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