-
Notifications
You must be signed in to change notification settings - Fork 3
Description
The action failed because the package could not be installed
minimum-dependency-versions/action.yaml
Line 37 in 3db8e1c
| python -m pip install ${{ github.action_path }} |
with the following error
LookupError: Error getting the version from source
vcs: setuptools-scm was unable to detect version for /home/runner/work/_actions/xarray-contrib/minimum-dependency-versions/v1.0.0.For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
Alternatively, set the version with the environment variable SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${NORMALIZED_DIST_NAME} as described in https://setuptools-scm.readthedocs.io/en/latest/config/
- We may have to add .gitattributes and .git_archival.txt files or define a fallback.
- I see you use hatch-vcs but the error message says setuptools-scm. Is hatch-vcs using setuptools-scm under the hood or is something going wrong.
GHA workflow:
https://github.com/regionmask/regionmask/actions/runs/20333890999/job/58415541269?pr=640