Skip to content

Commit 8ac2088

Browse files
committed
update dependencies
1 parent a4bfba6 commit 8ac2088

3 files changed

Lines changed: 33 additions & 22 deletions

File tree

.github/workflows/publish-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install package and dependencies
3333
run: |
3434
pip install git+https://github.com/funkelab/funlib.learn.torch
35-
python -m pip install -e .[docs]
35+
python -m pip install --group docs -e .
3636
3737
- name: Build documentation
3838
run: sphinx-build docs/source docs/build/html -b html

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test:
13+
name: ${{ matrix.platform }} (${{ matrix.python-version }})
14+
runs-on: ${{ matrix.platform }}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
python-version: [ "3.10", "3.11", "3.12" ]
19+
platform: [ ubuntu-latest ]
20+
21+
steps:
22+
- uses: actions/checkout@v3
23+
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v7
26+
27+
- name: Run tests
28+
run: uv run --python=${{ matrix.python-version }} --group dev pytest -v --color
29+
yes --cov gunpowder --cov-report xml
30+
31+
- uses: codecov/codecov-action@v3

pyproject.toml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,32 +38,12 @@ dependencies = [
3838
"augment-nd>=0.1.3",
3939
"tqdm",
4040
"funlib.geometry>=0.3",
41-
"zarr>=2,<3",
41+
"zarr>=3",
4242
"networkx>=3.1",
4343
"funlib.persistence>=0.7",
4444
]
4545

4646
[project.optional-dependencies]
47-
dev = [
48-
"pytest",
49-
"pytest-cov",
50-
"flake8",
51-
"mypy",
52-
"types-requests",
53-
"types-tqdm",
54-
"black>=26",
55-
"ruff",
56-
]
57-
docs = [
58-
"sphinx",
59-
"sphinx_rtd_theme",
60-
"sphinx_togglebutton",
61-
"tomli",
62-
"jupyter_sphinx",
63-
"ipykernel",
64-
"matplotlib",
65-
"torch",
66-
]
6747
pytorch = ['torch']
6848
tensorflow = [
6949
# TF doesn't provide <2.0 wheels for py>=3.8 on pypi

0 commit comments

Comments
 (0)