Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2814

[Python] Python tests incompatible with python 3.12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.40.0
    • python-binding
    • None

    Description

      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!]

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: