Add in some dev deps for @goodboy
Namely since i use `xonsh` for a main shell, this includes adding it as well as related tooling. Some other stuff retained from `poetry` days, - add usage-comments around various (optional) deps. - add toml section separator lines. - go with 2-space indent. - add comment on `trio>0.27` needed for py3.13+
parent
3febc61e62
commit
79a426ac7a
|
@ -2,12 +2,14 @@
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
# ------ build-system ------
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "tractor"
|
name = "tractor"
|
||||||
version = "0.1.0a6dev0"
|
version = "0.1.0a6dev0"
|
||||||
description = 'structured concurrent `trio`-"actors"'
|
description = 'structured concurrent `trio`-"actors"'
|
||||||
authors = [{ name = "Tyler Goodlet", email = "goodboy_foss@protonmail.com" }]
|
authors = [{ name = "Tyler Goodlet", email = "goodboy_foss@protonmail.com" }]
|
||||||
requires-python = "~=3.11"
|
requires-python = ">= 3.11"
|
||||||
readme = "docs/README.rst"
|
readme = "docs/README.rst"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
keywords = [
|
keywords = [
|
||||||
|
@ -30,32 +32,60 @@ classifiers = [
|
||||||
"Topic :: System :: Distributed Computing",
|
"Topic :: System :: Distributed Computing",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
# trio runtime and friends
|
||||||
|
# (poetry) proper range specs,
|
||||||
|
# https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/#id5
|
||||||
|
# TODO, for 3.13 we must go go `0.27` which means we have to
|
||||||
|
# disable strict egs or port to handling them internally!
|
||||||
|
# trio='^0.27'
|
||||||
"trio>=0.24,<0.25",
|
"trio>=0.24,<0.25",
|
||||||
"tricycle>=0.4.1,<0.5",
|
"tricycle>=0.4.1,<0.5",
|
||||||
"trio-typing>=0.10.0,<0.11",
|
"trio-typing>=0.10.0,<0.11",
|
||||||
|
|
||||||
"wrapt>=1.16.0,<2",
|
"wrapt>=1.16.0,<2",
|
||||||
"colorlog>=6.8.2,<7",
|
"colorlog>=6.8.2,<7",
|
||||||
|
|
||||||
|
# built-in multi-actor `pdb` REPL
|
||||||
"pdbp>=1.5.0,<2",
|
"pdbp>=1.5.0,<2",
|
||||||
|
|
||||||
|
# typed IPC msging
|
||||||
|
# TODO, get back on release once 3.13 support is out!
|
||||||
"msgspec",
|
"msgspec",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# ------ project ------
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
|
# test suite
|
||||||
|
# TODO: maybe some of these layout choices?
|
||||||
|
# https://docs.pytest.org/en/8.0.x/explanation/goodpractices.html#choosing-a-test-layout-import-rules
|
||||||
"pytest>=8.2.0,<9",
|
"pytest>=8.2.0,<9",
|
||||||
"pexpect>=4.9.0,<5",
|
"pexpect>=4.9.0,<5",
|
||||||
|
# `tractor.devx` tooling
|
||||||
"greenback>=1.2.1,<2",
|
"greenback>=1.2.1,<2",
|
||||||
"stackscope>=0.2.2,<0.3",
|
"stackscope>=0.2.2,<0.3",
|
||||||
|
|
||||||
|
# xonsh usage/integration (namely as @goodboy's sh of choice Bp)
|
||||||
|
"xonsh>=0.19.1",
|
||||||
"xontrib-vox>=0.0.1,<0.0.2",
|
"xontrib-vox>=0.0.1,<0.0.2",
|
||||||
"prompt-toolkit>=3.0.43,<4",
|
"prompt-toolkit>=3.0.43,<4",
|
||||||
"xonsh-vox-tabcomplete>=0.5,<0.6",
|
"xonsh-vox-tabcomplete>=0.5,<0.6",
|
||||||
|
"pyperclip>=1.9.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# TODO, distributed (multi-host) extensions
|
||||||
|
# linux kernel networking
|
||||||
|
# 'pyroute2
|
||||||
|
|
||||||
[tool.hatch.build.targets.sdist]
|
[tool.hatch.build.targets.sdist]
|
||||||
include = ["tractor"]
|
include = ["tractor"]
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
include = ["tractor"]
|
include = ["tractor"]
|
||||||
|
|
||||||
|
# ------ dependency-groups ------
|
||||||
|
|
||||||
[tool.towncrier]
|
[tool.towncrier]
|
||||||
package = "tractor"
|
package = "tractor"
|
||||||
filename = "NEWS.rst"
|
filename = "NEWS.rst"
|
||||||
|
@ -100,5 +130,9 @@ addopts = [
|
||||||
]
|
]
|
||||||
log_cli = false
|
log_cli = false
|
||||||
|
|
||||||
|
# ------ tool.towncrier ------
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
msgspec = { git = "https://github.com/jcrist/msgspec.git" }
|
msgspec = { git = "https://github.com/jcrist/msgspec.git" }
|
||||||
|
|
||||||
|
# ------ tool.uv.sources ------
|
||||||
|
|
Loading…
Reference in New Issue