diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 4b999635e..bc0577ddf 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -17,11 +17,6 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - include: - # set toxenv to workaround-darwin on macos (check tox.ini) - - toxenv: py - - os: macos-latest - toxenv: workaround-darwin runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -32,4 +27,4 @@ jobs: - name: Run Tests run: | pip install tox - tox -e ${{ matrix.toxenv }} + tox diff --git a/tox.ini b/tox.ini index fdd0af7a0..a664eed69 100644 --- a/tox.ini +++ b/tox.ini @@ -5,15 +5,6 @@ isolated_build = true deps = -r{toxinidir}/requirements-dev.txt commands = coverage run -m unittest {posargs} -# The system-provided libxml2 on MacOS is typically outdated and this can lead to lxml parsing issues -# Using PyPi-provided binary wheels instead resolves this -# We are affected by https://bugs.launchpad.net/lxml/+bug/1949271 in test_wild_mode when using system-provided libxml2 on MacOS -platform = - workaround-darwin: darwin -install_command = - py: python -I -m pip install {opts} {packages} - workaround-darwin: python -I -m pip install --only-binary=lxml {opts} {packages} - [testenv:lint] # note: skip_install affects whether the package-under-test is installed; not whether deps are installed skip_install = true