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

Display model's full base version string in incompatiblity warning #12857

Merged

Conversation

shadeMe
Copy link
Contributor

@shadeMe shadeMe commented Jul 25, 2023

Description

As detailed in #12855, only the major and minor versions of the model's spaCy version are displayed in the incompatibility warning. This can be confusing if the difference is in the patch version (which is only displayed for the installed package). This PR adds the patch version of the former to the warning message.

Types of change

Fix

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@shadeMe shadeMe added the feat / serialize Feature: Serialization, saving and loading label Jul 25, 2023
Copy link
Member

@svlandeg svlandeg left a comment

Choose a reason for hiding this comment

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

LGTM. I'll hold off on merging to give @adrianeboyd a chance to review as well.

@adrianeboyd adrianeboyd merged commit 222bd3c into explosion:master Aug 2, 2023
@shadeMe shadeMe deleted the fix/model-version-mismatch-warning branch August 2, 2023 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / serialize Feature: Serialization, saving and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning on spaCy versions is confusing for patch version differences
3 participants