Skip to content

Commit 0074f6f

Browse files
committed
Add comment, README note on orjson Python 3.10 wheels
1 parent 2ba8d46 commit 0074f6f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
python-version: ${{ matrix.python-version }}
4040

4141
- uses: actions-rs/toolchain@v1
42+
# No wheels exist for orjson on Python 3.10 on MacOS or Windows, and the Linux
43+
# wheels are sometimes not uploaded until after the package is initially
44+
# published. This sets up the Rust nightly toolchain so we can build the orjson
45+
# wheel.
4246
if: ${{ startsWith(matrix.python-version, '3.10')}}
4347
with:
4448
toolchain: nightly

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ optional `orjson` requirements:
3737
> pip install pystac[orjson]
3838
```
3939

40+
> *`orjson` wheels are only available for Linux in Python 3.10. If you are using the
41+
> `orjson` extra with Python 3.10 you will need to have the Rust nightly toolchain
42+
> installed as your default toolchain in order to build the package wheel.*
43+
4044
From source repository:
4145

4246
```bash

0 commit comments

Comments
 (0)