Skip to content

Commit ddf7a1b

Browse files
disable long callback tests on 3.11 and 3.12
1 parent 5587285 commit ddf7a1b

16 files changed

+32
-16
lines changed

tests/integration/long_callback/test_basic_long_callback001.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99

1010
@pytest.mark.skipif(
11-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
11+
sys.version_info >= (3, 11),
12+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1213
)
1314
@flaky(max_runs=3)
1415
def test_lcbc001_fast_input(dash_duo, manager):

tests/integration/long_callback/test_basic_long_callback002.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88

99
@pytest.mark.skipif(
10-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
10+
sys.version_info >= (3, 11),
11+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1112
)
1213
@flaky(max_runs=3)
1314
def test_lcbc002_long_callback_running(dash_duo, manager):

tests/integration/long_callback/test_basic_long_callback003.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99

1010
@pytest.mark.skipif(
11-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
11+
sys.version_info >= (3, 11),
12+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1213
)
1314
@flaky(max_runs=3)
1415
def test_lcbc003_long_callback_running_cancel(dash_duo, manager):

tests/integration/long_callback/test_basic_long_callback004.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88

99
@pytest.mark.skipif(
10-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
10+
sys.version_info >= (3, 11),
11+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1112
)
1213
@flaky(max_runs=3)
1314
def test_lcbc004_long_callback_progress(dash_duo, manager):

tests/integration/long_callback/test_basic_long_callback005.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88

99
@pytest.mark.skipif(
10-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
10+
sys.version_info >= (3, 11),
11+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1112
)
1213
@pytest.mark.skip(reason="Timeout often")
1314
def test_lcbc005_long_callback_caching(dash_duo, manager):

tests/integration/long_callback/test_basic_long_callback006.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99

1010
@pytest.mark.skipif(
11-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
11+
sys.version_info >= (3, 11),
12+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1213
)
1314
@flaky(max_runs=3)
1415
def test_lcbc006_long_callback_caching_multi(dash_duo, manager):

tests/integration/long_callback/test_basic_long_callback007.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88

99
@pytest.mark.skipif(
10-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
10+
sys.version_info >= (3, 11),
11+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1112
)
1213
@flaky(max_runs=3)
1314
def test_lcbc007_validation_layout(dash_duo, manager):

tests/integration/long_callback/test_basic_long_callback008.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
@pytest.mark.skipif(
9-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
9+
sys.version_info >= (3, 11),
10+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1011
)
1112
def test_lcbc008_long_callbacks_error(dash_duo, manager):
1213
with setup_long_callback_app(manager, "app_error") as app:

tests/integration/long_callback/test_basic_long_callback009.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88

99
@pytest.mark.skipif(
10-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
10+
sys.version_info >= (3, 11),
11+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1112
)
1213
def test_lcbc009_short_interval(dash_duo, manager):
1314
with setup_long_callback_app(manager, "app_short_interval") as app:

tests/integration/long_callback/test_basic_long_callback010.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
@pytest.mark.skipif(
9-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
9+
sys.version_info >= (3, 11),
10+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1011
)
1112
def test_lcbc010_side_updates(dash_duo, manager):
1213
with setup_long_callback_app(manager, "app_side_update") as app:

tests/integration/long_callback/test_basic_long_callback011.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
@pytest.mark.skipif(
9-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
9+
sys.version_info >= (3, 11),
10+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1011
)
1112
def test_lcbc011_long_pattern_matching(dash_duo, manager):
1213
with setup_long_callback_app(manager, "app_pattern_matching") as app:

tests/integration/long_callback/test_basic_long_callback012.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88

99
@pytest.mark.skipif(
10-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
10+
sys.version_info >= (3, 11),
11+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1112
)
1213
def test_lcbc012_long_callback_ctx(dash_duo, manager):
1314
with setup_long_callback_app(manager, "app_callback_ctx") as app:

tests/integration/long_callback/test_basic_long_callback013.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
@pytest.mark.skipif(
9-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
9+
sys.version_info >= (3, 11),
10+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1011
)
1112
def test_lcbc013_unordered_state_input(dash_duo, manager):
1213
with setup_long_callback_app(manager, "app_unordered") as app:

tests/integration/long_callback/test_basic_long_callback014.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
@pytest.mark.skipif(
9-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
9+
sys.version_info >= (3, 11),
10+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1011
)
1112
def test_lcbc014_progress_delete(dash_duo, manager):
1213
with setup_long_callback_app(manager, "app_progress_delete") as app:

tests/integration/long_callback/test_basic_long_callback015.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
@pytest.mark.skipif(
9-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
9+
sys.version_info >= (3, 11),
10+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1011
)
1112
def test_lcbc015_diff_outputs_same_func(dash_duo, manager):
1213
with setup_long_callback_app(manager, "app_diff_outputs") as app:

tests/integration/long_callback/test_basic_long_callback016.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88

99
@pytest.mark.skipif(
10-
sys.version_info < (3, 7), reason="Python 3.6 long callbacks tests hangs up"
10+
sys.version_info >= (3, 11),
11+
reason="Python 3.11 and 3.12 long callbacks tests hangs up",
1112
)
1213
def test_lcbc016_multi_page_cancel(dash_duo, manager):
1314
with setup_long_callback_app(manager, "app_page_cancel") as app:

0 commit comments

Comments
 (0)