Skip to content

Commit 31acd81

Browse files
authored
feat: bump axum to 0.8, enable 3.13 test (#615)
* chore: bump to axum 0.8 Signed-off-by: Keming <[email protected]> * test on py3.13 Signed-off-by: Keming <[email protected]> * update mixin dependencies version Signed-off-by: Keming <[email protected]> --------- Signed-off-by: Keming <[email protected]>
1 parent 39c20f0 commit 31acd81

File tree

5 files changed

+36
-50
lines changed

5 files changed

+36
-50
lines changed

.github/workflows/check.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,9 @@ jobs:
8585
python -m pip install --upgrade pip
8686
rustup component add clippy
8787
- name: Test unit
88-
# ignore the mixin test for Python 3.13 since some of the dependencies are not ready
89-
if: ${{ startsWith(matrix.python-version, '3.13')}}
9088
run: |
9189
make test_unit
9290
- name: Test
93-
if: ${{ !startsWith(matrix.python-version, '3.13')}}
9491
run: |
9592
make test
9693
- name: Test shm in Linux

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ derive_more = { version = "1.0", features = ["display", "error", "from"] }
2222
# MPMS that only one consumer sees each message & async
2323
async-channel = "2.2"
2424
prometheus-client = "0.22"
25-
axum = { version = "0.7", default-features = false, features = ["matched-path", "original-uri", "query", "tokio", "http1", "http2"]}
25+
axum = { version = "0.8.1", default-features = false, features = ["matched-path", "original-uri", "query", "tokio", "http1", "http2"]}
2626
async-stream = "0.3.6"
2727
serde = "1.0"
2828
serde_json = "1.0"
29-
utoipa = "5.2"
30-
utoipa-swagger-ui = { version = "8.0", features = ["axum"] }
29+
utoipa = "5.3"
30+
utoipa-swagger-ui = { version = "8.1", features = ["axum"] }
3131
tower = "0.5.1"
3232
tower-http = {version = "0.6.1", features = ["compression-zstd", "decompression-zstd", "compression-gzip", "decompression-gzip"]}

requirements/dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
setuptools_scm>=7
2-
pytest>=6
2+
pytest>=8
33
pytest-mock>=3.5
4-
mypy~=1.13
4+
mypy~=1.14
55
pyright~=1.1
66
ruff>=0.8
77
pre-commit>=2.15.0

requirements/mixin.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
msgpack>=1.0.2
2-
msgspec>=0.15.0
1+
msgpack>=1.1.0
2+
msgspec>=0.19.0
33
numbin>=0.5.0
44
pyarrow>=0.6.1,<12; python_version < "3.12"
55
redis>=4.0.0
6-
numpy<2 # pyarrow legacy dependency
6+
numpy<2; python_version < "3.12" # pyarrow legacy dependency
7+
numpy>=2; python_version >= "3.12"

0 commit comments

Comments
 (0)