-
Notifications
You must be signed in to change notification settings - Fork 19
Update for python 3.10+: branch on SelectableGroups #41
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
Update for python 3.10+: branch on SelectableGroups #41
Conversation
- Branch on presence of `SelectableGroups` when retrieving entry points - Branch on python version in tests when creating dummy entry points
This still needs some more testing beyond the test suite... |
I've tested this with thinc and spacy with a range of python versions including python 3.11.0b4 without running into any problems. |
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.
I agree that this is a better approach if we want to abstain from re-introducing importlib_metadata
as dependency (misunderstood that we'd rather drop as much vendored stuff as possible).
* Move catalogue.py to module dir * Update setup * Add vendored importlib_metadata v3.2.0 * Move tests into package * Backport changes from #41 * Check for select rather than to-be-deprecated SelectableGroups * Set version to v1.0.1, update classifiers * Update CI
SelectableGroups
when retrieving entry points