Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
upgrade typed-ast to fix python3.8 compiler error
Browse files Browse the repository at this point in the history
```
-I/opt/python/3.8.0/include/python3.8 -c ast3/Python/ast.c -o build/temp.linux-x86_64-3.8/ast3/Python/ast.o
  ast3/Python/ast.c:22:1: error: conflicting types for ‘_PyObject_FastCall’
   _PyObject_FastCall(PyObject *func, PyObject *const *args, int nargs)
   ^
  In file included from /opt/python/3.8.0/include/python3.8/abstract.h:837:0,
                   from /opt/python/3.8.0/include/python3.8/Python.h:147,
                   from ast3/Python/ast.c:6:
  /opt/python/3.8.0/include/python3.8/cpython/abstract.h:145:1: note: previous definition of ‘_PyObject_FastCall’ was here
   _PyObject_FastCall(PyObject *func, PyObject *const *args, Py_ssize_t nargs)
   ^
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for typed-ast
```
https://github.com/fphammerle/freesurfer-surface/pull/14/checks?check_run_id=441918682
https://travis-ci.org/fphammerle/freesurfer-surface/jobs/649600925?utm_medium=notification&utm_source=github_status
  • Loading branch information
fphammerle committed Feb 12, 2020
1 parent 455ebf8 commit 5f06663
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 137 deletions.
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ pytest = "<5"
pytest-cov = "<3,>=2"
"autopep8" = "<2"
isort = "<5"
# >=1.4.0 python3.8
typed-ast = ">=1.4.0"

[requires]
python_version = "3"

0 comments on commit 5f06663

Please sign in to comment.