Clean up debugging output

The manual install step with the URL fragment seems to have caused
issues on Windows due to the = in the URL being misinterpreted. On the
other hand, removing it seems to mean the git version of spacy-legacy
isn't actually installed.

This PR removes the URL fragment but keeps the direct command-line
install. Additionally, since it looks like this job is configured to use
the default shell (and not bash), it removes a comment that upsets the
Windows cmd shell.
This commit is contained in:
Paul O'Leary McCann 2022-12-29 17:28:40 +09:00
parent 6801e80225
commit d773ef0952
2 changed files with 2 additions and 6 deletions

View File

@ -16,9 +16,6 @@ steps:
- script: | - script: |
python -m pip install -U build pip setuptools python -m pip install -U build pip setuptools
echo "----- REQUIREMENTS -----"
cat requirements.txt
echo "----- END REQUIREMENTS -----"
python -m pip install -U -r requirements.txt python -m pip install -U -r requirements.txt
displayName: "Install dependencies" displayName: "Install dependencies"
@ -105,12 +102,11 @@ steps:
cat requirements.txt cat requirements.txt
python -m pip install -U -r requirements.txt python -m pip install -U -r requirements.txt
python -m pip uninstall -y spacy-legacy python -m pip uninstall -y spacy-legacy
python -m pip install 'git+https://github.com/polm/spacy-legacy.git@feature/entity-linker-component-v1#egg=spacy-legacy' python -m pip install "git+https://github.com/polm/spacy-legacy.git@feature/entity-linker-component-v1"
python -m pip freeze python -m pip freeze
displayName: "Install test requirements" displayName: "Install test requirements"
- script: | - script: |
# TODO REMOVE - temp for testing
python -m pip freeze python -m pip freeze
python -m pytest --pyargs spacy -W error python -m pytest --pyargs spacy -W error
displayName: "Run CPU tests" displayName: "Run CPU tests"

View File

@ -1,7 +1,7 @@
# Our libraries # Our libraries
#spacy-legacy>=3.0.10,<3.1.0 #spacy-legacy>=3.0.10,<3.1.0
# XXX TEMP FOR TESTING again # XXX TEMP FOR TESTING again
git+https://github.com/polm/spacy-legacy.git@feature/entity-linker-component-v1#egg=spacy-legacy git+https://github.com/polm/spacy-legacy.git@feature/entity-linker-component-v1
spacy-loggers>=1.0.0,<2.0.0 spacy-loggers>=1.0.0,<2.0.0
cymem>=2.0.2,<2.1.0 cymem>=2.0.2,<2.1.0
preshed>=3.0.2,<3.1.0 preshed>=3.0.2,<3.1.0