-
-
Notifications
You must be signed in to change notification settings - Fork 19
Auto create does not work with django-jsonfield 1.0.3 #97
Comments
Hi, it's working for me on 1.0.1. Please paste more details! |
Also the root problem is technically in |
Interesting. We're running into the issue when running tests, though I don't see any reason to believe it wouldn't happen normally as well. The first Above that we're seeing a call in I'm not positive that the underlying |
To be fair it could be something we've customized, and I haven't fully ruled that out yet. But after some severe spelunking yesterday all signs pointed to empty string causing issues. We are moving over from a heavily customized (to remove the original non threadsafe caching) fork of the original discus gargoyle. I'll be digging into it more today as well, so I'll let you know if anything falls out (as well as a pull request if I find a fix and rule out our own code conflicting. |
The caching in django-modeldict-yplan might still not be threadsafe, there was a fix, but adamchainz/django-modeldict#18 is still open. You've linked to Also please try Oh, and also, what database are you using? There was a problem in |
My testing in our staging environment was unable to reproduce the non threadsafe behavior when using the yplan fork. Our flags are all in our mysql database. That said...I had no idea there were two packages and they overlap eachother's namespace. We've been accidently using the wrong one this whole time...which worked fine until we tried the fork. We have both installed apparently and we're losing. Pip happily installed both and we have I think we can close this out... |
Yes Maybe we can add a check to |
We actually had both installed. Someone over a year ago installed |
I think it would still be possible, there might be some difference we can notice at import time, or by checking the list of installed packages. Added #98 to do this. |
Setup.py allows
django-jsonfield>=0.9.2
. This is not true as it appears changes exist in all version >= 1.0 (a validation check) that are breaking to Gargoyle during flag autocreation.The text was updated successfully, but these errors were encountered: