Skip to content

Commit 3c09887

Browse files
authored
chore: Added python 3.13 to pyproject and CI (#270)
* Added python3.13 to pyproject and ci * Exclude windows 3.13 * Removed torch pin from Makefile * Add source for coverage
1 parent aa786c3 commit 3c09887

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: ["ubuntu-latest", "windows-latest"]
13-
python-version: ["3.9", "3.10", "3.11", "3.12"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1414
exclude:
1515
- os: windows-latest
1616
python-version: "3.9"
1717
- os: windows-latest
1818
python-version: "3.11"
1919
- os: windows-latest
2020
python-version: "3.12"
21+
- os: windows-latest
22+
python-version: "3.13"
2123
fail-fast: false
2224

2325
steps:
@@ -55,7 +57,7 @@ jobs:
5557
# Run tests with coverage
5658
- name: Run tests under coverage
5759
run: |
58-
coverage run -m pytest
60+
coverage run --source=model2vec -m pytest
5961
coverage report
6062
6163
# Upload results to Codecov

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ install:
1010

1111
install-no-pre-commit:
1212
uv pip install ".[dev,distill,inference,train]"
13-
uv pip install "torch<2.5.0"
1413

1514
install-base:
1615
uv sync --extra dev

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.10",
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2223
"Natural Language :: English",
2324
]
2425

0 commit comments

Comments
 (0)