1f003bcb0b
Remaining issues encountered when running with SQLAlchemy 2.0 for real: * Never call str() on a URL and expect it to be meaningful anymore. The password is aggressively obfuscated now (users absolultely wouldn't let us leave it as is) * More utilities and fixtures that were calling begin() within a block that would have already begun * isnot is now called is_not; mocking "isnot" leads into too many weird compat layers * ORM InstrumentedAttribute and internals use __slots__ now, mock seems to not be able to patch methods. Ideally these tests would use a comparator subclass or something * Connection.connection.connection is now called driver_connection, SQLAlchemy keeps the old name available however oslo.db test suite does not appear to tolerate the deprecation warning emitted, so add a compat layer * mapper() is fully removed from 2.0, not sure if there is another not-yet-committed gerrit that removes mapper() [1] https://docs.sqlalchemy.org/en/20/core/engines.html#sqlalchemy.create_engine.params.pool_pre_ping [2] https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2fe37eaf2295cebd3bb4ee8e5b8c575c [3] https://github.com/sqlalchemy/sqlalchemy/issues/5648 Change-Id: Ifaca67c07f008d8bc0febeecd3e200cc7ee7a4b0 |
||
---|---|---|
.. | ||
add_connection_parameters-231aa7d8b7d2d416.yaml | ||
add_facade_started-14f9bc34fac89371.yaml | ||
add_wsrep_sync_wait-e3c5a9f4bc08b203.yaml | ||
add-reno-e5c2f63e73c25959.yaml | ||
connection_debug_min_max-bf6d53d49be7ca52.yaml | ||
deprecate_config_sqlite_db-bd41d49343049319.yaml | ||
deprecate_idle_timeout-029d9f2cb7184b28.yaml | ||
deprecate-insert-from-select-ea831381ebd7e7cf.yaml | ||
deprecate-mysql-ndb-cluster-support-cdcaa177b6a6773c.yaml | ||
deprecate-sqlalchemy-migrate-6f899935615d6984.yaml | ||
deprecate-TpoolDbapiWrapper-2ce78aa7cbb9e585.yaml | ||
drop-db2-support-6e70fe42268d2238.yaml | ||
drop-python27-support-2308d7fbcd66cc22.yaml | ||
enginefacade_decorators-4660862fe22d2669.yaml | ||
fix_mysql_wsrsp-0ef98dec5ea3759f.yaml | ||
fix_synchronous_reader-ca442ca9f07470ec.yaml | ||
fix-mysql-duplicate-key-error-information-update-548888bc44b8dbd7.yaml | ||
increase-default-max-overflow-0af787268807f926.yaml | ||
MySQL-python-no-longer-tested-2a6c32cce6b03215.yaml | ||
new-db-fixtures-58223e3926122413.yaml | ||
remove-config-option-sqlite_db-7b7c6459135fd8c9.yaml | ||
remove-ModelsMigrationsSync-check_foreign_keys-467e0dbeb65a8c86.yaml | ||
remove-NotCommitting-utils-fed6df0e2f85edfa.yaml | ||
remove-sqlalchemy-migrate-f69c805004e6bac1.yaml | ||
removed-deprecated-idle-timeout-051a6a9a792bd8de.yaml | ||
removed-deprecated-min-pool-size-1f351d79fe232129.yaml | ||
removed-deprecated-sql-max-pool-size-c9b7bfc14c3b6b14.yaml | ||
sqlalchemy-20-0a193a01c70f805a.yaml | ||
warn-incomplete-url-c44cd03baf630c7c.yaml | ||
wrap_db_retry-34c7ff2d82afa3f5.yaml |