# NousResearch/hermes-agent · google-workspace setup.py import and dependency issues

## Open now

- 3 issues, 2 PRs open on GitHub.
- #14688: google-workspace setup.py crashes under macOS system python3 (auto-reexec into venv)
- #39536: Desktop app crashes on macOS: findSystemPython() picks Python 3.9 from /usr/bin, fails on str |             None syntax
- #43913: \[Bug\]: Desktop install loop on macOS — launcher uses system python3 (3.9) instead of bundled venv, hermes_cli import fails, gateway never starts
- PR #39585: fix(desktop): prefer supported POSIX Python
- PR #77638: fix(desktop): probe-gate and version-order the POSIX Python fallback

These items concern failures in the google-workspace skill's setup.py related to unavailable hermes_constants imports, missing Google API dependencies, and Python version compatibility problems including PEP 604 union syntax on Python 3.9.

## TL;DR

- 8 member(s): 3 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.18`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #14688: google-workspace setup.py crashes under macOS system python3 (auto-reexec into venv)
- #39536: Desktop app crashes on macOS: findSystemPython() picks Python 3.9 from /usr/bin, fails on str |             None syntax
- #43913: \[Bug\]: Desktop install loop on macOS — launcher uses system python3 (3.9) instead of bundled venv, hermes_cli import fails, gateway never starts

## Closed / duplicate issues

- #12722: \[Bug\]: google-workspace skill setup.py fails — hermes_constants import + missing Google API deps

## Prior & competing PRs

- **#15158: fix(google-workspace): defer PEP 604 unions so setup.py runs on Py3.9 (#14688)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#13038`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#12729: fix(skills): google-workspace setup.py fallback when hermes_constants unavailable**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#39585: fix(desktop): prefer supported POSIX Python**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `39d09453f95e8aefc0c97e5d9b30ff341cae9ed8`
  - files: `apps/desktop/electron/backend-probes.cjs`, `apps/desktop/electron/backend-probes.test.cjs`, `apps/desktop/electron/main.cjs`
- **#77638: fix(desktop): probe-gate and version-order the POSIX Python fallback**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `91672d665223`, `#39585`, `#77638`, `#39536`, `#43834`, `#42923`, `#77638`, `#39585`, `#43834`, `#39585`, `#77638`, `#43834`, `#77638`, `#39536`, `#39585`, `#77638`, `#39536`, `#39585`, `#77638`, `#43834`, `#42923`, `#39585`, `#77638`, `#77638`, `#77638`, `#43834`, `#374151`, `#39536`, `#39585`, `#77638`
  - files: `apps/desktop/electron/backend-probes.test.ts`, `apps/desktop/electron/backend-probes.ts`, `apps/desktop/electron/backend-python-resolution-wiring.test.ts`, `apps/desktop/electron/main.ts`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
