Skip to content

Commit 8ab1eeb

Browse files
committed
build(deps): add dependency-groups
1 parent cefa1f1 commit 8ab1eeb

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
python -m pip install -e .[all]
28+
python -m pip install . --group=tests
2929
3030
- name: Run tests
3131
run: pytest -ra --cov

.github/workflows/documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
uses: actions/checkout@v4
3434
- name: Install dependencies
3535
run: |
36-
pip install sphinx furo myst-parser
36+
python -m pip install --upgrade pip
37+
python -m pip install . --group=docs
3738
- name: Sphinx APIDoc
3839
run: |
3940
sphinx-apidoc -f -o docs/source/ .

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ dependencies = [
3434
"requests",
3535
]
3636

37-
[project.optional-dependencies]
38-
all = [
39-
"tika[tests]",
40-
]
37+
[dependency-groups]
4138
tests = [
4239
"memory-profiler",
4340
"pytest-benchmark",
4441
"pytest-cov",
4542
]
43+
docs = [
44+
"furo>=2025.12.19",
45+
"myst-parser>=5.0",
46+
"sphinx>=9.1",
47+
]
4648

4749
[project.urls]
4850
homepage = "http://github.com/chrismattmann/tika-python"

0 commit comments

Comments
 (0)