yeldiRium / st3k101

UNMAINTAINED.
2 stars 1 forks source link

error messages in backend container #17

Open yeldiRium opened 6 years ago

yeldiRium commented 6 years ago
/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  """)
/usr/local/lib/python3.6/site-packages/flask_sqlalchemy/__init__.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.
  'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
strangedev commented 6 years ago

The first error message is a deprecation warning about psycopg2 removing the wheel package from pypi in the next version. This message will disappear when psycopg>=2.8 is released. We should freeze psycopg=2.7 and then test if the source distribution builds without errors in the backend container.

strangedev commented 6 years ago

The second warning doesn't concern us, as we're not using the feature. We might consider explicitly disabling this feature to suppress the warning.

yeldiRium commented 6 years ago

We might consider explicitly disabling this feature to suppress the warning.

That would be good since every flask cli usage prints the warning.

This message will disappear when psycopg>=2.8 is released.

So after release we'll switch to psycopg-binary, if I understand the message correctly?

strangedev commented 6 years ago

We will not switch to the binary distribution if possible, as the maintainer discourages the use of it in a production environment.

We will have to test if the source distribution builds okay on the backend container.

strangedev commented 5 years ago

error messages in backend container #17