You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me a while to get the library dependencies working, seems to be ok for Python 3.8.16 but not Python 3.10 or 3.11. I would specify useable python versions in the requirements, not too familiar with Poetry though. The installation also gave me the following error:
Installing pyyaml (6.0): Failed
ChefBuildError
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
running egg_info
writing lib/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/Users/kenzatazi/miniconda3/envs/bcm4rcm/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/kenzatazi/miniconda3/envs/bcm4rcm/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/kenzatazi/miniconda3/envs/bcm4rcm/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
self.run_setup()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
File "<string>", line 288, in <module>
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
super().run_command(command)
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 318, in run
self.find_sources()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 326, in find_sources
mm.run()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 548, in run
self.add_defaults()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 586, in add_defaults
sdist.add_defaults(self)
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/command/sdist.py", line 113, in add_defaults
super().add_defaults()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
File "<string>", line 204, in get_source_files
File "/var/folders/jn/8my89c2536z23fm0t2l486340000gn/T/tmpphzqh8sf/.venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
raise AttributeError(attr)
AttributeError: cython_sources
at ~/miniconda3/envs/bcm4rcm/lib/python3.8/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 pyyaml (6.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "pyyaml (==6.0) ; python_version >= "3.6""'.
The text was updated successfully, but these errors were encountered:
It took me a while to get the library dependencies working, seems to be ok for Python 3.8.16 but not Python 3.10 or 3.11. I would specify useable python versions in the requirements, not too familiar with Poetry though. The installation also gave me the following error:
The text was updated successfully, but these errors were encountered: