Skip to content

Dependency Resolution Issue with brick-tq-shacl When Installing buildingmotif[topquadrant] using uv #364

@metesaka

Description

@metesaka

When attempting to install buildingmotif with the topquadrant option using the uv environment manager, the following dependency resolution error occurs:

No solution found when resolving dependencies for split (python_full_version == '3.11.*'):
╰─▶ Because there is no version of brick-tq-shacl==0.3.3a3 and buildingmotif[topquadrant]==0.3.0 depends on brick-tq-shacl==0.3.3a3, we can conclude that buildingmotif[topquadrant]==0.3.0 cannot be used.
And because only buildingmotif[topquadrant]>=0.3.0 is available and your project depends on buildingmotif[topquadrant], we can conclude that your project's requirements are unsatisfiable.

This error appears to be caused by the dependency specified in pyproject.toml:

brick-tq-shacl = {optional = true, version="0.3.3a3"}

The only way I could resolve this issue was to manually add the dependency first using:

uv add brick-tq-shacl==0.3.3a3 --prerelease=allow
and then install buildingmotif with topquadrant.

Questions:

  • Is there a specific reason for pinning brick-tq-shacl to version 0.3.3a3?
  • Could this issue be avoided by updating the dependency to the latest version of brick-tq-shacl (0.3.4)?

I would appreciate clarification on whether this error is expected behavior or if the dependency version can be updated to improve compatibility. Thank you!

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