Skip to content

Commit

Permalink
build: require napari>=0.5.0 only for python 3.9+ (#1162)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced conditional dependencies for `napari` based on Python
version, ensuring compatibility for users on Python 3.9 or higher.
  
- **Bug Fixes**
- Enhanced dependency management to prevent potential compatibility
issues in older Python environments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Czaki authored Jul 19, 2024
1 parent 150c68e commit 5d64c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pyqt5 = [
]
pyqt6 = [
"PyQt6",
"napari[pyqt6]>=0.5.0",
"napari[pyqt6]>=0.5.0; python_version >= '3.9'",
]
pyside = [
"PartSeg[pyside2]",
Expand All @@ -139,7 +139,7 @@ pyside2 = [
]
pyside6 = [
"PySide6",
"napari[pyside6_experimental]>=0.5.0",
"napari[pyside6_experimental]>=0.5.0; python_version >= '3.9'",
]
test = [
"coverage",
Expand Down

0 comments on commit 5d64c20

Please sign in to comment.