jinjasql
jinjasql copied to clipboard
Jinja2 v 3.1.0 breaks jinjasql
Jinja2 moved deprecated objects to Markupsafe. This is causing 'import jinjasql' to break.
If possible, could you please
- update the dependencies
- update the code to use the relocated objects
- release the changes to PyPi
Thanks
Same issue here, confirmed that Jinja2==3.0.3 in the pip install will keep it working, but the latest does break the import.
To fix this error in another workflow, I also had to pin markupsafe==2.0.1
Same issue here. Pinned to Jinja2==3.0.3 for a temporary fix.
Looks like the Jinja2 requirement was pinned to <3.0
a couple months back on master https://github.com/sripathikrishnan/jinjasql/blob/d1e0d0fcc4564f621c1c6ba8bf3c6d2949425ea0/setup.py#L41-L43
But there hasn't been a release to get that into PyPI yet
Pinning seems like the solution for now
Also seeing the same issue.
+1
Same here. @sripathikrishnan any chance you would be able to create a new release on PyPi? 🙏
👍 would like a new release as well, or at least a tag! Thank you!!
+1 👍 new release please!!
Same here..
Are there any plans on releasing a fix for this?
Is this project abandoned?
looks like it @elpablete
We are maintaining a forked version of jinjasql here - https://github.com/pythonutilities/jinjasql
Check this out, we have upgraded the code and its dependencies and so that it can work with the updated Jinja 3.x
We are maintaining a forked version of jinjasql here - https://github.com/pythonutilities/jinjasql
Check this out, we have upgraded the code and its dependencies and so that it can work with the updated Jinja 3.x
are you going to publish it on pypi? name change?
@elpablete We have published the above said forked version of jinjasql in PyPi, check it out!
pip install jinjasql2