]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove all remaining removed_in_20 warnings slated for removal
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Jan 2022 18:49:26 +0000 (13:49 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Jan 2022 00:28:49 +0000 (19:28 -0500)
commit01c50c64e302c193733cef7fb146fbab8eaa44bd
treedca946206da557a14a681768d094b92c95dfabe4
parent146a349d81023805264f81643db50a5281da90da
Remove all remaining removed_in_20 warnings slated for removal

Finalize all remaining removed-in-2.0 changes so that we
can begin doing pep-484 typing without old things
getting in the way (we will also have to do public_factory).

note there are a few "moved_in_20()" and "became_legacy_in_20()"
warnings still in place.  The SQLALCHEMY_WARN_20 variable
is now removed.

Also removed here are the legacy "in place mutators" for Select
statements, and some keyword-only argument signatures in Core
have been added.

Also in the big change department, the ORM mapper() function
is removed entirely; the Mapper class is otherwise unchanged,
just the public-facing API function.  Mappers are now always
given a registry in which to participate, however the
argument signature of Mapper is not changed. ideally "registry"
would be the first positional argument.

Fixes: #7257
Change-Id: Ic70c57b9f1cf7eb996338af5183b11bdeb3e1623
80 files changed:
doc/build/changelog/changelog_08.rst
doc/build/changelog/changelog_10.rst
doc/build/changelog/changelog_14.rst
doc/build/changelog/migration_13.rst
doc/build/changelog/migration_14.rst
doc/build/changelog/migration_20.rst
doc/build/changelog/unreleased_20/7257.rst
doc/build/errors.rst
doc/build/faq/sessions.rst
doc/build/glossary.rst
doc/build/orm/backref.rst
doc/build/orm/cascades.rst
doc/build/orm/declarative_config.rst
doc/build/orm/extensions/associationproxy.rst
doc/build/orm/extensions/asyncio.rst
doc/build/orm/extensions/mypy.rst
doc/build/orm/mapping_api.rst
doc/build/orm/mapping_columns.rst
doc/build/orm/mapping_styles.rst
doc/build/orm/nonstandard_mappings.rst
doc/build/orm/relationship_persistence.rst
doc/build/orm/versioning.rst
lib/sqlalchemy/dialects/mysql/enumerated.py
lib/sqlalchemy/engine/reflection.py
lib/sqlalchemy/exc.py
lib/sqlalchemy/ext/declarative/__init__.py
lib/sqlalchemy/ext/declarative/extensions.py
lib/sqlalchemy/ext/mutable.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/context.py
lib/sqlalchemy/orm/decl_api.py
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/loading.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/unitofwork.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/coercions.py
lib/sqlalchemy/sql/dml.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/testing/assertions.py
lib/sqlalchemy/testing/profiling.py
lib/sqlalchemy/testing/warnings.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/deprecations.py
test/aaa_profiling/test_memusage.py
test/aaa_profiling/test_misc.py
test/aaa_profiling/test_orm.py
test/base/test_except.py
test/dialect/mysql/test_deprecations.py
test/engine/test_deprecations.py
test/ext/declarative/test_deprecations.py
test/ext/test_horizontal_shard.py
test/orm/declarative/test_basic.py
test/orm/inheritance/test_poly_linked_list.py
test/orm/test_bind.py
test/orm/test_bundle.py
test/orm/test_cascade.py
test/orm/test_composites.py
test/orm/test_core_compilation.py
test/orm/test_deprecations.py
test/orm/test_events.py
test/orm/test_lazy_relations.py
test/orm/test_load_on_fks.py
test/orm/test_mapper.py
test/orm/test_naturalpks.py
test/orm/test_query.py
test/orm/test_session.py
test/orm/test_transaction.py
test/orm/test_versioning.py
test/sql/test_case_statement.py
test/sql/test_deprecations.py
test/sql/test_roles.py
test/sql/test_selectable.py
test/sql/test_types.py