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

8.5.13 broken on py3.9?

mfalesni opened this issue · comments

Environment: python 3.9

File "/.../lib/python3.9/site-packages/.../base.py", line 8, in <module>
    import marshmallow_dataclass
File "/.../lib/python3.9/site-packages/marshmallow_dataclass/__init__.py", line 129, in <module>
    @dataclass_transform(field_specifiers=(dataclasses.Field, dataclasses.field))
TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'

Dependencies were installed by pip without any error/conflict.

@mfalesni Can you check on what version of typing_extensions you have installed?

I think our pin is wrong. We have typing_extensions>=4.1.0 but it looks like >=4.2.0 is required to support field_specifiers.

It is 4.1.1.

@mfalesni I've just adjusted the pin and made release 8.5.14. See if that works.

Closing for now. Reopen if needed.