A better dep-groups specificity breakdown
Trying to start organizing non-hard deps into groups with sensible "domain names" as it were. I coulda sworn we originally had at least UI libs setup this way.. musta got lost in prior nix(os) porting. Specifics, - move all Qt and `rapidfuzz` deps into the `uis` group. - add a new `repl` group for all the `pdbp` (debugging utils) and `xonsh` (@goodboy's shell pref) related console related extensions. - add a `testing` group for the harness' needs. - add a `de` for (as of rn) TWM specific libs. - nest all the new ^ groups in the `dev` group as needed.wayland_nix_py313
parent
51fb871f57
commit
1e6fa8675d
|
|
@ -75,25 +75,30 @@ dependencies = [
|
||||||
"trio-typing>=0.10.0",
|
"trio-typing>=0.10.0",
|
||||||
"numba>=0.61.0",
|
"numba>=0.61.0",
|
||||||
"pyvnc",
|
"pyvnc",
|
||||||
# TODO? mv to dev group?
|
|
||||||
"pdbp >=1.5.0, <2.0.0",
|
|
||||||
]
|
]
|
||||||
# ------ dependencies ------
|
# ------ dependencies ------
|
||||||
|
|
||||||
|
|
||||||
|
# TODO: add an `--only daemon` group for running non-ui / pikerd
|
||||||
|
# service tree in distributed mode B)
|
||||||
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
uis = [
|
uis = [
|
||||||
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
|
||||||
# TODO: make sure the levenshtein shit compiles on nix..
|
# TODO: make sure the levenshtein shit compiles on nix..
|
||||||
# rapidfuzz = {extras = ["speedup"], version = "^0.18.0"}
|
# rapidfuzz = {extras = ["speedup"], version = "^0.18.0"}
|
||||||
"rapidfuzz >=3.2.0, <4.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,
|
# for consideration,
|
||||||
# - 'visidata'
|
# - 'visidata'
|
||||||
|
|
||||||
# TODO: add an `--only daemon` group for running non-ui / pikerd
|
"qdarkstyle >=3.0.2, <4.0.0",
|
||||||
# service tree in distributed mode B)
|
"pyqt6 >=6.7.0, <7.0.0",
|
||||||
# https://docs.astral.sh/uv/concepts/projects/dependencies/#optional-dependencies
|
"pyqtgraph",
|
||||||
]
|
]
|
||||||
|
|
||||||
# TODO: a toolset that makes debugging a `pikerd` service (tree) easy
|
# TODO: a toolset that makes debugging a `pikerd` service (tree) easy
|
||||||
|
|
@ -104,21 +109,32 @@ uis = [
|
||||||
#
|
#
|
||||||
# console ehancements and eventually remote debugging extras/helpers.
|
# console ehancements and eventually remote debugging extras/helpers.
|
||||||
# use `uv --dev` to enable
|
# use `uv --dev` to enable
|
||||||
dev = [
|
repl = [
|
||||||
"pytest",
|
# debug
|
||||||
"prompt-toolkit ==3.0.40",
|
"pdbp >=1.5.0, <2.0.0",
|
||||||
"cython >=3.0.0, <4.0.0",
|
|
||||||
"greenback >=1.1.1, <2.0.0",
|
"greenback >=1.1.1, <2.0.0",
|
||||||
|
"xonsh",
|
||||||
|
"prompt-toolkit ==3.0.40",
|
||||||
"pyperclip>=1.9.0",
|
"pyperclip>=1.9.0",
|
||||||
# DE-specific
|
|
||||||
"i3ipc>=2.2.1",
|
|
||||||
|
|
||||||
# ?from git, see below.
|
]
|
||||||
"xonsh",
|
testing = [
|
||||||
"qdarkstyle >=3.0.2, <4.0.0",
|
"pytest",
|
||||||
"pyqt6 >=6.7.0, <7.0.0",
|
]
|
||||||
"pyqtgraph",
|
de = [
|
||||||
|
# DE-specific
|
||||||
|
"i3ipc>=2.2.1",
|
||||||
|
]
|
||||||
|
dev = [
|
||||||
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#development-dependencies
|
||||||
|
"cython >=3.0.0, <4.0.0",
|
||||||
|
|
||||||
|
# nested deps-groups
|
||||||
|
# https://docs.astral.sh/uv/concepts/projects/dependencies/#nesting-groups
|
||||||
|
{include-group = 'uis'},
|
||||||
|
{include-group = 'repl'},
|
||||||
|
{include-group = 'testing'},
|
||||||
|
{include-group = 'de'},
|
||||||
]
|
]
|
||||||
lint = [
|
lint = [
|
||||||
# XXX, with flake.nix needs to be from nixpkgs
|
# XXX, with flake.nix needs to be from nixpkgs
|
||||||
|
|
@ -175,12 +191,10 @@ 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" }
|
||||||
pyvnc = { git = "https://github.com/regulad/pyvnc.git" }
|
pyvnc = { git = "https://github.com/regulad/pyvnc.git" }
|
||||||
|
|
||||||
# TODO, long term we should be synced to upstream `main` branch!
|
# XXX since, we're like, always hacking new shite all-the-time. Bp
|
||||||
# tractor = { git = "https://github.com/goodboy/tractor.git", branch ="piker_pin" }
|
tractor = { git = "https://github.com/goodboy/tractor.git", branch ="piker_pin" }
|
||||||
tractor = { git = "https://pikers.dev/goodboy/tractor", branch = "piker_pin" }
|
# tractor = { git = "https://pikers.dev/goodboy/tractor", branch = "piker_pin" }
|
||||||
|
# tractor = { git = "https://pikers.dev/goodboy/tractor", branch = "main" }
|
||||||
# goodboy's dev-env
|
# ------ goodboy ------
|
||||||
# XXX for @goodboy's hackin dev env, usually there's something new in
|
# hackin dev-envs, usually there's something new he's hackin in..
|
||||||
# the runtime being seriously tested here Bp
|
# tractor = { path = "../tractor", editable = true }
|
||||||
# tractor = { path = "../tractor/", editable = true }
|
|
||||||
# xonsh = { path = "../xonsh", editable = true }
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue