Skip to content

Render fails because recent version of Werkzeug has removed escape() method from utils #1474

@heharkon

Description

@heharkon

The render fails with recent versions (2.1.x) of Werkzeug as they have removed the escape method from utils module.

Here's their change commit:

pallets/werkzeug@22d1e9a

Usage of escape() in Eve:

render.py, method xml_add_links():
chunk % (rel, utils.escape(d["href"]), utils.escape(d["title"]))

Environment

  • Python version: 3.10
  • Eve version: 1.1.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions