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

test(python/adbc_driver_postgresql): fix typecheck error on py3.9 #2502

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

lidavidm
Copy link
Member

@lidavidm lidavidm commented Feb 4, 2025

datetime.UTC only exists on Python >= 3.11 (we only run this test on a single Python version so we didn't notice it earlier). Use datetime.timezone.utc which should always exist.

@lidavidm lidavidm marked this pull request as ready for review February 4, 2025 03:31
@lidavidm lidavidm requested a review from kou as a code owner February 4, 2025 03:31
@github-actions github-actions bot added this to the ADBC Libraries 17 milestone Feb 4, 2025
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

@lidavidm lidavidm merged commit b49201c into apache:main Feb 4, 2025
67 of 68 checks passed
@lidavidm lidavidm deleted the minor-python branch February 4, 2025 05:32
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.

3 participants