From 5d3a1c361f102c7c558627f11240d4e6b87cac7b Mon Sep 17 00:00:00 2001 From: Michal Charemza Date: Thu, 4 Jan 2024 13:06:38 +0000 Subject: [PATCH] ci: bump version of pytest Without this for some reason the following error can happen if when we add other dependencies in later commits: > ImportError: cannot import name 'Config' from 'pytest' (Specifically the dependencies of pycryptodome and pyzipper) Have to admit I'm not really sure why, and haven't spent that long trying to work out why, but I think it's reasonable to use a more recent version even without this issue and not really worth the time investigating it. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1cf5107..06695e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,13 +20,13 @@ classifiers = [ [project.optional-dependencies] dev = [ "coverage>=6.2", - "pytest>=6.2.5", + "pytest>=7.0.1", "pytest-cov>=3.0.0", "stream-unzip>=0.0.86" ] ci = [ "coverage==6.2", - "pytest==6.2.5", + "pytest==7.0.1", "pytest-cov==3.0.0", "stream-unzip==0.0.86" ]