From 58b0e149bc91bad36451466010afbe451c65f5a7 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Thu, 16 Nov 2023 16:05:10 +0100 Subject: [PATCH] Adjust workaround for #494 Add Python 3.12 to CI matrix; commented pending #501. --- .github/workflows/pytest.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 5ed6064d6..7b8a95dbe 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -28,7 +28,8 @@ jobs: - "3.8" # Earliest version supported by ixmp - "3.9" - "3.10" - - "3.11" # Latest supported by ixmp + - "3.11" # Latest supported by ixmp + # - "3.12" # Pending JPype support; see iiasa/ixmp#501 # commented: force a specific version of pandas, for e.g. pre-release # testing @@ -91,12 +92,13 @@ jobs: run: echo "RETICULATE_PYTHON=$pythonLocation" >> $GITHUB_ENV shell: bash + - name: Work around https://bugs.launchpad.net/lxml/+bug/2035206 + if: matrix.python-version == '3.8' + run: pip install "lxml != 4.9.3" + - name: Install Python package and dependencies # [docs] contains [tests], which contains [report,tutorial] run: | - # Work around https://bugs.launchpad.net/lxml/+bug/2035206 - pip install "lxml != 4.9.3" - pip install .[docs] # commented: use with "pandas-version" in the matrix, above