smartsheet-platform / smartsheet-python-sdk

Library that uses Python to connect to Smartsheet services (using API 2.0).
Apache License 2.0
136 stars 81 forks source link

[Bug 25368] Updated Dependencies, and Deprecation of Python 2.7 #163

Closed MatsumiyaT closed 2 years ago

MatsumiyaT commented 3 years ago

[Bug 25368] Due to the upcoming deprecation of 'collections' in python 3.10, need to update to use 'collections.abc' for python versions >= 3.3. In order to ensure we support python versions <= 3.2, added a try/except for this to import the correct dependency. Once python versions <=3.2 are no longer supported, this can be removed. Updated SDK to import MutableSequence from collections.abc for python versions >= 3.3 and handles MutableSequence for python versions <= 3.2 using collections

MatsumiyaT commented 3 years ago