-
Notifications
You must be signed in to change notification settings - Fork 362
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
chore: replace semver dependency with packaging #1311
Conversation
ACTION NEEDED Lance follows the Conventional Commits specification for release automation. The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. For details on the error please inspect the "PR Title Check" action. |
|
||
PYDANTIC_VERSION = semver.parse_version_info(pydantic.__version__) | ||
PYDANTIC_VERSION = Version(pydantic.__version__) |
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.
This is technically a BC break since this is a public attribute, i.e. lancedb.pydantic.PYDANTIC_VERSION
. Thoughts?
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.
Eh I don't think anyone should be relying on this, and it's easy for them to change their code to not. So I don't feel the need to mark it as a breaking change.
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.
Looks good. Thank you!
Thanks @pmeier. Apologies for the delay in merging. |
Fixes #1296 per title. See #1298 (comment) Cc @wjones127