Update test/support to 3.14.5#7896
Conversation
📝 WalkthroughWalkthroughThis PR updates the CI test matrix configuration in the ChangesCI Test Matrix Configuration
🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [x] lib: cpython/Lib/io.py dependencies:
dependent tests: (100 tests)
[x] test: cpython/Lib/test/test_iter.py (TODO: 1) dependencies: dependent tests: (no tests depend on iter) [x] test: cpython/Lib/test/test_str.py (TODO: 7) dependencies: dependent tests: (no tests depend on str) [x] test: cpython/Lib/test/test_module (TODO: 2) dependencies: dependent tests: (no tests depend on module) [x] lib: cpython/Lib/threading.py dependencies:
dependent tests: (153 tests)
[x] test: cpython/Lib/test/test_dict.py (TODO: 6) dependencies: dependent tests: (no tests depend on dict) [ ] lib: cpython/Lib/test/support dependencies:
dependent tests: (1 tests)
[ ] lib: cpython/Lib/collections dependencies:
dependent tests: (305 tests)
[ ] lib: cpython/Lib/asyncio dependencies:
dependent tests: (6 tests)
[ ] test: cpython/Lib/test/test_array.py (TODO: 55) dependencies: dependent tests: (101 tests)
[ ] test: cpython/Lib/test/test_bytes.py (TODO: 22) dependencies: dependent tests: (no tests depend on bytes) [x] test: cpython/Lib/test/test_descr.py (TODO: 34) dependencies: dependent tests: (no tests depend on descr) [ ] test: cpython/Lib/test/test_generators.py (TODO: 12) dependencies: dependent tests: (no tests depend on generator) [x] lib: cpython/Lib/ast.py dependencies:
dependent tests: (140 tests)
[x] test: cpython/Lib/test/test_slice.py dependencies: dependent tests: (no tests depend on slice) [ ] test: cpython/Lib/test/test_set.py (TODO: 6) dependencies: dependent tests: (no tests depend on set) [x] lib: cpython/Lib/xml dependencies:
dependent tests: (35 tests)
Legend:
|
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/ci.yaml (1)
293-294: ⚡ Quick winConsider adding a brief inline comment explaining the
test_setaddition.The addition of
test_settoenv_polluting_testsis correct—the test file itself contains a decorator (@unittest.skipIf("RUSTPYTHON_SKIP_ENV_POLLUTERS"...)at line 366) confirming it exhibits environment-polluting behavior. This aligns with commit2896c983("Addtest_setto env polluting tests"), which shows this was intentionally added during recent CPython version updates.For clarity, consider adding an inline comment like
# Pollutes environment—see test_set.py:366to document why it appears in this matrix.Also applies to: 300-301, 306-307
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/workflows/ci.yaml around lines 293 - 294, Add a short inline comment next to the env_polluting_tests entry for test_set explaining why it is listed (e.g., "Pollutes environment—see test_set.py:366") so future readers understand it was intentionally added; update the three similar occurrences where test_set is added to the matrix (the env_polluting_tests lists) and include the same brief note and optional reference to commit 2896c983 for context.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In @.github/workflows/ci.yaml:
- Around line 293-294: Add a short inline comment next to the
env_polluting_tests entry for test_set explaining why it is listed (e.g.,
"Pollutes environment—see test_set.py:366") so future readers understand it was
intentionally added; update the three similar occurrences where test_set is
added to the matrix (the env_polluting_tests lists) and include the same brief
note and optional reference to commit 2896c983 for context.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: ed1fd43d-1232-49cf-a7bc-e2560f52232d
⛔ Files ignored due to path filters (37)
Lib/test/seq_tests.pyis excluded by!Lib/**Lib/test/support/__init__.pyis excluded by!Lib/**Lib/test/support/_hypothesis_stubs/__init__.pyis excluded by!Lib/**Lib/test/support/ast_helper.pyis excluded by!Lib/**Lib/test/support/asyncore.pyis excluded by!Lib/**Lib/test/support/bytecode_helper.pyis excluded by!Lib/**Lib/test/support/channels.pyis excluded by!Lib/**Lib/test/support/hashlib_helper.pyis excluded by!Lib/**Lib/test/support/hypothesis_helper.pyis excluded by!Lib/**Lib/test/support/i18n_helper.pyis excluded by!Lib/**Lib/test/support/logging_helper.pyis excluded by!Lib/**Lib/test/support/os_helper.pyis excluded by!Lib/**Lib/test/support/pty_helper.pyis excluded by!Lib/**Lib/test/support/script_helper.pyis excluded by!Lib/**Lib/test/support/smtpd.pyis excluded by!Lib/**Lib/test/support/socket_helper.pyis excluded by!Lib/**Lib/test/support/strace_helper.pyis excluded by!Lib/**Lib/test/support/threading_helper.pyis excluded by!Lib/**Lib/test/support/venv.pyis excluded by!Lib/**Lib/test/test_array.pyis excluded by!Lib/**Lib/test/test_ast/test_ast.pyis excluded by!Lib/**Lib/test/test_asyncio/test_sslproto.pyis excluded by!Lib/**Lib/test/test_asyncio/test_tasks.pyis excluded by!Lib/**Lib/test/test_bytes.pyis excluded by!Lib/**Lib/test/test_descr.pyis excluded by!Lib/**Lib/test/test_dict.pyis excluded by!Lib/**Lib/test/test_generators.pyis excluded by!Lib/**Lib/test/test_io.pyis excluded by!Lib/**Lib/test/test_iter.pyis excluded by!Lib/**Lib/test/test_module/__init__.pyis excluded by!Lib/**Lib/test/test_ordered_dict.pyis excluded by!Lib/**Lib/test/test_set.pyis excluded by!Lib/**Lib/test/test_slice.pyis excluded by!Lib/**Lib/test/test_str.pyis excluded by!Lib/**Lib/test/test_support.pyis excluded by!Lib/**Lib/test/test_threading_local.pyis excluded by!Lib/**Lib/test/test_xml_etree.pyis excluded by!Lib/**
📒 Files selected for processing (1)
.github/workflows/ci.yaml
Summary by CodeRabbit
test_set) and clarify test skips for macOS, Ubuntu, and Windows builds.