Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python timezone warning #1

Open
djbr1 opened this issue Apr 15, 2022 · 3 comments
Open

python timezone warning #1

djbr1 opened this issue Apr 15, 2022 · 3 comments

Comments

@djbr1
Copy link

djbr1 commented Apr 15, 2022

Hi Saul

Please check python code, if possible suppress error message:

/usr/local/lib/python3.10/site-packages/apscheduler/util.py:436: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html return tzinfo.localize(dt)

@sstjohn
Copy link
Owner

sstjohn commented May 18, 2022

Sorry, I didn't have issue notifications turned on, just saw this. Please try the newest release, APScheduler and the timezone cruft are all on different versions now.

@djbr1
Copy link
Author

djbr1 commented May 18, 2022

thanks, will be difficult to verify as I made other tweaks with "timezone", additionally Xiegu moved to ver 1.1.5 while I am still on 1.1.4

@sstjohn
Copy link
Owner

sstjohn commented May 18, 2022

Alright, I've moved on to the 1.1.5 firmware as a base along with different versions of the timezone-y packages and I haven't noticed that warning, I think it's been dealt with. If you've got a microsd card, you could drop the 0.7.1 rootfs release on it and test it out without modifying the emmc in your radio?

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

No branches or pull requests

2 participants