Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Python 3.11 tests in CI #12833

Merged
merged 1 commit into from
May 21, 2022
Merged

Run Python 3.11 tests in CI #12833

merged 1 commit into from
May 21, 2022

Conversation

hauntsaninja
Copy link
Collaborator

(Note that we mark these as success)

@hauntsaninja
Copy link
Collaborator Author

Looks like all the mypyc tests fail:

In file included from build/__native.c:11:
/home/runner/work/mypy/mypy/mypyc/lib-rt/exc_ops.c: In function ‘CPy_ExceptionMatches’:
/home/runner/work/mypy/mypy/mypyc/lib-rt/exc_ops.c:78:54: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
   78 |     return PyErr_GivenExceptionMatches(CPy_ExcState()->exc_type, type);
      |                                                      ^~
/home/runner/work/mypy/mypy/mypyc/lib-rt/exc_ops.c: In function ‘CPy_AddTraceback’:
/home/runner/work/mypy/mypy/mypyc/lib-rt/exc_ops.c:217:14: error: dereferencing pointer to incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  217 |     frame_obj->f_lineno = line;
      |              ^~
In file included from build/__native.c:12:
/home/runner/work/mypy/mypy/mypyc/lib-rt/misc_ops.c: In function ‘CPy_YieldFromErrorHandle’:
/home/runner/work/mypy/mypy/mypyc/lib-rt/misc_ops.c:48:40: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
   48 |     PyObject *exc_type = CPy_ExcState()->exc_type;
      |                                        ^~
In file included from build/__native.c:11:
/home/runner/work/mypy/mypy/mypyc/lib-rt/exc_ops.c: In function ‘CPy_ExceptionMatches’:
/home/runner/work/mypy/mypy/mypyc/lib-rt/exc_ops.c:79:1: error: control reaches end of non-void function [-Werror=return-type]
   79 | }
      | ^
build/__native.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror]
cc1: error: unrecognized command line option ‘-Wno-unused-command-line-argument’ [-Werror]
cc1: all warnings being treated as errors

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@hauntsaninja hauntsaninja merged commit 9d63fa5 into python:master May 21, 2022
@hauntsaninja hauntsaninja deleted the py311 branch May 21, 2022 22:15
@hauntsaninja hauntsaninja mentioned this pull request May 22, 2022
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant