[ https://issues.apache.org/jira/browse/PROTON-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837386#comment-17837386 ]
ASF subversion and git services commented on PROTON-2814: --------------------------------------------------------- Commit 4287b7ae2b9bdb19f3040c82d298ec764b5e4acd in qpid-proton's branch refs/heads/main from Andrew Stitcher [ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=4287b7ae2 ] PROTON-2814: [Python] Tests use function removed in Python 3.12 Fix changed cgi.escape() to html.escape() as cgi.escape has been removed in Python 3.12. This only affects test failure output in the JUnit reporter so would only get noticed if there was a test failure in this mode. > [Python] Python tests incompatible with python 3.12 > --------------------------------------------------- > > Key: PROTON-2814 > URL: https://issues.apache.org/jira/browse/PROTON-2814 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding > Reporter: Andrew Stitcher > Assignee: Andrew Stitcher > Priority: Major > > Python 3.12 removes {{cgi.escape()}} which is used by the python tests to > output Junit compatible failure information. > The use can be simply replaced with {{{}html.escape(){}}}. > [Thanks to [~jdanek] for finding this issue before we had a failure actually > trigger it!] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org