Migrate conda CI from conda-build to rattler-build

オープン
#209 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
65/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github-actions, python

調査の方向性

まず .github/workflows/conda.yml と conda.recipe/meta.yaml を読み、次に rattler-build のレシピスキーマと prefix-dev/rattler-build-action のドキュメントを確認します。recipe/recipe.yaml が既存の Python マトリックス全体で正常にビルドされ、pytest のテストが引き続き実行され、古い conda.recipe/ と conda-build 固有のワークフローステップが削除されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

🤖 AI text below 🤖

The Conda workflow uses conda-build with a conda.recipe/meta.yaml. This is showing its age: conda-build is now a conda plugin, and recent setup-miniconda default changes keep breaking the build (see #208 for the latest patch).

We should move to rattler-build, the maintained conda package builder from the prefix.dev / conda-forge folks. It is faster, does not need a full miniconda + conda-build install, and has an official GitHub Action.

Rough scope:

  • Add a recipe/recipe.yaml in the rattler-build schema (replacing conda.recipe/meta.yaml).
  • Replace the setup-miniconda + conda build steps in .github/workflows/conda.yml with prefix-dev/rattler-build-action (or a pixi-based build).
  • Keep the Python matrix and the pytest tests check.
  • Once green, drop the old conda.recipe/ and the conda-build-specific steps.

This is a template repo, so the recipe doubles as an example for downstream users — worth keeping it clean and current.

References:

主要言語
Python
スター
147
フォーク
39
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pybind/scikit_build_example のほかの issue

pybind/scikit_build_example の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。