Compare commits
5 Commits
how_to_sho
...
main
| Author | SHA1 | Date |
|---|---|---|
|
|
bd812bd2dd | |
|
|
664be2cd0b | |
|
|
6f0f926259 | |
|
|
eab9dfcd13 | |
|
|
9e82a46c0b |
|
|
@ -95,12 +95,15 @@ bc why install with `python` when you can faster with `rust` ::
|
||||||
|
|
||||||
include all GUIs (ex. for charting)::
|
include all GUIs (ex. for charting)::
|
||||||
|
|
||||||
uv sync --extra uis
|
uv sync --group uis
|
||||||
|
|
||||||
AND with all our hacking tools and WIP integrations::
|
AND with **all** our normal hacking tools::
|
||||||
|
|
||||||
uv sync --dev --all-extras
|
uv sync --dev
|
||||||
|
|
||||||
|
AND if you want to try WIP integrations::
|
||||||
|
|
||||||
|
uv sync --all-groups
|
||||||
|
|
||||||
Ensure you can run the root-daemon::
|
Ensure you can run the root-daemon::
|
||||||
|
|
||||||
|
|
|
||||||
104
pyproject.toml
104
pyproject.toml
|
|
@ -77,54 +77,42 @@ dependencies = [
|
||||||
"pyvnc",
|
"pyvnc",
|
||||||
]
|
]
|
||||||
# ------ dependencies ------
|
# ------ dependencies ------
|
||||||
|
# NOTE, by default we ship only a "headless" deps set bc
|
||||||
|
# the `uis` group is not listed in the optional set.
|
||||||
|
|
||||||
|
# [optional-dependencies]
|
||||||
# TODO: add an `--only daemon` group for running non-ui / pikerd
|
# uis = []
|
||||||
# service tree in distributed mode B)
|
# ?TODO? really we should be able to mv this `uis` group
|
||||||
|
# to be under [optional-dependencies] and then include
|
||||||
|
# it in the dev deps?
|
||||||
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
|
||||||
|
# -> uis should be included in pubbed pkgs.
|
||||||
|
# [ ] uv seems to have no way to do this though?
|
||||||
|
|
||||||
|
# TODO? move to a `uv.toml`?
|
||||||
|
[tool.uv]
|
||||||
|
# https://docs.astral.sh/uv/reference/settings/#python-preference
|
||||||
|
python-preference = 'system'
|
||||||
|
# https://docs.astral.sh/uv/reference/settings/#python-downloads
|
||||||
|
python-downloads = 'manual'
|
||||||
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#default-groups
|
||||||
|
default-groups = [
|
||||||
|
'uis',
|
||||||
|
]
|
||||||
|
# ------ tool.uv ------
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
uis = [
|
uis = [
|
||||||
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
|
"pyqtgraph",
|
||||||
# TODO: make sure the levenshtein shit compiles on nix..
|
"qdarkstyle >=3.0.2, <4.0.0",
|
||||||
# rapidfuzz = {extras = ["speedup"], version = "^0.18.0"}
|
"pyqt6 >=6.7.0, <7.0.0",
|
||||||
"rapidfuzz >=3.2.0, <4.0.0",
|
|
||||||
"qdarkstyle >=3.0.2, <4.0.0",
|
|
||||||
"pyqt6 >=6.7.0, <7.0.0",
|
|
||||||
"pyqtgraph",
|
|
||||||
|
|
||||||
# for consideration,
|
# fuzzy search
|
||||||
# - 'visidata'
|
"rapidfuzz >=3.2.0, <4.0.0",
|
||||||
|
|
||||||
"qdarkstyle >=3.0.2, <4.0.0",
|
|
||||||
"pyqt6 >=6.7.0, <7.0.0",
|
|
||||||
"pyqtgraph",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# TODO: a toolset that makes debugging a `pikerd` service (tree) easy
|
# dev deps enabled by `uv --dev`
|
||||||
# to hack on directly using more or less the local env:
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#development-dependencies
|
||||||
# - xonsh + xxh
|
|
||||||
# - rsyscall + pdbp
|
|
||||||
# - actor runtime control console like BEAM/OTP
|
|
||||||
#
|
|
||||||
# console ehancements and eventually remote debugging extras/helpers.
|
|
||||||
# use `uv --dev` to enable
|
|
||||||
repl = [
|
|
||||||
# debug
|
|
||||||
"pdbp >=1.5.0, <2.0.0",
|
|
||||||
"greenback >=1.1.1, <2.0.0",
|
|
||||||
"xonsh",
|
|
||||||
"prompt-toolkit ==3.0.40",
|
|
||||||
"pyperclip>=1.9.0",
|
|
||||||
|
|
||||||
]
|
|
||||||
testing = [
|
|
||||||
"pytest",
|
|
||||||
]
|
|
||||||
de = [
|
|
||||||
# DE-specific
|
|
||||||
"i3ipc>=2.2.1",
|
|
||||||
]
|
|
||||||
dev = [
|
dev = [
|
||||||
# https://docs.astral.sh/uv/concepts/projects/dependencies/#development-dependencies
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#development-dependencies
|
||||||
"cython >=3.0.0, <4.0.0",
|
"cython >=3.0.0, <4.0.0",
|
||||||
|
|
@ -136,13 +124,34 @@ dev = [
|
||||||
{include-group = 'testing'},
|
{include-group = 'testing'},
|
||||||
{include-group = 'de'},
|
{include-group = 'de'},
|
||||||
]
|
]
|
||||||
|
repl = [
|
||||||
|
# `tractor`'s debugger
|
||||||
|
"pdbp >=1.8.2, <2.0.0",
|
||||||
|
"greenback >=1.1.1, <2.0.0",
|
||||||
|
|
||||||
|
# @goodboy's preferred console toolz
|
||||||
|
"xonsh",
|
||||||
|
"prompt-toolkit ==3.0.40",
|
||||||
|
"pyperclip>=1.9.0",
|
||||||
|
|
||||||
|
# ?TODO, new stuff to consider..
|
||||||
|
# "visidata" # console numerics
|
||||||
|
# "xxh" # for remote `xonsh`-ing
|
||||||
|
# "rsyscall" # (eventual) optional `tractor` backend
|
||||||
|
# - an actor-runtime-ctl console like BEAM/OTP
|
||||||
|
]
|
||||||
|
testing = [
|
||||||
|
"pytest",
|
||||||
|
]
|
||||||
|
de = [ # (linux) specific DEs
|
||||||
|
"i3ipc>=2.2.1",
|
||||||
|
]
|
||||||
lint = [
|
lint = [
|
||||||
# XXX, with flake.nix needs to be from nixpkgs
|
# XXX, with flake.nix needs to be from nixpkgs
|
||||||
"ruff>=0.9.6"
|
"ruff>=0.9.6"
|
||||||
#
|
|
||||||
# ^TODO? these markers don't work; use deps-flags for now?
|
|
||||||
# ; os_name != 'nixos' and platform_system != 'NixOS'",
|
# ; os_name != 'nixos' and platform_system != 'NixOS'",
|
||||||
# ; defined('IN_NIX_SHELL')",
|
# ?TODO? since ^ markers won't work, use a deps-flags to toggle for
|
||||||
|
# now.
|
||||||
]
|
]
|
||||||
dbs = [
|
dbs = [
|
||||||
"elasticsearch >=8.9.0, <9.0.0",
|
"elasticsearch >=8.9.0, <9.0.0",
|
||||||
|
|
@ -177,15 +186,6 @@ include = ["piker"]
|
||||||
# ------ tool.hatch ------
|
# ------ tool.hatch ------
|
||||||
|
|
||||||
|
|
||||||
# TODO? move to a `uv.toml`?
|
|
||||||
[tool.uv]
|
|
||||||
python-preference = 'system'
|
|
||||||
python-downloads = 'manual'
|
|
||||||
# https://docs.astral.sh/uv/concepts/projects/dependencies/#default-groups
|
|
||||||
default-groups = ['uis', 'dev']
|
|
||||||
# ------ tool.uv ------
|
|
||||||
|
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
pyqtgraph = { git = "https://github.com/pikers/pyqtgraph.git" }
|
pyqtgraph = { git = "https://github.com/pikers/pyqtgraph.git" }
|
||||||
tomlkit = { git = "https://github.com/pikers/tomlkit.git", branch ="piker_pin" }
|
tomlkit = { git = "https://github.com/pikers/tomlkit.git", branch ="piker_pin" }
|
||||||
|
|
|
||||||
10
uv.lock
10
uv.lock
|
|
@ -955,16 +955,16 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pdbp"
|
name = "pdbp"
|
||||||
version = "1.8.1"
|
version = "1.8.2"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
||||||
{ name = "pygments" },
|
{ name = "pygments" },
|
||||||
{ name = "tabcompleter" },
|
{ name = "tabcompleter" },
|
||||||
]
|
]
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/fc/f5/794ef06a84b4aea5619cda8956aefb838c6b4849002079dca3bc8955f6e3/pdbp-1.8.1.tar.gz", hash = "sha256:e2acef6b14567b5599f624aec7378139cba086695c13a4e7e327ccb235c3a00b", size = 25812, upload-time = "2025-11-02T18:15:27.098Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/50/91/2d614b0db12840d646159f65510415ade0db9db595d6dee3eac60dfe9302/pdbp-1.8.2.tar.gz", hash = "sha256:367c25c17555d3ac1f024b9ad494ff50e6e20f6494a84741487f3e6596d88f94", size = 25843, upload-time = "2026-01-14T03:10:28.134Z" }
|
||||||
wheels = [
|
wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/75/58/3af430d0de0b95d5adf7e576067e07d750ba76e28d142871982464fb40db/pdbp-1.8.1-py3-none-any.whl", hash = "sha256:643e8c84df7c09542c0c7c3f0f18a6c2fb4fb372f9f054ceca80a9037db986a5", size = 21950, upload-time = "2025-11-02T18:15:25.923Z" },
|
{ url = "https://files.pythonhosted.org/packages/51/fe/53ac0cd932db5dcaf55961bc7cb7afdca8d80d8cc7406ed661f0c7dc111a/pdbp-1.8.2-py3-none-any.whl", hash = "sha256:d4fd05e177636b5ccd0b2e03e378cec57afc06149e5fd975de6f8ddb3d0109a8", size = 21969, upload-time = "2026-01-14T03:10:27.062Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -1115,7 +1115,7 @@ dev = [
|
||||||
{ name = "cython", specifier = ">=3.0.0,<4.0.0" },
|
{ name = "cython", specifier = ">=3.0.0,<4.0.0" },
|
||||||
{ name = "greenback", specifier = ">=1.1.1,<2.0.0" },
|
{ name = "greenback", specifier = ">=1.1.1,<2.0.0" },
|
||||||
{ name = "i3ipc", specifier = ">=2.2.1" },
|
{ name = "i3ipc", specifier = ">=2.2.1" },
|
||||||
{ name = "pdbp", specifier = ">=1.5.0,<2.0.0" },
|
{ name = "pdbp", specifier = ">=1.8.2,<2.0.0" },
|
||||||
{ name = "prompt-toolkit", specifier = "==3.0.40" },
|
{ name = "prompt-toolkit", specifier = "==3.0.40" },
|
||||||
{ name = "pyperclip", specifier = ">=1.9.0" },
|
{ name = "pyperclip", specifier = ">=1.9.0" },
|
||||||
{ name = "pyqt6", specifier = ">=6.7.0,<7.0.0" },
|
{ name = "pyqt6", specifier = ">=6.7.0,<7.0.0" },
|
||||||
|
|
@ -1128,7 +1128,7 @@ dev = [
|
||||||
lint = [{ name = "ruff", specifier = ">=0.9.6" }]
|
lint = [{ name = "ruff", specifier = ">=0.9.6" }]
|
||||||
repl = [
|
repl = [
|
||||||
{ name = "greenback", specifier = ">=1.1.1,<2.0.0" },
|
{ name = "greenback", specifier = ">=1.1.1,<2.0.0" },
|
||||||
{ name = "pdbp", specifier = ">=1.5.0,<2.0.0" },
|
{ name = "pdbp", specifier = ">=1.8.2,<2.0.0" },
|
||||||
{ name = "prompt-toolkit", specifier = "==3.0.40" },
|
{ name = "prompt-toolkit", specifier = "==3.0.40" },
|
||||||
{ name = "pyperclip", specifier = ">=1.9.0" },
|
{ name = "pyperclip", specifier = ">=1.9.0" },
|
||||||
{ name = "xonsh" },
|
{ name = "xonsh" },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue