-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
| version_str = re.search("([0-9]\.*)*[0-9]", version_str).group(0) |
/home/runner/.cache/uv/archive-v0/gQVN497zrc49u5GmIxX_f/lib/python3.14/site-packages/circuitpython_build_tools/build.py:46: SyntaxWarning: "." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
I think the solution is to make it a raw string:
- version_str = re.search("([0-9]\.*)*[0-9]", version_str).group(0)
+ version_str = re.search(r"([0-9]\.*)*[0-9]", version_str).group(0)Otherwise, the escape char has to be escaped as well (\\.).
PS - Would it hurt to upload a bdist wheel to PyPI? I only got this warning because uv had to build this package from the source dist on PyPI (there are no bdist wheels available on PyPI).
circuitpython-build-tools/.github/workflows/release.yml
Lines 32 to 34 in 0ae17a9
| run: | | |
| python setup.py sdist | |
| twine upload dist/* |
Metadata
Metadata
Assignees
Labels
No labels