Skip to content

Commit c2eb7f7

Browse files
authored
Update various rust and python dependencies (#36)
Including transformers 4.38, tokenizers 0.15.2, optimum 1.17.1, onnxruntime 1.17.0 And cryptography dependency to avoid new CVE --------- Signed-off-by: Nick Hill <[email protected]>
1 parent cf76817 commit c2eb7f7

File tree

8 files changed

+364
-374
lines changed

8 files changed

+364
-374
lines changed

Cargo.lock

Lines changed: 97 additions & 95 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration_tests/poetry.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration_tests/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ authors = ["Nick Hill"]
88
python = ">=3.11"
99

1010
[tool.poetry.group.dev.dependencies]
11-
protobuf = "^4.25.2"
11+
protobuf = "^4.25.3"
1212
grpcio-tools = "^1.60.1"
13-
pytest = "^7.4.4"
13+
pytest = "^8.0.1"
1414
pytest-asyncio = "^0.23.3"
1515
requests = "^2.31.0"
1616
pyyaml = "^6.0.1"

launcher/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ authors = ["Olivier Dehaene"]
66
description = "Text Generation Launcher"
77

88
[dependencies]
9-
clap = { version = "4.4.18", features = ["derive", "env"] }
9+
clap = { version = "4.5.1", features = ["derive", "env"] }
1010
ctrlc = { version = "3.4.2", features = ["termination"] }
1111
nix = "0.27.1"
12-
serde_json = "^1.0.113"
12+
serde_json = "^1.0.114"
1313
tracing = "0.1.40"
1414
tracing-subscriber = { version = "0.3.18", features = ["json"] }
1515

router/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ path = "src/main.rs"
1616
[dependencies]
1717
axum = { version = "0.6.20", features = ["json"] }
1818
text-generation-client = { path = "client" }
19-
clap = { version = "^4.4.18", features = ["derive", "env"] }
19+
clap = { version = "^4.5.1", features = ["derive", "env"] }
2020
futures = "^0.3.30"
2121
flume = "^0.11.0"
2222
metrics = "0.21.1"
@@ -26,24 +26,24 @@ nohash-hasher = "^0.2.0"
2626
num = "^0.4.1"
2727
num_cpus = "^1.16.0"
2828
hyper = "^0.14.28" # Override to address CVE-2023-26964
29-
openssl = "^0.10.63" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
30-
openssl-sys = "^0.9.99" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
29+
openssl = "^0.10.64" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
30+
openssl-sys = "^0.9.101" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
3131
rustls-webpki = "0.102.2" # Override to address WS-2023-0305, CVE-2018-16875
3232
rand = "^0.8.5"
33-
serde = "^1.0.196"
34-
serde_json = "^1.0.113"
35-
thiserror = "^1.0.56"
36-
tokenizers = "0.15.1"
33+
serde = "^1.0.197"
34+
serde_json = "^1.0.114"
35+
thiserror = "^1.0.57"
36+
tokenizers = "0.15.2"
3737
tokio = { version = "1.36.0", features = ["rt", "rt-multi-thread", "parking_lot", "signal", "sync", "fs"] }
3838
tokio-rustls = "^0.25.0"
3939
rustls = "0.22.2"
4040
tracing = "^0.1.40"
4141
tracing-subscriber = { version = "0.3.18", features = ["json"] }
4242
prost = "^0.12.3"
43-
tonic = { version = "^0.10.2", features = ["tls"] }
43+
tonic = { version = "^0.11.0", features = ["tls"] }
4444
tokio-stream ="^0.1.14"
4545
unicode-segmentation = "^1.11.0"
4646
unicode-truncate = "^0.2.0"
4747

4848
[build-dependencies]
49-
tonic-build = "^0.10.2"
49+
tonic-build = "^0.11.0"

router/client/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ build="build.rs"
77
[dependencies]
88
futures = "^0.3.30"
99
prost = "^0.12.3"
10-
thiserror = "^1.0.56"
10+
thiserror = "^1.0.57"
1111
tokio = { version = "1.36.0", features = ["sync"] }
12-
tonic = "^0.10.2"
12+
tonic = "^0.11.0"
1313
tower = "^0.4.13"
1414
tracing = "^0.1.40"
1515
tracing-error = "^0.2.0"
1616

1717
[build-dependencies]
18-
tonic-build = "^0.10.2"
18+
tonic-build = "^0.11.0"

0 commit comments

Comments
 (0)