dessa-oss / atlas

An Open Source, Self-Hosted Platform For Applied Deep Learning Development
http://www.docs.atlas.dessa.com
Apache License 2.0
291 stars 44 forks source link

Pin setuptools version to last major release in rest api Dockerfile #170

Closed amackillop closed 4 years ago

amackillop commented 4 years ago

I started to see this error in the atlas rest api logs:

/usr/local/lib/python3.6/site-packages/pkg_resources/py2_warn.py:15: UserWarning: Setuptools no longer works on Python 2
************************************************************
Encountered a version of Setuptools that no longer supports
this version of Python. Please head to
https://bit.ly/setuptools-py2-sunset for support.
***************************************************

I believe that it is being caused by the latest major release of setuptools from two weeks ago. This change simply pins the version. This should fix the issue.