diff --git a/mypy.ini b/mypy.ini
index 17c26703f09e6af3586d13765bb55141a162cd18..43907e971529dd0c10fec7342c624555fb3dc0b6 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,4 +1,4 @@
 [mypy]
-python_version = 3.8
+python_version = 3.11
 disallow_untyped_defs = False
 ignore_missing_imports = False
diff --git a/requirements.txt b/requirements.txt
index c0fa894a3551435e0cbba01cd944d343d7d5188d..fc23268ddc2e0784b34fae31a1013ee17a257c8b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -21,7 +21,7 @@ sphinx-rtd-theme
 sphinxcontrib-httpdomain
 tox
 
-mypy
+mypy~=1.2
 types-docutils
 types-jsonschema
 types-Flask-Cors
@@ -29,5 +29,5 @@ types-openpyxl
 types-setuptools
 types-click
 
-sentry-sdk[flask]
+sentry-sdk[flask]~=1.23
 python-dotenv