Compare commits

..

No commits in common. "79a426ac7a45b9e1e3a278448490eec34eb0ccf2" and "f2758a62d9b8d81ae1ee79aeab20a65148a17cb8" have entirely different histories.

3 changed files with 32 additions and 66 deletions

View File

@ -2,90 +2,60 @@
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 = [
"trio", "trio",
"async", "async",
"concurrency", "concurrency",
"structured concurrency", "structured concurrency",
"actor model", "actor model",
"distributed", "distributed",
"multiprocessing", "multiprocessing",
] ]
classifiers = [ classifiers = [
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Operating System :: POSIX :: Linux", "Operating System :: POSIX :: Linux",
"Framework :: Trio", "Framework :: Trio",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Topic :: System :: Distributed Computing", "Topic :: System :: Distributed Computing",
] ]
dependencies = [ dependencies = [
# trio runtime and friends "trio>=0.24,<0.25",
# (poetry) proper range specs, "tricycle>=0.4.1,<0.5",
# https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/#id5 "trio-typing>=0.10.0,<0.11",
# TODO, for 3.13 we must go go `0.27` which means we have to "wrapt>=1.16.0,<2",
# disable strict egs or port to handling them internally! "colorlog>=6.8.2,<7",
# trio='^0.27' "pdbp>=1.5.0,<2",
"trio>=0.24,<0.25", "msgspec",
"tricycle>=0.4.1,<0.5",
"trio-typing>=0.10.0,<0.11",
"wrapt>=1.16.0,<2",
"colorlog>=6.8.2,<7",
# built-in multi-actor `pdb` REPL
"pdbp>=1.5.0,<2",
# typed IPC msging
# TODO, get back on release once 3.13 support is out!
"msgspec",
] ]
# ------ project ------
[dependency-groups] [dependency-groups]
dev = [ dev = [
# test suite "pytest>=8.2.0,<9",
# TODO: maybe some of these layout choices? "pexpect>=4.9.0,<5",
# https://docs.pytest.org/en/8.0.x/explanation/goodpractices.html#choosing-a-test-layout-import-rules "greenback>=1.2.1,<2",
"pytest>=8.2.0,<9", "stackscope>=0.2.2,<0.3",
"pexpect>=4.9.0,<5", "xontrib-vox>=0.0.1,<0.0.2",
# `tractor.devx` tooling "prompt-toolkit>=3.0.43,<4",
"greenback>=1.2.1,<2", "xonsh-vox-tabcomplete>=0.5,<0.6",
"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",
"prompt-toolkit>=3.0.43,<4",
"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"
@ -130,9 +100,5 @@ 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 ------

View File

@ -52,7 +52,7 @@ fixable = ["ALL"]
unfixable = [] unfixable = []
# Allow unused variables when underscore-prefixed. # Allow unused variables when underscore-prefixed.
# dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[format] [format]
# Use single quotes in `ruff format`. # Use single quotes in `ruff format`.

View File

@ -1,5 +1,5 @@
version = 1 version = 1
requires-python = ">=3.11" requires-python = ">=3.11, <4"
[[package]] [[package]]
name = "async-generator" name = "async-generator"