Stop test_ssl from changing environment
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
On my Win10, buildt yesterday and today, py -m test and py -m test test_ssl sometimes (>50%) changes the environment, which is a failure for the whole suite (test alone).
0:01:43 load avg: 2.28 [466/485/1] test_ssl failed (env changed) (31.1 sec) -
Warning -- warnings.filters was modified by test_ssl
Warning -- Before: (2199023321584, [], [])
Warning -- After: (2199661512208, [('always', None, <class 'ResourceWarning'>, None, 0)], [('always', None, <class 'ResourceWarning'>, None, 0)])
About 5 runs with -v added don't show this, though there are a few hundred lines of output with several ssl error tracebacks that do not cause a test failure.
Might just be my machine if no CI errors.
EDIT: py ran installed 3.14.0a5. Just reran twice with today's buld with python ... to run the build and got the same. Install is norma + gil. Build is debug no-gil.
Installed new 3.14.0a6 and ran 5 times without failure. I rechecked and my python build with the problem is post-release 3.14.0a6+.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、報告された Windows debug no-GIL build 上で py -m test test_ssl と完全な py -m test テストスイートを実行し、-v を付けた場合と付けない場合の実行を比較します。報告された warnings.filters の環境変更と ssl のエラー traceback を調査します。繰り返し実行しても test_ssl failed (env changed) が報告されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100