Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upflask-connexion-rest-part-4 incompatible with newer package versions #104
Comments
|
Pinging @writeson here since he's the author of that series :) |
|
Hi Jos, |
|
Hi, will replicate it in an unmodified version (in my version, I removed the Flask-SQLAlchemy dependency and use bare SQLAlchemy, but as this is working fine with the old packages, I suppose this is not causing the problem). Stay tuned... |
|
OK. attached my package list (requirements01.txt) and a patch (patch01.txt) as the "strict" keyword parameter for ModelSchema is implicit now and invalid to specify. When you make a virtualenv with these packages, apply the pacth to the code (part-4), run "python3 build_database.py; python3 server.py", just visiting http://localhost:5000/ produces the error. I'm using Python 3.7.5. |
I'm trying to port flask-connexion-rest-part-4 to the latest versions of all package dependencies and after fixing a few incompatibilities (that I can share) the server is running, but when accessing just "/" it fails with this error:
ValueError: Invalid fields for <NotePersonSchema(many=False)>: {'notes'}.
Any suggestions on what's causing this?