install_all.sh delegates rmg_env to ARC's installer, which carries a different RMG pin
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- bash, python
- 領域
- build-system, devops
調査の方向性
環境の作成とARCへの委譲を行う箇所を中心に devtools/install_all.sh を読み、その後、ARCの devtools/install_rmg.sh とT3の devtools/rmg_env.yml を調べてください。委譲されたインストールでT3の rmg_env が再解決されないようにするか、T3の仕様を使うようにしてください。devtools/check_rmg_env.py を実行してください。自動インストールで固定バージョンが維持され、バージョンチェックに合格すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
devtools/install_all.sh builds rmg_env from T3's own spec, and then hands the same environment
to ARC's installer, which has its own pin. The two disagree, so the automated install does not
produce the environment the manual install and CI produce.
devtools/install_all.sh
├── (line ~36) conda env create/update -n rmg_env -f devtools/rmg_env.yml # T3's spec
│ python=3.11, rmg=4.0.0, rmgdatabase=4.0.0
└── (line ~85) cd ../ARC && make install-all
└── ARC devtools/install_rmg.sh
ENV_NAME="rmg_env" # the SAME environment
RMG_VERSION="${RMG_VERSION:-3.3.0}" # a DIFFERENT pin
Two consequences:
- The automated install re-solves
rmg_envafter T3 has already built it, under a different
RMG version, somake installanddevtools/install_all.shcan end at different environments
from the documented manual path and from CI. - It would fail T3's own check.
devtools/check_rmg_env.pyruns at the end of
install_all.shand assertsrmgpy.__version__ == pins['rmg'], i.e.4.0.0. Anrmg_env
re-solved to3.3.0fails that assertion, so the installer's last step contradicts its earlier
one. - A pin change made only in
devtools/rmg_env.ymlcan therefore be silently overridden, which is
the opposite of what "one statement of T3's rmg_env" in that file's header promises.
Fix, either direction
- Prevent the delegated ARC installation from managing
rmg_envat all (ARC's RMG install is not
needed when T3 has already built the environment from its own spec); or - make ARC's installer consume T3's spec, so there is one source of the pins.
The first is smaller and keeps the pin statement in one file.
Evidence
- T3 spec:
devtools/rmg_env.yml—name: rmg_env,python=3.11,rmg=4.0.0,
rmgdatabase=4.0.0. - ARC installer:
devtools/install_rmg.sh—ENV_NAME="rmg_env",
RMG_VERSION="${RMG_VERSION:-3.3.0}". - The assertion that would fail:
devtools/check_rmg_env.py, thermgpy_version != pins['rmg']
branch.
Found by review on #231 and classed NEXT rather than part of that PR, because the change is in the
installer's delegation boundary and not in the environment spec #231 introduces.
Scope note
Not a blocker for the rmg_env spec work in #231: that PR makes the spec authoritative for the
manual path, docs and CI, which is what it claims. This issue is about the automated path only.
- 主要言語
- Python
- スター
- 16
- フォーク
- 8
- 平均マージ
- 1時間 46分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ReactionMechanismGenerator/T3 のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
ReactionMechanismGenerator/T3#239 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ReactionMechanismGenerator/T3#238 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
ReactionMechanismGenerator/T3#237 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
ReactionMechanismGenerator/T3#236 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
ReactionMechanismGenerator/T3#235 ·
ReactionMechanismGenerator/T3 の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信