python-fire
python-fire copied to clipboard
Can't install fire with poetry inside of docker
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
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.