Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
Open
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
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
max-parallel: 4
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
max-parallel: 5

steps:
- uses: actions/checkout@v4
Expand All @@ -23,7 +23,9 @@ jobs:
run: uv python install ${{ matrix.python-version }}
- name: Install the project
run: |
uv sync --all-extras --dev
uv venv
uv pip install --dry-run ".[spacy,deid,meta-cat]"
uv --verbose sync --all-extras --dev
uv run python -m ensurepip
uv run python -m pip install --upgrade pip
- name: Check types
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
]

Expand Down Expand Up @@ -75,14 +76,15 @@ dependencies = [ # Optional
# projects.
[project.optional-dependencies] # Optional
dev = [
"ruff~=0.1.7",
"ruff~=0.11.10",
"mypy",
"types-tqdm",
"types-setuptools",
"types-PyYAML",
"scipy~=1.15.0; python_version == '3.13'",
]
spacy = [
"spacy",
"spacy>=3.8.4; python_version >= '3.10'",
"spacy<3.8.4; python_version == '3.9'"
]
meta_cat = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"serialised-class": "medcat2.config.config.ComponentConfig", "init-parts": []}
{"serialised-class": "medcat2.config.config.ComponentConfig", "init-parts": []}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"serialised-class": "medcat2.config.config.ComponentConfig", "init-parts": []}
{"serialised-class": "medcat2.config.config.ComponentConfig", "init-parts": []}
Loading