Closed
Description
We can't package the new version of hatch-fancy-pypi-readme on Gentoo because it has a cyclic dependency between jsonschema and hatch-fancy-pypi-readme. Since jsonschema requires hatch-fancy-pypi-readme to build, it needs to be installed first. However, it doesn't work if it's installed prior to jsonschema and therefore it breaks the build of jsonschema:
Traceback (most recent call last):
File "/usr/lib/python-exec/pypy3/gpep517", line 4, in <module>
sys.exit(main())
File "/usr/lib/pypy3.9/site-packages/gpep517/__main__.py", line 322, in main
return func(args)
File "/usr/lib/pypy3.9/site-packages/gpep517/__main__.py", line 122, in build_wheel
print(build_wheel_impl(args, args.wheel_dir), file=out)
File "/usr/lib/pypy3.9/site-packages/gpep517/__main__.py", line 105, in build_wheel_impl
wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
File "/usr/lib/pypy3.9/site-packages/hatchling/build.py", line 59, in build_wheel
return os.path.basename(next(builder.build(wheel_directory, ['standard'])))
File "/usr/lib/pypy3.9/site-packages/hatchling/builders/plugin/interface.py", line 80, in build
self.metadata.validate_fields()
File "/usr/lib/pypy3.9/site-packages/hatchling/metadata/core.py", line 191, in validate_fields
_ = self.version
File "/usr/lib/pypy3.9/site-packages/hatchling/metadata/core.py", line 85, in version
self._set_version()
File "/usr/lib/pypy3.9/site-packages/hatchling/metadata/core.py", line 173, in _set_version
version = self.hatch.version.cached
File "/usr/lib/pypy3.9/site-packages/hatchling/metadata/core.py", line 1256, in cached
raise type(e)(f'Error getting the version from source `{self.source.PLUGIN_NAME}`: {e}') from None
ModuleNotFoundError: Error getting the version from source `vcs`: No module named 'jsonschema'
Metadata
Metadata
Assignees
Labels
No labels