Closed DimitriPapadopoulos closed 2 weeks ago
I don't understand this CI error:
│ /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/hatch/u │
│ tils/dep.py:40 in get_project_dependencies_complex │
│ │
│ 37 def get_project_dependencies_complex( │
│ 38 │ environment: EnvironmentInterface, │
│ 39 ) -> tuple[dict[str, Requirement], dict[str, dict[str, Requirement]]]: │
│ ❱ 40 │ from hatchling.dep.core import dependencies_in_sync │
│ 41 │ │
│ 42 │ dependencies_complex = {} │
│ 43 │ optional_dependencies_complex = {} │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'hatchling.dep'
The relevant code in hatch/utils/dep.py
changed in https://github.com/pypa/hatch/pull/1582 and that change should be part of hatch 1.13.0 released on 14 October and hatchling 1.26.0 released today. Function get_project_dependencies_complex
should not exist any more.
See issue https://github.com/pypa/hatch/issues/1793. Pinning to hatchling 1.25.0 could fix the issue.
EDIT: should be fixed by hatchling 1.26.1.
Small fixes around
{...!r}
occurrences.TODO: