Migrate conda CI from conda-build to rattler-build

Offen
#209 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
65/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
github-actions, python
Bereich
build-system, ci-cd

Rechercherichtung

Lies zuerst .github/workflows/conda.yml und conda.recipe/meta.yaml, konsultiere dann das rattler-build-Rezeptschema und die Dokumentation von prefix-dev/rattler-build-action. Als abgeschlossen gilt die Aufgabe, wenn recipe/recipe.yaml erfolgreich über die bestehende Python-Matrix hinweg gebaut wird, pytest-Tests weiterhin ausgeführt werden und das alte Verzeichnis conda.recipe/ sowie die workflowspezifischen Schritte für conda-build entfernt sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

🤖 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:

Vorherrschende Sprache
Python
Sterne
147
Forks
39
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pybind/scikit_build_example

Alle Issues in pybind/scikit_build_example

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.