[Bug 279502] devel/py-Automat is incompatible with python3.11

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Jun 2024 23:27:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279502

John W. O'Brien <john@saltant.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |python@FreeBSD.org

--- Comment #4 from John W. O'Brien <john@saltant.com> ---
With 22.2.0 and VER in {3.8,3.9,3.10},

    pytest-$VER --pyargs automat

reports "24 passed, 37 skipped". With VER=3.11, it reports:

========================== short test summary info ===========================
FAILED
_test/test_methodical.py::MethodicalTests::test_badTransitionForCurrentState -
TypeError: code() argument 13 must be str, not int
FAILED _test/test_methodical.py::MethodicalTests::test_collectOutputs -
TypeError: code() argument 13 must be str, not int
FAILED
_test/test_methodical.py::MethodicalTests::test_inputFunctionsMustBeEmpty -
TypeError: code() argument 13 must be str, not int
FAILED _test/test_methodical.py::MethodicalTests::test_inputWithArguments -
TypeError: code() argument 13 must be str, not int
FAILED _test/test_methodical.py::MethodicalTests::test_methodName -
AssertionError: 'declaredInputName' not found in 'code() argument 13 must...
FAILED _test/test_methodical.py::MethodicalTests::test_multipleMachines -
TypeError: code() argument 13 must be str, not int
FAILED _test/test_methodical.py::MethodicalTests::test_oneTransition -
TypeError: code() argument 13 must be str, not int
FAILED
_test/test_methodical.py::MethodicalTests::test_outputWithSubsetOfArguments -
TypeError: code() argument 13 must be str, not int
FAILED _test/test_methodical.py::MethodicalTests::test_outputsArePrivate -
TypeError: code() argument 13 must be str, not int
FAILED _test/test_methodical.py::MethodicalTests::test_restoreState -
TypeError: code() argument 13 must be str, not int
FAILED _test/test_trace.py::TraceTests::test_inputs_and_outputs - TypeError:
code() argument 13 must be str, not int
FAILED _test/test_trace.py::TraceTests::test_only_inputs - TypeError: code()
argument 13 must be str, not int
================= 12 failed, 12 passed, 37 skipped in 0.39s ==================

With 22.10.0, it reports "26 passed, 37 skipped" against all four versions of
Python.

-- 
You are receiving this mail because:
You are on the CC list for the bug.