From d8e984b1a798aaa7565c75484e4304a497b023a1 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 5 Jul 2023 12:37:08 -0700 Subject: [PATCH 1/4] Keep project on Pydantic v1.x for now --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 95e5a86..9aa2b7d 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ def find_version(*file_paths): 'asn1crypto>=1.4.0', 'cbor2>=5.4.2.post1', 'cryptography>=39.0.1', - 'pydantic>=1.9.0', + 'pydantic>=1.9.0,<2.0a0', 'pyOpenSSL>=23.0.0', ] ) From 3b7764d15135ff98a62a99ae2b3ba5cfc8942913 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 5 Jul 2023 12:43:02 -0700 Subject: [PATCH 2/4] Update Pydantic in requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 96662f7..513fb29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ pathspec==0.9.0 platformdirs==2.4.0 pycodestyle==2.8.0 pycparser==2.20 -pydantic==1.9.0 +pydantic>=1.9.0,<2.0a0 pyflakes==2.4.0 pyOpenSSL==23.2.0 regex==2021.10.8 From aeb9723956cba6102bca2a5404b2a8ef8ac4cb8c Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 5 Jul 2023 12:46:14 -0700 Subject: [PATCH 3/4] Might as well bump things up to latest Pydantic v1 --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 513fb29..4665600 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ pathspec==0.9.0 platformdirs==2.4.0 pycodestyle==2.8.0 pycparser==2.20 -pydantic>=1.9.0,<2.0a0 +pydantic>=1.10.11,<2.0a0 pyflakes==2.4.0 pyOpenSSL==23.2.0 regex==2021.10.8 diff --git a/setup.py b/setup.py index 9aa2b7d..ad6b982 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ def find_version(*file_paths): 'asn1crypto>=1.4.0', 'cbor2>=5.4.2.post1', 'cryptography>=39.0.1', - 'pydantic>=1.9.0,<2.0a0', + 'pydantic>=1.10.11,<2.0a0', 'pyOpenSSL>=23.0.0', ] ) From 4352ed4e13cd87f0a2e8a5fb4a5fa2ba0546ae58 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 5 Jul 2023 12:49:37 -0700 Subject: [PATCH 4/4] Don't go overboard on requirements.txt updates --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 4665600..2399d93 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,11 +11,11 @@ pathspec==0.9.0 platformdirs==2.4.0 pycodestyle==2.8.0 pycparser==2.20 -pydantic>=1.10.11,<2.0a0 +pydantic==1.10.11 pyflakes==2.4.0 pyOpenSSL==23.2.0 regex==2021.10.8 six==1.16.0 toml==0.10.2 tomli==1.2.1 -typing-extensions==3.10.0.2 +typing-extensions==4.2.0