Spotted these spicerack deprecation warnings when running the wmcs-cookbooks test suite, although it seems like there are more places than just these that need replacing utcnow:
/home/taavi/src/wmf-automation/wmcs-cookbooks/.tox/py313-tests/lib/python3.13/site-packages/spicerack/_menu.py:231: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). start_time = datetime.utcnow() /home/taavi/src/wmf-automation/wmcs-cookbooks/.tox/py313-tests/lib/python3.13/site-packages/spicerack/_menu.py:242: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). (datetime.utcnow() - start_time).total_seconds(),