diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4ad1aa2..f2c2720 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2c7a688..4fecd6a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9"] + python-version: ["3.10"] steps: - uses: actions/checkout@v4 @@ -42,11 +42,11 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] os: [ubuntu-latest, macos-latest] exclude: - os: macos-latest - python-version: "3.9" + python-version: "3.10" continue-on-error: true steps: diff --git a/pyproject.toml b/pyproject.toml index af96815..2a090f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ license-files = [ "LICENSE", ] -requires-python = ">=3.9,<3.13" +requires-python = ">=3.10,<3.13" dependencies = [ "spacy>=3.7.0,<3.9.0", "scipy", @@ -45,8 +45,7 @@ dependencies = [ # numpy needs to be constrained until spacy and nmslib are rebuilt "numpy<2.0", "joblib", - "nmslib>=1.7.3.6; python_version < '3.10'", - "nmslib-metabrainz==2.1.3; python_version >= '3.10'", + "nmslib-metabrainz==2.1.3", "scikit-learn>=0.20.3", "pysbd", ]