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 14
14
test :
15
15
name : test
16
16
runs-on : ${{ matrix.os }}
17
+ continue-on-error : ${{ startsWith(matrix.python-version, '3.10')}}
17
18
strategy :
18
19
# Allow other matrix jobs to complete if 1 fails
19
20
fail-fast : false
23
24
- " 3.7"
24
25
- " 3.8"
25
26
- " 3.9"
27
+ - " 3.10.0-beta.3"
26
28
os :
27
29
- ubuntu-latest
28
30
- windows-latest
36
38
with :
37
39
python-version : ${{ matrix.python-version }}
38
40
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
+
39
53
- name : Cache dependencies (Linux)
40
54
if : startsWith(runner.os, 'Linux')
41
55
uses : actions/cache@v2
Original file line number Diff line number Diff line change 4
4
5
5
### Added
6
6
7
+ - (Experimental) support for Python 3.10 ([ #473 ] ( https://github.com/stac-utils/pystac/pull/473 ) )
8
+
7
9
### Changed
8
10
9
11
### 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
10
10
11
11
## Installation
12
12
13
+ PySTAC requires Python>=3.6. Support for Python>=3.10 should be considered experimental
14
+ until further notice.
15
+
13
16
PySTAC has a single required dependency (` python-dateutil ` ).
14
17
PySTAC can be installed from pip or the source repository.
15
18
@@ -34,6 +37,10 @@ optional `orjson` requirements:
34
37
> pip install pystac[orjson]
35
38
```
36
39
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
+
37
44
From source repository:
38
45
39
46
``` bash
You can’t perform that action at this time.
0 commit comments