From e74b860cc33cf1f6865fd228ac78408cbfb0ff97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Fri, 12 Apr 2024 15:35:55 +0200 Subject: [PATCH] Set version to 2.0.0.dev3, update curated-tokenizers dep to 2.0.0.dev0 (#372) * Update curated-tokenizers dependency to 2.0.0.dev0 * Set version to 2.0.0.dev3 * Set minimum version of Python to 3.9 --- .github/workflows/test.yml | 4 ++-- requirements.txt | 2 +- setup.cfg | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c065b33..2f35f7af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: run: | python -m pip install isort -c requirements.txt python -m isort curated_transformers examples --check - + - name: flake8 run: | python -m pip install flake8==5.0.4 @@ -37,7 +37,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.11"] + python-version: ["3.9", "3.11"] steps: - uses: actions/checkout@v1 with: diff --git a/requirements.txt b/requirements.txt index 695867b5..160b7414 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ catalogue>=2.0.4,<2.1.0 -curated-tokenizers>=0.9.1,<1.0.0 +curated-tokenizers>=2.0.0.dev0,<3.0.0 huggingface-hub>=0.14 tokenizers>=0.13.3 torch>=1.12.0 diff --git a/setup.cfg b/setup.cfg index ec602c2f..458ce7c8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -version = 2.0.0.dev2 +version = 2.0.0.dev3 description = A PyTorch library of transformer models and components url = https://github.com/explosion/curated-transformers author = Explosion @@ -12,10 +12,10 @@ long_description_content_type = text/markdown [options] zip_safe = true include_package_data = true -python_requires = >=3.8 +python_requires = >=3.9 install_requires = catalogue>=2.0.4,<2.1.0 - curated-tokenizers>=0.9.1,<1.0.0 + curated-tokenizers>=2.0.0.dev0,<3.0.0 huggingface-hub>=0.14 tokenizers>=0.13.3 torch>=1.12.0