From 8ed065f9fcd32a27d3c0e85a8289bfc3544167dc Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Thu, 19 Dec 2024 16:28:47 +0100 Subject: [PATCH] Add minimum versions for pytest-datadir and pytest-mock --- .github/workflows/ci.yml | 3 ++- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e07c8a1..4634ae8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,8 @@ jobs: python-version: ['3.9', '3.10', '3.11', '3.12'] resolution: ['highest'] # Include a job with minimum supported aiida-version, - # achieved via uv's resolution strategy + # achieved via uv's resolution strategy, see: + # https://docs.astral.sh/uv/reference/settings/#resolution include: - python-version: '3.9' resolution: 'lowest-direct' diff --git a/pyproject.toml b/pyproject.toml index e923cda..6e29606 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,8 +51,8 @@ docs = ["sphinx", "sphinx-rtd-theme"] tests = [ "pgtest~=1.3.1", "aiida-diff~=2.0.0", - "pytest-datadir", - "pytest-mock", + "pytest-datadir~=1.4", + "pytest-mock~=3.11", "pytest-cov>=4.0", ] pre_commit = [