Skip to content

Commit 5b8d387

Browse files
committed
simplify/modernize
1 parent b3021f4 commit 5b8d387

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,23 @@ jobs:
2020
core:
2121
strategy:
2222
matrix:
23-
os: [ubuntu-latest]
24-
python-version: ["3.8", "3.9", "3.10", "3.11"]
23+
os: [ubuntu-24.04]
24+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2525
include:
2626
- os: macos-latest
2727
python-version: "3.10"
2828

2929
runs-on: ${{ matrix.os }}
3030

31+
env:
32+
FC: gfortran-14
33+
3134
steps:
32-
- uses: actions/checkout@v3
33-
- uses: actions/setup-python@v4
35+
- uses: actions/checkout@v4
36+
- uses: actions/setup-python@v5
3437
with:
3538
python-version: ${{ matrix.python-version }}
3639

37-
- name: prereqs for f2py (macOS)
38-
if: runner.os == 'macOS'
39-
run: brew reinstall gcc
40-
4140
- run: pip install .[tests,lint]
4241

4342
- run: flake8
@@ -59,18 +58,17 @@ jobs:
5958
with:
6059
update: true
6160
install: >-
62-
mingw-w64-x86_64-ninja
6361
mingw-w64-x86_64-gcc-fortran
6462
# Github actions Gfortran in default image is messed up.
6563

6664
- name: Put MSYS2_MinGW64 on PATH
6765
run: echo "${{ runner.temp }}/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
6866

69-
- uses: actions/setup-python@v4
67+
- uses: actions/setup-python@v5
7068
with:
7169
python-version: '3.10'
7270

73-
- uses: actions/checkout@v3
71+
- uses: actions/checkout@v4
7472

7573
- run: python -m pip install .[tests,lint]
7674

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
"Topic :: Scientific/Engineering :: Atmospheric Science"
1818
]
1919
dynamic = ["readme"]
20-
requires-python = ">=3.8"
20+
requires-python = ">=3.9"
2121
dependencies = ["numpy", "xarray", "python-dateutil"]
2222

2323
[project.optional-dependencies]
@@ -33,6 +33,4 @@ line-length = 100
3333
[tool.mypy]
3434
files = ["src", "example"]
3535
allow_redefinition = true
36-
show_error_context = false
37-
show_column_numbers = true
3836
ignore_missing_imports = true

0 commit comments

Comments
 (0)