Skip to content

Commit

Permalink
Add dependabot and cap dependencies (#287)
Browse files Browse the repository at this point in the history
### Description

To ensure that users can create functioning environments, this PR adds
an upper version to all main dependencies and adds a `dependabot` to
update them.

### Changes Made

- **Added**: `dependabot.yml`
- **Modified**: `pyproject.toml`

### Note

We will need to update the `conda-forge` feedstock to reflect the new
dependencies.

---

**Please ensure your PR meets the following requirements:**

- [x] Code builds and passes tests locally, including doctests
- [ ] New tests have been added (for bug fixes/features)
- [x] Pre-commit passes
- [ ] PR to the documentation exists (for bug fixes / features)
  • Loading branch information
jdeschamps authored Dec 9, 2024
1 parent cd2eae2 commit bf1e48a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "pip"
# Files stored in repository root
directory: "/"
schedule:
interval: "daily"
time: "08:00"
groups:
python-packages:
patterns:
- "*"
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ classifiers = [
]
dependencies = [
'numpy<2.0.0',
'torch>=2.0.0',
'torchvision',
'bioimageio.core>=0.7.0',
'tifffile',
'psutil',
'torch>=2.0,<=2.5',
'torchvision<=0.20',
'bioimageio.core==0.7',
'tifffile<=2024.8.30',
'psutil<=6.1',
'pydantic>=2.5,<2.9',
'pytorch_lightning>=2.2.0',
'pyyaml',
'pytorch_lightning>=2.2,<=2.4',
'pyyaml<=6.0.2,!=6.0.0',
'typer==0.12.3',
'scikit-image<=0.23.2',
'zarr<3.0.0',
Expand Down

0 comments on commit bf1e48a

Please sign in to comment.