Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChefBuildError while installing the latest version (v2.0.5) #352

Closed
averroes96 opened this issue Jul 28, 2024 · 2 comments
Closed

ChefBuildError while installing the latest version (v2.0.5) #352

averroes96 opened this issue Jul 28, 2024 · 2 comments

Comments

@averroes96
Copy link

I tried to install the latest version v2.0.5 with poetry (I think this is irrelevant) and I'm getting an error about aiohttp version

  - Installing aiohttp (3.8.6): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel
  
  ...
  error: command '/usr/bin/clang' failed with exit code 1
  

  at ~/.local/pipx/venvs/poetry/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
      160│ 
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│ 
      163│             if error is not None:
    → 164│                 raise error from None
      165│ 
      166│             return path
      167│ 
      168│     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.6) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "aiohttp (==3.8.6)"'.
  • Python version: 3.12
@mSiotniHS
Copy link

I have as well encountered problems installing PyFCM with Python 3.12. I believe the problem lies in the requested version for aiohttp library — as it stated in the issue from its repository, only 3.9.0 and above support Python 3.12

@averroes96
Copy link
Author

Had to use v2.0.4, have they fixed the issue ? @mSiotniHS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants