-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
feat: use weasel as spacy project command #12473
Conversation
We'll need to publish the package first. |
There are multiple ways to do this, but as one way for initial testing, you can specify the github repo like this, adding it to both
Where I think one of the internal spacy tests that checks requirements may still fail, but you should be able to install the package and check everything else in the CI logs. |
Thanks for the input @adrianeboyd. This is now ready for review - unless we want to hold off until a newer version of weasel is actually released, in which case we can consider this a proof of concept of sorts. |
Let me mark this as a draft until there's an official release. |
How does work relate to https://github.com/explosion/spaCy/commits/feature/weasel? |
Hmm, strange: it seems like I'm deleting files that no longer exist within the base branch... This PR is supposed use |
Ok, that looks better. Again, not sure what exactly happened there. |
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, thanks!
* Setting up weasel branch (#12456) * remove project-specific functionality * remove project-specific tests * remove project-specific schemas * remove project-specific information in about * remove project-specific functions in util.py * remove project-specific error strings * remove project-specific CLI commands * black formatting * restore some functions that are used beyond projects * remove project imports * remove imports * remove remote_storage tests * remove one more project unit test * update for PR 12394 * remove get_hash and get_checksum * remove upload_ and download_file methods * remove ensure_pathy * revert clumsy fingers * reinstate E970 * feat: use weasel as spacy project command (#12473) * feat: use weasel as spacy project command * build: use constrained requirement for weasel * feat: add weasel to the library requirements * build: update weasel to new version * build: use specific weasel tag * build: use weasel-0.1.0rc1 from PyPI * fix: remove weasel from requirements.txt * fix: requirements.txt and setup.cfg need to reflect each other * feat: remove legacy spacy project code * bump version * further merge fixes * isort --------- Co-authored-by: Basile Dura <[email protected]>
Description
This PR proposes to use
weasel
(for now, using a direct link to the Github repo) as thespacy project
CLI engine.Types of change
Refactoring.
Checklist