Closed mkp-bartsch closed 11 months ago
Hi, I’m aware as this was reported earlier by someone else. I don’t have the time to fix this but PR are very welcome. Thanks
@jancas here's the PR #994 . I've tested it locally but more testing is required. Happy to fix any issues.
Thanks, I will add some comments.
@mkp-bartsch Can you test the PR on windows?
Hi, I'm very busy at work right now and won't be able to test the changes in the next few weeks. When I have come to it and this is still up to date, I'll get back to you. But thanks for the implementation!
@janscas given that the relevant PR was merged, this could be closed?
Fixed in #994
Thank you all for fixing!
Hello,
I've been using the O365 library for my project and it's been really helpful. However, I've run into a warning related to the use of the pytz library for timezone handling.
Here's the warning message:
Path to error: C:\Users\myUser.virtualenvs\OutlookConnector-Ce9TnlpY\Lib\site-packages\O365\utils\windows_tz.py
Function / Code:
I understand that this warning is due to the deprecation of pytz, which is replaced by the built-in
zoneinfo
module in Python 3.9+. Currently, I'm using Python 3.9 and it seems that O365 still uses pytz for timezone handling.While this is currently a warning and not affecting the functionality of my program, it might lead to future issues if not addressed.
Could you please advise on this issue? Are there any plans to migrate from pytz to zoneinfo in the future versions of O365? Any updates or workarounds would be appreciated.
Thank you for your time and for maintaining this helpful library.
Best regards, Adrian