Skip to content

Commit

Permalink
Block the new tests that don't run on 3.11.7 from doing so; attempt t…
Browse files Browse the repository at this point in the history
…o force the latest patch releases of 3.11.8 on GHA.
  • Loading branch information
jamadden committed Feb 12, 2024
1 parent a65839c commit af1c3a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -84,7 +84,7 @@ jobs:
# with it. That means for the bulk of our testing we need to
# stick to 3.9.
# PyPy 7.3.13 started crashing for unknown reasons.
python-version: ["3.12.1", "pypy-3.10-v7.3.12", 3.8, 3.9, '3.10', '3.11']
python-version: ["3.12.1", "pypy-3.10-v7.3.12", 3.8, 3.9, '3.10', '3.11.8']
os: [macos-latest, ubuntu-latest]
exclude:
# The bulk of the testing is on Linux and Windows (appveyor).
Expand Down
9 changes: 9 additions & 0 deletions src/gevent/testing/patched_tests_setup.py
Expand Up @@ -1214,6 +1214,15 @@ def test(*args, **kwargs):
'test_subprocess.ProcessTestCase.test__use_vfork',
]

if sys.version_info[:3] < (3, 11, 8):
# New tests in that version that won't pass on earlier versions.
disabled_tests += [
'test_threading.ThreadTests.test_main_thread_after_fork_from_dummy_thread',
'tets_ssl.TestPreHandshakeClose.test_preauth_data_to_tls_client',
'test_ssl.TestPreHandshakeClose.test_preauth_data_to_tls_server',
'test_signal.PosixTests.test_no_repr_is_called_on_signal_handler',
]

if PY312:
disabled_tests += [
# This test is new in 3.12.1; it appears to essentially rely
Expand Down

0 comments on commit af1c3a9

Please sign in to comment.