Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Fix Python 3.11 support #187

Merged
merged 1 commit into from
Apr 30, 2022
Merged

Fix Python 3.11 support #187

merged 1 commit into from
Apr 30, 2022

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Apr 30, 2022

The compilation error on master is:

    ast3/Parser/tokenizer.c:1991:10: error: implicit declaration of function '_Py_dup' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        fd = _Py_dup(fd);
             ^
    1 error generated.

Probably as a result of python/cpython#30484

Just declaring it seems to fix things.

Add a (slightly) hacky way of testing Python 3.11 in CI prior to manylinux / cibuildwheel support.

@hauntsaninja hauntsaninja marked this pull request as ready for review April 30, 2022 05:48
@hauntsaninja hauntsaninja merged commit 2a02975 into python:master Apr 30, 2022
@hauntsaninja hauntsaninja deleted the py311 branch April 30, 2022 05:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants