We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reproduction: Use the heroku button in the README.md to launch a new build, looks to be issues with typed_ast and python 3.9
python/typed_ast#128
-----> Building on the Heroku-20 stack -----> Using buildpacks: 1. heroku/python 2. heroku/nodejs -----> Python app detected -----> Installing python-3.9.4 -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2 -----> Installing SQLite3 -----> Installing requirements with pip Collecting alembic==1.0.11 Downloading alembic-1.0.11.tar.gz (1.0 MB) Collecting aniso8601==7.0.0 Downloading aniso8601-7.0.0-py2.py3-none-any.whl (42 kB) Collecting APScheduler==3.6.3 Downloading APScheduler-3.6.3-py2.py3-none-any.whl (58 kB) Collecting astroid==2.2.5 Downloading astroid-2.2.5-py3-none-any.whl (193 kB) Collecting autopep8==1.4.4 Downloading autopep8-1.4.4.tar.gz (114 kB) Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting Click==7.0 Downloading Click-7.0-py2.py3-none-any.whl (81 kB) Collecting Flask==1.1.1 Downloading Flask-1.1.1-py2.py3-none-any.whl (94 kB) Collecting Flask-DotEnv==0.1.2 Downloading Flask-DotEnv-0.1.2.tar.gz (4.0 kB) Collecting Flask-Migrate==2.5.2 Downloading Flask_Migrate-2.5.2-py2.py3-none-any.whl (13 kB) Collecting Flask-RESTful==0.3.7 Downloading Flask_RESTful-0.3.7-py2.py3-none-any.whl (24 kB) Collecting Flask-Script==2.0.6 Downloading Flask-Script-2.0.6.tar.gz (43 kB) Collecting Flask-SQLAlchemy==2.4.0 Downloading Flask_SQLAlchemy-2.4.0-py2.py3-none-any.whl (17 kB) Collecting gspread==3.1.0 Downloading gspread-3.1.0-py3-none-any.whl (16 kB) Collecting gunicorn==19.9.0 Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB) Collecting httplib2==0.13.1 Downloading httplib2-0.13.1-py3-none-any.whl (94 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) Collecting isort==4.3.21 Downloading isort-4.3.21-py2.py3-none-any.whl (42 kB) Collecting itsdangerous==1.1.0 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting Jinja2==2.10.1 Downloading Jinja2-2.10.1-py2.py3-none-any.whl (124 kB) Collecting lazy-object-proxy==1.4.2 Downloading lazy-object-proxy-1.4.2.tar.gz (34 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting Mako==1.1.0 Downloading Mako-1.1.0.tar.gz (463 kB) Collecting MarkupSafe==1.1.1 Downloading MarkupSafe-1.1.1-cp39-cp39-manylinux2010_x86_64.whl (32 kB) Collecting mccabe==0.6.1 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting oauth2client==4.1.3 Downloading oauth2client-4.1.3-py2.py3-none-any.whl (98 kB) Collecting psycopg2==2.8.3 Downloading psycopg2-2.8.3.tar.gz (377 kB) Collecting psycopg2-binary==2.8.3 Downloading psycopg2-binary-2.8.3.tar.gz (378 kB) Collecting pyasn1==0.4.6 Downloading pyasn1-0.4.6-py2.py3-none-any.whl (75 kB) Collecting pyasn1-modules==0.2.6 Downloading pyasn1_modules-0.2.6-py2.py3-none-any.whl (95 kB) Collecting pycodestyle==2.5.0 Downloading pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB) Collecting pylint==2.3.1 Downloading pylint-2.3.1-py3-none-any.whl (765 kB) Collecting python-dateutil==2.8.0 Downloading python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB) Collecting python-dotenv==0.15.0 Downloading python_dotenv-0.15.0-py2.py3-none-any.whl (18 kB) Collecting python-editor==1.0.4 Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB) Collecting pytz==2019.2 Downloading pytz-2019.2-py2.py3-none-any.whl (508 kB) Collecting requests==2.22.0 Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB) Collecting rsa==4.0 Downloading rsa-4.0-py2.py3-none-any.whl (38 kB) Collecting six==1.12.0 Downloading six-1.12.0-py2.py3-none-any.whl (10 kB) Collecting SQLAlchemy==1.3.7 Downloading SQLAlchemy-1.3.7.tar.gz (5.9 MB) Collecting typed-ast==1.4.0 Downloading typed_ast-1.4.0.tar.gz (206 kB) Collecting tzlocal==2.0.0 Downloading tzlocal-2.0.0-py2.py3-none-any.whl (15 kB) Collecting urllib3==1.25.3 Downloading urllib3-1.25.3-py2.py3-none-any.whl (150 kB) Collecting Werkzeug==0.15.5 Downloading Werkzeug-0.15.5-py2.py3-none-any.whl (328 kB) Collecting wrapt==1.11.2 Downloading wrapt-1.11.2.tar.gz (27 kB) Building wheels for collected packages: alembic, autopep8, Flask-DotEnv, Flask-Script, lazy-object-proxy, Mako, psycopg2, psycopg2-binary, SQLAlchemy, typed-ast, wrapt Building wheel for alembic (setup.py): started Building wheel for alembic (setup.py): finished with status 'done' Created wheel for alembic: filename=alembic-1.0.11-py2.py3-none-any.whl size=162178 sha256=605616ece52991ba0f6d93b4898d03dda9e734888966ca76c72118834ed138c6 Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/10/06/38/5007d5d3ecee8cf450c8c33f0cce4aba29de1b5a556992fe77 Building wheel for autopep8 (setup.py): started Building wheel for autopep8 (setup.py): finished with status 'done' Created wheel for autopep8: filename=autopep8-1.4.4-py2.py3-none-any.whl size=42631 sha256=4f8742ab04b845d79a64196eba4934270ba2348761d127eddd4e3f817766a2bb Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/94/c6/23/71109e4f94f1efbb58e63556faad9849288cfe6e2436962e9f Building wheel for Flask-DotEnv (setup.py): started Building wheel for Flask-DotEnv (setup.py): finished with status 'done' Created wheel for Flask-DotEnv: filename=Flask_DotEnv-0.1.2-py3-none-any.whl size=2633 sha256=6a2620e02814cb23c0a71c7f49651ae82cb7c47837f21cadc59f77fa85e76c66 Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/05/29/17/53e2375018342dc7a856364814a0a6678339755e782b66d1ea Building wheel for Flask-Script (setup.py): started Building wheel for Flask-Script (setup.py): finished with status 'done' Created wheel for Flask-Script: filename=Flask_Script-2.0.6-py3-none-any.whl size=14015 sha256=e0b4cf6a685d12fae0d0aa798942443a205cb64dea30c59133421fcdda629b98 Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/2a/ae/8b/66d1d7344c5dbc14b561c54e9008244a89574abdd4a1ed3bd2 Building wheel for lazy-object-proxy (PEP 517): started Building wheel for lazy-object-proxy (PEP 517): finished with status 'done' Created wheel for lazy-object-proxy: filename=lazy_object_proxy-1.4.2-cp39-cp39-linux_x86_64.whl size=58333 sha256=702cab36e479bca812b8d61db488d5457ee449b5128e5ee806f2a2e3d6990377 Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/31/07/91/f76b19896c9320de2d0d606243f221e7238874ac7b65b04d68 Building wheel for Mako (setup.py): started Building wheel for Mako (setup.py): finished with status 'done' Created wheel for Mako: filename=Mako-1.1.0-py3-none-any.whl size=75360 sha256=86f64b03b20b11ca326f9805b9856a09d2667f591186a52ff7fe50c737dc9865 Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/75/fe/b2/0e5cf70f4a2820da99bc286512ae221f899de5220590879655 Building wheel for psycopg2 (setup.py): started Building wheel for psycopg2 (setup.py): finished with status 'done' Created wheel for psycopg2: filename=psycopg2-2.8.3-cp39-cp39-linux_x86_64.whl size=517499 sha256=25c7d5e981fa278536efe2fd1d671b8d5f7e971d8f0d1c523531b017b68ec481 Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/69/f7/45/c67f532962cc4aa5dbdd83b3f76dd4a6f7c75520355986963f Building wheel for psycopg2-binary (setup.py): started Building wheel for psycopg2-binary (setup.py): finished with status 'done' Created wheel for psycopg2-binary: filename=psycopg2_binary-2.8.3-cp39-cp39-linux_x86_64.whl size=517588 sha256=778574786e4f8f1fc57f0045c15a67b3e47b66780682f684eb4559e0cf47efcd Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/e8/d8/d8/a7c3fdcf887ec3c60f24c2770327261614baf96a5e06d2ebd5 Building wheel for SQLAlchemy (setup.py): started Building wheel for SQLAlchemy (setup.py): finished with status 'done' Created wheel for SQLAlchemy: filename=SQLAlchemy-1.3.7-cp39-cp39-linux_x86_64.whl size=1198125 sha256=e468d67f32d74a3bf189c42c3cc51baa5aba1e2701d7f5d016f95426f556c703 Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/00/33/5a/3cf21ffc2f74c5dc122ade827875859a871ecbc8b1df9ddc64 Building wheel for typed-ast (setup.py): started Building wheel for typed-ast (setup.py): finished with status 'error' ERROR: Command errored out with exit status 1: command: /app/.heroku/python/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i_a8aec1/typed-ast/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i_a8aec1/typed-ast/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9gfka4ul cwd: /tmp/pip-install-i_a8aec1/typed-ast/ Complete output (63 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/__init__.py -> build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/ast27.py -> build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/ast3.py -> build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/conversions.py -> build/lib.linux-x86_64-3.9/typed_ast package init file 'ast3/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-x86_64-3.9/typed_ast/tests copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-3.9/typed_ast/tests running build_ext building '_ast27' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/ast27 creating build/temp.linux-x86_64-3.9/ast27/Custom creating build/temp.linux-x86_64-3.9/ast27/Parser creating build/temp.linux-x86_64-3.9/ast27/Python gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Custom/typed_ast.c -o build/temp.linux-x86_64-3.9/ast27/Custom/typed_ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/acceler.c -o build/temp.linux-x86_64-3.9/ast27/Parser/acceler.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/bitset.c -o build/temp.linux-x86_64-3.9/ast27/Parser/bitset.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/grammar.c -o build/temp.linux-x86_64-3.9/ast27/Parser/grammar.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/grammar1.c -o build/temp.linux-x86_64-3.9/ast27/Parser/grammar1.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/node.c -o build/temp.linux-x86_64-3.9/ast27/Parser/node.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/parser.c -o build/temp.linux-x86_64-3.9/ast27/Parser/parser.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/parsetok.c -o build/temp.linux-x86_64-3.9/ast27/Parser/parsetok.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/tokenizer.c -o build/temp.linux-x86_64-3.9/ast27/Parser/tokenizer.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/Python-ast.c -o build/temp.linux-x86_64-3.9/ast27/Python/Python-ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/asdl.c -o build/temp.linux-x86_64-3.9/ast27/Python/asdl.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/ast.c -o build/temp.linux-x86_64-3.9/ast27/Python/ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/graminit.c -o build/temp.linux-x86_64-3.9/ast27/Python/graminit.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/mystrtoul.c -o build/temp.linux-x86_64-3.9/ast27/Python/mystrtoul.o gcc -pthread -shared build/temp.linux-x86_64-3.9/ast27/Custom/typed_ast.o build/temp.linux-x86_64-3.9/ast27/Parser/acceler.o build/temp.linux-x86_64-3.9/ast27/Parser/bitset.o build/temp.linux-x86_64-3.9/ast27/Parser/grammar.o build/temp.linux-x86_64-3.9/ast27/Parser/grammar1.o build/temp.linux-x86_64-3.9/ast27/Parser/node.o build/temp.linux-x86_64-3.9/ast27/Parser/parser.o build/temp.linux-x86_64-3.9/ast27/Parser/parsetok.o build/temp.linux-x86_64-3.9/ast27/Parser/tokenizer.o build/temp.linux-x86_64-3.9/ast27/Python/Python-ast.o build/temp.linux-x86_64-3.9/ast27/Python/asdl.o build/temp.linux-x86_64-3.9/ast27/Python/ast.o build/temp.linux-x86_64-3.9/ast27/Python/graminit.o build/temp.linux-x86_64-3.9/ast27/Python/mystrtoul.o -o build/lib.linux-x86_64-3.9/typed_ast/_ast27.cpython-39-x86_64-linux-gnu.so building '_ast3' extension creating build/temp.linux-x86_64-3.9/ast3 creating build/temp.linux-x86_64-3.9/ast3/Custom creating build/temp.linux-x86_64-3.9/ast3/Parser creating build/temp.linux-x86_64-3.9/ast3/Python gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Custom/typed_ast.c -o build/temp.linux-x86_64-3.9/ast3/Custom/typed_ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/acceler.c -o build/temp.linux-x86_64-3.9/ast3/Parser/acceler.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/bitset.c -o build/temp.linux-x86_64-3.9/ast3/Parser/bitset.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/grammar.c -o build/temp.linux-x86_64-3.9/ast3/Parser/grammar.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/grammar1.c -o build/temp.linux-x86_64-3.9/ast3/Parser/grammar1.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/node.c -o build/temp.linux-x86_64-3.9/ast3/Parser/node.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/parser.c -o build/temp.linux-x86_64-3.9/ast3/Parser/parser.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/parsetok.c -o build/temp.linux-x86_64-3.9/ast3/Parser/parsetok.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/tokenizer.c -o build/temp.linux-x86_64-3.9/ast3/Parser/tokenizer.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Python/Python-ast.c -o build/temp.linux-x86_64-3.9/ast3/Python/Python-ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Python/asdl.c -o build/temp.linux-x86_64-3.9/ast3/Python/asdl.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Python/ast.c -o build/temp.linux-x86_64-3.9/ast3/Python/ast.o ast3/Python/ast.c: In function ‘decode_bytes_with_escapes’: ast3/Python/ast.c:4534:24: error: too many arguments to function ‘_PyBytes_DecodeEscape’ 4534 | PyObject *result = _PyBytes_DecodeEscape(s, len, NULL, 0, NULL, | ^~~~~~~~~~~~~~~~~~~~~ In file included from /app/.heroku/python/include/python3.9/bytesobject.h:75, from /app/.heroku/python/include/python3.9/Python.h:96, from ast3/Python/ast.c:6: /app/.heroku/python/include/python3.9/cpython/bytesobject.h:28:24: note: declared here 28 | PyAPI_FUNC(PyObject *) _PyBytes_DecodeEscape(const char *, Py_ssize_t, | ^~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 ---------------------------------------- ERROR: Failed building wheel for typed-ast Running setup.py clean for typed-ast Building wheel for wrapt (setup.py): started Building wheel for wrapt (setup.py): finished with status 'done' Created wheel for wrapt: filename=wrapt-1.11.2-cp39-cp39-linux_x86_64.whl size=78274 sha256=2f34cfb817e9b7069a6d64e26705c3a0637d5352b8ff6593abe45d77668e93bf Stored in directory: /tmp/pip-ephem-wheel-cache-xszg6hps/wheels/76/e9/66/d4e35bfa6cde3925ff1c497043d7a2ccb305c07ac51fef0e31 Successfully built alembic autopep8 Flask-DotEnv Flask-Script lazy-object-proxy Mako psycopg2 psycopg2-binary SQLAlchemy wrapt Failed to build typed-ast Installing collected packages: SQLAlchemy, MarkupSafe, Mako, python-editor, six, python-dateutil, alembic, aniso8601, pytz, tzlocal, APScheduler, wrapt, typed-ast, lazy-object-proxy, astroid, pycodestyle, autopep8, certifi, chardet, Click, Werkzeug, Jinja2, itsdangerous, Flask, Flask-DotEnv, Flask-SQLAlchemy, Flask-Migrate, Flask-RESTful, Flask-Script, urllib3, idna, requests, gspread, gunicorn, httplib2, isort, mccabe, pyasn1, rsa, pyasn1-modules, oauth2client, psycopg2, psycopg2-binary, pylint, python-dotenv Running setup.py install for typed-ast: started Running setup.py install for typed-ast: finished with status 'error' ERROR: Command errored out with exit status 1: command: /app/.heroku/python/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i_a8aec1/typed-ast/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i_a8aec1/typed-ast/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8t34t0ws/install-record.txt --single-version-externally-managed --compile --install-headers /app/.heroku/python/include/python3.9/typed-ast cwd: /tmp/pip-install-i_a8aec1/typed-ast/ Complete output (63 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/__init__.py -> build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/ast27.py -> build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/ast3.py -> build/lib.linux-x86_64-3.9/typed_ast copying typed_ast/conversions.py -> build/lib.linux-x86_64-3.9/typed_ast package init file 'ast3/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-x86_64-3.9/typed_ast/tests copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-3.9/typed_ast/tests running build_ext building '_ast27' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/ast27 creating build/temp.linux-x86_64-3.9/ast27/Custom creating build/temp.linux-x86_64-3.9/ast27/Parser creating build/temp.linux-x86_64-3.9/ast27/Python gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Custom/typed_ast.c -o build/temp.linux-x86_64-3.9/ast27/Custom/typed_ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/acceler.c -o build/temp.linux-x86_64-3.9/ast27/Parser/acceler.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/bitset.c -o build/temp.linux-x86_64-3.9/ast27/Parser/bitset.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/grammar.c -o build/temp.linux-x86_64-3.9/ast27/Parser/grammar.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/grammar1.c -o build/temp.linux-x86_64-3.9/ast27/Parser/grammar1.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/node.c -o build/temp.linux-x86_64-3.9/ast27/Parser/node.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/parser.c -o build/temp.linux-x86_64-3.9/ast27/Parser/parser.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/parsetok.c -o build/temp.linux-x86_64-3.9/ast27/Parser/parsetok.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Parser/tokenizer.c -o build/temp.linux-x86_64-3.9/ast27/Parser/tokenizer.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/Python-ast.c -o build/temp.linux-x86_64-3.9/ast27/Python/Python-ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/asdl.c -o build/temp.linux-x86_64-3.9/ast27/Python/asdl.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/ast.c -o build/temp.linux-x86_64-3.9/ast27/Python/ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/graminit.c -o build/temp.linux-x86_64-3.9/ast27/Python/graminit.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/app/.heroku/python/include/python3.9 -c ast27/Python/mystrtoul.c -o build/temp.linux-x86_64-3.9/ast27/Python/mystrtoul.o gcc -pthread -shared build/temp.linux-x86_64-3.9/ast27/Custom/typed_ast.o build/temp.linux-x86_64-3.9/ast27/Parser/acceler.o build/temp.linux-x86_64-3.9/ast27/Parser/bitset.o build/temp.linux-x86_64-3.9/ast27/Parser/grammar.o build/temp.linux-x86_64-3.9/ast27/Parser/grammar1.o build/temp.linux-x86_64-3.9/ast27/Parser/node.o build/temp.linux-x86_64-3.9/ast27/Parser/parser.o build/temp.linux-x86_64-3.9/ast27/Parser/parsetok.o build/temp.linux-x86_64-3.9/ast27/Parser/tokenizer.o build/temp.linux-x86_64-3.9/ast27/Python/Python-ast.o build/temp.linux-x86_64-3.9/ast27/Python/asdl.o build/temp.linux-x86_64-3.9/ast27/Python/ast.o build/temp.linux-x86_64-3.9/ast27/Python/graminit.o build/temp.linux-x86_64-3.9/ast27/Python/mystrtoul.o -o build/lib.linux-x86_64-3.9/typed_ast/_ast27.cpython-39-x86_64-linux-gnu.so building '_ast3' extension creating build/temp.linux-x86_64-3.9/ast3 creating build/temp.linux-x86_64-3.9/ast3/Custom creating build/temp.linux-x86_64-3.9/ast3/Parser creating build/temp.linux-x86_64-3.9/ast3/Python gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Custom/typed_ast.c -o build/temp.linux-x86_64-3.9/ast3/Custom/typed_ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/acceler.c -o build/temp.linux-x86_64-3.9/ast3/Parser/acceler.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/bitset.c -o build/temp.linux-x86_64-3.9/ast3/Parser/bitset.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/grammar.c -o build/temp.linux-x86_64-3.9/ast3/Parser/grammar.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/grammar1.c -o build/temp.linux-x86_64-3.9/ast3/Parser/grammar1.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/node.c -o build/temp.linux-x86_64-3.9/ast3/Parser/node.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/parser.c -o build/temp.linux-x86_64-3.9/ast3/Parser/parser.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/parsetok.c -o build/temp.linux-x86_64-3.9/ast3/Parser/parsetok.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Parser/tokenizer.c -o build/temp.linux-x86_64-3.9/ast3/Parser/tokenizer.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Python/Python-ast.c -o build/temp.linux-x86_64-3.9/ast3/Python/Python-ast.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Python/asdl.c -o build/temp.linux-x86_64-3.9/ast3/Python/asdl.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/app/.heroku/python/include/python3.9 -c ast3/Python/ast.c -o build/temp.linux-x86_64-3.9/ast3/Python/ast.o ast3/Python/ast.c: In function ‘decode_bytes_with_escapes’: ast3/Python/ast.c:4534:24: error: too many arguments to function ‘_PyBytes_DecodeEscape’ 4534 | PyObject *result = _PyBytes_DecodeEscape(s, len, NULL, 0, NULL, | ^~~~~~~~~~~~~~~~~~~~~ In file included from /app/.heroku/python/include/python3.9/bytesobject.h:75, from /app/.heroku/python/include/python3.9/Python.h:96, from ast3/Python/ast.c:6: /app/.heroku/python/include/python3.9/cpython/bytesobject.h:28:24: note: declared here 28 | PyAPI_FUNC(PyObject *) _PyBytes_DecodeEscape(const char *, Py_ssize_t, | ^~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /app/.heroku/python/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i_a8aec1/typed-ast/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i_a8aec1/typed-ast/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8t34t0ws/install-record.txt --single-version-externally-managed --compile --install-headers /app/.heroku/python/include/python3.9/typed-ast Check the logs for full command output. ! Push rejected, failed to compile Python app. ! Push failed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction: Use the heroku button in the README.md to launch a new build, looks to be issues with typed_ast and python 3.9
python/typed_ast#128
The text was updated successfully, but these errors were encountered: