pallets-eco/flask-admin

not compatible with `WTForms-3.1.0` and `Babel-2.13.0`

mattibo opened this issue ยท 5 comments

i just updated two depending libraries:

  • WTForms to latest version 3.1.0
  • Babel to the latest versino 2.13.0

After this the internationalization is not working and i cannot create entities because of following error:

image

ValueError: not enough values to unpack (expected 4, got 3)

Probably related to this change pallets-eco/wtforms#739

Just for ref, this will add backwards compatiblity to wtforms: pallets-eco/wtforms#816

Thanks for sharing the extra info, including example patch. I'm currently working on getting the project into a standardised structure (for pallets-eco projects); after that I'd be happy to help get this in. Feel free to raise a PR and I'll help review it.

WTForms restored compatibility for 3-item tuples in v3.1.1, so my gut feeling is that maybe we don't need to do anything in flask-admin now.