Skip to content

Commit 9b49096

Browse files
Mayank PandeyCopilot
andcommitted
fix: Resolve macOS ARM backend crash and update Tauri dependencies
## macOS Backend Fix - Pin numpy<2.0 in requirements.txt to fix PyInstaller bundling issue - Add NumPy hidden imports to backend_server.spec for compatibility - Fix requirements.txt encoding (UTF-16 → UTF-8) Fixes 'ModuleNotFoundError: No module named numpy._core._exceptions' on Apple Silicon (M1/M2/M3/M4) Macs. ## Tauri Dependencies Update - Update @tauri-apps/plugin-dialog: 2.2.2 → 2.6.0 - Update @tauri-apps/plugin-opener: 2.0 → 2.5.3 - Update @tauri-apps/plugin-shell: 2.2.2 → 2.3.5 - Update @tauri-apps/plugin-updater: 2.9.0 → 2.10.0 - Update Rust crates to match NPM package versions - Resolve Tauri version mismatch build errors Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e1077d8 commit 9b49096

5 files changed

Lines changed: 1381 additions & 1242 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ All notable changes to Local Lens will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.2.2] - 2025-03-28
9+
10+
### Fixed
11+
12+
- **macOS ARM Backend Crash**: Fixed critical bug where backend failed to start on Apple Silicon Macs (M1/M2/M3/M4)
13+
- Error: `ModuleNotFoundError: No module named 'numpy._core._exceptions'`
14+
- Root cause: NumPy 2.x incompatibility with PyInstaller bundling
15+
- Solution: Pinned numpy<2.0 and added hidden imports for PyInstaller
16+
- Fixed requirements.txt encoding issue (UTF-16 → UTF-8)
17+
18+
### Changed
19+
20+
- Updated Tauri plugin dependencies to latest compatible versions:
21+
- @tauri-apps/plugin-dialog: 2.2.2 → 2.6.0
22+
- @tauri-apps/plugin-opener: 2.0 → 2.5.3
23+
- @tauri-apps/plugin-shell: 2.2.2 → 2.3.5
24+
- @tauri-apps/plugin-updater: 2.9.0 → 2.10.0
25+
- Updated Rust crates to match NPM package versions (resolves version mismatch build errors)
26+
827
## [2.2.1] - 2025-12-31
928

1029
### Added

frontend/package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"dependencies": {
1414
"@tailwindcss/vite": "^4.1.10",
1515
"@tauri-apps/api": "^2.10.1",
16-
"@tauri-apps/plugin-dialog": "^2.2.2",
16+
"@tauri-apps/plugin-dialog": "^2.6.0",
1717
"@tauri-apps/plugin-notification": "^2.2.3",
18-
"@tauri-apps/plugin-opener": "^2",
18+
"@tauri-apps/plugin-opener": "^2.5.3",
1919
"@tauri-apps/plugin-process": "^2.3.1",
20-
"@tauri-apps/plugin-shell": "^2.2.2",
21-
"@tauri-apps/plugin-updater": "^2.9.0",
20+
"@tauri-apps/plugin-shell": "^2.3.5",
21+
"@tauri-apps/plugin-updater": "^2.10.0",
2222
"lucide-react": "^0.544.0",
2323
"react": "^18.3.1",
2424
"react-dom": "^18.3.1",
@@ -29,4 +29,4 @@
2929
"@vitejs/plugin-react": "^4.3.4",
3030
"vite": "^6.0.3"
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)