From 5d696b070fb04c03994c3251c6a972641408a764 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Wed, 24 Jan 2024 11:52:45 +0100 Subject: [PATCH] upgrade min versions to fix flagged vunrabilities --- pyproject.toml | 5 +++-- requirements.txt | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0342a099bf1..a94145ca270 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,7 @@ test = [ "lxml-stubs>=0.4.0", "mypy>=0.971", "pandas-stubs>=1.2.0.1", - "pytest>=6.2.0", + "pytest>=7.2.0", "pytest-asyncio>=0.19.0", "pytest-cov>=3.0.0", "pytest-mock>=3.0.0", @@ -100,6 +100,7 @@ test = [ "types_pywin32>=305.0.0.7", "qcodes_loop>=0.1.1", "zhinst.qcodes>=0.5", # typecheck zhinst driver alias + "jinja2>=3.1.3", # transitive dependency pin due to cve in earlier version ] docs = [ "autodocsumm>=0.2.9", @@ -211,7 +212,7 @@ stubPath = "typings/stubs" typeCheckingMode = "basic" [tool.pytest.ini_options] -minversion = "6.0" +minversion = "7.2" junit_family = "legacy" testpaths = "tests" addopts = "-n auto --dist=loadfile" diff --git a/requirements.txt b/requirements.txt index 739260c5a9a..0b6526b0297 100644 --- a/requirements.txt +++ b/requirements.txt @@ -57,7 +57,7 @@ ipython~=8.18.0 ipython-genutils==0.2.0 ipywidgets~=8.1.0 jedi~=0.19.0 -Jinja2~=3.1.2 +Jinja2~=3.1.3 jsonpointer==2.4 jsonschema~=4.21.0 jupyter-client~=8.6.0 @@ -80,7 +80,6 @@ nbconvert~=7.14.0 nbformat~=5.9.0 nbsphinx==0.9.3 nest-asyncio~=1.6.0 -notebook~=7.0.0 numpy~=1.26.0 opencensus==0.11.4 opencensus-context==0.1.3 @@ -154,7 +153,7 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2~=1.2.1 tomli~=2.0.1 -tornado~=6.2 +tornado==6.4 towncrier~=23.11.0 tqdm~=4.66.1 traitlets~=5.14.0