mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove `markupsafe._speedups
` patch in free-threaded tests (#13260)
Markupsafe 3 now supports operating without the GIL.
This commit is contained in:
parent
1418339eb9
commit
df962a4b03
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -135,9 +135,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install .[test]
|
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
|
- name: Test with pytest
|
||||||
run: python -m pytest -vv --durations 25
|
run: python -m pytest -vv --durations 25
|
||||||
env:
|
env:
|
||||||
@ -171,9 +168,6 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
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
|
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]
|
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
|
- name: Test with pytest
|
||||||
run: python -m pytest -vv --durations 25
|
run: python -m pytest -vv --durations 25
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user