]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Vendor python3 formatargspec, import from collections.abc
authorStefan Tjarks <66305+stj@users.noreply.github.com>
Thu, 22 Nov 2018 03:08:56 +0000 (22:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 28 Nov 2018 03:48:51 +0000 (22:48 -0500)
commite3c5fc317ed306890c65b28c7ab75aa806cd2633
tree4588d7ec30e7a2c79a19170fb5397ae18ac2e663
parent12545d3d293d7b32aaef011c7605c3d640e4ac4f
Vendor python3 formatargspec, import from collections.abc

Resolved remaining Python 3 deprecation warnings, covering
the use of inspect.formatargspec() with a vendored version
copied from the Python standard library, importing
collections.abc above Python 3.3 when testing against abstract
base classes, fixed one occurrence of log.warn(), as well as a few
invalid escape sequences.

Add DeprecationWarning to the test suite as an error raise
as has been the case within SQLAlchemy for some time now.

Fixes: #507
Co-authored-by: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: I121121b3d2dd90e6f3c9b16dec2fc80b9699c400
Pull-request: https://bitbucket.org/zzzeek/alembic/pull-requests/85
alembic/operations/base.py
alembic/testing/provision.py
alembic/testing/warnings.py
alembic/util/compat.py
alembic/util/langhelpers.py
alembic/util/messaging.py
docs/build/unreleased/507.rst [new file with mode: 0644]
tests/test_op.py
tests/test_version_traversal.py