boto / botocore

The low-level, core functionality of boto3 and the AWS CLI.
Apache License 2.0
1.44k stars 1.06k forks source link

Update setup.py to fix library dateutil issue #3131

Closed m4vazquez closed 3 months ago

m4vazquez commented 3 months ago

fix issue with new install of aws-cli using library dateutil 2.9.0

nateprewitt commented 3 months ago

Hi @m4vazquez

Thanks the for the PR. As already stated in https://github.com/dateutil/dateutil/issues/1344 and the issue you opened, this is a problem with dependencies for dateutils 2.9.0 which has been fixed in their latest post release. Please note we do not support Python versions older than Python 3.8 so this change wouldn't help the specific use case you noted.

I don't think we intend to restrict usage to a smaller range given there aren't compatibility issues with current releases. I'll close this out since it's not actionable at this time.

m4vazquez commented 3 months ago

Hi @nateprewitt, yes I'm using python 3.5.7, but are you tell in me that, we can only user python 3.8 as minimun? because the dateutil library has a new release?

thanks for the answer

nateprewitt commented 3 months ago

Boto3 and the AWS CLI ended support for Python 3.5 in February 2021 as announced here. While older releases should continue to work, all current releases only support Python 3.8+ as noted in our README and PyPI. No updates merged in this repo will be backported to older releases of the library.

The change in dateutil was a mistake which has since been corrected upstream but is unrelated to our codebase. Note future breakages may not be easily fixed, so it may be worth investing in a version of Python still receiving updates. You can find the full list of support on python.org.