From 20ecff5dd7c37cd90b20977ef26719d3f0ba83b8 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Wed, 3 May 2023 12:31:24 +0200 Subject: [PATCH] Test against Python 3.11 --- .github/workflows/lint.yaml | 11 +++++++---- .github/workflows/pytest.yaml | 11 ++--------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 4d0be8312..0816b15fb 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -10,7 +10,10 @@ jobs: lint: uses: iiasa/actions/.github/workflows/lint.yaml@main with: - # If the "Latest version testable on GitHub Actions" in pytest.yaml - # is not the latest 3.x stable version, adjust here to match: - python-version: "3.10" - type-hint-packages: pytest genno GitPython nbclient nbformat xarray sphinx + type-hint-packages: >- + genno + GitPython + nbclient + pytest + sphinx + xarray diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index f95f736fd..5a41c77ce 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -29,15 +29,8 @@ jobs: - "3.7" # Earliest version supported by ixmp - "3.8" - "3.9" - - "3.10" # Latest supported by ixmp - - # For fresh releases and development versions of Python, compiled - # binary wheels are not available for some dependencies, e.g. llvmlite, - # numba, numpy, and/or pandas. Compiling these on the job runner - # requires a more elaborate build environment, currently out of scope - # for the ixmp project. - # - "3.11" # Latest release; pending numba/numba#8304 - # - "3.12.0-alpha.1" # Development version + - "3.10" + - "3.11" # Latest supported by ixmp # commented: force a specific version of pandas, for e.g. pre-release # testing