Describe the bug
A clear and concise description of what the bug is.
I am running in ubuntu 20.04, using python3.11. In order to get around cchardet issue, I am trying to install main branch in a poetry project. I get an error installing when trying to install aiohttp 3.8.1.
To Reproduce
Steps to reproduce the behavior:
Provide small code sample that reproduces the issue
Provide any tracebacks, if applicable
Setup as above. Error:
• Updating aiohttp (3.8.3 -> 3.8.1): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_request.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_routedef.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/multipart.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/abc.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_urldispatcher.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/http_exceptions.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_fileresponse.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/__init__.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/streams.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/test_utils.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/typedefs.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_protocol.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/payload_streamer.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/client.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/http.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_log.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_response.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/connector.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/resolver.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/tcp_helpers.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_exceptions.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/helpers.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/client_proto.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/hdrs.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/cookiejar.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/client_exceptions.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/worker.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_middlewares.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_runner.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/client_reqrep.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/payload.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/formdata.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_server.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/locks.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/http_parser.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/base_protocol.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/log.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/http_writer.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/http_websocket.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/client_ws.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/tracing.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_app.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/pytest_plugin.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web_ws.py -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/web.py -> build/lib.linux-x86_64-cpython-311/aiohttp
running egg_info
writing aiohttp.egg-info/PKG-INFO
writing dependency_links to aiohttp.egg-info/dependency_links.txt
writing requirements to aiohttp.egg-info/requires.txt
writing top-level names to aiohttp.egg-info/top_level.txt
reading manifest file 'aiohttp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'aiohttp' anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.lib' found anywhere in distribution
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.a' found anywhere in distribution
warning: no previously-included files matching '*.obj' found anywhere in distribution
warning: no previously-included files found matching 'aiohttp/*.html'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE.txt'
writing manifest file 'aiohttp.egg-info/SOURCES.txt'
copying aiohttp/_cparser.pxd -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_find_header.c -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_find_header.h -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_find_header.pxd -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_headers.pxi -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_helpers.c -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_helpers.pyi -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_helpers.pyx -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_http_parser.c -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_http_parser.pyx -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_http_writer.c -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_http_writer.pyx -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_websocket.c -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/_websocket.pyx -> build/lib.linux-x86_64-cpython-311/aiohttp
copying aiohttp/py.typed -> build/lib.linux-x86_64-cpython-311/aiohttp
creating build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-x86_64-cpython-311/aiohttp/.hash
running build_ext
building 'aiohttp._websocket' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/aiohttp
gcc -pthread -B /usr/local/share/mambaforge/envs/python3.11/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /usr/local/share/mambaforge/envs/python3.11/include -fPIC -O2 -isystem /usr/local/share/mambaforge/envs/python3.11/include -fPIC -I/tmp/tmp857ophrm/.venv/include -I/usr/local/share/mambaforge/envs/python3.11/include/python3.11 -c aiohttp/_websocket.c -o build/temp.linux-x86_64-cpython-311/aiohttp/_websocket.o
aiohttp/_websocket.c:198:12: fatal error: longintrepr.h: No such file or directory
198 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
at ~/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/installation/chef.py:147 in _prepare
143│
144│ error = ChefBuildError("\n\n".join(message_parts))
145│
146│ if error is not None:
→ 147│ raise error from None
148│
149│ return path
150│
151│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with aiohttp (3.8.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "aiohttp (==3.8.1)"'.
Describe the bug A clear and concise description of what the bug is.
I am running in ubuntu 20.04, using python3.11. In order to get around cchardet issue, I am trying to install main branch in a poetry project. I get an error installing when trying to install aiohttp 3.8.1.
To Reproduce Steps to reproduce the behavior:
Setup as above. Error:
Expected behavior
Clean install
Operating System:
Cryptofeed Version