]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
MAINT: cleanup the lasts of datetime.utcnow()
authorBrigitta Sipőcz <bsipocz@gmail.com>
Fri, 6 Sep 2024 06:44:53 +0000 (02:44 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 10 Sep 2024 16:50:00 +0000 (18:50 +0200)
commita6e59c6373468f373742e547f1fb87f60665cdc9
treeef8326d05d81c93385e6dd77f2dc4a0955ad565a
parentfb02aa96c24204cb317f6369d74e85e903a6d978
MAINT: cleanup the lasts of datetime.utcnow()

<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
<!-- Describe your changes in detail -->

I'm chasing some loose datetime.datetime.utcnow() deprecation warning in some test suites, and one of these was seemingly coming from sqlalchemy. It wasn't, but nevertheless these minor cleanup changes may still be found useful.

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [x] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed

**Have a nice day!**

Closes: #11736
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11736
Pull-request-sha: 9bee8af8d1082c3cde5f64c78f1e565ef4ab14cd

Change-Id: Ib1b85fa3d66b665165d908e7c8394482b714c57f
(cherry picked from commit 6fefae897a576bce9ec74101e3a5ebcda0557c00)
examples/extending_query/temporal_range.py
lib/sqlalchemy/orm/events.py
test/orm/test_relationship_criteria.py