]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Replace use of utcnow() with now() for Python 3.13 compatibility, Fixes #1643
authorJens Troeger <jens.troeger@light-speed.de>
Tue, 20 May 2025 21:01:45 +0000 (17:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 May 2025 21:44:39 +0000 (17:44 -0400)
commit97edb1a192aa71a0bbb3961d45b0a696fccd1616
tree39a140abb925ba291484a3a8c5844ae7996b9591
parent452b59728fde58e7f6fa869c6a689c1fe81f04d4
Replace use of utcnow() with now() for Python 3.13 compatibility, Fixes #1643

Fixed issue where use of deprecated ``utcnow()`` function would generate
warnings.  Has been replaced with ``now(UTC)``.  Pull request courtesy
Jens Tröger.

Fixes: #1643
Closes: #1644
Pull-request: https://github.com/sqlalchemy/alembic/pull/1644
Pull-request-sha: 1ddb3caa4a8bc7487d070d39c24d5e5e609e0688

Change-Id: Ide0f830d33529c5d4d9540b5e043954f440f9016
alembic/script/base.py
docs/build/unreleased/1643.rst [new file with mode: 0644]
tests/test_script_production.py