Roundup Tracker - Issues

Message7775

Author rouilj
Recipients rouilj
Date 2023-05-25.23:35:33
Message-id <1685057734.08.0.12473799515.issue2551278@roundup.psfhosted.org>
In-reply-to
3.12 test is throwing the following warnings:

 /home/runner/work/roundup/roundup/roundup/date.py:379: DeprecationWarning: datetime.utcnow() 
is deprecated and scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.now(datetime.UTC).

probably need a roundup/anypy/datetime_.py that exports a utcnow() function and then
and import and replace datetime.datetime.utcnow() to utcnow() in:

 date.py, rate_limit.py, test/rest_common.py

source:

https://github.com/roundup-tracker/roundup/actions/runs/5085234225/jobs/9138474935
History
Date User Action Args
2023-05-25 23:35:34rouiljsetrecipients: + rouilj
2023-05-25 23:35:34rouiljsetmessageid: <1685057734.08.0.12473799515.issue2551278@roundup.psfhosted.org>
2023-05-25 23:35:34rouiljlinkissue2551278 messages
2023-05-25 23:35:33rouiljcreate