Skip to content

Conversation

@svlandeg
Copy link
Contributor

DON'T SQUASH MERGE

Bringing v9 up-to-date with the latest from master, including a follow-up fix for #769

rmitsch and others added 13 commits September 9, 2022 16:47
* Update code example for Ragged.

* Import from thinc.api.
Register fix_random_seed as a pytest-randomly entry point.
* Update cupy extras, quickstart

* Rename extra cuda-wheel to cuda-autodetect
* disable mypy run for Python 3.10

* dot
Move `confection` to the section with required explosion packages.
Due to more reports of access violations in windows, reduce supported
blis versions back to `<0.8.0`.
* support both Python 3.6 and Pydantic 1.10

* Simplify according to Adriane's suggestion

Co-authored-by: Adriane Boyd <[email protected]>

Co-authored-by: Adriane Boyd <[email protected]>
* update to latest mypy and exclude Python 3.6

* fix typing of ops.alloc

* fix ArrayT usage in types.py
* Update torch install, update package requirements after installing extra deps

* Only reinstall requirements

* Run test suite twice

* Check package requirements after extras

* Update thinc-apple-ops test for current macos jobs

* Move notebook extras

* Skip mypy in tests with extras

* Use torch<1.12.0

* Try to figure out numpy version (non)requirements

* More numpy version tests

* Adjust for all
@svlandeg svlandeg added the meta label Oct 10, 2022
adrianeboyd and others added 14 commits October 12, 2022 15:51
* Revert return type for Ops.alloc to Any

Because the stricter type led to mypy failures in spacy, revert the
changes for v8.1 and postpone to a later release.

* Fix import
* Add or extend __all__ in various modules to pass checks by type checkers for implicit (re-)exports.

* Add test. Minor changes to __all__ in various files.

* Add formatting directives for black.

* Add exception for numpy in thinc/__init__.py.

* Add trailing commas to __all__ lists. Remove thinc/__init__.py from tests.

* Update thinc/compat.py

Co-authored-by: Adriane Boyd <[email protected]>

* Reformat with black.

* Enable implicit reexports in thinc.tests.*. Remove __all__ from thinc.tests.strategies.

* Extend __all__ in config.py.

Co-authored-by: Adriane Boyd <[email protected]>
* Add simple import test

Test `import thinc` before dev requirements are installed.

* Add packaging requirement
@adrianeboyd adrianeboyd merged commit 9e3acb8 into explosion:v9 Oct 27, 2022
@svlandeg svlandeg deleted the update/v9 branch November 14, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants