i8enn / pydantic-odm

Small async ODM for MongoDB based in Motor and Pydantic library
MIT License
39 stars 8 forks source link

Skip setuptools 50.0 because of a pip/setuptools related issue #32

Closed dhensen closed 4 years ago

dhensen commented 4 years ago

I was running into this issue locally:

Pipfile:

...
pydantic-odm = {editable= true, path = "/Users/dino/work/pydantic-odm"}
...

Running pipenv in my other project was consistently failing. There was a backtrace saying ModuleNotFoundError: No module named 'setuptools'

Turns out there is some quirk with setuptools==50.0. For more information see: https://github.com/pypa/setuptools/issues/2353

I think this is also the reason why this build fails: https://travis-ci.com/github/i8enn/pydantic-odm/builds/187856817 (you can see the ModuleNotFoundError here also)