Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pipes.quote with shlex.quote on Python 3 #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

musicinmybrain
Copy link

The shlex.quote() API is available from Python 3.3 on; pipes.quote() was never documented, and is removed in Python 3.13.

Fixes #119.

The shlex.quote() API is available from Python 3.3 on; pipes.quote() was
never documented, and is removed in Python 3.13.

Fixes xolox#119.
@musicinmybrain
Copy link
Author

When xolox/python-humanfriendly#75 is also applied, all tests pass on Python 3.13.

gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Jun 30, 2024
It was necessary to apply patch [1] in order to make py3.13 work.

[1] xolox/python-coloredlogs#120

Signed-off-by: Petr Vaněk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relies on the pipes module, removed from the standard library in Python 3.13
1 participant