Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/test 312 #110

Merged
merged 4 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
cache: 'pip'
cache-dependency-path: pyproject.toml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doctest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
cache: 'pip'
cache-dependency-path: pyproject.toml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
CIBW_SKIP: '*-win32 *-manylinux_i686 *-musllinux*'
CIBW_BUILD_VERBOSITY: 3
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_TEST_SKIP: '*-macosx_arm64 cp312-*'
CIBW_TEST_SKIP: '*-macosx_arm64'
# Completely isolate tests to prevent cibuildwheel from importing the
# source instead of the wheel. This happens when tests/__init__.py is read.
CIBW_TEST_EXTRAS: "complete,dev"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Run unit tests from the ground up
# installing "pycontrails" into the Github OS environments

# TODO: Include windows platforms testing here

name: Unit tests

on:
Expand Down Expand Up @@ -40,7 +38,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
pyversion: ['3.9', '3.10', '3.11']
pyversion: ['3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}

steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
### Internals

- Set `frozen=True` on the `MetVariable` dataclass.
- Test against python 3.12 in the GitHub Actions CI. Use python 3.12 the docs and doctest workflows.

## v0.48.0

Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@ gfs = [
"tqdm>=4.61",
]

goes = ["cartopy>=0.22", "gcsfs>=2022.3", "h5netcdf>=1.2"]
goes = [
"aiohttp>=3.9.0b0; python_version>='3.12'", # remove once aiohttp is out of beta
"cartopy>=0.22",
"gcsfs>=2022.3",
"h5netcdf>=1.2",
]

# Jupyter notebook and lab interface
jupyter = ["ipywidgets>=7.6", "jupyterlab>=2.2"]
Expand Down