lovasoa / marshmallow_dataclass

Automatic generation of marshmallow schemas from dataclasses.

Home Page:https://lovasoa.github.io/marshmallow_dataclass/html/marshmallow_dataclass.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with typeguard package v3

jleben opened this issue · comments

typeguard version 3 does not have the argname argument to check_type(), raising an exception in marshmallow_dataclass.

Moreover, the version of typeguard is not constrained in setup.py, causing a silent upgrade of typeguard in projects that use marshmallow_dataclass even when those projects fully constrain the version of marshmallow_dataclass, which breaks those projects in a surprising way. It caused me an hour to debug one of my projects. The version of typeguard should have at least the major version number contrained.

Our project also facing that issue.

Please, fix the places of using typeguard.check_type and also strictly set typeguard version to avoid such situation in future.

Please, do that asap

You all are kind of pushy! Realize that we all work for free here.

If you can check out/review #235 to make sure that fixes things for you, that would be great.

Hopefully fixed as of marshmallow_dataclass==8.5.12.