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

bumped spacy to 3.4 #11598

Merged
merged 33 commits into from
Oct 5, 2022
Merged

bumped spacy to 3.4 #11598

merged 33 commits into from
Oct 5, 2022

Conversation

twerkmeister
Copy link
Contributor

@twerkmeister twerkmeister commented Sep 26, 2022

Proposed changes:

  • Bumped spacy version to ">=3.1,<3.5"
  • Added package versions of component dependencies as an additional part of fingerprinting calculation. Upgrading a dependency will thus lead to a retraining of the component.
  • actually using the default config in SpacyNLP component. Does not change behavior as of now, but could have led to bugs if more parameters were added.
  • removed spacy tests which use fixed vector values. Package version fingerprinting should trigger re-trainings when necessary
  • improved/added test for case sensitivity of SpacyNLP component. Showing that case sensitivity can be disabled and enabled.

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

thiagohdaqw and others added 27 commits July 14, 2022 17:34
Replace Coveralls test coverage badge with CodeClimate badge
…dockerfiles

Only Push Docker Base Images for Internal Builds
…files

Fix Condition to Detect Forks when Running CI
Add workflow step to install pluggy
@twerkmeister twerkmeister mentioned this pull request Sep 26, 2022
4 tasks
@twerkmeister twerkmeister marked this pull request as ready for review September 27, 2022 12:05
@twerkmeister twerkmeister requested review from a team as code owners September 27, 2022 12:05
@github-actions
Copy link
Contributor

🚀 A preview of the docs have been deployed at the following URL: https://11598--rasahq-docs-rasa-v2.netlify.app/docs/rasa

Copy link
Member

@tmbo tmbo left a comment

Choose a reason for hiding this comment

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

lgtm

pyproject.toml Outdated
@@ -203,7 +203,7 @@ version = "^0.4.4"
markers = "sys_platform == 'win32'"

[tool.poetry.dependencies.spacy]
version = ">=3.1,<3.3"
version = ">=3.1,<3.5"
Copy link
Member

Choose a reason for hiding this comment

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

can we require min 3.4 on aarch64?

fingerprint_data = {
"node_name": rasa.utils.common.module_path_from_class(graph_component_class),
"component_implementation": inspect.getsource(graph_component_class),
"config": config,
"inputs": inputs,
"dependency_versions": dependency_versions,
Copy link
Member

Choose a reason for hiding this comment

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

this will invalidate any existing cache entries right? Not an issue but should prob be mentioned in the changelog entry.

@tmbo tmbo changed the base branch from main to docs-m1 October 5, 2022 07:25
@tmbo tmbo requested a review from a team as a code owner October 5, 2022 07:25
@tmbo tmbo requested review from aerowithanl and removed request for a team October 5, 2022 07:25
@tmbo tmbo merged commit 2a92712 into docs-m1 Oct 5, 2022
@tmbo tmbo deleted the ATO-400-bump-spacy-34 branch October 5, 2022 07:45
@tmbo
Copy link
Member

tmbo commented Oct 5, 2022

will be merged as part of #11578

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.

None yet

6 participants