Closed mikewaters closed 2 weeks ago
Upon first use (fabric -h) on Python 3.12.3/darwin I received the following warnings:
fabric -h
/Users/mike/Develop/MeatAug/fabric/.venv/lib/python3.12/site-packages/pydub/utils.py:300: SyntaxWarning: invalid escape sequence '\(' m = re.match('([su]([0-9]{1,2})p?) \(([0-9]{1,2}) bit\)$', token) /Users/mike/Develop/MeatAug/fabric/.venv/lib/python3.12/site-packages/pydub/utils.py:301: SyntaxWarning: invalid escape sequence '\(' m2 = re.match('([su]([0-9]{1,2})p?)( \(default\))?$', token) /Users/mike/Develop/MeatAug/fabric/.venv/lib/python3.12/site-packages/pydub/utils.py:310: SyntaxWarning: invalid escape sequence '\(' elif re.match('(flt)p?( \(default\))?$', token): /Users/mike/Develop/MeatAug/fabric/.venv/lib/python3.12/site-packages/pydub/utils.py:314: SyntaxWarning: invalid escape sequence '\(' elif re.match('(dbl)p?( \(default\))?$', token): usage: fabric [-h] [--text TEXT] ...
This is an issue with the pydub dependency (pydub-0.25.1), which was fixed and merged a few years back but hasn't made it into pypi. Related issue: test failures on python 3.12
pydub-0.25.1
Attached is a patch to run against your Python 3.12 venv after installing fabric:
patch -i pydub-e9ce529.patch "/where/you/keep/code/fabric/.venv/lib/python3.12/site-packages/pydub/utils.py"
Obviously this is not under your control, and the Pydub project looks like it needs some love.
No response
I haven't observed it impacting anything, so maybe it's a big nothingburger.
What happened?
Upon first use (
fabric -h
) on Python 3.12.3/darwin I received the following warnings:This is an issue with the pydub dependency (
pydub-0.25.1
), which was fixed and merged a few years back but hasn't made it into pypi. Related issue: test failures on python 3.12Attached is a patch to run against your Python 3.12 venv after installing fabric:
Obviously this is not under your control, and the Pydub project looks like it needs some love.
Version check
Relevant log output
No response
Relevant screenshots (optional)
No response