You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Submit a pull request with a commit
Code runs on unit tests
See error
Screenshots
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
The text was updated successfully, but these errors were encountered:
Thank you and congrats 🎉 for opening your very first issue in this project.
AnitaB.org Open Source is an inclusive community, committed to creating a safe and positive environment 🌸 Please follow our Code Of Conduct 🙌
You can learn more about the community on our website and documentation repository.
You may submit a PR on the same if you like!
Please follow our Commit Message Style Guide and Coding Standards while sending PRs.
If you want to report a bug 🐞, please follow our bug_report.md template. Please make sure you include steps to reproduce it and be patient we will get back to you as soon as we can 👀
Also, feel free to join us on AnitaB.org Open Source Zulip Community 🤝 We have different streams for each active repository for discussions.👩🏻💻🧑🏻💻
For mentorship-backend, join #mentorship-system stream! Hope you have a great time here :)
ciheanyi
changed the title
Bug Report: Library dependencies in unit tests out of data
Bug Report: Library dependencies in unit tests out of date
Apr 23, 2022
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:
Screenshots
Desktop (please complete the following information):
Additional context
potentially use this instead to fix:
OR have to change dependency versions, when done locally all unit tests ran as usual
The text was updated successfully, but these errors were encountered: