Skip to content

Conversation

@MGMCN
Copy link

@MGMCN MGMCN commented Nov 18, 2023

When i run command speedtest-cli on my MacBook(Sonoma14.1.1) with Python3.12.

❯ speedtest-cli
Retrieving speedtest.net configuration...
/opt/homebrew/bin/speedtest-cli:960: 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.timestamp = '%sZ' % datetime.datetime.utcnow().isoformat()

This method will be deprecated in future versions of python-datetime and it is recommended to change it now. Thank you.

@MGMCN
Copy link
Author

MGMCN commented Nov 18, 2023

@sivel
I would appreciate it if you could review this small change.

@che-wf
Copy link

che-wf commented Jun 3, 2025

I think I would prefer PR #803 over this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants