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

Setting up weasel branch #12456

Merged
merged 20 commits into from
Mar 28, 2023
Merged

Conversation

svlandeg
Copy link
Member

@svlandeg svlandeg commented Mar 22, 2023

Description

Setting up the weasel branch to coordinate migration of spacy projects to weasel.
The functionality of this PR accompanies explosion/weasel#9 and explosion/weasel#11.

In a nutshell, we've moved all project-related functionality & tests verbatim to weasel. The big exception are the projects tests in test_cli_app.py - those remain and will be fixed in follow up PRs to the explosion:feature/weasel branch, as we still want python -m spacy projects to work exactly as before.

Types of change

WIP - migration

Checklist

The test might just fail right now, that's OK. We're not merging this into master, just into a specific feature branch to continue working on. Specifically, the ones in test_cli_app.py will fail right now.

  • 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.

@svlandeg svlandeg added the feat / cli Feature: Command-line interface label Mar 22, 2023
@svlandeg svlandeg changed the title Initial work Setting up weasel branch Mar 22, 2023
@svlandeg svlandeg marked this pull request as draft March 22, 2023 15:33
@svlandeg svlandeg marked this pull request as ready for review March 23, 2023 10:29
@svlandeg
Copy link
Member Author

@adrianeboyd & @bdura : this is now ready for review :-)

Copy link
Contributor

@bdura bdura left a comment

Choose a reason for hiding this comment

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

There are still some functions that can be safely removed, since they are now only referenced within the tests.

@svlandeg svlandeg merged commit dc2f7ff into explosion:feature/weasel Mar 28, 2023
@svlandeg svlandeg deleted the feature/weasel branch March 28, 2023 11:46
svlandeg added a commit that referenced this pull request Jul 7, 2023
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / cli Feature: Command-line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants