Skip to content

Commit 22a6923

Browse files
committed
drop 3.9
1 parent ac03b40 commit 22a6923

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v2
2020
with:
21-
python-version: '3.9'
21+
python-version: '3.10'
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.9"]
16+
python-version: ["3.10"]
1717
steps:
1818
- uses: actions/checkout@v4
1919

@@ -42,11 +42,11 @@ jobs:
4242
runs-on: ${{ matrix.os }}
4343
strategy:
4444
matrix:
45-
python-version: ["3.9", "3.10", "3.11", "3.12"]
45+
python-version: ["3.10", "3.11", "3.12"]
4646
os: [ubuntu-latest, macos-latest]
4747
exclude:
4848
- os: macos-latest
49-
python-version: "3.9"
49+
python-version: "3.10"
5050
continue-on-error: true
5151

5252
steps:

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ license-files = [
3636
"LICENSE",
3737
]
3838

39-
requires-python = ">=3.9,<3.13"
39+
requires-python = ">=3.10,<3.13"
4040
dependencies = [
4141
"spacy>=3.7.0,<3.9.0",
4242
"scipy",
@@ -45,8 +45,7 @@ dependencies = [
4545
# numpy needs to be constrained until spacy and nmslib are rebuilt
4646
"numpy<2.0",
4747
"joblib",
48-
"nmslib>=1.7.3.6; python_version < '3.10'",
49-
"nmslib-metabrainz==2.1.3; python_version >= '3.10'",
48+
"nmslib-metabrainz==2.1.3",
5049
"scikit-learn>=0.20.3",
5150
"pysbd",
5251
]

0 commit comments

Comments
 (0)