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

feat: remove python-dateutil dependency #221

Merged
merged 3 commits into from
Jun 23, 2023

Conversation

jooola
Copy link
Member

@jooola jooola commented Jun 23, 2023

Suggested by ansible-collections/hetzner.hcloud#217 (comment)

Remove the python-dateutil dependency, because the python standard library already provides the same features.

isoparse was capable of guessing and parsing different implementation of ISO 8601, but as long as the API provide the same date and time format, datetime.fromisoformat will be able to parse it.

Copy link
Member

@apricote apricote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice :)

@jooola jooola merged commit 8ea4aa0 into hetznercloud:main Jun 23, 2023
@jooola jooola deleted the remove-dateutil branch June 23, 2023 14:41
jooola added a commit to jooola/hcloud-python that referenced this pull request Jun 30, 2023
jooola added a commit to jooola/hcloud-python that referenced this pull request Jun 30, 2023
jooola added a commit to jooola/hcloud-python that referenced this pull request Jun 30, 2023
jooola added a commit to jooola/hcloud-python that referenced this pull request Jul 3, 2023
jooola added a commit to jooola/hcloud-python that referenced this pull request Jul 3, 2023
jooola added a commit to jooola/hcloud-python that referenced this pull request Jul 3, 2023
jooola added a commit to jooola/hcloud-python that referenced this pull request Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants