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

Fix some bugs using Python 3.10 #631

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Fix some bugs using Python 3.10 #631

merged 1 commit into from
Oct 9, 2024

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Oct 9, 2024

Fixes a traceback caused by using a new datetime.UTC attribute not availabe in Python 3.10.

This also switches the try-exept ImportError logic with specific sys.version_info conditionals in the importing so its obvious what Python version affects that import.

Fixes #630

Fixes a traceback caused by using a new datetime.UTC attribute
not availabe in Python 3.10.

This also switches the try-exept ImportError logic with specific
sys.version_info conditionals in the importing so its obvious what
Python version affects that import.

Fixes securesauce#630

Signed-off-by: Eric Brown <[email protected]>
@ericwb ericwb merged commit 7799348 into securesauce:main Oct 9, 2024
17 checks passed
@ericwb ericwb deleted the fix_310 branch October 9, 2024 20:10
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.

Traceback when running precli using Python 3.10
1 participant