Skip to content

Commit

Permalink
build: remove PyOpenGL-accelerate from dependencies because of numpy …
Browse files Browse the repository at this point in the history
…incompatibility (#1155)

The `PyOpenGL-accelerate` wheels are built against NumPy 1.x that make
it impossible to switch to 3D rendering.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated optional dependencies for `accelerate` and `pyinstaller_base`
to ensure better compatibility and performance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Czaki authored Jul 18, 2024
1 parent 3937247 commit aac66a7
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 @@ -99,7 +99,7 @@ PartSeg = "PartSeg:napari.yaml"

[project.optional-dependencies]
accelerate = [
"PyOpenGL-accelerate>=3.1.5 ; platform_machine != 'arm64'",
# "PyOpenGL-accelerate>=3.1.5 ; platform_machine != 'arm64'",
]
all = [
"PartSeg[accelerate,pyqt5]"
Expand All @@ -114,7 +114,7 @@ pyinstaller = [
"PartSeg[pyinstaller_base,pyqt5]",
]
pyinstaller_base = [
"PyOpenGL-accelerate>=3.1.5 ; platform_machine != 'arm64'",
"PartSeg[accelerate]",
"PyInstaller",
"pydantic",
]
Expand Down

0 comments on commit aac66a7

Please sign in to comment.