From 617a9279021234b5af4bb49f4d63c7909a8e322d Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Mon, 12 Oct 2026 03:45:49 +0200 Subject: [PATCH 1/2] Maintenance round Assisted-by: GPT-6.1 Sol via Codex --- .pre-commit-config.yaml | 2 +- pyproject.toml | 6 +++--- uv.lock | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a53dd591..00d1d155 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -168,5 +168,5 @@ repos: rev: v0.0.84 hooks: - id: ty - args: [--only-dev] + args: [--no-install-project] priority: 8 diff --git a/pyproject.toml b/pyproject.toml index 71b4aa96..7f6e2788 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ build-backend = "scikit_build_core.build" requires = [ "nanobind~=3.1.0", - "scikit-build-core>=1.0.3", + "scikit-build-core>=1.1", "vcs-versioning>=2.3", ] @@ -44,7 +44,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Quantum Computing", "Typing :: Typed", ] -dynamic = [ "version" ] +dynamic = [ "import-names", "import-namespaces", "version" ] dependencies = [ "nanobind-backend>=1", ] @@ -113,7 +113,7 @@ docs = [ build = [ "cmake>=4.4.1", "nanobind~=3.1.0", - "scikit-build-core>=1.0.3", + "scikit-build-core>=1.1", "vcs-versioning>=2.3", ] diff --git a/uv.lock b/uv.lock index 6f50c8fc..1dfba63f 100644 --- a/uv.lock +++ b/uv.lock @@ -1620,7 +1620,7 @@ provides-extras = ["check"] build = [ { name = "cmake", specifier = ">=4.4.1" }, { name = "nanobind", specifier = "~=3.1.0" }, - { name = "scikit-build-core", specifier = ">=1.0.3" }, + { name = "scikit-build-core", specifier = ">=1.1" }, { name = "vcs-versioning", specifier = ">=2.3" }, ] dev = [ @@ -1634,7 +1634,7 @@ dev = [ { name = "pytest-sugar", specifier = ">=1.1.1" }, { name = "pytest-xdist", specifier = ">=3.8" }, { name = "qiskit", specifier = ">=2.1,<3" }, - { name = "scikit-build-core", specifier = ">=1.0.3" }, + { name = "scikit-build-core", specifier = ">=1.1" }, { name = "scipy", specifier = ">=1.13.1" }, { name = "vcs-versioning", specifier = ">=2.3" }, ] From 95944cc9bb42916397ea1b647631e220dda0df4b Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Mon, 12 Oct 2026 05:02:21 +0200 Subject: [PATCH 2/2] Make test group self-contained Assisted-by: GPT-6.1 Sol via Codex --- noxfile.py | 2 -- pyproject.toml | 5 +++++ uv.lock | 10 ++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index cdb1db92..13a562ff 100755 --- a/noxfile.py +++ b/noxfile.py @@ -90,8 +90,6 @@ def _run_tests( "--no-dev", # do not auto-install dev dependencies "--no-build-isolation-package", "mqt-debugger", # build the project without isolation - "--extra", - "check", *install_args, env=env, ) diff --git a/pyproject.toml b/pyproject.toml index 7f6e2788..92b74c55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,6 +87,8 @@ dev = [ ] test = [ "numpy>=2.1", + "numpy>=2.3.2; python_version>='3.14'", + "numpy>=2.5.2; python_version>='3.15'", "pytest>=9.0.1", "pytest-console-scripts>=1.4.1", "pytest-cov>=7.1", @@ -94,6 +96,9 @@ test = [ "pytest-xdist>=3.8", "qiskit>=2.1,<3", "scipy>=1.13.1", + "scipy>=1.15; python_version>='3.13'", + "scipy>=1.16.2; python_version>='3.14'", + "scipy>=1.18.1; python_version>='3.15'", ] docs = [ "breathe>=4.36", diff --git a/uv.lock b/uv.lock index 1dfba63f..ae305a3b 100644 --- a/uv.lock +++ b/uv.lock @@ -1628,6 +1628,8 @@ dev = [ { name = "nanobind", specifier = "~=3.1.0" }, { name = "nox", specifier = ">=2025.11.12" }, { name = "numpy", specifier = ">=2.1" }, + { name = "numpy", marker = "python_full_version >= '3.14'", specifier = ">=2.3.2" }, + { name = "numpy", marker = "python_full_version >= '3.15'", specifier = ">=2.5.2" }, { name = "pytest", specifier = ">=9.0.1" }, { name = "pytest-console-scripts", specifier = ">=1.4.1" }, { name = "pytest-cov", specifier = ">=7.1" }, @@ -1636,6 +1638,9 @@ dev = [ { name = "qiskit", specifier = ">=2.1,<3" }, { name = "scikit-build-core", specifier = ">=1.1" }, { name = "scipy", specifier = ">=1.13.1" }, + { name = "scipy", marker = "python_full_version >= '3.13'", specifier = ">=1.15" }, + { name = "scipy", marker = "python_full_version >= '3.14'", specifier = ">=1.16.2" }, + { name = "scipy", marker = "python_full_version >= '3.15'", specifier = ">=1.18.1" }, { name = "vcs-versioning", specifier = ">=2.3" }, ] docs = [ @@ -1655,6 +1660,8 @@ docs = [ ] test = [ { name = "numpy", specifier = ">=2.1" }, + { name = "numpy", marker = "python_full_version >= '3.14'", specifier = ">=2.3.2" }, + { name = "numpy", marker = "python_full_version >= '3.15'", specifier = ">=2.5.2" }, { name = "pytest", specifier = ">=9.0.1" }, { name = "pytest-console-scripts", specifier = ">=1.4.1" }, { name = "pytest-cov", specifier = ">=7.1" }, @@ -1662,6 +1669,9 @@ test = [ { name = "pytest-xdist", specifier = ">=3.8" }, { name = "qiskit", specifier = ">=2.1,<3" }, { name = "scipy", specifier = ">=1.13.1" }, + { name = "scipy", marker = "python_full_version >= '3.13'", specifier = ">=1.15" }, + { name = "scipy", marker = "python_full_version >= '3.14'", specifier = ">=1.16.2" }, + { name = "scipy", marker = "python_full_version >= '3.15'", specifier = ">=1.18.1" }, ] [[package]]