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.
parent
d77f49bc63
commit
15fbb66d51
|
|
@ -75,12 +75,14 @@ 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
|
||||||
|
|
@ -94,9 +96,9 @@ uis = [
|
||||||
# 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
|
||||||
|
|
@ -107,17 +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 = [
|
||||||
|
"pytest",
|
||||||
|
]
|
||||||
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue