Closed joystein closed 9 years ago
Yes that's true - I have pinned tox to Eve >=0.5,<0.6. In the meantime I hope to fix it so we can be prepared for next Eve release.
What about creating a develop branch that follows the develop branch of eve?
That's actually a good idea - here you go - https://github.com/RedTurtle/eve-sqlalchemy/tree/develop
Thanks a lot!
If you want to make a patch please open PR.
I might try to do so at a later stage. For now though, i think it would be good if you kept this (and other recently closed issues) open so that they are visible to the community. Asking for PRs does not make issues magically go away.
It seem that the - as of yet - unreleased eve version specified by tox, makes PUT to sub-resource fail, as can also be seen in travis logs when clicking the build badge.
Looking at the difference of:
and
The first one installed with
python setup.py develop
inside a virtualenv and the second run as is, I see that the document argument toeve_sqlalchemy.replace
differs and contains respectively:and
That is, people, a relationship from
Invoives
toPeople
is now included indocument
, while that does not seem to have been the case before. And it seems this breaks the creation of the new model instance:Leading to a
'str' object has no attribute '_sa_instance_state'
that is eventualy eaten by anException
catch ineve.methods.put.put_internal