Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set version to 2.0.0.dev0 #33

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Configure Python version
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
architecture: x64

- name: black
Expand All @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.9", "3.12"]
include:
- os: ubuntu-latest
hf-path: ~/.cache/huggingface/hub
Expand All @@ -65,6 +65,8 @@ jobs:

- name: Install optional dependencies for Japanese models
run: python -m pip install fugashi[unidic-lite] spacy[ja]
if: |
matrix.python_version == '3.9'

- name: Build sdist
run: python -m build --sdist
Expand Down Expand Up @@ -93,7 +95,11 @@ jobs:
- name: Install test dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install fugashi[unidic-lite] spacy[ja]

- name: Install test dependencies for Japanese models
run: python -m pip install fugashi[unidic-lite] spacy[ja]
if: |
matrix.python_version == '3.9'

- name: Run pytest
run: python -m pytest --pyargs spacy_curated_transformers --slow
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
version = 1.0.0.dev0
version = 2.0.0.dev0
description = Curated transformer models for spaCy pipelines
url = https:/explosion/spacy-curated-transformers
author = Explosion
Expand All @@ -12,7 +12,7 @@ long_description_content_type = text/markdown
[options]
zip_safe = true
include_package_data = true
python_requires = >=3.8
python_requires = >=3.9
install_requires =
curated-transformers>=2.0.0.dev2,<3.0.0
curated-tokenizers>=0.9.2,<1.0.0
Expand Down
Loading