-
Notifications
You must be signed in to change notification settings - Fork 861
Add python uuid conversions #4864
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
Conversation
7bbac04
to
a2a79b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for driving this forwards. I left some thoughts below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I think we are nearly there. We still have CI failures caused by the ui tests, maybe we need to feature gate that one.
}; | ||
} | ||
|
||
convert_constants!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice use of a macro 👍
The output of this test does depend on the feature now. pyo3/tests/test_compile_error.rs Line 32 in e7041ba
Adding #[cfg(not(feature = "uuid"))] and regenerating the output should fix it.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thanks again 🚀
I'm reopening this PR for Python UUID support after a mistake in my Git commands..