piker/piker
wygud ae4fb38bde Various patches for macOS (orig from @dnks)
Generally hackarounds to various modules to cope with either
linux-specific runtime incompats, file-name-len limits on macos, or
oddly specific to @dnks' setup config template hardcodings XD

(Obvi this commit msg was edited/reformated by @goodboy, who's also
tossed in interleaved todo bullets around each "change")

Hi-level summary,
- config/conf.toml for updated UI font size and graphics throttle.
  - [ ] remove this since it's a project template.
- piker/cli/__init__.py -> Changed transport from UDP to TCP in service
  manager.
  - [ ] this should be the default anyway, likely it was left that way
    on a dev-testing branch this history was clone from..
- piker/data/_symcache.py -> Added recursive dict cleaning for TOML
  serialization.
- piker/fsp/_api.py -> Hash-based key for shared memory buffers (macOS
  compatibility).
- piker/tsp/__init__.py -> Hash-based key for history buffers for macOS
  compatibility.
  * conflict-reso-note: was adjusted by @goodboy in new code location
    `.tsp._history` mod and keeps the orig keying for linux, only
    shortens on mac.
- piker/ui/_display.py -> Modified SHM name assertion for macOS
  compatibility.

Unmentioned changes noticed by @goodboy,
- adds a new `piker.sh` which should be unnecessary pending proper macos
  support in `tractor` via `platformdirs`,
  * 474f1dc4a7
2026-03-04 18:17:55 -05:00
..
accounting Enable console logging in `.accounting` on import 2026-02-23 12:22:48 -05:00
brokers Add holiday-gap detection via `exchange_calendars` 2026-02-23 13:41:00 -05:00
clearing Enable console via `.clearing._ems.open_brokerd_dialog()` 2026-02-23 12:22:48 -05:00
cli Better doc-strings n styling in `piker.cli` eps 2026-02-23 12:22:48 -05:00
data Various patches for macOS (orig from @dnks) 2026-03-04 18:17:55 -05:00
fsp Various patches for macOS (orig from @dnks) 2026-03-04 18:17:55 -05:00
service Use `name=__name__` for logs throughout `.service` 2026-02-23 12:22:48 -05:00
storage Replace assert with warn for no-gaps in `.storage.cli` 2026-02-22 22:08:35 -05:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp Various patches for macOS (orig from @dnks) 2026-03-04 18:17:55 -05:00
ui Various patches for macOS (orig from @dnks) 2026-03-04 18:17:55 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py `.config.get_app_dir()`: link to `click`'s orig impl on GH 2026-01-06 19:33:23 -05:00
log.py Auto-enable `tractor` logging when runtime active 2026-02-23 12:22:48 -05:00
types.py Point `.types.Struct` to `tractor.msg.pretty_struct` 2026-02-22 16:07:53 -05:00