2018-12-03 01:41:05 +00:00
|
|
|
# Our libraries
|
2021-01-27 02:31:31 +00:00
|
|
|
spacy-legacy>=3.0.0,<3.1.0
|
💫 Use Blis for matrix multiplications (#2966)
Our epic matrix multiplication odyssey is drawing to a close...
I've now finally got the Blis linear algebra routines in a self-contained Python package, with wheels for Windows, Linux and OSX. The only missing platform at the moment is Windows Python 2.7. The result is at https://github.com/explosion/cython-blis
Thinc v7.0.0 will make the change to Blis. I've put a Thinc v7.0.0.dev0 up on PyPi so that we can test these changes with the CI, and even get them out to spacy-nightly, before Thinc v7.0.0 is released. This PR also updates the other dependencies to be in line with the current versions master is using. I've also resolved the msgpack deprecation problems, and gotten spaCy and Thinc up to date with the latest Cython.
The point of switching to Blis is to have control of how our matrix multiplications are executed across platforms. When we were using numpy for this, a different library would be used on pip and conda, OSX would use Accelerate, etc. This would open up different bugs and performance problems, especially when multi-threading was introduced.
With the change to Blis, we now strictly single-thread the matrix multiplications. This will make it much easier to use multiprocessing to parallelise the runtime, since we won't have nested parallelism problems to deal with.
* Use blis
* Use -2 arg to Cython
* Update dependencies
* Fix requirements
* Update setup dependencies
* Fix requirement typo
* Fix msgpack errors
* Remove Python27 test from Appveyor, until Blis works there
* Auto-format setup.py
* Fix murmurhash version
2018-11-26 23:44:04 +00:00
|
|
|
cymem>=2.0.2,<2.1.0
|
2019-09-28 20:23:24 +00:00
|
|
|
preshed>=3.0.2,<3.1.0
|
2021-01-21 12:51:35 +00:00
|
|
|
thinc>=8.0.0,<8.1.0
|
2020-10-05 12:58:56 +00:00
|
|
|
blis>=0.4.0,<0.8.0
|
2021-01-31 03:06:01 +00:00
|
|
|
ml_datasets>=0.2.0,<0.3.0
|
💫 Use Blis for matrix multiplications (#2966)
Our epic matrix multiplication odyssey is drawing to a close...
I've now finally got the Blis linear algebra routines in a self-contained Python package, with wheels for Windows, Linux and OSX. The only missing platform at the moment is Windows Python 2.7. The result is at https://github.com/explosion/cython-blis
Thinc v7.0.0 will make the change to Blis. I've put a Thinc v7.0.0.dev0 up on PyPi so that we can test these changes with the CI, and even get them out to spacy-nightly, before Thinc v7.0.0 is released. This PR also updates the other dependencies to be in line with the current versions master is using. I've also resolved the msgpack deprecation problems, and gotten spaCy and Thinc up to date with the latest Cython.
The point of switching to Blis is to have control of how our matrix multiplications are executed across platforms. When we were using numpy for this, a different library would be used on pip and conda, OSX would use Accelerate, etc. This would open up different bugs and performance problems, especially when multi-threading was introduced.
With the change to Blis, we now strictly single-thread the matrix multiplications. This will make it much easier to use multiprocessing to parallelise the runtime, since we won't have nested parallelism problems to deal with.
* Use blis
* Use -2 arg to Cython
* Update dependencies
* Fix requirements
* Update setup dependencies
* Fix requirement typo
* Fix msgpack errors
* Remove Python27 test from Appveyor, until Blis works there
* Auto-format setup.py
* Fix murmurhash version
2018-11-26 23:44:04 +00:00
|
|
|
murmurhash>=0.28.0,<1.1.0
|
2021-01-26 03:51:52 +00:00
|
|
|
wasabi>=0.8.1,<1.1.0
|
2021-02-01 07:24:58 +00:00
|
|
|
srsly>=2.4.0,<3.0.0
|
2020-08-27 16:17:58 +00:00
|
|
|
catalogue>=2.0.1,<2.1.0
|
2020-07-01 18:20:04 +00:00
|
|
|
typer>=0.3.0,<0.4.0
|
2021-03-02 11:06:59 +00:00
|
|
|
pathy>=0.3.5
|
2018-12-03 01:41:05 +00:00
|
|
|
# Third party dependencies
|
|
|
|
numpy>=1.15.0
|
|
|
|
requests>=2.13.0,<3.0.0
|
2019-12-16 12:12:19 +00:00
|
|
|
tqdm>=4.38.0,<5.0.0
|
2020-12-16 23:21:08 +00:00
|
|
|
pydantic>=1.7.1,<1.8.0
|
2020-11-27 07:17:14 +00:00
|
|
|
jinja2
|
2020-05-30 12:59:55 +00:00
|
|
|
# Official Python utilities
|
|
|
|
setuptools
|
2020-10-06 12:16:05 +00:00
|
|
|
packaging>=20.0
|
2020-05-30 12:59:55 +00:00
|
|
|
importlib_metadata>=0.20; python_version < "3.8"
|
2021-03-02 11:06:59 +00:00
|
|
|
typing_extensions>=3.7.4.1,<4.0.0.0; python_version < "3.8"
|
💫 Tidy up and auto-format .py files (#2983)
<!--- Provide a general summary of your changes in the title. -->
## Description
- [x] Use [`black`](https://github.com/ambv/black) to auto-format all `.py` files.
- [x] Update flake8 config to exclude very large files (lemmatization tables etc.)
- [x] Update code to be compatible with flake8 rules
- [x] Fix various small bugs, inconsistencies and messy stuff in the language data
- [x] Update docs to explain new code style (`black`, `flake8`, when to use `# fmt: off` and `# fmt: on` and what `# noqa` means)
Once #2932 is merged, which auto-formats and tidies up the CLI, we'll be able to run `flake8 spacy` actually get meaningful results.
At the moment, the code style and linting isn't applied automatically, but I'm hoping that the new [GitHub Actions](https://github.com/features/actions) will let us auto-format pull requests and post comments with relevant linting information.
### Types of change
enhancement, code style
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I have submitted the spaCy Contributor Agreement.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
2018-11-30 16:03:03 +00:00
|
|
|
# Development dependencies
|
2018-12-01 03:28:51 +00:00
|
|
|
cython>=0.25
|
2021-01-29 16:08:01 +00:00
|
|
|
pytest>=5.2.0
|
2018-07-24 21:38:44 +00:00
|
|
|
pytest-timeout>=1.3.0,<2.0.0
|
2017-05-20 11:54:31 +00:00
|
|
|
mock>=2.0.0,<3.0.0
|
💫 Tidy up and auto-format .py files (#2983)
<!--- Provide a general summary of your changes in the title. -->
## Description
- [x] Use [`black`](https://github.com/ambv/black) to auto-format all `.py` files.
- [x] Update flake8 config to exclude very large files (lemmatization tables etc.)
- [x] Update code to be compatible with flake8 rules
- [x] Fix various small bugs, inconsistencies and messy stuff in the language data
- [x] Update docs to explain new code style (`black`, `flake8`, when to use `# fmt: off` and `# fmt: on` and what `# noqa` means)
Once #2932 is merged, which auto-formats and tidies up the CLI, we'll be able to run `flake8 spacy` actually get meaningful results.
At the moment, the code style and linting isn't applied automatically, but I'm hoping that the new [GitHub Actions](https://github.com/features/actions) will let us auto-format pull requests and post comments with relevant linting information.
### Types of change
enhancement, code style
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I have submitted the spaCy Contributor Agreement.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
2018-11-30 16:03:03 +00:00
|
|
|
flake8>=3.5.0,<3.6.0
|
2021-03-02 12:20:17 +00:00
|
|
|
hypothesis>=3.27.0,<7.0.0
|