Skip to content

Commit 10377fb

Browse files
authored
Set version to v3.3.0 (explosion#10614)
* Set version to v3.3.0 * Revert "Temporarily skip tests that require models/compat" This reverts commit e422101.
1 parent 3579507 commit 10377fb

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

.github/azure-steps.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ steps:
6464
displayName: "Run GPU tests"
6565
condition: eq(${{ parameters.gpu }}, true)
6666
67-
# - script: |
68-
# python -m spacy download ca_core_news_sm
69-
# python -m spacy download ca_core_news_md
70-
# python -c "import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')"
71-
# displayName: 'Test download CLI'
72-
# condition: eq(variables['python_version'], '3.8')
67+
- script: |
68+
python -m spacy download ca_core_news_sm
69+
python -m spacy download ca_core_news_md
70+
python -c "import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')"
71+
displayName: 'Test download CLI'
72+
condition: eq(variables['python_version'], '3.8')
7373
7474
- script: |
7575
python -m spacy convert extra/example_data/ner_example_data/ner-token-per-line-conll2003.json .
@@ -93,17 +93,17 @@ steps:
9393
displayName: 'Test train CLI'
9494
condition: eq(variables['python_version'], '3.8')
9595
96-
# - script: |
97-
# python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_sm'}; config.to_disk('ner_source_sm.cfg')"
98-
# PYTHONWARNINGS="error,ignore::DeprecationWarning" python -m spacy assemble ner_source_sm.cfg output_dir
99-
# displayName: 'Test assemble CLI'
100-
# condition: eq(variables['python_version'], '3.8')
101-
#
102-
# - script: |
103-
# python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_md'}; config.to_disk('ner_source_md.cfg')"
104-
# python -m spacy assemble ner_source_md.cfg output_dir 2>&1 | grep -q W113
105-
# displayName: 'Test assemble CLI vectors warning'
106-
# condition: eq(variables['python_version'], '3.8')
96+
- script: |
97+
python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_sm'}; config.to_disk('ner_source_sm.cfg')"
98+
PYTHONWARNINGS="error,ignore::DeprecationWarning" python -m spacy assemble ner_source_sm.cfg output_dir
99+
displayName: 'Test assemble CLI'
100+
condition: eq(variables['python_version'], '3.8')
101+
102+
- script: |
103+
python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_md'}; config.to_disk('ner_source_md.cfg')"
104+
python -m spacy assemble ner_source_md.cfg output_dir 2>&1 | grep -q W113
105+
displayName: 'Test assemble CLI vectors warning'
106+
condition: eq(variables['python_version'], '3.8')
107107
108108
- script: |
109109
python .github/validate_universe_json.py website/meta/universe.json

spacy/about.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# fmt: off
22
__title__ = "spacy"
3-
__version__ = "3.3.0.dev0"
3+
__version__ = "3.3.0"
44
__download_url__ = "https://github.com/explosion/spacy-models/releases/download"
55
__compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json"
66
__projects__ = "https://github.com/explosion/projects"

spacy/tests/test_cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,6 @@ def test_download_compatibility():
584584
assert get_minor_version(about.__version__) == get_minor_version(version)
585585

586586

587-
@pytest.mark.skip(reason="Temporarily skip for dev version")
588587
def test_validate_compatibility_table():
589588
spec = SpecifierSet("==" + about.__version__)
590589
spec.prereleases = False

0 commit comments

Comments
 (0)