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 CI bug due to new Elasticsearch release and new model release #579

Merged
merged 4 commits into from
Nov 13, 2020

Conversation

brandenchan
Copy link
Contributor

@brandenchan brandenchan commented Nov 12, 2020

Haystack's requirements.txt ask for the latest version of Elasticsearch. A new ES release causes the elasticsearch.helpers.scan() function to now return a generator instead of a list.

This PR casts the output of scan() to a list so that CI doesn't fail and restricts ES versioning so new releases won't introduce bugs.

The assert value of a reader test is also changed since the deepset/roberta-base-squad2 model was updated to version2.

@brandenchan brandenchan changed the title Fix CI bug due to new Elasticsearch release Fix CI bug due to new Elasticsearch release and new model release Nov 13, 2020
@brandenchan brandenchan merged commit 44230fc into master Nov 13, 2020
@brandenchan brandenchan deleted the fix_ci branch November 13, 2020 09:35
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

2 participants