kartoza / feti

Further Education and Training Institute Website
Other
2 stars 15 forks source link

python libraries warnings #566

Open pierrealixt opened 6 years ago

pierrealixt commented 6 years ago

Problem

When running the dev server, there are a bunch of warnings: python manage.py runserver 0.0.0.0:8080

/usr/local/lib/python3.4/site-packages/django/db/utils.py:239: RemovedInDjango19Warning: In Django 1.9 the TEST_NAME connection setting will be moved to a NAME entry in the TEST setting
  self.prepare_test_settings(alias)
/usr/local/lib/python3.4/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>.
  """)

when running the test, there are more warnings: python manage.py test

/usr/local/lib/python3.4/site-packages/crispy_forms/utils.py:25: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
  default_field_template = memoize(default_field_template, {}, 1)
/usr/local/lib/python3.4/site-packages/weasyprint/text.py:28: UserWarning: There are known rendering problems with Cairo <= 1.14.0
  warnings.warn('There are known rendering problems with Cairo <= 1.14.0')
/usr/local/lib/python3.4/site-packages/weasyprint/fonts.py:43: UserWarning: @font-face support needs Pango >= 1.38
  warnings.warn('@font-face support needs Pango >= 1.38')
./usr/local/lib/python3.4/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:20: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
  uni_formset_template = memoize(uni_formset_template, {}, 1)