diff --git a/poetry.lock b/poetry.lock
index 05156d7f09f..fa73b836612 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -2491,13 +2491,13 @@ diagrams = ["jinja2", "railroad-diagrams"]
 
 [[package]]
 name = "pytest"
-version = "8.2.2"
+version = "8.3.1"
 description = "pytest: simple powerful testing with Python"
 optional = false
 python-versions = ">=3.8"
 files = [
-    {file = "pytest-8.2.2-py3-none-any.whl", hash = "sha256:c434598117762e2bd304e526244f67bf66bbd7b5d6cf22138be51ff661980343"},
-    {file = "pytest-8.2.2.tar.gz", hash = "sha256:de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977"},
+    {file = "pytest-8.3.1-py3-none-any.whl", hash = "sha256:e9600ccf4f563976e2c99fa02c7624ab938296551f280835ee6516df8bc4ae8c"},
+    {file = "pytest-8.3.1.tar.gz", hash = "sha256:7e8e5c5abd6e93cb1cc151f23e57adc31fcf8cfd2a3ff2da63e23f732de35db6"},
 ]
 
 [package.dependencies]
@@ -2505,7 +2505,7 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""}
 exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""}
 iniconfig = "*"
 packaging = "*"
-pluggy = ">=1.5,<2.0"
+pluggy = ">=1.5,<2"
 tomli = {version = ">=1", markers = "python_version < \"3.11\""}
 
 [package.extras]
@@ -3707,4 +3707,4 @@ validation = ["fastjsonschema"]
 [metadata]
 lock-version = "2.0"
 python-versions = ">=3.8,<4.0.0"
-content-hash = "8ca20d8ca00dc544010dc06a70109d8e73500dbb8cda2ed0486b53f70be189e7"
+content-hash = "b958eaddd11acc543c2b57cf9e91a49ecd0050ea4024aca6c95b311de804d79d"
diff --git a/pyproject.toml b/pyproject.toml
index ac6372b217a..3850f8e0286 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -56,7 +56,7 @@ jsonpath-ng = { version = "^1.6.0", optional = true }
 
 [tool.poetry.dev-dependencies]
 coverage = { extras = ["toml"], version = "^7.6" }
-pytest = "^8.2.2"
+pytest = "^8.3.1"
 black = "^24.4"
 boto3 = "^1.26.164"
 isort = "^5.13.2"