Test python 3.11 & Change Enum Behaviour #3168
Conversation
|
3.11 tests are failing due to python/cpython#94601, which has been fixed and will be included in 3.11b5. Built docs locally without any issues. |
|
So the root cause of the bug might not have been the issue I linked, but the changed behavior when mixing Hence I adjusted the behavior for 3.11. Also noticed that we show the Enum value on |
|
About allowed failures: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error IISC that may lead to some unexpected UI stuff (community/community#15452, actions/runner#2347), but whatever … Regarding def pprint(arg: int | str) -> str:
return "Value is" + str(arg) # explicitly cast in case it's an intNow In any case
|
|
Waiting for actions/python-versions#183 to be merged so the 3.11 tests run... |
Bibo-Joshi
left a comment
There was a problem hiding this comment.
lgtm. rerunning the failing tests (test-official fails b/c of the api update, ofc)
Tests if py 3.11 works with the lib or not (the Python team really wants everyone to test it out). Not to be merged atm.
Also changes:
__repr__to matchStringEnum's