diff --git a/.github/codecov.yml b/.github/codecov.yml index 0a91a39..de7ffc8 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -31,7 +31,7 @@ flag_management: - name: python paths: - "src/mqt/**/*.py" - after_n_builds: 12 + after_n_builds: 10 statuses: - type: project threshold: 0.5% diff --git a/noxfile.py b/noxfile.py index f4b98fe..b1e22a2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -20,10 +20,16 @@ PYTHON_ALL_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"] +# The following lists all the build requirements for building the package. +# Note that this includes transitive build dependencies of package dependencies, +# since we use `--no-build-isolation` to install the package in editable mode +# and get better caching performance. This only concerns dependencies that are +# not available via wheels on PyPI (i.e., only as source distributions). BUILD_REQUIREMENTS = [ "scikit-build-core[pyproject]>=0.8.1", "setuptools_scm>=7", "pybind11>=2.12", + "wheel>=0.40", # transitive dependency of pytest on Windows ] if os.environ.get("CI", None): @@ -72,7 +78,7 @@ def tests(session: nox.Session) -> None: _run_tests(session) -@nox.session(reuse_venv=True, venv_backend="uv") +@nox.session(reuse_venv=True, venv_backend="uv", python=PYTHON_ALL_VERSIONS) def minimums(session: nox.Session) -> None: """Test the minimum versions of dependencies.""" _run_tests(