Skip to content

Commit 33b503e

Browse files
authored
fix: lower the orjson floor to the first release with cp311 wheels (#328)
1 parent 16029af commit 33b503e

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ jobs:
147147
- {python-version: "3.15", target: litestar}
148148
# These `include` entries name an existing `target`, so each adds `extras` to that
149149
# target's five combinations rather than creating a job of its own. `free` carries
150-
# orjson because it belongs to no *-all extra and its floor is a wheel-availability
151-
# one, which only an interpreter matrix can check.
150+
# orjson because it belongs to no *-all extra.
152151
include:
153152
- {target: free, extras: "--extra free-all --extra orjson"}
154153
- {target: fastapi, extras: "--extra fastapi-all"}

‎pyproject.toml‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,8 @@ Changelog = "https://github.com/modern-python/lite-bootstrap/releases"
4040
[project.optional-dependencies]
4141
orjson = [
4242
# No API forces this floor: only `orjson.dumps(...).decode()` and `orjson.loads`, both original.
43-
# >=3.11.1 is the first release with cp314 wheels, and orjson builds from source only with a
44-
# Rust toolchain (a nightly one, on 3.14), so anything older is uninstallable on the newest
45-
# supported interpreter. 3.11.0 ships none: a machine with cargo installed can still build it,
46-
# which is how #218 came to declare >=3.11.
47-
"orjson>=3.11.1",
43+
# 3.8.0 is the first release with cp311 wheels for every platform.
44+
"orjson>=3.8.0",
4845
]
4946
sentry = [
5047
# >=1.31 for the `max_value_length` init option; >=2.1 for sentry_sdk.set_tags (plural,

0 commit comments

Comments
 (0)