oslo.db/oslo_db/sqlalchemy
Sean McGinnis 3c50cb5cce Fix deprecation warnings under py36
This addresses two sources of deprecation warnings.

The collections package has moved ABC classes under collections.abc. Six
does not support this move yet, so this updates the code to try to
import from the newer locations, and if that fails, import from the old
location.

Py36 is also more strict about escape sequences in strings. This happens
move often with regex strings that are valid regex but not a valid
normal string escape sequence. This addresses those errors by switching
to raw strings.

Change-Id: I4c61df6b6432b135297f38c02b4538e4ba56be51
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-04-11 11:03:59 +00:00
..
compat Workaround non-compatible type.adapt() for SQLAlchemy < 1.1 2017-08-10 17:23:59 -04:00
migration_cli Remove log translations 2017-03-30 08:42:42 +08:00
__init__.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
enginefacade.py Merge "Move warnings to their own module" 2018-10-30 03:35:54 +00:00
engines.py Remove convert_unicode flag 2018-12-21 12:50:25 -05:00
exc_filters.py Fix deprecation warnings under py36 2019-04-11 11:03:59 +00:00
migration.py Throw DBMigrationError instead of DbMigrationError. 2017-09-08 11:54:09 +08:00
models.py Replace six.iteritems() with .items() 2017-07-19 14:13:15 +08:00
ndb.py Remove AutoString* in ndb.py 2017-09-04 19:25:57 +08:00
orm.py Resolve SAWarning in Query.soft_delete() 2019-02-01 11:57:40 -05:00
provision.py Remove provisioned_engine in class BackendImpl 2017-09-05 23:52:13 +08:00
session.py turn on warning-is-error in doc build 2017-07-03 11:28:14 +00:00
test_base.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_fixtures.py Merge "Remove function optimize_db_test_loader in test_base.py" 2018-01-05 06:38:03 +00:00
test_migrations.py Remove most server_default comparison logic 2018-06-15 13:31:38 +10:00
types.py Replace ndb "auto" types with unified String 2017-07-28 11:29:42 -06:00
update_match.py Update hacking version 2019-01-03 00:53:13 +08:00
utils.py Fix deprecation warnings under py36 2019-04-11 11:03:59 +00:00