Skip to content

coh build failing with BackendUnavailable #12

@jaraco

Description

@jaraco

Attempting to run coh build on pypa/pkg_resources@08747b9, I get the following failure:

 pkg_resources main 🐚 coh build
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
  - coherent.build
* Getting build dependencies for sdist...

Traceback (most recent call last):
  File "/Users/jaraco/Library/Application Support/pipx/venvs/coherent-cli/lib/python3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
    ...<4 lines>...
    )
pyproject_hooks._impl.BackendUnavailable: Cannot import 'coherent.build'

ERROR Backend 'coherent.build' is not available.

Running py -m coherent.build on the same project progresses past that failure point and performs the build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions