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/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 71b4aa96..92b74c55 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", ] @@ -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", @@ -113,7 +118,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 9eb1c17d..2a46c052 100644 --- a/uv.lock +++ b/uv.lock @@ -1627,7 +1627,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 = [ @@ -1635,14 +1635,19 @@ 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" }, { 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 = "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 = [ @@ -1662,6 +1667,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" }, @@ -1669,6 +1676,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]]