From 31386ad1c48196ef4637561e59d3438153567ed4 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Thu, 27 Jul 2023 01:47:13 -0400 Subject: [PATCH] Upgrade pydantic (#15394) * Revert "Revert "Bump pydantic version in the agent_requirements.in file (#15320)" (#15338)" This reverts commit 8e72bf3387fda60db6c241a1cdea8c0cc9b26a81. * upgrade pydantic * downgrade pydantic * downgrade again --------- Co-authored-by: Florent Clarret --- LICENSE-3rdparty.csv | 2 +- .../datadog_checks/base/data/agent_requirements.in | 2 +- datadog_checks_base/pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE-3rdparty.csv b/LICENSE-3rdparty.csv index 5b179aba8d955..862b460f9084f 100644 --- a/LICENSE-3rdparty.csv +++ b/LICENSE-3rdparty.csv @@ -68,7 +68,7 @@ psycopg2-binary,PyPI,LGPL-3.0-only,Copyright (C) 2013 Federico Di Gregorio pyasn1,PyPI,BSD-3-Clause,"Copyright (c) 2005-2019, Ilya Etingof " pycryptodomex,PyPI,BSD-2-Clause,Copyright 2014 Helder Eijs pycryptodomex,PyPI,Unlicense,Helder Eijs. pycryptodomex is dedicated to the public domain under Unlicense. -pydantic,PyPI,MIT,"Copyright (c) 2017, 2018, 2019, 2020, 2021 Samuel Colvin and other contributors" +pydantic,PyPI,MIT,Copyright (c) 2017 to present Pydantic Services Inc. and individual contributors. pymongo,PyPI,Apache-2.0,Copyright 2009 The MongoDB Python Team pymqi,PyPI,PSF,Copyright (c) Zato Source s.r.o. pymysql,PyPI,MIT,"Copyright (c) 2010, 2013 PyMySQL contributors" diff --git a/datadog_checks_base/datadog_checks/base/data/agent_requirements.in b/datadog_checks_base/datadog_checks/base/data/agent_requirements.in index be1724f651f7f..380d10c1d7bec 100644 --- a/datadog_checks_base/datadog_checks/base/data/agent_requirements.in +++ b/datadog_checks_base/datadog_checks/base/data/agent_requirements.in @@ -60,7 +60,7 @@ psutil==5.9.0 psycopg2-binary==2.8.6; sys_platform != 'darwin' or platform_machine != 'arm64' pyasn1==0.4.6 pycryptodomex==3.10.1 -pydantic==1.10.8; python_version > '3.0' +pydantic==2.0.2; python_version > '3.0' pyjwt==1.7.1; python_version < '3.0' pyjwt==2.7.0; python_version > '3.0' pymongo[srv]==4.3.3; python_version >= '3.8' diff --git a/datadog_checks_base/pyproject.toml b/datadog_checks_base/pyproject.toml index 56b78f4dbaa41..740af1b15fe3a 100644 --- a/datadog_checks_base/pyproject.toml +++ b/datadog_checks_base/pyproject.toml @@ -56,7 +56,7 @@ deps = [ "prometheus-client==0.17.0; python_version > '3.0'", "protobuf==3.17.3; python_version < '3.0'", "protobuf==3.20.2; python_version > '3.0'", - "pydantic==2.0; python_version > '3.0'", + "pydantic==2.0.2; python_version > '3.0'", "python-dateutil==2.8.2", "pywin32==228; sys_platform == 'win32' and python_version < '3.0'", "pywin32==306; sys_platform == 'win32' and python_version > '3.0'",