Skip to content

Commit

Permalink
fix!: pin pyopenssl to 24.1.0 and cryptography version to >=42.0.8,<43 (
Browse files Browse the repository at this point in the history
#435)

This PR fixes otaclient broken due to pyopenssl releases v24.3.0, which removes the x509 certificate verification APIs. Before we finally drop pyopenssl deps, let's pin it to 24.1.0. 
Due to pyopenssl also depends on cryptography, we also pin cryptography version within v42.0.x.
  • Loading branch information
Bodong-Yang authored Nov 29, 2024
1 parent 39fa1e0 commit 76fb0f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ dynamic = [
dependencies = [
"aiofiles<25,>=24.1",
"aiohttp>=3.10.11,<3.12",
"cryptography>=43.0.1,<44",
"cryptography>=42.0.8,<43",
"grpcio>=1.53.2,<1.69",
"protobuf>=4.21.12,<5.29",
"pydantic<3,>=2.6",
"pydantic-settings<3,>=2.3",
"pyopenssl<25,>=24.1",
"pyopenssl==24.1.0",
"pyyaml<7,>=6.0.1",
"requests<2.33,>=2.32",
"simple-sqlite3-orm<0.3,>=0.2",
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# DO NOT EDIT! Only for reference use.
aiofiles<25,>=24.1
aiohttp>=3.10.11,<3.12
cryptography>=43.0.1,<44
cryptography>=42.0.8,<43
grpcio>=1.53.2,<1.69
protobuf>=4.21.12,<5.29
pydantic<3,>=2.6
pydantic-settings<3,>=2.3
pyopenssl<25,>=24.1
pyopenssl==24.1.0
pyyaml<7,>=6.0.1
requests<2.33,>=2.32
simple-sqlite3-orm<0.3,>=0.2
Expand Down

0 comments on commit 76fb0f1

Please sign in to comment.