Skip to content

Conversation

dqnk
Copy link

@dqnk dqnk commented Jul 21, 2025

Flask-marshmallow test would run much faster than the other tests because requests were returning errors (HTTP 500).
The issue was ImportError: cannot import name 'escape' from 'jinja2' (/usr/local/lib/python3.8/site-packages/jinja2/__init__.py), but adding jinja2 to requirements did not fix it immediately.

To fix everything I then simply bumped python and package versions. Additionally marshmallow.fields.Float now uses dump_default instead of default since version 3.13.0: https://marshmallow.readthedocs.io/en/stable/marshmallow.fields.html.

@dqnk dqnk marked this pull request as draft July 21, 2025 13:32
@dqnk
Copy link
Author

dqnk commented Jul 21, 2025

Now it gives 405 not allowed errors. It's fine.

@dqnk dqnk marked this pull request as ready for review July 21, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant