-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Needs TriageIssues that need to be evaluated for severity and status.Issues that need to be evaluated for severity and status.bug
Description
setuptools version
main
Python version
3.10.0a6
OS
macOS
Additional environment information
No response
Description
Installing Python from python.org, I then proceed to run tests with tox -e py310
, but they fail when tox/pip are unable to install typed-ast
:
Failed to build typed-ast
Installing collected packages: pyparsing, toml, six, py, pluggy, path, packaging, iniconfig, filelock, distlib, attrs, appdirs, apipkg, virtualenv, typing-extensions, typed-ast, termcolor, regex, pytest, pyflakes, pycodestyle, pathspec, path.py, mypy-extensions, more-itertools, mock, mccabe, execnet, contextlib2, click, tox, pytest-shutil, pytest-forked, pytest-fixture-config, pep517, mypy, jaraco.functools, jaraco.context, flake8, docutils, coverage, black, setuptools, pytest-xdist, pytest-virtualenv, pytest-mypy, pytest-flake8, pytest-enabler, pytest-cov, pytest-checkdocs, pytest-black, paver, jaraco.envs, flake8-2020
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: /Users/jaraco/code/public/pypa/setuptools/.tox/py310/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-6kz8vj0w/typed-ast_c8f8b66ccb42442ca810b704423e27ea/setup.py'"'"'; __file__='"'"'/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-6kz8vj0w/typed-ast_c8f8b66ccb42442ca810b704423e27ea/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-record-v4c8hiug/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jaraco/code/public/pypa/setuptools/.tox/py310/include/site/python3.10/typed-ast
cwd: /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-6kz8vj0w/typed-ast_c8f8b66ccb42442ca810b704423e27ea/
Complete output (34 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.10
creating build/lib.macosx-10.9-universal2-3.10/typed_ast
copying typed_ast/conversions.py -> build/lib.macosx-10.9-universal2-3.10/typed_ast
copying typed_ast/__init__.py -> build/lib.macosx-10.9-universal2-3.10/typed_ast
copying typed_ast/ast3.py -> build/lib.macosx-10.9-universal2-3.10/typed_ast
copying typed_ast/ast27.py -> build/lib.macosx-10.9-universal2-3.10/typed_ast
package init file 'ast3/tests/__init__.py' not found (or not a regular file)
creating build/lib.macosx-10.9-universal2-3.10/typed_ast/tests
copying ast3/tests/test_basics.py -> build/lib.macosx-10.9-universal2-3.10/typed_ast/tests
running build_ext
building '_ast27' extension
creating build/temp.macosx-10.9-universal2-3.10
creating build/temp.macosx-10.9-universal2-3.10/ast27
creating build/temp.macosx-10.9-universal2-3.10/ast27/Custom
creating build/temp.macosx-10.9-universal2-3.10/ast27/Parser
creating build/temp.macosx-10.9-universal2-3.10/ast27/Python
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Custom/typed_ast.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Custom/typed_ast.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/acceler.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/acceler.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/bitset.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/bitset.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/grammar.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/grammar.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/grammar1.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/grammar1.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/node.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/node.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/parser.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/parser.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/parsetok.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/parsetok.o
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iast27/Include -I/Users/jaraco/code/public/pypa/setuptools/.tox/py310/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ast27/Parser/tokenizer.c -o build/temp.macosx-10.9-universal2-3.10/ast27/Parser/tokenizer.o
ast27/Parser/tokenizer.c:19:10: fatal error: 'pydebug.h' file not found
#include "pydebug.h"
^~~~~~~~~~~
1 error generated.
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/jaraco/code/public/pypa/setuptools/.tox/py310/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-6kz8vj0w/typed-ast_c8f8b66ccb42442ca810b704423e27ea/setup.py'"'"'; __file__='"'"'/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-6kz8vj0w/typed-ast_c8f8b66ccb42442ca810b704423e27ea/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-record-v4c8hiug/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jaraco/code/public/pypa/setuptools/.tox/py310/include/site/python3.10/typed-ast Check the logs for full command output.
Expected behavior
blah
How to Reproduce
blah
Output
blah
Code of Conduct
- I agree to follow the PSF Code of Conduct
Metadata
Metadata
Assignees
Labels
Needs TriageIssues that need to be evaluated for severity and status.Issues that need to be evaluated for severity and status.bug