From 15632c56cf04eb5debea9884dceda555eddc36fe Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Wed, 31 Jan 2024 11:01:27 -0500 Subject: [PATCH 1/2] fix: bump lxml to support Python 3.11 on Windows --- requirements.min.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.min.txt b/requirements.min.txt index 29f97dab..6e548297 100644 --- a/requirements.min.txt +++ b/requirements.min.txt @@ -7,7 +7,7 @@ fastapi>=0.78.0 # Note: when we move g2p to >=2, we will need fastapi>=0.100.0 which requires httpx g2p>=1.1.20230822, <2.1 httpx>=0.24.1 -lxml==4.9.1 +lxml==4.9.4 networkx>=2.6 numpy>=1.20.2,<2 pydub==0.23.1 From 7f1f47fe714e2a2b0ee659058341efc14a0a3f5d Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Wed, 31 Jan 2024 11:46:42 -0500 Subject: [PATCH 2/2] ci: Python 3.11 on win now works, re-enable it in the matrix With lxml==4.9.4, installing in Windows with Python 3.11 is possible again. --- .github/workflows/matrix-tests.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/matrix-tests.yml b/.github/workflows/matrix-tests.yml index e386410f..7e7160ec 100644 --- a/.github/workflows/matrix-tests.yml +++ b/.github/workflows/matrix-tests.yml @@ -11,11 +11,6 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] python-version: ["3.8", "3.9", "3.10", "3.11"] - exclude: - # We're not compatible with Python 3.11 on Windows yet. - # We get a compilation error about libxml2 when building lxml. - - os: windows-latest - python-version: "3.11" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3