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
hello,
I tested hatch then try ahtch shell but got that error
14:48 $ hatch shell
error: subprocess-exited-with-error
× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
Traceback (most recent call last):
File "/home/foxmask/.local/share/hatch/env/virtual/shaarpy/ZM8a-pCl/shaarpy/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/foxmask/.local/share/hatch/env/virtual/shaarpy/ZM8a-pCl/shaarpy/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/foxmask/.local/share/hatch/env/virtual/shaarpy/ZM8a-pCl/shaarpy/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 176, in prepare_metadata_for_build_editable
whl_basename = build_hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-xczvi96b/overlay/lib/python3.11/site-packages/hatchling/build.py", line 82, in build_editable
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable'])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-xczvi96b/overlay/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
self.metadata.validate_fields()
File "/tmp/pip-build-env-xczvi96b/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 243, in validate_fields
_ = self.version
^^^^^^^^^^^^
File "/tmp/pip-build-env-xczvi96b/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 128, in version
self._version = self._get_version()
^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-xczvi96b/overlay/lib/python3.11/site-packages/hatchling/metadata/core.py", line 238, in _get_version
raise ValueError(message) from None
ValueError: Invalid version `.` from source `regex`, see https://peps.python.org/pep-0440/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
hello,
I tested hatch then try ahtch shell but got that error
hatch and python version used
The text was updated successfully, but these errors were encountered: