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

Use built-in fromisoformat instead of python-dateutil #3070

Open
2 tasks
daveisfera opened this issue Nov 21, 2023 · 1 comment
Open
2 tasks

Use built-in fromisoformat instead of python-dateutil #3070

daveisfera opened this issue Nov 21, 2023 · 1 comment
Labels
dependencies This issue is a problem in a dependency. feature-request This issue requests a feature. p2 This is a standard priority issue

Comments

@daveisfera
Copy link

Describe the feature

Currently, python-dateutil is used to parse dates, but fromisoformat is now a built-in option that should be used instead. It was significantly improved in 3.11 to allow this use and it's available through a back port package for older versions:
backports-datetime-fromisoformat; python_version < '3.11')

Use Case

Currently, have to install an extra dependency that has caused problems in the past so this removes the dependency to minimize and simplify botocore

Proposed Solution

Replace uses of python-dateutil with built-in parsing

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

1.32.5

Environment details (OS name and version, etc.)

N/A

@daveisfera daveisfera added feature-request This issue requests a feature. needs-triage This issue or PR still needs to be triaged. labels Nov 21, 2023
@tim-finnigan
Copy link
Contributor

Hi @daveisfera, thank you for the feature request. The team is looking into solutions to mitigate warnings on 3.12 (see: boto/boto3#3889) and datetime parsing performance.

@tim-finnigan tim-finnigan added dependencies This issue is a problem in a dependency. p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies This issue is a problem in a dependency. feature-request This issue requests a feature. p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

2 participants