From aac66a73e7bf33800306a1c63a4fe76af1a73aa8 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Thu, 18 Jul 2024 10:06:16 +0200 Subject: [PATCH] build: remove PyOpenGL-accelerate from dependencies because of numpy incompatibility (#1155) The `PyOpenGL-accelerate` wheels are built against NumPy 1.x that make it impossible to switch to 3D rendering. ## Summary by CodeRabbit - **Chores** - Updated optional dependencies for `accelerate` and `pyinstaller_base` to ensure better compatibility and performance. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ae9d0f516..d2d9a2b87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]" @@ -114,7 +114,7 @@ pyinstaller = [ "PartSeg[pyinstaller_base,pyqt5]", ] pyinstaller_base = [ - "PyOpenGL-accelerate>=3.1.5 ; platform_machine != 'arm64'", + "PartSeg[accelerate]", "PyInstaller", "pydantic", ]