diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 482189d..6c73498 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,24 +20,23 @@ jobs: core: strategy: matrix: - os: [ubuntu-latest] - python-version: ["3.8", "3.9", "3.10", "3.11"] + os: [ubuntu-24.04] + python-version: ["3.9", "3.10", "3.11", "3.12"] include: - os: macos-latest python-version: "3.10" runs-on: ${{ matrix.os }} + env: + FC: gfortran-14 + steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: prereqs for f2py (macOS) - if: runner.os == 'macOS' - run: brew reinstall gcc - - run: pip install .[tests,lint] - run: flake8 @@ -59,18 +58,17 @@ jobs: with: update: true install: >- - mingw-w64-x86_64-ninja mingw-w64-x86_64-gcc-fortran # Github actions Gfortran in default image is messed up. - name: Put MSYS2_MinGW64 on PATH run: echo "${{ runner.temp }}/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: python -m pip install .[tests,lint] diff --git a/pyproject.toml b/pyproject.toml index de2696d..d4ad752 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Atmospheric Science" ] dynamic = ["readme"] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = ["numpy", "xarray", "python-dateutil"] [project.optional-dependencies] @@ -33,6 +33,4 @@ line-length = 100 [tool.mypy] files = ["src", "example"] allow_redefinition = true -show_error_context = false -show_column_numbers = true ignore_missing_imports = true