Skip to content

Commit

Permalink
👷 NEP29: Run CI and Docs build on Python 3.10 (#29)
Browse files Browse the repository at this point in the history
Run Continuous Integration tests, workflows and documentation build on Python 3.10. Need to bump rasterio from 1.2.10 to 1.3.0 to get the Python 3.10 wheels as mentioned in f1f7652.

* ⬆️ Bump rasterio from 1.2.10 to 1.3.0

Bumps [rasterio](https://github.com/mapbox/rasterio) from 1.2.10 to 1.3.0.
- [Release notes](https://github.com/mapbox/rasterio/releases)
- [Changelog](https://github.com/mapbox/rasterio/blob/master/CHANGES.txt)
- [Commits](rasterio/rasterio@1.2.10...1.3.0)

Note that wheel hashes are missing, possibly due to python-poetry/poetry#5988.

* 👷 NEP29: Run CI and Docs build on Python 3.10

Bumps [python](https://github.com/python/cpython) from 3.9.13 to 3.10.5.
  - [Release notes](https://github.com/python/cpython/releases/tag/v3.10.5)
  - [Changelog](https://docs.python.org/3/whatsnew/3.10.html)
  - [Commits](python/cpython@v3.9.13...v3.10.5)
  • Loading branch information
weiji14 authored Jul 17, 2022
1 parent f5c5e9e commit 50224ba
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A clear and concise description of what you expected to happen.

**System details (please complete the following information):**
- OS: [e.g. Linux, macOS, Windows]
- Python Version [e.g. 3.9]
- Python Version [e.g. 3.10]

**Additional context**
Add any other context about the problem here.
6 changes: 3 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9"]
python-version: ["3.8", "3.10"]
os: [ubuntu-22.04]
# Is it a draft Pull Request (true or false)?
isDraft:
Expand All @@ -29,10 +29,10 @@ jobs:
exclude:
- python-version: '3.8'
isDraft: true
# Only install optional packages on Ubuntu-22.04/Python 3.9
# Only install optional packages on Ubuntu-22.04/Python 3.10
include:
- os: 'ubuntu-22.04'
python-version: '3.9'
python-version: '3.10'
extra-packages: '--extras "raster vector"'

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
# fetch all history so that poetry-dynamic-versioning works
fetch-depth: 0

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@98f2ad02fd48d057ee3b4d4f66525b231c3e52b6
with:
python-version: '3.9'
python-version: '3.10'

- name: Install Poetry and dynamic-versioning plugin
run: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.10"
jobs:
pre_build:
# Generate the Sphinx configuration for this Jupyter Book so it builds.
Expand Down
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ cd zen3geo
### Setup virtual environment ☁️

```
mamba create --name zen3geo python=3.9
mamba create --name zen3geo python=3.10
mamba activate zen3geo
pip install poetry==1.2.0b3
Expand Down
18 changes: 4 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 50224ba

Please sign in to comment.