Skip to content

🐛 uv sync tries to build optional dependency qsample, which fails in Python 3.14 #683

@sunjerry019

Description

@sunjerry019

System and Environment Information

  • MacOS 26.4.1
  • Python 3.14
  • mqt-qecc 1.9.0
  • managed environment using uv

Bug Description

qsample is an optional dependency, which depends on projectq, which fails to build for Python 3.13/3.14 (See ProjectQ-Framework/ProjectQ#486)

However, if I were to just run uv sync to install mqt-qecc, uv tries to build projectq anyway. Not sure if there is a way to turn this off from the packaging side, or fix it from the user side.

Steps to Reproduce

[project]
name = "..."
version = "..."
description = "..."
readme = "README.md"
requires-python = "~=3.14.3"
dependencies = [
   ...
    "mqt-qecc~=1.9.0",
   ...
]

then run

uv sync

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions