diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index 7dcd593ba..c0a004f1a 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -3,5 +3,5 @@ poetry==1.8.2 poetry-plugin-export==1.7.1 poetry-dynamic-versioning==1.2.0 pre-commit==3.7.0 -nox==2024.3.2 +nox==2024.4.15 nox-poetry==1.0.3 diff --git a/noxfile.py b/noxfile.py index 5334cb051..86a82ce5c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -20,6 +20,8 @@ {sys.executable} -m pip install nox-poetry""" raise SystemExit(dedent(message)) from None +nox.needs_version = ">=2024.4.15" + RUFF_OVERRIDES = """\ extend = "./pyproject.toml" extend-ignore = ["TD002", "TD003", "FIX002"] @@ -38,21 +40,9 @@ "doctest", "test_cookiecutter", ) -test_dependencies = [ - "coverage[toml]", - "duckdb", - "duckdb-engine", - "fastjsonschema", - "pyarrow", - "pytest", - "pytest-benchmark", - "pytest-durations", - "pytest-snapshot", - "pytz", - "requests-mock", - "rfc3339-validator", - "time-machine", -] + +poetry_config = nox.project.load_toml("pyproject.toml")["tool"]["poetry"] +test_dependencies = poetry_config["group"]["dev"]["dependencies"].keys() @session(python=main_python_version)