jainankitk opened a new issue, #15201:
URL: https://github.com/apache/lucene/issues/15201

   ### Description
   
   I noticed bunch of datetime deprecation warnings while running the 
releaseWizard flow. They are kind of annoying, making it harder to see the 
output and should be fairly easy to address:
   
   ```
   /Users/akjain/lucene/dev-tools/scripts/releaseWizard.py:744: 
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).
     self.state['done_date'] = unix_time_millis(datetime.utcnow())
   ```
   
   In summary, all the occurrences of `datetime.utcnow()` should be replaced 
with `datetime.now(datetime.UTC)`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to