Skip to content

Conversation

@ellert
Copy link
Contributor

@ellert ellert commented Sep 11, 2023

  • Do not use datetime.utcnow() that is deprecated in Python 3.12
  • Import session.utcnow() into utils instead of reimplementing it

ellert and others added 2 commits September 11, 2023 06:37
Import session.utcnow() into utils instead of reimplementing it
Copy link
Member

@davidbrochart davidbrochart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ellert.
I don't know why we had this implementation of utcnow in utils.py, but it looks like it is not needed indeed.

@blink1073 blink1073 enabled auto-merge (squash) September 14, 2023 01:41
@blink1073 blink1073 merged commit 60c1095 into jupyter:main Sep 14, 2023
@ellert ellert deleted the no-datetime.utcnow branch September 14, 2023 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants