[FR]: Integrated ctest and other project improvements
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- build-system, testing
調査の方向性
まずプロジェクトの CMakeLists.txt ファイルと ci.yaml を読んで、現在のビルドおよびテストの経路を把握します。報告されている python3 -m build と pytest のワークフローを試し、CTest でネイティブプロジェクトをどのようにカバーできるかを調査します。標準化されたテストと、選択した CMake またはパッケージングの改善を含むスコープが決定されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem description
When trying to work on https://github.com/pybind/pybind11/pull/5094, I have encountered a few issues:
- The project does not use
ctest. This makes it quite hard for packagers to find and run tests. In principle it should usectest --build-and-testto test native CMake projects. For some inspiration, here is a template I have. - Building and testing from
sdistis not possible, i.e.:python3 -m build+pytest - Usage of custom
Find<Package>.cmakewhen there are upstream packaging available with good CMake support:catch,eigen3 - In general, the CMake project can be improved among a few things: inverting the version detection to be defined in CMake, making the
CMakeLists.txtfiles more readable
I am using the ci.yaml to fill in the gaps about how to the testing, but it would be much appreciated if the project can use standardized tools.
- 主要言語
- C++
- スター
- 18k
- フォーク
- 2.3k
- 平均マージ
- 5日 7時間
- マージ済み PR(30日)
- 53
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pybind/pybind11 のほかの issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 4 日以内に返信
-
triage
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
pybind/pybind11#5604 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 4 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
pybind/pybind11#747 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
array_t::at() returns a misaligned reference when the stride is not a multiple of alignof(T)対応中かも @henryiii が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 4 日以内に返信
pybind/pybind11 の issue をすべて見る
似ている issue
-
[Bug] Windows Ghidra provider rejects a PATH-only JDK: bare `java.exe` probe fails with Win32 87オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
tenstorrent/tt-umd#4084 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ToffelsKater/X4_VR#34 ·
-
difficulty:easy prio:low refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NatronGitHub/openfx-supportext#220 ·
メンテナーはふだん 1 日以内に返信