Front end: set a machine up for a development build from the window

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend, desktop

調査の方向性

Read gui/src/solprop_gui/ui/setup_dialog.py and src/solprop/service/install.py (setup_script, copy_wheels), then inspect native/scripts/fetch_wheel.py and the Linux wheel constraints from #570. Trace how the dialog prepares and shows the setup script before it runs. Done means a development build can prepare a fresh Linux machine from the dialog, explain when no matching native wheel exists, and complete a run; the issue says this is recorded manually.

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

説明

area: gui enhancement priority: low
What is missing

Run → Machines… → Set up solprop there… (from #571, solprop.service.install) installs solprop at the window's version from PyPI, or from wheels the user adds. A release works. A development build does not: PyPI has no 0.2.1.devN+g…, so the dialog refuses it unless wheels are added, and the user has no easy way to get wheels that work on the machine. The window's own solprop wheel can be built anywhere (pure Python), but solprop-native must be a Linux wheel for the machine, and the one CI builds per commit needs glibc 2.35 and a system FFTW (#570).

Why it matters

Testing the front end's remote machines against a branch needs a hand-made environment on each machine today (a checkout, a light sync and a borrowed FFTW). A developer, or a user on a pre-release, cannot set a machine up from the window.

Context
  • src/solprop/service/install.py (setup_script, copy_wheels), gui/src/solprop_gui/ui/setup_dialog.py.
  • #570, CI's Linux native wheel.
  • native/scripts/fetch_wheel.py, which finds a CI wheel for a commit.
To do
  • After #570, let the setup dialog fetch the right wheels for a development build itself: solprop's, built from the checkout, and solprop-native's for the machine's platform from CI, as fetch_wheel.py finds them.
  • Say in the dialog when no matching native wheel exists (native changed and CI has not built it), and how to proceed.
  • Must not change: a release installs from PyPI with no wheels; nothing runs on the machine before the user has seen the script.
Done when

A window running a development build sets up a fresh Linux machine (glibc 2.28+, no system FFTW, no compiler) from the dialog alone, and a run started there finishes; recorded by hand on a workstation, since no CI lane has one.

🤖 Generated with Claude Code

主要言語
Python
スター
3
フォーク
3
平均マージ
8時間 37分
マージ済み PR(30日)
159

環境構築

はじめの一歩

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

LupoLab/solprop のほかの issue

LupoLab/solprop の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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