install_all.sh delegates rmg_env to ARC's installer, which carries a different RMG pin
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 77/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, python
- Área
- build-system, devops
Línea de trabajo
Lee devtools/install_all.sh en la parte donde se crea el entorno y se delega en ARC; después, examina devtools/install_rmg.sh de ARC y devtools/rmg_env.yml de T3. Evita que la instalación delegada vuelva a resolver rmg_env de T3, o haz que use la especificación de T3. Ejecuta devtools/check_rmg_env.py; el trabajo estará terminado cuando la instalación automatizada conserve las versiones fijadas y supere la comprobación de versiones.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 16
- Forks
- 8
- Merge medio
- 1 h 46 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ReactionMechanismGenerator/T3
-
Dificultad 3/5 1-2 días Aptitud para principiantes 53/100
ReactionMechanismGenerator/T3#239 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ReactionMechanismGenerator/T3#238 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
ReactionMechanismGenerator/T3#237 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
ReactionMechanismGenerator/T3#236 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
ReactionMechanismGenerator/T3#235 ·
Todos los issues de ReactionMechanismGenerator/T3
Issues similares
-
docs(contributing): the two things that silently block a PRPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoavailable documentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 95/100
Nixitov/Riptide-Native#944 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
JTHCode/secretguard#24 ·
Los mantenedores suelen responder en 1 día
-
area: middleware documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
omarelshamy25x/shamy-hijri#63 ·
Los mantenedores suelen responder en 1 día