lp:~roadmr/canonical-identity-provider/fix-deprecation-warnings-2

Created by Daniel Manrique on 2018-05-25 and last modified on 2018-05-28
Get this branch:
bzr branch lp:~roadmr/canonical-identity-provider/fix-deprecation-warnings-2
Only Daniel Manrique can upload to this branch. If you are Daniel Manrique please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Daniel Manrique
Project:
Canonical SSO provider
Status:
Merged

Recent revisions

1641. By Daniel Manrique on 2018-05-28

Merge from trunk

1640. By Daniel Manrique on 2018-05-28

account.is_authenticated is a method

1639. By Daniel Manrique on 2018-05-25

Lint fixes

1638. By Daniel Manrique on 2018-05-25

Oops bad import of format_html

1637. By Daniel Manrique on 2018-05-25

a batch of deprecation fixes

1636. By Daniel Manrique on 2018-05-25

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

1635. By Daniel Manrique on 2018-05-25

Update identityprovider to add on_delete to fields requiring it

1634. By Daniel Manrique on 2018-05-25

Update oauth_backend to add on_delete to fields requiring it

1633. By Colin Watson on 2018-05-23

Refer to terms of service and data privacy policy on www.ubuntu.com rather than locally.

Merged from https://code.launchpad.net/~cjwatson/canonical-identity-provider/central-terms/+merge/346765

1632. By Daniel Manrique on 2018-05-16

Fix location of custom Postgres config file.

The file should be in DATA_DIR, not in PGHOST directory. Thus,
the settings in this file were not really being applied.

Merged from https://code.launchpad.net/~roadmr/canonical-identity-provider/wrong-location-psql-config/+merge/345628

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:canonical-identity-provider/release
This branch contains Public information 
Everyone can see this information.

Subscribers