Skip to content

Commit bc885d7

Browse files
Jon Duckworthgadomski
Jon Duckworth
andauthored
Use stable Python 3.10 in CI (#656)
* Use stable python 3.10 in CI * Add CHANGELOG entry for 656 * Update README.md Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com> * Update .github/workflows/continuous-integration.yml Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com> Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
1 parent e9f8624 commit bc885d7

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/continuous-integration.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
test:
1515
name: test
1616
runs-on: ${{ matrix.os }}
17-
continue-on-error: ${{ startsWith(matrix.python-version, '3.10')}}
1817
strategy:
1918
# Allow other matrix jobs to complete if 1 fails
2019
fail-fast: false
@@ -23,7 +22,7 @@ jobs:
2322
- "3.7"
2423
- "3.8"
2524
- "3.9"
26-
- "3.10.0-rc.1"
25+
- "3.10"
2726
os:
2827
- ubuntu-latest
2928
- windows-latest
@@ -38,10 +37,8 @@ jobs:
3837
python-version: ${{ matrix.python-version }}
3938

4039
- uses: actions-rs/toolchain@v1
41-
# No wheels exist for orjson on Python 3.10 on MacOS or Windows, and the Linux
42-
# wheels are sometimes not uploaded until after the package is initially
43-
# published. This sets up the Rust nightly toolchain so we can build the orjson
44-
# wheel.
40+
# Wheels for orjson on Python 3.10 are still spotty on MacOS or Windows. This sets up the Rust
41+
# toolchain so we can build the orjson wheel.
4542
if: ${{ startsWith(matrix.python-version, '3.10')}}
4643
with:
4744
toolchain: stable
@@ -142,7 +139,7 @@ jobs:
142139
- "3.7"
143140
- "3.8"
144141
- "3.9"
145-
- "3.10.0-rc.1"
142+
- "3.10"
146143

147144
steps:
148145
- uses: actions/checkout@v2

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- Added Table-extension ([#646](https://github.com/stac-utils/pystac/pull/646))
8+
- Stable support for Python 3.10 ([#656](https://github.com/stac-utils/pystac/pull/656))
89

910
### Removed
1011

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ for Python versions. This means that users can expect support for Python 3.7 to
1616
removed from the `main` branch after Dec 26, 2021 and therefore from the next release
1717
after that date.
1818

19-
*Support for Python >= 3.10 should be considered experimental
20-
until further notice.*
19+
Note that while we support Python 3.10.\*, wheels for the `orjson` library are not always immediately available for all
20+
platforms. If you install PySTAC with the `orjson` extra, you may need to have the Rust toolchain installed (e.g. via [rustup](https://rustup.rs/)) in order to
21+
build the package from source.
2122

2223
PySTAC has a single required dependency (`python-dateutil`).
2324
PySTAC can be installed from pip or the source repository.

0 commit comments

Comments
 (0)