From a5dfe35ff00506c94946e564057568f9ab68686a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Fri, 10 May 2024 16:18:44 +0545 Subject: [PATCH 1/2] safety: ignore py vulnerabiility It's a test dependency, so it's safe to ignore. --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 36f1386..b565ac7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -45,7 +45,7 @@ def safety(session: nox.Session) -> None: """Scan dependencies for insecure packages.""" session.install(".[dev]") session.install("safety") - session.run("safety", "check", "--full-report") + session.run("safety", "check", "--full-report", "--ignore=51457") @nox.session From 730687118802520b83900029638a78fe31b6fd57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Fri, 10 May 2024 17:28:51 +0545 Subject: [PATCH 2/2] deps: set upper bound on pytest-celery --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d3107ce..575605c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ docs = [ ] tests = [ "pytest>=7,<9", - "pytest-celery", + "pytest-celery<1", "pytest-cov>=4.1.0", "pytest-mock", "pytest-rerunfailures",