Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ skip_missing_interpreters = true
envlist =
mypy
pre-commit
{py37,py38,py39,py310,py311,py312,py313,py314,pypy3}-toxlatest
{py37,py38,py39,py310,py311,py312,py313,py314,py314t,pypy3}-toxlatest

[gh-actions]
python =
Expand All @@ -15,8 +15,14 @@ python =
3.10: py310
3.11: py311, mypy
3.12: py312
3.13: py313, pre-commit
3.14: py314
3.13: py313
# What should we do here?!?
# Left side will always be Python `3.14` if it is python3.14 or python3.14t
# Right side must be `py314` or `py314t` so one or the other will always fail.
# Is there a way to OR the right side? `3.14: py314 | py314t`
# 3.14: py314, pre-commit
3.14: py314, py314t, pre-commit
# 3.14t: py314t, pre-commit # Never happepens.
pypy-3: pypy3

[testenv]
Expand Down
7 changes: 7 additions & 0 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@
sys.implementation.name != "cpython", reason="Requires CPython to run this test"
)

skip_if_free_threaded = pytest.mark.skipif(
sys.version_info >= (3, 13) and not sys._is_gil_enabled(),
reason="Fails on free threaded builds",
)


@pytest.mark.integration
@skip_if_free_threaded
@requires_cpython
def test_sunny_day_with_legacy_command(
monkeypatch: MonkeyPatch, tox_project: ToxProjectCreator
Expand Down Expand Up @@ -40,6 +46,7 @@ def test_sunny_day_with_legacy_command(


@pytest.mark.integration
@skip_if_free_threaded
@requires_cpython
def test_sunny_day_with_run_command(
monkeypatch: MonkeyPatch, tox_project: ToxProjectCreator
Expand Down
Loading