New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server not compatible with marshmallow-dataclass>8.5.3 #1058
Comments
I fixed this in 9e7a3ce by pinning (temporarily, hopefully) Reference: lovasoa/marshmallow_dataclass#207. |
@dairiki It doesn't look like that works, possibly because of some other issue with pkg_resources. Constraining marshmallow-dataclass directly might be the better option.
|
Hmph. It looks like the quoted exception is being raised when Lektor tries to load a plugin entry point. Perhaps you need to rebuild Lektor's plugin cache (e.g. Maybe something doesn't like the spelling of (It would be nice to understand what is causing the problem, rather than just changing the pin.) |
Alright, here's what I've got so far. This seems to happen iff there's a plugin in use that lists Lektor as an install requirement, as lektor-s3 does here. Removing that line is an effective fix, as a test, but we can't fix this plugin-side. It isn't uncommon for plugins to do this, though they probably shouldn't. |
Thank you @nixjdm. I was able to reproduce here. As unlikely as it seems, changing the spelling the I don't think changing the pin to (I wonder if dropping the use of |
Yeah, I'm not sure where exactly this is a problem either, but I can at least confirm your fix!
works. |
Okay, let's go with that for now. I've started playing with disusing |
Add pin for marshmallow_dataclass>=8.5.9 which has been fixed to work with latest typing.inspect. Ref: lektor#1058, 9e7a3ce, and 949d9d8.
marshmallow-dataclass 8.5.3 works.
With marshmallow-dataclass 8.5.4 through 8.5.8, we get
The text was updated successfully, but these errors were encountered: