File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1414 test :
1515 name : test
1616 runs-on : ${{ matrix.os }}
17+ continue-on-error : ${{ startsWith(matrix.python-version, '3.10')}}
1718 strategy :
1819 # Allow other matrix jobs to complete if 1 fails
1920 fail-fast : false
2324 - " 3.7"
2425 - " 3.8"
2526 - " 3.9"
27+ - " 3.10.0-beta.3"
2628 os :
2729 - ubuntu-latest
2830 - windows-latest
3638 with :
3739 python-version : ${{ matrix.python-version }}
3840
41+ - 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.
46+ if : ${{ startsWith(matrix.python-version, '3.10')}}
47+ with :
48+ toolchain : nightly
49+ override : true
50+ default : true
51+ profile : minimal
52+
3953 - name : Cache dependencies (Linux)
4054 if : startsWith(runner.os, 'Linux')
4155 uses : actions/cache@v2
Original file line number Diff line number Diff line change 44
55### Added
66
7+ - (Experimental) support for Python 3.10 ([ #473 ] ( https://github.com/stac-utils/pystac/pull/473 ) )
8+
79### Changed
810
911### Fixed
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ PySTAC is a library for working with [SpatialTemporal Asset Catalog](https://sta
1010
1111## Installation
1212
13+ PySTAC requires Python>=3.6. Support for Python>=3.10 should be considered experimental
14+ until further notice.
15+
1316PySTAC has a single required dependency (` python-dateutil ` ).
1417PySTAC can be installed from pip or the source repository.
1518
@@ -34,6 +37,10 @@ optional `orjson` requirements:
3437> pip install pystac[orjson]
3538```
3639
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+
3744From source repository:
3845
3946``` bash
You can’t perform that action at this time.
0 commit comments