From df962a4b03fcbe20d57dc5c0f078cca62468073f Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Tue, 21 Jan 2025 20:31:41 +0000 Subject: [PATCH] Remove ``markupsafe._speedups`` patch in free-threaded tests (#13260) Markupsafe 3 now supports operating without the GIL. --- .github/workflows/main.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b3b3283536..3c76b1405cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -135,9 +135,6 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install .[test] - # markupsafe._speedups has not declared that it can run safely without the GIL - - name: Remove markupsafe._speedups - run: rm -rf "$(python -c 'from markupsafe._speedups import __file__ as f; print(f)')" - name: Test with pytest run: python -m pytest -vv --durations 25 env: @@ -171,9 +168,6 @@ jobs: python -m pip install --upgrade pip sed -i 's/flit_core>=3.7/flit_core @ git+https:\/\/github.com\/pypa\/flit.git#subdirectory=flit_core/' pyproject.toml python -m pip install .[test] - # markupsafe._speedups has not declared that it can run safely without the GIL - - name: Remove markupsafe._speedups - run: rm -rf "$(python -c 'from markupsafe._speedups import __file__ as f; print(f)')" - name: Test with pytest run: python -m pytest -vv --durations 25 env: