This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 189
test_simple_fstring and test_fstring_with_args fail with Python 3.12 beta #646
Comments
This is because Py3.12 changed how strings are tokenized and broke most things. I suspect there hasn't been enough time for this to be updated. It's been tricky to do in other projects I've seen attempt it as well |
Ping. 3.12.0 is just around the corner, and this is now blocking other packages that are otherwise ready for 3.12 already. |
parona-source
added a commit
to parona-source/pydocstyle
that referenced
this issue
Nov 1, 2023
* fstring don't emit tk.STRING in python3.12, reattach the now separate tokens and pass them to Docstring preserving previous behavior. Closes: PyCQA#646 Signed-off-by: Alfred Wingate <[email protected]>
2 tasks
parona-source
added a commit
to parona-source/pydocstyle
that referenced
this issue
Nov 1, 2023
* fstring don't emit tk.STRING in python3.12, reattach the now separate tokens and pass them to Docstring preserving previous behavior. Closes: PyCQA#646 Signed-off-by: Alfred Wingate <[email protected]>
parona-source
added a commit
to parona-source/pydocstyle
that referenced
this issue
Nov 1, 2023
* fstring don't emit tk.STRING in python3.12, reattach the now separate tokens and pass them to Docstring preserving previous behavior. Closes: PyCQA#646 Signed-off-by: Alfred Wingate <[email protected]>
parona-source
added a commit
to parona-source/pydocstyle
that referenced
this issue
Nov 1, 2023
* fstring don't emit tk.STRING in python3.12, reattach the now separate tokens and pass them to Docstring preserving previous behavior. Closes: PyCQA#646 Signed-off-by: Alfred Wingate <[email protected]>
parona-source
added a commit
to parona-source/pydocstyle
that referenced
this issue
Nov 2, 2023
* fstrings are broken into several distinct token in py3.12, reattach them together as a singular string to preserve previous behavior. Closes: PyCQA#646 Signed-off-by: Alfred Wingate <[email protected]>
parona-source
added a commit
to parona-source/pydocstyle
that referenced
this issue
Nov 2, 2023
* fstrings are broken into several distinct token in py3.12, reattach them together as a singular string to preserve previous behavior. Closes: PyCQA#646 Signed-off-by: Alfred Wingate <[email protected]>
parona-source
added a commit
to parona-source/pydocstyle
that referenced
this issue
Nov 2, 2023
* fstrings are broken into several distinct tokens in py3.12, reattach them together as a singular string to preserve previous behavior. Closes: PyCQA#646 Signed-off-by: Alfred Wingate <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Fedora is rebuilding all Python packages for the upcoming Python 3.12 upgrade in Fedora 39.
Pydocstyle's test suite is run as part of the RPM build process and there are 2 failures (which were not present before):
This is Fedora's build task in Koji.
Full RPM build log
The text was updated successfully, but these errors were encountered: