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
uv add "mcp[cli]" httpx
warning: VIRTUAL_ENV=.venv does not match the project environment path /home/liuxl/moxing/mcp/.venv and will be ignored; use --active to target the active environment instead
× Failed to build mcp @ file:///home/liuxl/moxing/mcp
├─▶ The build backend returned an error
╰─▶ Call to hatchling.build.prepare_metadata_for_build_editable failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/liuxl/.cache/uv/builds-v0/.tmpm9yiwU/lib/python3.10/site-packages/hatchling/build.py", line 133, in prepare_metadata_for_build_editable
directory = os.path.join(metadata_directory, f'{builder.artifact_project_id}.dist-info')
File "/home/liuxl/.cache/uv/builds-v0/.tmpm9yiwU/lib/python3.10/site-packages/hatchling/builders/wheel.py", line 815, in artifact_project_id
self.project_id
File "/home/liuxl/.cache/uv/builds-v0/.tmpm9yiwU/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 374, in project_id
self.__project_id = f'{self.normalize_file_name_component(self.metadata.core.name)}-{self.metadata.version}'
File "/home/liuxl/.cache/uv/builds-v0/.tmpm9yiwU/lib/python3.10/site-packages/hatchling/metadata/core.py", line 149, in version
self._version = self._get_version()
File "/home/liuxl/.cache/uv/builds-v0/.tmpm9yiwU/lib/python3.10/site-packages/hatchling/metadata/core.py", line 248, in _get_version
version = self.hatch.version.cached
File "/home/liuxl/.cache/uv/builds-v0/.tmpm9yiwU/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1456, in cached
raise type(e)(message) from None
RuntimeError: Error getting the version from source `uv-dynamic-versioning`: This does not appear to be a Git project
hint: This usually indicates a problem with the package or the build environment.
The text was updated successfully, but these errors were encountered:
uv add "mcp[cli]" httpx
warning:
VIRTUAL_ENV=.venv
does not match the project environment path/home/liuxl/moxing/mcp/.venv
and will be ignored; use--active
to target the active environment instead× Failed to build
mcp @ file:///home/liuxl/moxing/mcp
├─▶ The build backend returned an error
╰─▶ Call to
hatchling.build.prepare_metadata_for_build_editable
failed (exit status: 1)The text was updated successfully, but these errors were encountered: