Make the private mellea-ibm (rits) source optional so external contributors can re-lock
Los mantenedores suelen responder en 1 día
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
- python
- Área
- build-system, testing
Línea de trabajo
Lee pyproject.toml y la sección «Internal IBM Usage» de CONTRIBUTING.md para comprobar cómo se declara y documenta la dependencia privada rits. Luego inspecciona tests/test_models.py en TestDefaults::test_default_resolves_for_every_self_hosted_backend y TestRitsOverlay::test_auto_matched_granite_small, junto con test_rits_returns_rits_identifier, para encontrar el patrón de omisión existente. El trabajo estará terminado cuando los colaboradores externos puedan volver a resolver el archivo de bloqueo y las dos pruebas se omitan correctamente sin mellea_ibm.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
pyproject.toml declares the rits extra (mellea-ibm) with a [tool.uv.sources] entry pointing at ssh://[email protected]/generative-computing/mellea-ibm.git. uv lock resolves every extra, so anyone without access to github.ibm.com can't re-resolve the lockfile, even if they never install rits.
The existing uv.lock is fine as long as nothing changes (uv lock --check passes, and uv sync --extra dev works). But any change that needs a re-resolve fails, e.g. bumping a dependency or uv lock --upgrade-package <pkg>:
$ uv lock --upgrade-package langsmith
...
ssh: connect to host github.ibm.com port 22: Operation timed out
fatal: Could not read from remote repository.
So external contributors can't open a PR that touches dependencies. Our fork (NASA-IMPACT/FactReasoner, used for NASA's AKD project) has had to comment out the rits extra to keep a working lockfile, and that's currently the main reason we carry a fork.
Separately, two tests fail whenever mellea_ibm isn't installed, rather than skipping like test_rits_returns_rits_identifier does:
tests/test_models.py::TestDefaults::test_default_resolves_for_every_self_hosted_backendtests/test_models.py::TestRitsOverlay::test_auto_matched_granite_small
(resolve(...).rits is None without mellea_ibm, so the assertions fail.)
Suggested fix
- Drop the
ritsextra and its[tool.uv.sources]entry frompyproject.toml, and keep the existing documented install path for IBM users (pip install "git+ssh://[email protected]/generative-computing/mellea-ibm.git", already in CONTRIBUTING.md under "Internal IBM Usage"). That wayuv.locknever references the private source. RITS code already importsmellea_ibmlazily, so nothing else should need to change. - Add
pytest.importorskip("mellea_ibm")(or an equivalentskipif) to the two tests above.
Happy to open a PR for this if the approach works for you.
- Lenguaje dominante
- Python
- Estrellas
- 45
- Forks
- 14
- Merge medio
- 5 h 1 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 IBM/FactReasoner
-
security
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
IBM/FactReasoner#73 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Reviser can't resolve references named only in the queryPosiblemente ocupada @leothomas la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
IBM/FactReasoner#77 ·
Los mantenedores suelen responder en 1 día
-
Allow restricting google retrieval by domain (e.g. exclude social media)Posiblemente ocupada @leothomas la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 20/100
IBM/FactReasoner#76 ·
Los mantenedores suelen responder en 1 día
-
FR 2.0Quizá libre de nuevo @radum2275 la tomó hace 162 días y no hay ningún pull request abierto. Abierto
IBM/FactReasoner#28 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de IBM/FactReasoner
Issues similares
-
area:core-platform effort:S priority:P3 risk:night-safe status:ready type:test
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
randomparity/kdive#3620 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
FinanceFlash/unvibecode#760 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
google-research/google-research#3470 ·
Los mantenedores suelen responder en 21 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
mrvautin/ha-workouts#11 ·