Closed nikmartin closed 8 months ago
According to https://github.com/regebro/tzlocal/blob/52e53725f86fd74e551965de4e3a9f3aee826c8d/README.rst#L125, the object get_localzone_name no longer exists in tzlocal 4.0 and >
I may be mis-reading the tzlocal docs, the function IS an import and should exist in 4.01b and >
I misread the version of tzlocal, it was 2.x
Expected behavior
Using trino works
Actual behavior
Steps To Reproduce
My Python environment is 3.7.9. I installed trino, and am not sure if it installed tzlocal, or it was already in the environment, but the version of tzlocal is 5.1. 5.1 has several API changes over previous versions, one of which is
get_localzone_name
is no longer an import, you call it as a funtionLog output
No response
Operating System
Windows Server 2019
Trino Python client version
0.327
Trino Server version
N/A
Python version
3.7.9
Are you willing to submit PR?