From f91ae59ed3d483bdf709a49481410c81b1006d54 Mon Sep 17 00:00:00 2001 From: Yonggang Liu Date: Fri, 8 Nov 2024 15:38:32 -0500 Subject: [PATCH] HARMONY-1949: Work around safety compatibility issue with Python 3.13. --- dev-requirements.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index a966da2..9a3da72 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -12,5 +12,10 @@ pytest-mock ~=3.5 python-language-server ~= 0.35 responses ~=0.22.0 pycodestyle >= 2.9.1 -safety ~= 3.2.7 setuptools == 70.0.0 + +# Pin safety down to work around the compatibility issue with Python 3.13 +# See: https://github.com/pyupio/safety/issues/620 +# Update safety version when the issue is resolved. +safety-schemas == 0.0.5 +safety == 3.2.3