FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix Python 3.11 support by hauntsaninja · Pull Request #187 · python/typed_ast · GitHub

This repository was archived by the owner on Jul 5, 2023. It is now read-only.
/ typed_ast Public archive

Fix Python 3.11 support - #187

Merged
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:py311
Apr 30, 2022
Merged

Fix Python 3.11 support#187
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:py311

Conversation

hauntsaninja commented Apr 30, 2022
edited
Loading

Copy link
Copy Markdown
Collaborator

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 marked this pull request as ready for review April 30, 2022 05:48
hauntsaninja merged commit 2a02975 into python:master Apr 30, 2022
hauntsaninja deleted the py311 branch April 30, 2022 05:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL