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

Can't install fire with poetry inside of docker #445

Open
yingshaoxo opened this issue Mar 28, 2023 · 1 comment
Open

Can't install fire with poetry inside of docker #445

yingshaoxo opened this issue Mar 28, 2023 · 1 comment

Comments

@yingshaoxo
Copy link

  ChefBuildError

  Backend 'setuptools.build_meta:__legacy__' is not available.

  at /usr/local/lib/python3.10/site-packages/poetry/installation/chef.py:152 in _prepare
      148│ 
      149│                 error = ChefBuildError("\n\n".join(message_parts))
      150│ 
      151│             if error is not None:
    → 152│                 raise error from None
      153│ 
      154│             return path
      155│ 
      156│     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 fire (0.5.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "fire (==0.5.0)"'.

1 error occurred:
        * Status: The command '/bin/sh -c poetry install' returned a non-zero code: 1, Code: 1
@yktakaha4
Copy link

I also encountered the same problem, but it was resolved by changing the Python version to 3.9, which is supported by fire 0.5.0.

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