Skip to content

feat: point to older versions when importing Document or DocumentArray#1422

Merged
anna-charlotte merged 3 commits intomainfrom
feat-instruction-to-old-versions
Apr 19, 2023
Merged

feat: point to older versions when importing Document or DocumentArray#1422
anna-charlotte merged 3 commits intomainfrom
feat-instruction-to-old-versions

Conversation

@anna-charlotte
Copy link
Copy Markdown
Contributor

@anna-charlotte anna-charlotte commented Apr 19, 2023

Point to older docarray versions from v1 if someone tries to run:

from docarray import Document, DocumentArray

Throw error with instructions to install older version:
image

@anna-charlotte anna-charlotte requested a review from samsja April 19, 2023 07:54
@anna-charlotte anna-charlotte marked this pull request as ready for review April 19, 2023 07:54
@samsja
Copy link
Copy Markdown
Member

samsja commented Apr 19, 2023

great !

Can u show pip install -U docarray==0.21.0 ?

Copy link
Copy Markdown
Member

@samsja samsja left a comment

Choose a reason for hiding this comment

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

one last suggestion, I approved already so that you can merge

Co-authored-by: samsja <[email protected]>
Signed-off-by: Charlotte Gerhaher <[email protected]>
@github-actions
Copy link
Copy Markdown

📝 Docs are deployed on https://ft-feat-instruction-to-old-versions--jina-docs.netlify.app 🎉

@anna-charlotte anna-charlotte merged commit 53304ce into main Apr 19, 2023
@anna-charlotte anna-charlotte deleted the feat-instruction-to-old-versions branch April 19, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants