This repository was archived by the owner on Nov 17, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 152
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Contributor installation error: Error getting the version from source vcs #1455
Copy link
Copy link
Closed
Description
Description of your problem or feature request
Installation error seemingly due to
[tool.hatch.version]
source = "vcs"`
in pyproject.toml
Provide a minimal, self-contained, and reproducible example (i.e. an MWE):
After forking and cloning to local machine:
conda env create -n aesara-dev -f environment-arm.yml
conda activate aesara-dev
pip install -r requirements.txtPlease provide the full tracebacks for any relevant errors and/or warning messages.
Obtaining file:///Users/pscemama/aesara (from -r requirements.txt (line 1))
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
/private/var/folders/_7/1p7_nqln507d79h4n2d3t2140000gp/T/pip-build-env-lnsii9vt/overlay/lib/python3.10/site-packages/setuptools_scm/version.py:84: UserWarning: tag '0.0' no version found
warnings.warn(f"tag {tag!r} no version found")
Traceback (most recent call last):
File "/Users/pscemama/miniforge3/envs/aesara-dev/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/pscemama/miniforge3/envs/aesara-dev/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/pscemama/miniforge3/envs/aesara-dev/lib/python3.10/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 "/private/var/folders/_7/1p7_nqln507d79h4n2d3t2140000gp/T/pip-build-env-lnsii9vt/overlay/lib/python3.10/site-packages/hatchling/build.py", line 78, in build_editable
return os.path.basename(next(builder.build(wheel_directory, ['editable'])))
File "/private/var/folders/_7/1p7_nqln507d79h4n2d3t2140000gp/T/pip-build-env-lnsii9vt/overlay/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 93, in build
self.metadata.validate_fields()
File "/private/var/folders/_7/1p7_nqln507d79h4n2d3t2140000gp/T/pip-build-env-lnsii9vt/overlay/lib/python3.10/site-packages/hatchling/metadata/core.py", line 243, in validate_fields
_ = self.version
File "/private/var/folders/_7/1p7_nqln507d79h4n2d3t2140000gp/T/pip-build-env-lnsii9vt/overlay/lib/python3.10/site-packages/hatchling/metadata/core.py", line 128, in version
self._version = self._get_version()
File "/private/var/folders/_7/1p7_nqln507d79h4n2d3t2140000gp/T/pip-build-env-lnsii9vt/overlay/lib/python3.10/site-packages/hatchling/metadata/core.py", line 226, in _get_version
version = self.hatch.version.cached
File "/private/var/folders/_7/1p7_nqln507d79h4n2d3t2140000gp/T/pip-build-env-lnsii9vt/overlay/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1412, in cached
raise type(e)(message) from None
AssertionError: Error getting the version from source `vcs`:
[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.Please provide any additional information below.
Machine details:
Model Name: MacBook Pro
Kernel Version: Darwin 21.6.0
Chip: Apple M1 Pro
Versions and main components
- Aesara version: 2.8.12 (lastest)
- Python version: 3.10.9
- Operating system: MacOS
- How did you install Aesara: (conda/pip) via contribution list.
Metadata
Metadata
Assignees
Labels
No labels