mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-01 04:04:10 +03:00
Merge branch 'master' into spacy.io
This commit is contained in:
commit
587d70eb57
|
@ -104,13 +104,6 @@ For detailed installation instructions, see the
|
||||||
[pip]: https://pypi.org/project/spacy/
|
[pip]: https://pypi.org/project/spacy/
|
||||||
[conda]: https://anaconda.org/conda-forge/spacy
|
[conda]: https://anaconda.org/conda-forge/spacy
|
||||||
|
|
||||||
> ⚠️ **Important note for Python 3.8:** We can't yet ship pre-compiled binary
|
|
||||||
> wheels for spaCy that work on Python 3.8, as we're still waiting for our CI
|
|
||||||
> providers and other tooling to support it. This means that in order to run
|
|
||||||
> spaCy on Python 3.8, you'll need [a compiler installed](#source) and compile
|
|
||||||
> the library and its Cython dependencies locally. If this is causing problems
|
|
||||||
> for you, the easiest solution is to **use Python 3.7** in the meantime.
|
|
||||||
|
|
||||||
### pip
|
### pip
|
||||||
|
|
||||||
Using pip, spaCy releases are available as source packages and binary wheels (as
|
Using pip, spaCy releases are available as source packages and binary wheels (as
|
||||||
|
|
|
@ -35,24 +35,12 @@ jobs:
|
||||||
dependsOn: 'Validate'
|
dependsOn: 'Validate'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# Python 2.7 currently doesn't work because it seems to be a narrow
|
|
||||||
# unicode build, which causes problems with the regular expressions
|
|
||||||
|
|
||||||
# Python27Linux:
|
|
||||||
# imageName: 'ubuntu-16.04'
|
|
||||||
# python.version: '2.7'
|
|
||||||
# Python27Mac:
|
|
||||||
# imageName: 'macos-10.13'
|
|
||||||
# python.version: '2.7'
|
|
||||||
Python35Linux:
|
Python35Linux:
|
||||||
imageName: 'ubuntu-16.04'
|
imageName: 'ubuntu-16.04'
|
||||||
python.version: '3.5'
|
python.version: '3.5'
|
||||||
Python35Windows:
|
Python35Windows:
|
||||||
imageName: 'vs2017-win2016'
|
imageName: 'vs2017-win2016'
|
||||||
python.version: '3.5'
|
python.version: '3.5'
|
||||||
Python35Mac:
|
|
||||||
imageName: 'macos-10.13'
|
|
||||||
python.version: '3.5'
|
|
||||||
Python36Linux:
|
Python36Linux:
|
||||||
imageName: 'ubuntu-16.04'
|
imageName: 'ubuntu-16.04'
|
||||||
python.version: '3.6'
|
python.version: '3.6'
|
||||||
|
@ -71,6 +59,15 @@ jobs:
|
||||||
Python37Mac:
|
Python37Mac:
|
||||||
imageName: 'macos-10.13'
|
imageName: 'macos-10.13'
|
||||||
python.version: '3.7'
|
python.version: '3.7'
|
||||||
|
Python38Linux:
|
||||||
|
imageName: 'ubuntu-16.04'
|
||||||
|
python.version: '3.8'
|
||||||
|
Python38Windows:
|
||||||
|
imageName: 'vs2017-win2016'
|
||||||
|
python.version: '3.8'
|
||||||
|
Python38Mac:
|
||||||
|
imageName: 'macos-10.13'
|
||||||
|
python.version: '3.8'
|
||||||
maxParallel: 4
|
maxParallel: 4
|
||||||
pool:
|
pool:
|
||||||
vmImage: $(imageName)
|
vmImage: $(imageName)
|
||||||
|
@ -81,10 +78,8 @@ jobs:
|
||||||
versionSpec: '$(python.version)'
|
versionSpec: '$(python.version)'
|
||||||
architecture: 'x64'
|
architecture: 'x64'
|
||||||
|
|
||||||
# Downgrading pip is necessary to prevent a wheel version incompatiblity.
|
|
||||||
# Might be fixed in the future or some other way, so investigate again.
|
|
||||||
- script: |
|
- script: |
|
||||||
python -m pip install -U pip==18.1 setuptools
|
python -m pip install -U setuptools
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
displayName: 'Install dependencies'
|
displayName: 'Install dependencies'
|
||||||
|
|
||||||
|
|
|
@ -20,17 +20,6 @@ available over [pip](https://pypi.python.org/pypi/spacy) and
|
||||||
> possible, the new docs also include notes on features that have changed in
|
> possible, the new docs also include notes on features that have changed in
|
||||||
> v2.0, and features that were introduced in the new version.
|
> v2.0, and features that were introduced in the new version.
|
||||||
|
|
||||||
<Infobox variant="warning" title="Important note for Python 3.8">
|
|
||||||
|
|
||||||
We can't yet ship pre-compiled binary wheels for spaCy that work on Python 3.8,
|
|
||||||
as we're still waiting for our CI providers and other tooling to support it.
|
|
||||||
This means that in order to run spaCy on Python 3.8, you'll need
|
|
||||||
[a compiler installed](#source) and compile the library and its Cython
|
|
||||||
dependencies locally. If this is causing problems for you, the easiest solution
|
|
||||||
is to **use Python 3.7** in the meantime.
|
|
||||||
|
|
||||||
</Infobox>
|
|
||||||
|
|
||||||
## Quickstart {hidden="true"}
|
## Quickstart {hidden="true"}
|
||||||
|
|
||||||
import QuickstartInstall from 'widgets/quickstart-install.js'
|
import QuickstartInstall from 'widgets/quickstart-install.js'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user