-
Notifications
You must be signed in to change notification settings - Fork 79
Do you support python 3.8 / 3.9 / 3.10? #114
-
Do you support python 3.8 / 3.9 / 3.10? |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments · 3 replies
-
Yes, it should work. The setup.py is old though, and that'll likely affect
pypi tagging. Let me know if you have issues installing.
…On Sun, Dec 26, 2021, 10:13 AM Naoyuki Sano ***@***.***> wrote:
Do you support python 3.8 / 3.9 / 3.10?
If not, are there any plans to do so?
—
Reply to this email directly, view it on GitHub
<#114>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXLSLJNHQZQGRKUOO4GC63US45KHANCNFSM5KZBWBQA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
When installing with pip pymstems, there was no problem during installation with 3.8,3,9,3.10. python 3.9
(py39) [CORP\sano@a-ngft53r34ong pymsteams]$ pip install -r dev-requirements.txt
Collecting astroid==2.4.2
Using cached astroid-2.4.2-py3-none-any.whl (213 kB)
Collecting atomicwrites==1.3.0
Using cached atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB)
Collecting attrs==19.1.0
Using cached attrs-19.1.0-py2.py3-none-any.whl (35 kB)
Collecting bandit==1.6.2
Using cached bandit-1.6.2-py2.py3-none-any.whl (122 kB)
Collecting bleach==3.3.0
Using cached bleach-3.3.0-py2.py3-none-any.whl (283 kB)
Collecting certifi==2019.6.16
Using cached certifi-2019.6.16-py2.py3-none-any.whl (157 kB)
Collecting cffi==1.14.0
Using cached cffi-1.14.0.tar.gz (463 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting Click==7.0
Using cached Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting cryptography==3.3.2
Using cached cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB)
Collecting docutils==0.16
Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting dparse==0.5.1
Using cached dparse-0.5.1-py3-none-any.whl (12 kB)
Collecting gitdb2==2.0.5
Using cached gitdb2-2.0.5-py2.py3-none-any.whl (62 kB)
Collecting GitPython==2.1.11
Using cached GitPython-2.1.11-py2.py3-none-any.whl (448 kB)
Collecting idna==2.8
Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
Collecting importlib-metadata==0.18
Using cached importlib_metadata-0.18-py2.py3-none-any.whl (26 kB)
Collecting isort==4.3.20
Using cached isort-4.3.20-py2.py3-none-any.whl (42 kB)
Collecting jeepney==0.4.3
Using cached jeepney-0.4.3-py3-none-any.whl (21 kB)
Collecting keyring==21.2.1
Using cached keyring-21.2.1-py3-none-any.whl (31 kB)
Collecting lazy-object-proxy==1.4.1
Using cached lazy-object-proxy-1.4.1.tar.gz (34 kB)
Collecting mccabe==0.6.1
Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting more-itertools==7.0.0
Using cached more_itertools-7.0.0-py3-none-any.whl (53 kB)
Collecting packaging==19.0
Using cached packaging-19.0-py2.py3-none-any.whl (26 kB)
Collecting pbr==5.3.0
Using cached pbr-5.3.0-py2.py3-none-any.whl (108 kB)
Collecting pkginfo==1.5.0.1
Using cached pkginfo-1.5.0.1-py2.py3-none-any.whl (25 kB)
Collecting pluggy==0.12.0
Using cached pluggy-0.12.0-py2.py3-none-any.whl (17 kB)
Collecting py==1.10.0
Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting pycparser==2.20
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting Pygments==2.7.4
Using cached Pygments-2.7.4-py3-none-any.whl (950 kB)
Collecting pylint==2.5.3
Using cached pylint-2.5.3-py3-none-any.whl (324 kB)
Collecting pyparsing==2.4.0
Using cached pyparsing-2.4.0-py2.py3-none-any.whl (62 kB)
Collecting pytest==5.0.1
Using cached pytest-5.0.1-py3-none-any.whl (221 kB)
Collecting pytest-cov==3.0.0
Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
Collecting PyYAML==5.4
Using cached PyYAML-5.4-cp39-cp39-manylinux1_x86_64.whl (629 kB)
Collecting readme-renderer==26.0
Using cached readme_renderer-26.0-py2.py3-none-any.whl (15 kB)
Collecting requests==2.25.1
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting requests-toolbelt==0.9.1
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting safety==1.9.0
Using cached safety-1.9.0-py2.py3-none-any.whl (15 kB)
Collecting SecretStorage==3.1.2
Using cached SecretStorage-3.1.2-py3-none-any.whl (14 kB)
Collecting six==1.12.0
Using cached six-1.12.0-py2.py3-none-any.whl (10 kB)
Collecting smmap2==2.0.5
Using cached smmap2-2.0.5-py2.py3-none-any.whl (24 kB)
Collecting stevedore==1.30.1
Using cached stevedore-1.30.1-py2.py3-none-any.whl (42 kB)
Collecting toml==0.10.1
Using cached toml-0.10.1-py2.py3-none-any.whl (19 kB)
Collecting tqdm==4.46.1
Using cached tqdm-4.46.1-py2.py3-none-any.whl (63 kB)
Collecting twine==3.1.1
Using cached twine-3.1.1-py3-none-any.whl (36 kB)
Collecting typed-ast==1.4.0
Using cached typed_ast-1.4.0.tar.gz (206 kB)
Collecting urllib3==1.26.5
Using cached urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
Collecting wcwidth==0.1.7
Using cached wcwidth-0.1.7-py2.py3-none-any.whl (21 kB)
Collecting webencodings==0.5.1
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting wrapt==1.11.2
Using cached wrapt-1.11.2.tar.gz (27 kB)
Collecting zipp==0.5.1
Using cached zipp-0.5.1-py2.py3-none-any.whl (3.8 kB)
Collecting coverage[toml]>=5.2.1
Downloading coverage-6.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (215 kB)
|████████████████████████████████| 215 kB 21.6 MB/s
Requirement already satisfied: setuptools in /home/sano/py39/lib/python3.9/site-packages (from safety==1.9.0->-r dev-requirements.txt (line 38)) (57.4.0)
Collecting tomli
Using cached tomli-2.0.0-py3-none-any.whl (12 kB)
Using legacy 'setup.py install' for cffi, since package 'wheel' is not installed.
Using legacy 'setup.py install' for lazy-object-proxy, since package 'wheel' is not installed.
Using legacy 'setup.py install' for typed-ast, since package 'wheel' is not installed.
Using legacy 'setup.py install' for wrapt, since package 'wheel' is not installed.
Installing collected packages: pycparser, zipp, six, pyparsing, cffi, webencodings, urllib3, smmap2, packaging, jeepney, importlib-metadata, idna, cryptography, chardet, certifi, wrapt, wcwidth, tomli, toml, SecretStorage, requests, PyYAML, Pygments, py, pluggy, pbr, more-itertools, lazy-object-proxy, gitdb2, docutils, coverage, bleach, attrs, atomicwrites, tqdm, stevedore, requests-toolbelt, readme-renderer, pytest, pkginfo, mccabe, keyring, isort, GitPython, dparse, Click, astroid, typed-ast, twine, safety, pytest-cov, pylint, bandit
Running setup.py install for cffi ... done
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.7
Uninstalling urllib3-1.26.7:
Successfully uninstalled urllib3-1.26.7
Attempting uninstall: idna
Found existing installation: idna 3.3
Uninstalling idna-3.3:
Successfully uninstalled idna-3.3
Attempting uninstall: certifi
Found existing installation: certifi 2021.10.8
Uninstalling certifi-2021.10.8:
Successfully uninstalled certifi-2021.10.8
Running setup.py install for wrapt ... done
Attempting uninstall: requests
Found existing installation: requests 2.26.0
Uninstalling requests-2.26.0:
Successfully uninstalled requests-2.26.0
Running setup.py install for lazy-object-proxy ... done
Running setup.py install for typed-ast ... error
ERROR: Command errored out with exit status 1:
command: /home/sano/py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vjszbeu4/typed-ast_da16d1d3bd9041a882ed6e75fdedcc1a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vjszbeu4/typed-ast_da16d1d3bd9041a882ed6e75fdedcc1a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_vs_7r9h/install-record.txt --single-version-externally-managed --compile --install-headers /home/sano/py39/include/site/python3.9/typed-ast
cwd: /tmp/pip-install-vjszbeu4/typed-ast_da16d1d3bd9041a882ed6e75fdedcc1a/
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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/include/python3.9 -c ast3/Python/ast.c -o build/temp.linux-x86_64-3.9/ast3/Python/ast.o
ast3/Python/ast.c: 関数 ‘decode_bytes_with_escapes’ 内:
ast3/Python/ast.c:4534:24: エラー: 関数 ‘_PyBytes_DecodeEscape’ への引数が多すぎます
PyObject *result = _PyBytes_DecodeEscape(s, len, NULL, 0, NULL,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/bytesobject.h:75:0,
from /usr/local/include/python3.9/Python.h:105,
from ast3/Python/ast.c:6:
/usr/local/include/python3.9/cpython/bytesobject.h:28:24: 備考: ここで宣言されています
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: /home/sano/py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vjszbeu4/typed-ast_da16d1d3bd9041a882ed6e75fdedcc1a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vjszbeu4/typed-ast_da16d1d3bd9041a882ed6e75fdedcc1a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_vs_7r9h/install-record.txt --single-version-externally-managed --compile --install-headers /home/sano/py39/include/site/python3.9/typed-ast Check the logs for full command output. python 3.10
(py310) [CORP\sano@a-ngft53r34ong pymsteams]$ pip install -r dev-requirements.txt
Collecting astroid==2.4.2
Using cached astroid-2.4.2-py3-none-any.whl (213 kB)
Collecting atomicwrites==1.3.0
Using cached atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB)
Collecting attrs==19.1.0
Using cached attrs-19.1.0-py2.py3-none-any.whl (35 kB)
Collecting bandit==1.6.2
Using cached bandit-1.6.2-py2.py3-none-any.whl (122 kB)
Collecting bleach==3.3.0
Using cached bleach-3.3.0-py2.py3-none-any.whl (283 kB)
Collecting certifi==2019.6.16
Using cached certifi-2019.6.16-py2.py3-none-any.whl (157 kB)
Collecting cffi==1.14.0
Using cached cffi-1.14.0.tar.gz (463 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting Click==7.0
Using cached Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting cryptography==3.3.2
Using cached cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB)
Collecting docutils==0.16
Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting dparse==0.5.1
Using cached dparse-0.5.1-py3-none-any.whl (12 kB)
Collecting gitdb2==2.0.5
Using cached gitdb2-2.0.5-py2.py3-none-any.whl (62 kB)
Collecting GitPython==2.1.11
Using cached GitPython-2.1.11-py2.py3-none-any.whl (448 kB)
Collecting idna==2.8
Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
Collecting importlib-metadata==0.18
Using cached importlib_metadata-0.18-py2.py3-none-any.whl (26 kB)
Collecting isort==4.3.20
Using cached isort-4.3.20-py2.py3-none-any.whl (42 kB)
Collecting jeepney==0.4.3
Using cached jeepney-0.4.3-py3-none-any.whl (21 kB)
Collecting keyring==21.2.1
Using cached keyring-21.2.1-py3-none-any.whl (31 kB)
Collecting lazy-object-proxy==1.4.1
Using cached lazy-object-proxy-1.4.1.tar.gz (34 kB)
Collecting mccabe==0.6.1
Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting more-itertools==7.0.0
Using cached more_itertools-7.0.0-py3-none-any.whl (53 kB)
Collecting packaging==19.0
Using cached packaging-19.0-py2.py3-none-any.whl (26 kB)
Collecting pbr==5.3.0
Using cached pbr-5.3.0-py2.py3-none-any.whl (108 kB)
Collecting pkginfo==1.5.0.1
Using cached pkginfo-1.5.0.1-py2.py3-none-any.whl (25 kB)
Collecting pluggy==0.12.0
Using cached pluggy-0.12.0-py2.py3-none-any.whl (17 kB)
Collecting py==1.10.0
Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting pycparser==2.20
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting Pygments==2.7.4
Using cached Pygments-2.7.4-py3-none-any.whl (950 kB)
Collecting pylint==2.5.3
Using cached pylint-2.5.3-py3-none-any.whl (324 kB)
Collecting pyparsing==2.4.0
Using cached pyparsing-2.4.0-py2.py3-none-any.whl (62 kB)
Collecting pytest==5.0.1
Using cached pytest-5.0.1-py3-none-any.whl (221 kB)
Collecting pytest-cov==3.0.0
Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
Collecting PyYAML==5.4
Using cached PyYAML-5.4-cp310-cp310-linux_x86_64.whl
Collecting readme-renderer==26.0
Using cached readme_renderer-26.0-py2.py3-none-any.whl (15 kB)
Collecting requests==2.25.1
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Requirement already satisfied: requests-toolbelt==0.9.1 in /home/sano/py310/lib/python3.10/site-packages (from -r dev-requirements.txt (line 37)) (0.9.1)
Collecting safety==1.9.0
Using cached safety-1.9.0-py2.py3-none-any.whl (15 kB)
Collecting SecretStorage==3.1.2
Using cached SecretStorage-3.1.2-py3-none-any.whl (14 kB)
Collecting six==1.12.0
Using cached six-1.12.0-py2.py3-none-any.whl (10 kB)
Collecting smmap2==2.0.5
Using cached smmap2-2.0.5-py2.py3-none-any.whl (24 kB)
Collecting stevedore==1.30.1
Using cached stevedore-1.30.1-py2.py3-none-any.whl (42 kB)
Collecting toml==0.10.1
Using cached toml-0.10.1-py2.py3-none-any.whl (19 kB)
Collecting tqdm==4.46.1
Using cached tqdm-4.46.1-py2.py3-none-any.whl (63 kB)
Collecting twine==3.1.1
Using cached twine-3.1.1-py3-none-any.whl (36 kB)
Collecting typed-ast==1.4.0
Using cached typed_ast-1.4.0.tar.gz (206 kB)
Collecting urllib3==1.26.5
Using cached urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
Collecting wcwidth==0.1.7
Using cached wcwidth-0.1.7-py2.py3-none-any.whl (21 kB)
Collecting webencodings==0.5.1
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting wrapt==1.11.2
Using cached wrapt-1.11.2.tar.gz (27 kB)
Collecting zipp==0.5.1
Using cached zipp-0.5.1-py2.py3-none-any.whl (3.8 kB)
Collecting coverage[toml]>=5.2.1
Using cached coverage-6.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (215 kB)
Requirement already satisfied: setuptools in /home/sano/py310/lib/python3.10/site-packages (from safety==1.9.0->-r dev-requirements.txt (line 38)) (57.4.0)
Collecting tomli
Using cached tomli-2.0.0-py3-none-any.whl (12 kB)
Using legacy 'setup.py install' for cffi, since package 'wheel' is not installed.
Using legacy 'setup.py install' for lazy-object-proxy, since package 'wheel' is not installed.
Using legacy 'setup.py install' for typed-ast, since package 'wheel' is not installed.
Using legacy 'setup.py install' for wrapt, since package 'wheel' is not installed.
Installing collected packages: pycparser, zipp, six, pyparsing, cffi, webencodings, urllib3, smmap2, packaging, jeepney, importlib-metadata, idna, cryptography, chardet, certifi, wrapt, wcwidth, tomli, toml, SecretStorage, requests, PyYAML, Pygments, py, pluggy, pbr, more-itertools, lazy-object-proxy, gitdb2, docutils, coverage, bleach, attrs, atomicwrites, tqdm, stevedore, readme-renderer, pytest, pkginfo, mccabe, keyring, isort, GitPython, dparse, Click, astroid, typed-ast, twine, safety, pytest-cov, pylint, bandit
Attempting uninstall: pycparser
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Attempting uninstall: zipp
Found existing installation: zipp 3.6.0
Uninstalling zipp-3.6.0:
Successfully uninstalled zipp-3.6.0
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: cffi
Found existing installation: cffi 1.15.0
Uninstalling cffi-1.15.0:
Successfully uninstalled cffi-1.15.0
Running setup.py install for cffi ... error
ERROR: Command errored out with exit status 1:
command: /home/sano/py310/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-npcsm9vz/cffi_95f772239baa427d807875fb90d34846/setup.py'"'"'; __file__='"'"'/tmp/pip-install-npcsm9vz/cffi_95f772239baa427d807875fb90d34846/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-thhyeebp/install-record.txt --single-version-externally-managed --compile --install-headers /home/sano/py310/include/site/python3.10/cffi
cwd: /tmp/pip-install-npcsm9vz/cffi_95f772239baa427d807875fb90d34846/
Complete output (48 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.10/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/c
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/home/sano/py310/include -I/usr/local/include/python3.10 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.10/c/_cffi_backend.o
c/_cffi_backend.c: 関数 ‘ctypedescr_dealloc’ 内:
c/_cffi_backend.c:407:23: エラー: 代入の左側の被演算子として左辺値が必要です
Py_REFCNT(ct) = 43;
^
c/_cffi_backend.c:410:23: エラー: 代入の左側の被演算子として左辺値が必要です
Py_REFCNT(ct) = 0;
^
c/_cffi_backend.c: 関数 ‘prepare_callback_info_tuple’ 内:
c/_cffi_backend.c:6185:5: 警告: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
PyEval_InitThreads();
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.10/Python.h:144:0,
from c/_cffi_backend.c:2:
/usr/local/include/python3.10/ceval.h:122:37: 備考: ここで宣言されています
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
^~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
Rolling back uninstall of cffi
Moving to /home/sano/py310/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so
from /tmp/pip-uninstall-l5b4d34j/_cffi_backend.cpython-310-x86_64-linux-gnu.so
Moving to /home/sano/py310/lib/python3.10/site-packages/cffi-1.15.0.dist-info/
from /home/sano/py310/lib/python3.10/site-packages/~ffi-1.15.0.dist-info
Moving to /home/sano/py310/lib/python3.10/site-packages/cffi.libs/
from /home/sano/py310/lib/python3.10/site-packages/~ffi.libs
Moving to /home/sano/py310/lib/python3.10/site-packages/cffi/
from /home/sano/py310/lib/python3.10/site-packages/~ffi
ERROR: Command errored out with exit status 1: /home/sano/py310/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-npcsm9vz/cffi_95f772239baa427d807875fb90d34846/setup.py'"'"'; __file__='"'"'/tmp/pip-install-npcsm9vz/cffi_95f772239baa427d807875fb90d34846/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-thhyeebp/install-record.txt --single-version-externally-managed --compile --install-headers /home/sano/py310/include/site/python3.10/cffi Check the logs for full command output.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
It looks like pip is trying to compile some of the dependencies from source, and something is missing on your system to allow that. If you pip install |
Beta Was this translation helpful? Give feedback.
All reactions
-
python 3.9 (py39) [CORP\sano@a-ngft53r34ong pymsteams]$ pip install wheel
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.37.1
(py39) [CORP\sano@a-ngft53r34ong pymsteams]$ pip install -r dev-requirements.txt
Requirement already satisfied: astroid==2.4.2 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 1)) (2.4.2)
Requirement already satisfied: atomicwrites==1.3.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 2)) (1.3.0)
Requirement already satisfied: attrs==19.1.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 3)) (19.1.0)
Collecting bandit==1.6.2
Using cached bandit-1.6.2-py2.py3-none-any.whl (122 kB)
Requirement already satisfied: bleach==3.3.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 5)) (3.3.0)
Requirement already satisfied: certifi==2019.6.16 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 6)) (2019.6.16)
Requirement already satisfied: cffi==1.14.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 7)) (1.14.0)
Requirement already satisfied: chardet==3.0.4 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 8)) (3.0.4)
Requirement already satisfied: Click==7.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 9)) (7.0)
Requirement already satisfied: cryptography==3.3.2 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 10)) (3.3.2)
Requirement already satisfied: docutils==0.16 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 11)) (0.16)
Requirement already satisfied: dparse==0.5.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 12)) (0.5.1)
Requirement already satisfied: gitdb2==2.0.5 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 13)) (2.0.5)
Requirement already satisfied: GitPython==2.1.11 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 14)) (2.1.11)
Requirement already satisfied: idna==2.8 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 15)) (2.8)
Requirement already satisfied: importlib-metadata==0.18 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 16)) (0.18)
Requirement already satisfied: isort==4.3.20 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 17)) (4.3.20)
Requirement already satisfied: jeepney==0.4.3 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 18)) (0.4.3)
Requirement already satisfied: keyring==21.2.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 19)) (21.2.1)
Requirement already satisfied: lazy-object-proxy==1.4.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 20)) (1.4.1)
Requirement already satisfied: mccabe==0.6.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 21)) (0.6.1)
Requirement already satisfied: more-itertools==7.0.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 22)) (7.0.0)
Requirement already satisfied: packaging==19.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 23)) (19.0)
Requirement already satisfied: pbr==5.3.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 24)) (5.3.0)
Requirement already satisfied: pkginfo==1.5.0.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 25)) (1.5.0.1)
Requirement already satisfied: pluggy==0.12.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 26)) (0.12.0)
Requirement already satisfied: py==1.10.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 27)) (1.10.0)
Requirement already satisfied: pycparser==2.20 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 28)) (2.20)
Requirement already satisfied: Pygments==2.7.4 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 29)) (2.7.4)
Collecting pylint==2.5.3
Using cached pylint-2.5.3-py3-none-any.whl (324 kB)
Requirement already satisfied: pyparsing==2.4.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 31)) (2.4.0)
Requirement already satisfied: pytest==5.0.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 32)) (5.0.1)
Collecting pytest-cov==3.0.0
Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
Requirement already satisfied: PyYAML==5.4 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 34)) (5.4)
Requirement already satisfied: readme-renderer==26.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 35)) (26.0)
Requirement already satisfied: requests==2.25.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 36)) (2.25.1)
Requirement already satisfied: requests-toolbelt==0.9.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 37)) (0.9.1)
Collecting safety==1.9.0
Using cached safety-1.9.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: SecretStorage==3.1.2 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 39)) (3.1.2)
Requirement already satisfied: six==1.12.0 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 40)) (1.12.0)
Requirement already satisfied: smmap2==2.0.5 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 41)) (2.0.5)
Requirement already satisfied: stevedore==1.30.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 42)) (1.30.1)
Requirement already satisfied: toml==0.10.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 43)) (0.10.1)
Requirement already satisfied: tqdm==4.46.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 44)) (4.46.1)
Collecting twine==3.1.1
Using cached twine-3.1.1-py3-none-any.whl (36 kB)
Collecting typed-ast==1.4.0
Using cached typed_ast-1.4.0.tar.gz (206 kB)
Requirement already satisfied: urllib3==1.26.5 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 47)) (1.26.5)
Requirement already satisfied: wcwidth==0.1.7 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 48)) (0.1.7)
Requirement already satisfied: webencodings==0.5.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 49)) (0.5.1)
Requirement already satisfied: wrapt==1.11.2 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 50)) (1.11.2)
Requirement already satisfied: zipp==0.5.1 in /home/sano/py39/lib/python3.9/site-packages (from -r dev-requirements.txt (line 51)) (0.5.1)
Requirement already satisfied: coverage[toml]>=5.2.1 in /home/sano/py39/lib/python3.9/site-packages (from pytest-cov==3.0.0->-r dev-requirements.txt (line 33)) (6.2)
Requirement already satisfied: setuptools in /home/sano/py39/lib/python3.9/site-packages (from safety==1.9.0->-r dev-requirements.txt (line 38)) (57.4.0)
Requirement already satisfied: tomli in /home/sano/py39/lib/python3.9/site-packages (from coverage[toml]>=5.2.1->pytest-cov==3.0.0->-r dev-requirements.txt (line 33)) (2.0.0)
Building wheels for collected packages: typed-ast
Building wheel for typed-ast (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/sano/py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/setup.py'"'"'; __file__='"'"'/tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-rnl1wepx
cwd: /tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/
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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/include/python3.9 -c ast3/Python/ast.c -o build/temp.linux-x86_64-3.9/ast3/Python/ast.o
ast3/Python/ast.c: 関数 ‘decode_bytes_with_escapes’ 内:
ast3/Python/ast.c:4534:24: エラー: 関数 ‘_PyBytes_DecodeEscape’ への引数が多すぎます
PyObject *result = _PyBytes_DecodeEscape(s, len, NULL, 0, NULL,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/bytesobject.h:75:0,
from /usr/local/include/python3.9/Python.h:105,
from ast3/Python/ast.c:6:
/usr/local/include/python3.9/cpython/bytesobject.h:28:24: 備考: ここで宣言されています
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
Failed to build typed-ast
Installing collected packages: typed-ast, twine, safety, pytest-cov, pylint, bandit
Running setup.py install for typed-ast ... error
ERROR: Command errored out with exit status 1:
command: /home/sano/py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/setup.py'"'"'; __file__='"'"'/tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bvqogt45/install-record.txt --single-version-externally-managed --compile --install-headers /home/sano/py39/include/site/python3.9/typed-ast
cwd: /tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/
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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/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/home/sano/py39/include -I/usr/local/include/python3.9 -c ast3/Python/ast.c -o build/temp.linux-x86_64-3.9/ast3/Python/ast.o
ast3/Python/ast.c: 関数 ‘decode_bytes_with_escapes’ 内:
ast3/Python/ast.c:4534:24: エラー: 関数 ‘_PyBytes_DecodeEscape’ への引数が多すぎます
PyObject *result = _PyBytes_DecodeEscape(s, len, NULL, 0, NULL,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/bytesobject.h:75:0,
from /usr/local/include/python3.9/Python.h:105,
from ast3/Python/ast.c:6:
/usr/local/include/python3.9/cpython/bytesobject.h:28:24: 備考: ここで宣言されています
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: /home/sano/py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/setup.py'"'"'; __file__='"'"'/tmp/pip-install-owmf7o0u/typed-ast_6588bd8a1a40400685b6a96f99a3c738/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-r python3.10 (py310) [CORP\sano@a-ngft53r34ong pymsteams]$ pip install wheel
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.37.1
(py310) [CORP\sano@a-ngft53r34ong pymsteams]$ pip install -r dev-requirements.txt
Collecting astroid==2.4.2
Using cached astroid-2.4.2-py3-none-any.whl (213 kB)
Collecting atomicwrites==1.3.0
Using cached atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB)
Collecting attrs==19.1.0
Using cached attrs-19.1.0-py2.py3-none-any.whl (35 kB)
Collecting bandit==1.6.2
Using cached bandit-1.6.2-py2.py3-none-any.whl (122 kB)
Collecting bleach==3.3.0
Using cached bleach-3.3.0-py2.py3-none-any.whl (283 kB)
Collecting certifi==2019.6.16
Using cached certifi-2019.6.16-py2.py3-none-any.whl (157 kB)
Collecting cffi==1.14.0
Using cached cffi-1.14.0.tar.gz (463 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting Click==7.0
Using cached Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting cryptography==3.3.2
Using cached cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB)
Collecting docutils==0.16
Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting dparse==0.5.1
Using cached dparse-0.5.1-py3-none-any.whl (12 kB)
Collecting gitdb2==2.0.5
Using cached gitdb2-2.0.5-py2.py3-none-any.whl (62 kB)
Collecting GitPython==2.1.11
Using cached GitPython-2.1.11-py2.py3-none-any.whl (448 kB)
Collecting idna==2.8
Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
Collecting importlib-metadata==0.18
Using cached importlib_metadata-0.18-py2.py3-none-any.whl (26 kB)
Collecting isort==4.3.20
Using cached isort-4.3.20-py2.py3-none-any.whl (42 kB)
Collecting jeepney==0.4.3
Using cached jeepney-0.4.3-py3-none-any.whl (21 kB)
Collecting keyring==21.2.1
Using cached keyring-21.2.1-py3-none-any.whl (31 kB)
Collecting lazy-object-proxy==1.4.1
Using cached lazy-object-proxy-1.4.1.tar.gz (34 kB)
Collecting mccabe==0.6.1
Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting more-itertools==7.0.0
Using cached more_itertools-7.0.0-py3-none-any.whl (53 kB)
Collecting packaging==19.0
Using cached packaging-19.0-py2.py3-none-any.whl (26 kB)
Collecting pbr==5.3.0
Using cached pbr-5.3.0-py2.py3-none-any.whl (108 kB)
Collecting pkginfo==1.5.0.1
Using cached pkginfo-1.5.0.1-py2.py3-none-any.whl (25 kB)
Collecting pluggy==0.12.0
Using cached pluggy-0.12.0-py2.py3-none-any.whl (17 kB)
Collecting py==1.10.0
Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: pycparser==2.20 in /home/sano/py310/lib/python3.10/site-packages (from -r dev-requirements.txt (line 28)) (2.20)
Collecting Pygments==2.7.4
Using cached Pygments-2.7.4-py3-none-any.whl (950 kB)
Collecting pylint==2.5.3
Using cached pylint-2.5.3-py3-none-any.whl (324 kB)
Requirement already satisfied: pyparsing==2.4.0 in /home/sano/py310/lib/python3.10/site-packages (from -r dev-requirements.txt (line 31)) (2.4.0)
Collecting pytest==5.0.1
Using cached pytest-5.0.1-py3-none-any.whl (221 kB)
Collecting pytest-cov==3.0.0
Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
Collecting PyYAML==5.4
Using cached PyYAML-5.4-cp310-cp310-linux_x86_64.whl
Collecting readme-renderer==26.0
Using cached readme_renderer-26.0-py2.py3-none-any.whl (15 kB)
Collecting requests==2.25.1
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Requirement already satisfied: requests-toolbelt==0.9.1 in /home/sano/py310/lib/python3.10/site-packages (from -r dev-requirements.txt (line 37)) (0.9.1)
Collecting safety==1.9.0
Using cached safety-1.9.0-py2.py3-none-any.whl (15 kB)
Collecting SecretStorage==3.1.2
Using cached SecretStorage-3.1.2-py3-none-any.whl (14 kB)
Requirement already satisfied: six==1.12.0 in /home/sano/py310/lib/python3.10/site-packages (from -r dev-requirements.txt (line 40)) (1.12.0)
Collecting smmap2==2.0.5
Using cached smmap2-2.0.5-py2.py3-none-any.whl (24 kB)
Collecting stevedore==1.30.1
Using cached stevedore-1.30.1-py2.py3-none-any.whl (42 kB)
Collecting toml==0.10.1
Using cached toml-0.10.1-py2.py3-none-any.whl (19 kB)
Collecting tqdm==4.46.1
Using cached tqdm-4.46.1-py2.py3-none-any.whl (63 kB)
Collecting twine==3.1.1
Using cached twine-3.1.1-py3-none-any.whl (36 kB)
Collecting typed-ast==1.4.0
Using cached typed_ast-1.4.0.tar.gz (206 kB)
Collecting urllib3==1.26.5
Using cached urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
Collecting wcwidth==0.1.7
Using cached wcwidth-0.1.7-py2.py3-none-any.whl (21 kB)
Collecting webencodings==0.5.1
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting wrapt==1.11.2
Using cached wrapt-1.11.2.tar.gz (27 kB)
Requirement already satisfied: zipp==0.5.1 in /home/sano/py310/lib/python3.10/site-packages (from -r dev-requirements.txt (line 51)) (0.5.1)
Collecting coverage[toml]>=5.2.1
Using cached coverage-6.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (215 kB)
Requirement already satisfied: setuptools in /home/sano/py310/lib/python3.10/site-packages (from safety==1.9.0->-r dev-requirements.txt (line 38)) (57.4.0)
Collecting tomli
Using cached tomli-2.0.0-py3-none-any.whl (12 kB)
Building wheels for collected packages: cffi, lazy-object-proxy, typed-ast, wrapt
Building wheel for cffi (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/sano/py310/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_etl1ame
cwd: /tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/
Complete output (48 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.10/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/c
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/home/sano/py310/include -I/usr/local/include/python3.10 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.10/c/_cffi_backend.o
c/_cffi_backend.c: 関数 ‘ctypedescr_dealloc’ 内:
c/_cffi_backend.c:407:23: エラー: 代入の左側の被演算子として左辺値が必要です
Py_REFCNT(ct) = 43;
^
c/_cffi_backend.c:410:23: エラー: 代入の左側の被演算子として左辺値が必要です
Py_REFCNT(ct) = 0;
^
c/_cffi_backend.c: 関数 ‘prepare_callback_info_tuple’ 内:
c/_cffi_backend.c:6185:5: 警告: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
PyEval_InitThreads();
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.10/Python.h:144:0,
from c/_cffi_backend.c:2:
/usr/local/include/python3.10/ceval.h:122:37: 備考: ここで宣言されています
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
^~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Building wheel for lazy-object-proxy (setup.py) ... done
Created wheel for lazy-object-proxy: filename=lazy_object_proxy-1.4.1-cp310-cp310-linux_x86_64.whl size=54143 sha256=e34552b021fde2d991f219ee1a54c9bf89f88332ab20ff5b8ea665490d0f3cb6
Stored in directory: /home/sano/.cache/pip/wheels/5d/d2/15/7c1d69a075422e2c72ad25537c3408104193ea18480a4aa825
Building wheel for typed-ast (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/sano/py310/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0gtden3z/typed-ast_7517d0c532fa40539626773d06ecc7b2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0gtden3z/typed-ast_7517d0c532fa40539626773d06ecc7b2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-094e3yi1
cwd: /tmp/pip-install-0gtden3z/typed-ast_7517d0c532fa40539626773d06ecc7b2/
Complete output (251 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/typed_ast
copying typed_ast/__init__.py -> build/lib.linux-x86_64-3.10/typed_ast
copying typed_ast/ast27.py -> build/lib.linux-x86_64-3.10/typed_ast
copying typed_ast/ast3.py -> build/lib.linux-x86_64-3.10/typed_ast
copying typed_ast/conversions.py -> build/lib.linux-x86_64-3.10/typed_ast
package init file 'ast3/tests/__init__.py' not found (or not a regular file)
creating build/lib.linux-x86_64-3.10/typed_ast/tests
copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-3.10/typed_ast/tests
running build_ext
building '_ast27' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/ast27
creating build/temp.linux-x86_64-3.10/ast27/Custom
creating build/temp.linux-x86_64-3.10/ast27/Parser
creating build/temp.linux-x86_64-3.10/ast27/Python
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast27/Include -I/home/sano/py310/include -I/usr/local/include/python3.10 -c ast27/Custom/typed_ast.c -o build/temp.linux-x86_64-3.10/ast27/Custom/typed_ast.o
In file included from ast27/Include/Python-ast.h:3:0,
from ast27/Custom/typed_ast.c:2:
ast27/Include/asdl.h:37:41: エラー: 不明な型名 ‘PyArena’ です
asdl_seq *asdl_seq_new(Py_ssize_t size, PyArena *arena);
^~~~~~~
ast27/Include/asdl.h:38:49: エラー: 不明な型名 ‘PyArena’ です
asdl_int_seq *asdl_int_seq_new(Py_ssize_t size, PyArena *arena);
^~~~~~~
In file included from ast27/Custom/typed_ast.c:2:0:
ast27/Include/Python-ast.h:398:63: エラー: 不明な型名 ‘PyArena’ です
mod_ty _Ta27_Module(asdl_seq * body, asdl_seq * type_ignores, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:400:43: エラー: 不明な型名 ‘PyArena’ です
mod_ty _Ta27_Interactive(asdl_seq * body, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:402:39: エラー: 不明な型名 ‘PyArena’ です
mod_ty _Ta27_Expression(expr_ty body, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:404:65: エラー: 不明な型名 ‘PyArena’ です
mod_ty _Ta27_FunctionType(asdl_seq * argtypes, expr_ty returns, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:406:37: エラー: 不明な型名 ‘PyArena’ です
mod_ty _Ta27_Suite(asdl_seq * body, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:409:92: エラー: 不明な型名 ‘PyArena’ です
decorator_list, string type_comment, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:413:68: エラー: 不明な型名 ‘PyArena’ です
decorator_list, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:415:65: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Return(expr_ty value, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:417:70: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Delete(asdl_seq * targets, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:420:34: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:423:25: エラー: 不明な型名 ‘PyArena’ です
PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:425:91: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Print(expr_ty dest, asdl_seq * values, bool nl, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:429:61: エラー: 不明な型名 ‘PyArena’ です
type_comment, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:432:21: エラー: 不明な型名 ‘PyArena’ です
PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:435:18: エラー: 不明な型名 ‘PyArena’ です
PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:438:62: エラー: 不明な型名 ‘PyArena’ です
type_comment, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:440:92: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Raise(expr_ty type, expr_ty inst, expr_ty tback, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:444:37: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:446:93: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_TryFinally(asdl_seq * body, asdl_seq * finalbody, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:449:77: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Assert(expr_ty test, expr_ty msg, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:451:68: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Import(asdl_seq * names, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:454:38: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:457:20: エラー: 不明な型名 ‘PyArena’ です
PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:459:68: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Global(asdl_seq * names, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:461:63: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Expr(expr_ty value, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:463:48: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Pass(int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:465:49: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Break(int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:467:52: エラー: 不明な型名 ‘PyArena’ です
stmt_ty _Ta27_Continue(int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:469:83: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_BoolOp(boolop_ty op, asdl_seq * values, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:472:21: エラー: 不明な型名 ‘PyArena’ です
PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:474:83: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_UnaryOp(unaryop_ty op, expr_ty operand, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:476:83: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Lambda(arguments_ty args, expr_ty body, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:478:93: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_IfExp(expr_ty test, expr_ty body, expr_ty orelse, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:481:84: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Dict(asdl_seq * keys, asdl_seq * values, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:483:64: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Set(asdl_seq * elts, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:485:88: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_ListComp(expr_ty elt, asdl_seq * generators, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:488:87: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_SetComp(expr_ty elt, asdl_seq * generators, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:492:36: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:494:92: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_GeneratorExp(expr_ty elt, asdl_seq * generators, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:497:64: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Yield(expr_ty value, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:500:35: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:503:56: エラー: 不明な型名 ‘PyArena’ です
kwargs, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:505:63: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Repr(expr_ty value, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:507:57: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Num(object n, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:509:70: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Str(string s, string kind, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:512:37: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:515:37: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:517:84: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Name(identifier id, expr_context_ty ctx, int lineno, int col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:519:86: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_List(asdl_seq * elts, expr_context_ty ctx, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:522:87: エラー: 不明な型名 ‘PyArena’ です
expr_ty _Ta27_Tuple(asdl_seq * elts, expr_context_ty ctx, int lineno, int col_offset, PyArena
^~~~~~~
ast27/Include/Python-ast.h:525:25: エラー: 不明な型名 ‘PyArena’ です
slice_ty _Ta27_Ellipsis(PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:527:66: エラー: 不明な型名 ‘PyArena’ です
slice_ty _Ta27_Slice(expr_ty lower, expr_ty upper, expr_ty step, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:529:42: エラー: 不明な型名 ‘PyArena’ です
slice_ty _Ta27_ExtSlice(asdl_seq * dims, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:531:37: エラー: 不明な型名 ‘PyArena’ です
slice_ty _Ta27_Index(expr_ty value, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:533:84: エラー: 不明な型名 ‘PyArena’ です
comprehension_ty _Ta27_comprehension(expr_ty target, expr_ty iter, asdl_seq * ifs, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:536:50: エラー: 不明な型名 ‘PyArena’ です
col_offset, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:539:66: エラー: 不明な型名 ‘PyArena’ です
defaults, asdl_seq * type_comments, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:541:57: エラー: 不明な型名 ‘PyArena’ です
keyword_ty _Ta27_keyword(identifier arg, expr_ty value, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:543:58: エラー: 不明な型名 ‘PyArena’ です
alias_ty _Ta27_alias(identifier name, identifier asname, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:545:57: エラー: 不明な型名 ‘PyArena’ です
type_ignore_ty _Ta27_TypeIgnore(int lineno, string tag, PyArena *arena);
^~~~~~~
ast27/Include/Python-ast.h:548:39: エラー: 不明な型名 ‘PyArena’ です
mod_ty Ta27AST_obj2mod(PyObject* ast, PyArena* arena, int mode);
^~~~~~~
In file included from ast27/Custom/typed_ast.c:7:0:
ast27/Include/ast.h:8:21: エラー: 不明な型名 ‘PyArena’ です
const char *, PyArena *);
^~~~~~~
ast27/Custom/typed_ast.c:210:54: エラー: 不明な型名 ‘PyArena’ です
PyCompilerFlags *flags, PyArena *arena)
^~~~~~~
ast27/Custom/typed_ast.c: 関数 ‘string_object_to_py_ast’ 内:
ast27/Custom/typed_ast.c:244:5: エラー: 不明な型名 ‘PyArena’ です
PyArena *arena = PyArena_New();
^~~~~~~
ast27/Custom/typed_ast.c:244:22: 警告: implicit declaration of function ‘PyArena_New’; did you mean ‘PyGen_New’? [-Wimplicit-function-declaration]
PyArena *arena = PyArena_New();
^~~~~~~~~~~
PyGen_New
ast27/Custom/typed_ast.c:244:22: 警告: 初期化で整数からキャスト無しにポインタを作成しています [-Wint-conversion]
ast27/Custom/typed_ast.c:248:11: 警告: implicit declaration of function ‘string_object_to_c_ast’; did you mean ‘string_object_to_py_ast’? [-Wimplicit-function-declaration]
mod = string_object_to_c_ast(str, filename, start, flags, arena);
^~~~~~~~~~~~~~~~~~~~~~
string_object_to_py_ast
ast27/Custom/typed_ast.c:248:9: 警告: 代入で整数からキャスト無しにポインタを作成しています [-Wint-conversion]
mod = string_object_to_c_ast(str, filename, start, flags, arena);
^
ast27/Custom/typed_ast.c:250:9: 警告: implicit declaration of function ‘PyArena_Free’; did you mean ‘PyMem_Free’? [-Wimplicit-function-declaration]
PyArena_Free(arena);
^~~~~~~~~~~~
PyMem_Free
トップレベル:
ast27/Custom/typed_ast.c:201:1: 警告: ‘err_free’ defined but not used [-Wunused-function]
err_free(perrdetail *err)
^~~~~~~~
ast27/Custom/typed_ast.c:81:1: 警告: ‘err_input’ defined but not used [-Wunused-function]
err_input(perrdetail *err)
^~~~~~~~~
ast27/Custom/typed_ast.c:66:12: 警告: ‘PARSER_FLAGS’ defined but not used [-Wunused-function]
static int PARSER_FLAGS(PyCompilerFlags *flags)
^~~~~~~~~~~~
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) ... done
Created wheel for wrapt: filename=wrapt-1.11.2-cp310-cp310-linux_x86_64.whl size=74591 sha256=9072965b0f6b211e68a263bda94504d07d3a8f4bbfb03dbd88563a5a949be0ad
Stored in directory: /home/sano/.cache/pip/wheels/52/c4/b2/401bb0f4c0e950a9066cbc424cc87c6e771a781bcb05a1683b
Successfully built lazy-object-proxy wrapt
Failed to build cffi typed-ast
Installing collected packages: cffi, webencodings, urllib3, smmap2, packaging, jeepney, importlib-metadata, idna, cryptography, chardet, certifi, wrapt, wcwidth, tomli, toml, SecretStorage, requests, PyYAML, Pygments, py, pluggy, pbr, more-itertools, lazy-object-proxy, gitdb2, docutils, coverage, bleach, attrs, atomicwrites, tqdm, stevedore, readme-renderer, pytest, pkginfo, mccabe, keyring, isort, GitPython, dparse, Click, astroid, typed-ast, twine, safety, pytest-cov, pylint, bandit
Attempting uninstall: cffi
Found existing installation: cffi 1.15.0
Uninstalling cffi-1.15.0:
Successfully uninstalled cffi-1.15.0
Running setup.py install for cffi ... error
ERROR: Command errored out with exit status 1:
command: /home/sano/py310/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wah3gb1n/install-record.txt --single-version-externally-managed --compile --install-headers /home/sano/py310/include/site/python3.10/cffi
cwd: /tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/
Complete output (48 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/model.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/error.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/api.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/__init__.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-3.10/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.10/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/c
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/home/sano/py310/include -I/usr/local/include/python3.10 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.10/c/_cffi_backend.o
c/_cffi_backend.c: 関数 ‘ctypedescr_dealloc’ 内:
c/_cffi_backend.c:407:23: エラー: 代入の左側の被演算子として左辺値が必要です
Py_REFCNT(ct) = 43;
^
c/_cffi_backend.c:410:23: エラー: 代入の左側の被演算子として左辺値が必要です
Py_REFCNT(ct) = 0;
^
c/_cffi_backend.c: 関数 ‘prepare_callback_info_tuple’ 内:
c/_cffi_backend.c:6185:5: 警告: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
PyEval_InitThreads();
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.10/Python.h:144:0,
from c/_cffi_backend.c:2:
/usr/local/include/python3.10/ceval.h:122:37: 備考: ここで宣言されています
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
^~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
Rolling back uninstall of cffi
Moving to /home/sano/py310/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so
from /tmp/pip-uninstall-86n74aim/_cffi_backend.cpython-310-x86_64-linux-gnu.so
Moving to /home/sano/py310/lib/python3.10/site-packages/cffi-1.15.0.dist-info/
from /home/sano/py310/lib/python3.10/site-packages/~ffi-1.15.0.dist-info
Moving to /home/sano/py310/lib/python3.10/site-packages/cffi.libs/
from /home/sano/py310/lib/python3.10/site-packages/~ffi.libs
Moving to /home/sano/py310/lib/python3.10/site-packages/cffi/
from /home/sano/py310/lib/python3.10/site-packages/~ffi
ERROR: Command errored out with exit status 1: /home/sano/py310/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0gtden3z/cffi_3527aef997504f8c88c12de092ed2457/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wah3gb1n/install-record.txt --single-version-externally-managed --compile --install-headers /home/sano/py310/include/site/python3.10/cffi Check the logs for full command output.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm willing to bet wheels aren't available for many of the older dependencies on newer versions of python, as I was able to reproduce the error. I replaced all of the |
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1
-
Thanks! |
Beta Was this translation helpful? Give feedback.
I'm willing to bet wheels aren't available for many of the older dependencies on newer versions of python, as I was able to reproduce the error.
I replaced all of the
==
matches in the dev-requirements.txt file with>=
matches, and now the pip install works for me.