thoughtspot / cs_tools

Scale your ThoughtSpot adoption with tools created by the ThoughtSpot Solutions Consulting organization.
https://thoughtspot.github.io/cs_tools/
Other
8 stars 6 forks source link

_Timezone attribute missing from new Pendulum version. #93

Closed jonathandurantalkiatry closed 9 months ago

jonathandurantalkiatry commented 9 months ago

First Stop

Platform Configuration

Screenshot 2023-12-18 at 11 42 04 AM

Description

When attempting to set up the config file cs_tools config create, I am running into the error AttributeError: module 'pendulum' has no attribute '_Timezone'.

Looking further into this, it seems that pendulum had a major upgrade (3.0.0) and pendulum._Timezone is no longer available. I tested this using the previous release (2.1.2) and can confirm that pendulum._Timezone works on this version.

I've included the traceback below.

Screenshot 2023-12-18 at 11 46 44 AM
boonhapus commented 9 months ago

Hey @jonathandurantalkiatry , thanks for investigating this and finding the fix!

I'll add a restriction for pendulum < 3.0.0 and release a v1.4.14 to cover it.

boonhapus commented 9 months ago

If you re-run the install command, this should get picked up appropriately now @jonathandurantalkiatry !