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

Split non-ML part into a new talon-core package #200

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andersk
Copy link

@andersk andersk commented Oct 3, 2019

The nonstandard setup.py install --no-ml option didn’t work correctly with pip. We could move the ML dependencies into an extra, but that approach was previously rejected (#121): extras can’t be enabled by default, so it could have been disruptive to existing users. Instead, we split off a new talon-core package with no ML dependencies, and have talon re-export everything from it.

Fixes #130; fixes #131.

@mailgun-ci
Copy link

Can one of the admins verify this patch?

@andrewelkins
Copy link

This is fantastic. Using the fork, but LGTM.

@benbrandt
Copy link

Have this would be amazing. Any progress on merging this?

andersk added a commit to andersk/zulip that referenced this pull request Mar 12, 2021
timabbott pushed a commit to zulip/zulip that referenced this pull request Mar 19, 2021
@andersk
Copy link
Author

andersk commented May 2, 2022

@horkhe Can you please comment on whether this approach is acceptable for upstream? Zulip has been stuck on our fork of Talon for six years due to this issue and we would very much like to unfork it.

If this is acceptable, I’m happy to respin this for the current version.

The nonstandard `setup.py install --no-ml` option didn’t work
correctly with pip.  We could move the ML dependencies into an extra,
but that approach was previously rejected (mailgun#121): extras can’t be
enabled by default, so it could have been disruptive to existing
users.  Instead, we split off a new talon-core package with no ML
dependencies, and have talon re-export everything from it.

Fixes mailgun#130; fixes mailgun#131.

Signed-off-by: Anders Kaseorg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants