Test failure on 32-bit Intel-compatible architecture
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
tests/test_data_structures.py と test_estimated_compression_context_size から始め、次に 32 ビットの Intel 互換ビルドで失敗しているテストを実行します。報告されたサイズの差をテストの期待値と比較し、実装とアーキテクチャ固有の assertion のどちらが誤っているのかを判断します。修正するか、明確な根拠のある skip にするかを決定できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
While building on the 32-bit Intel compatible architecture ('i386'), we see this test failure:
======================================================================
FAIL: test_estimated_compression_context_size (tests.test_data_structures.TestCompressionParameters)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python-zstandard-0.15.2.drv-0/zstandard-0.15.2/tests/test_data_structures.py", line 104, in test_estimated_compression_context_size
self.assertAlmostEqual(
AssertionError: 1294656 != 1295064 within 400 delta (408 difference)
----------------------------------------------------------------------
Ran 278 tests in 0.866s
FAILED (failures=1, skipped=42)
Test failed: <unittest.runner.TextTestResult run=278 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=278 errors=0 failures=1>
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with status 1
I noticed that Gentoo is skipping the test: https://bugs.gentoo.org/773979
Can you advise if this test should be skipped? Or does it highlight a real problem with python-zstandard on the 32-bit Intel architecture?
- 主要言語
- C
- スター
- 641
- フォーク
- 117
- 平均マージ
- 8日 2時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
indygreg/python-zstandard のほかの issue
-
`multi_decompress_to_buffer([])` terminates the process with SIGFPE対応中かも @mikamikasuki が 10 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
indygreg/python-zstandard#335 ·
メンテナーはふだん 4 日以内に返信
-
Silent data-correctness bug: `readinto()` / `readinto1()` on `stream_reader` return `tell() == 0` after successful reads対応中かも @CAOShurong が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
indygreg/python-zstandard#295 ·
メンテナーはふだん 4 日以内に返信
-
Python 3.15 wheelsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
indygreg/python-zstandard#354 · リアクション 1 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
indygreg/python-zstandard#345 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
indygreg/python-zstandard#334 ·
メンテナーはふだん 4 日以内に返信
indygreg/python-zstandard の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
FujiNetWIFI/fujinet-lib#115 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
firmware: transmit() doesn't reset rfTxCurBufIdx, so RFxmit after RFxmitLong can send wrong bytes対応中かも @hermes-crew-337 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
atlas0fd00m/rfcat#182 ·
-
followup
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100