anitab-org / anitab-org/mentorship-backend

Bug Report: Library dependencies in unit tests out of date

Abierto
#1,153 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
200
Forks
449
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Describe the bug

When running the provided unit tests for this repo receiving error:
"ImportError: cannot import name 'Markup' from 'jinja2'"
After further investigaton, discovered that Jinja2>=2.10.1 deprecated Markup command

### To Reproduce
Steps to reproduce the behavior:
1. Submit a pull request with a commit
2. Code runs on unit tests
3. See error

### Screenshots

Screen Shot 2022-04-22 at 11 12 21 PM

### Desktop (please complete the following information):
- OS: IOS
- Browser: Chrome
- Version: 22

### Additional context

potentially use this instead to fix:
>>> from jinja2.utils import markupsafe
>>> markupsafe.Markup()
Markup('')

OR have to change dependency versions, when done locally all unit tests ran as usual

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.