Codecov workflow fails on every develop push: frictionless not installed
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Description of the issue
The "🐍 Coverage tests with codecov" workflow (.github/workflows/codecov.yml) fails on every push to develop (seen on at least 2026-07-02, 2026-09-15 and 2026-09-25 — fb7f756, 4b6390a, d0da1c0).
It installs only pytest pytest-cov pyld. Every test that imports frictionless then fails: oemetadata/v2/v21/example.py and example_modules.py import it at module level, and so do the datapackage tests.
E ModuleNotFoundError: No module named 'frictionless'
FAILED test/oemetadata/v2/v21/test_example.py::test_oemetadata_schema_should_validate_oemetadata_example
FAILED test/oemetadata/v2/v21/test_example.py::test_oemetadata_schema_should_validate_oemetadata_example_modules
FAILED test/oemetadata/v2/v21/test_example.py::test_oemetadata_example_is_datapackage
FAILED test/oemetadata/v2/v21/test_example.py::test_oemetadata_example_modules_is_datapackage
4 failed, 78 passed
Expected: the coverage run installs the same dependencies as the test run and passes. The "🐍 Automated test" (tox) workflow is green on the same commits because it installs requirements.txt.
Steps to Reproduce
- Push to
develop(or open the latest "🐍 Coverage tests with codecov" run ondevelop). - Look at the "Run coverage test and create codecov" step.
- Four tests in
test/oemetadata/v2/v21/test_example.pyfail withModuleNotFoundError: No module named 'frictionless'.
Locally: pip install pytest pytest-cov pyld && pytest --cov in a fresh env gives the same result.
Ideas of solution
- Install
requirements.txtin the codecov workflow, astox.ymldoes, and pin Python 3.10 to match the test matrix. This is simple and keeps the two workflows in sync. - Alternative: add only
frictionless jsonschemato the pip line. That's smaller, but it will break again whenever a test needs a new dependency (e.g.rdflibforgraph.py).
The first option is implemented in #324.
Context and Environment
- Version used:
develop@d0da1c0 - Operating system: GitHub Actions
ubuntu-latest - Environment setup and (python) version:
actions/setup-python@v5without a version (runner default); reproduced locally with Python 3.10.12
Workflow checklist
- I am aware of the workflow in CONTRIBUTING.md
- Lenguaje dominante
- Python
- Estrellas
- 26
- Forks
- 4
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 OpenEnergyPlatform/oemetadata
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
OpenEnergyPlatform/oemetadata#328 ·
-
Develop AI tooling for usersAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
OpenEnergyPlatform/oemetadata#327 · 1 comentario ·
-
status: active 🚧 type: bug 🐛
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
OpenEnergyPlatform/oemetadata#323 · 1 reacción ·
-
The "@id" fields cause problems, rename to "id"Posiblemente ocupada @jh-RLI la tomó hace 52 días. Abiertopart: backend 🧱 part: documentation 📖 priority: critical 🔥 status: active 🚧 type: enhancement ⚙️
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
OpenEnergyPlatform/oemetadata#320 · 10 comentarios · 2 asignados ·
-
Revise and update testsPosiblemente ocupada @jh-RLI la tomó hace 52 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
OpenEnergyPlatform/oemetadata#316 · 1 comentario · 3 asignados ·
Todos los issues de OpenEnergyPlatform/oemetadata
Issues similares
-
needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
flashinfer-ai/flashinfer#9803 ·
Los mantenedores suelen responder en 1 día
-
bug frontend good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
oscarbol09/thesisforge#61 ·
-
api bug performance
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
oscarbol09/audiobard#159 ·
-
area:web p2 product:business triage:active type:bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 89/100
cuadrao-ai/argus#2328 ·
Los mantenedores suelen responder en 1 día
-
bug frontend good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
nikhilb2/simple_invoicing#907 ·