Skip to content

fix: add oa-atomacos dependency for macOS window capture#16

Merged
abrichr merged 1 commit intomainfrom
fix/oa-atomacos-dependency
Mar 17, 2026
Merged

fix: add oa-atomacos dependency for macOS window capture#16
abrichr merged 1 commit intomainfrom
fix/oa-atomacos-dependency

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 17, 2026

Summary

  • Add oa-atomacos>=3.2.0; sys_platform == 'darwin' to pyproject.toml dependencies
  • oa_atomacos is already imported in window/_macos.py but was missing from the dependency list, causing ImportError on macOS
  • oa-atomacos is OpenAdapt's fork of atomacos that fixes pickle serialization of namedtuples (needed for window state capture)

Test plan

  • uv sync installs oa-atomacos on macOS
  • uv run pytest tests/ -v --ignore=tests/test_browser_bridge.py — 147 passed
  • from openadapt_capture.window._macos import get_active_window_state returns valid window info

🤖 Generated with Claude Code

oa-atomacos is imported in window/_macos.py but was missing from
pyproject.toml, causing ImportError on macOS. The package (OpenAdapt's
fork of atomacos) fixes pickle serialization of namedtuples needed for
window state capture.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abrichr abrichr force-pushed the fix/oa-atomacos-dependency branch from bf99d05 to 6be401a Compare March 17, 2026 16:09
@abrichr abrichr merged commit 50230cf into main Mar 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant