~roadmr/canonical-identity-provider/fix-deprecation-warnings-1

  • Committer: Daniel Manrique
  • Date: 2018-05-25 17:03:41 UTC
  • Revision ID: roadmr@ubuntu.com-20180525170341-c4rrfl2ajdtv16tu
Ignore annoying import warnings.

Some harmless but annoying import warnings are shown with -Wd, which on the
other hand is needed so Django DeprecationWarnings are shown. Since these
ImportWarnings are for external modules over which we have no control, and they
are just warnings, it should be OK to ignore/suppress them. A real problem like
an ImportError is NOT silenced by this.

Example warnings when doing e.g. make start-db:


/usr/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/env/lib/python2.7/site-packages/paste': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)
/usr/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/env/lib/python2.7/site-packages/lazr': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)
/usr/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/env/lib/python2.7/site-packages/backports': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)
/usr/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/env/lib/python2.7/site-packages/sphinxcontrib': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)

affected modules (seen here, there may be others):
paste
lazr
backports
sphinxcontrib
Filename Latest Rev Last Changed Committer Comment Size
..
acceptance 827.1.1 10 years ago Leo Arias Move the acceptance test to the root folder. Diff
branches 237.3.3 12 years ago Ricardo Kirkner added folder required for deployments Diff
django_project 130.1.1 13 years ago Ricardo Kirkner moved project files to django_project Diff
docs 541.1.3 11 years ago Michael Foord Basic infrastructure for sphinx api docs Diff
doctests 1 13 years ago Danny Tamez Canonical SSO Provider (Open Source) - Initial Com Diff
lib 659.1.5 11 years ago Ricardo Kirkner link sourcedeps to lib folder Diff
logs 1201.1.1 9 years ago Natalia Bidart - Do not create log folders in settings file. Diff
po 1 13 years ago Danny Tamez Canonical SSO Provider (Open Source) - Initial Com Diff
rsakeys 1404.1.1 8 years ago Facundo Batista Macaroon exploration. Diff
saml-schema-xsd 1584.1.1 6 years ago Daniel Manrique Validate produced SAML responses against the SAML Diff
scripts 1 13 years ago Danny Tamez Canonical SSO Provider (Open Source) - Initial Com Diff
src 897.1.1 10 years ago Leo Arias Moved the source code to src, except the acceptanc Diff
third-party 1 13 years ago Danny Tamez Canonical SSO Provider (Open Source) - Initial Com Diff
tools 500.1.1 11 years ago Natalia B. Bidart Adding PyFlakes check to the code. Diff
.bzrignore 1585.1.9 6 years ago Daniel Manrique remove tgs file from .bzrignore 120 bytes Diff Download File
blacklist-devel.txt 1313.2.2 8 years ago Daniel Manrique Added devel and real password blacklists 22 bytes Diff Download File
config-manager.txt 1621.2.1 5 years ago Ricardo Kirkner bump saml2idp library to support SessionIndex in A 1.3 KB Diff Download File
csslintrc.json 1172.1.2 9 years ago Stephen Stewart * add vendor auto prefixing * comment out linting 144 bytes Diff Download File
dependencies-devel.txt 1536.1.3 7 years ago Thomi Richards Remove more gpg-related bits. 241 bytes Diff Download File
dependencies.txt 1606.1.1 6 years ago Colin Watson Add libpq5 to dependencies.txt for psycopg2. 263 bytes Diff Download File
gulpfile.js 1376.2.1 8 years ago Simon Davy rm yui 3.30 an otehr unused assets, added hashed u 912 bytes Diff Download File
LICENSE 1 13 years ago Danny Tamez Canonical SSO Provider (Open Source) - Initial Com 34.5 KB Diff Download File
Makefile 1636 5 years ago Daniel Manrique Ignore annoying import warnings. Some harmless bu 7.3 KB Diff Download File
Makefile.db 1631.1.2 5 years ago Daniel Manrique Append rather than clobber postgres config 1.3 KB Diff Download File
ols-vms.conf 1537.1.1 7 years ago Vincent Ladeuil Prepare for jenkaas migration by turning the makem 247 bytes Diff Download File
package.json 1172.1.2 9 years ago Stephen Stewart * add vendor auto prefixing * comment out linting 212 bytes Diff Download File
password-blacklist.txt 1315.1.1 8 years ago Daniel Manrique Added a few common passwords to the production bla 169 KB Diff Download File
README 1597.1.7 6 years ago Tom Wardill Restructure README to remove references to unavail 8.1 KB Diff Download File
requirements.txt 1620.1.3 5 years ago Ricardo Kirkner updated pyflakes 755 bytes Diff Download File
requirements_devel.txt 1620.1.4 5 years ago Ricardo Kirkner ensure pycodestyle is kept compatible with flake8 591 bytes Diff Download File
requirements_docs.txt 1404.1.11 8 years ago Facundo Batista Removed the dependency, as it's in requirements.tx 306 bytes Diff Download File
File run-tests 1537.1.1 7 years ago Vincent Ladeuil Prepare for jenkaas migration by turning the makem 1.9 KB Diff Download File
File setup-container 1489.3.1 7 years ago Daniel Manrique Add setup-container script - update README accordi 1.1 KB Diff Download File
setup.cfg 1598.3.1 6 years ago Maximiliano Bertacchini Add flake8 import order check to `make lint` targe 311 bytes Diff Download File
setup.py 1095.3.2 10 years ago Ricardo Kirkner prepare for building in readthedocs 779 bytes Diff Download File
tarball_exclude.txt 1451.1.1 7 years ago Vincent Ladeuil Using /tmp/sso.log causes trouble on jenkins where 45 bytes Diff Download File
uci-vms.conf 1398.1.5 7 years ago Vincent Ladeuil Merge trunk, resolving conflicts 2 KB Diff Download File