Files
chia-blockchain/pyproject.toml
T
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Matt
67cdfcda41 build(deps): bump ruff from 0.15.21 to 0.16.0 (#21238)
* build(deps): bump ruff from 0.15.21 to 0.16.0

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.21 to 0.16.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.21...0.16.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* affect changes

* Restrict formtting to chia/tools/benchmarks

* Fix generated protocol files

* more noqa

* network protocol files

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt <quexington@gmail.com>
2026-08-06 09:34:35 -07:00

156 lines
6.6 KiB
TOML

[project]
name = "chia-blockchain"
dynamic = [ "dependencies", "version" ]
description = "Chia blockchain full node, farmer, timelord, and wallet."
requires-python = ">=3.10, <4"
authors = [
{name="Mariano Sorgente", email="mariano@chia.net"}
]
license = "Apache-2.0"
readme = {file = "README.md", content-type = "text/markdown"}
keywords= ["chia", "blockchain", "node"]
homepage = "https://chia.net/"
[tool.poetry]
# see [tool.poetry-dynamic-versioning]
packages = [{ include = "chia"}]
version = "0.0.0"
[project.scripts]
chia = "chia.cmds.chia:main"
chia_daemon = "chia.daemon.server:main"
chia_wallet = "chia.wallet.start_wallet:main"
chia_full_node = "chia.full_node.start_full_node:main"
chia_harvester = "chia.harvester.start_harvester:main"
chia_farmer = "chia.farmer.start_farmer:main"
chia_introducer = "chia.introducer.start_introducer:main"
chia_crawler = "chia.seeder.start_crawler:main"
chia_seeder = "chia.seeder.dns_server:main"
chia_timelord = "chia.timelord.start_timelord:main"
chia_timelord_launcher = "chia.timelord.timelord_launcher:main"
chia_full_node_simulator = "chia.simulator.start_simulator:main"
chia_data_layer = "chia.data_layer.start_data_layer:main"
chia_data_layer_http = "chia.data_layer.data_layer_server:main"
chia_data_layer_s3_plugin = "chia.data_layer.s3_plugin_service:run_server"
chia_solver = "chia.solver.start_solver:main"
[[tool.poetry.source]]
name = "chia"
url = "https://pypi.chia.net/simple/"
priority = "supplemental"
[project.urls]
source = "https://github.com/Chia-Network/chia-blockchain/"
changelog = "https://github.com/Chia-Network/chia-blockchain/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
aiofiles = ">=24.1.0" # Async IO for files
aiohttp = ">=3.14.0" # HTTP server for full node rpc
aiosqlite = ">=0.20.0" # asyncio wrapper for sqlite, to store blocks
anyio = ">=4.6.2.post1"
bitstring = ">=4.1.4" # Binary data management library
boto3 = ">=1.43.8" # AWS S3 for Data Layer S3 plugin
chiabip158 = ">=1.5.2" # bip158-style wallet filters
chiapos = ">=2.0.10" # proof of space
chia-puzzles-py = ">=0.20.1"
chia_rs = ">=0.46.0, <0.47"
chiavdf = ">=1.1.10" # timelord and vdf verification
click = ">=8.1.7" # For the CLI
clvm = ">=0.9.14"
clvm_tools = ">=0.4.9" # Currying Program.to other conveniences
chialisp = ">=0.4.1" # Rust implementation of ChiaLisp compiler
colorama = ">=0.4.6" # Colorizes terminal output
colorlog = ">=6.9.0" # Adds color to logs
concurrent_log_handler = ">=0.9.25" # Concurrently log and rotate logs
cryptography = ">=48.0.0" # Python cryptography library for TLS - keyring conflict
dnslib = ">=0.9.25" # dns lib
dnspython = ">=2.6.1" # Query DNS seeds
filelock = ">=3.29.0" # For reading and writing config multiprocess and multithread safely (non-reentrant locks)
keyring = ">=25.5.0" # Store keys in MacOS Keychain, Windows Credential Locker
packaging = ">=26.2"
pip = ">=26.1.1"
psutil = ">=6.1.0"
pyyaml = ">=6.0.2" # Used for config file format
setproctitle = ">=1.3.3" # Gives the chia processes readable names
setuptools = ">=75.5.0"
sortedcontainers = ">=2.4.0" # For maintaining sorted mempools
typing-extensions = ">=4.12.2" # typing backports like Protocol and TypedDict
watchdog = ">=4.0.1" # Filesystem event watching - watches keyring.yaml
zstd = [
{version=">=1.5.7.2", python = "<3.12"},
{version=">=1.5.7.2", python = ">=3.12", source="chia"},
]
importlib-resources = ">=6.4.5"
hsms = ">=0.3.2"
aiohttp_cors = { version = ">=0.7.0", optional = true }
build = { version = ">=1.5.0", optional = true }
coverage = { version = ">=7.14.0", optional = true }
diff-cover = { version = ">=9.2.0", optional = true }
# TODO: but... keyrings_cryptfile goes 15 minutes without locking while this does in 75 seconds
"keyrings.cryptfile" = { version = ">=1.3.9", optional = true }
mypy = { version = ">=1.11.1", optional = true }
pre-commit = { version = ">=4.6.0", optional = true }
py3createtorrent = { version = ">=1.2.1", optional = true }
pyinstaller = { version = ">=6.20.0", python = "<3.14", optional = true }
pytest = { version = ">=8.3.3", optional = true }
pytest-cov = { version = ">=5.0.0", optional = true }
pytest-mock = { version = ">=3.14.0", optional = true }
pytest-monitor = { version = ">=1.6.6", platform = "linux", optional = true }
pytest-xdist = { version = ">=3.6.1", optional = true }
pytest-rerunfailures = { version = ">=16.1, <17.0", optional = true }
tach = { version = ">=0.35.0", optional = true }
types-aiofiles = { version = ">=25.1.0.20260508", optional = true }
types-pyyaml = { version = ">=6.0.12.20260510", optional = true }
types-setuptools = { version = ">=82.0.0.20260518", optional = true }
types-psutil = { version = ">=7.2.2.20260518", optional = true }
types-lxml = { version = ">=2026.2.16", optional = true }
types-zstd = { version = ">=1.5.7.3.20260408", optional = true }
boto3-stubs = { version = ">=1.43.18", optional = true }
sortedcontainers-stubs = {version = ">= 2.4.3", optional = true }
types-colorama = { version = ">=0.4.15.20260508", optional = true }
lxml = { version = ">=6.1.0", optional = true }
miniupnpc = {version = ">=2.3.2, <3", source = "chia", optional = true}
# big-o = {version = "0.11.0", optional = true}
# numpy = [
# {version="<=1.24.4", python = "<3.10", optional = true},
# {version=">=1.26.4", python = ">=3.10", optional = true}]
ruff = { version = ">=0.16.0", optional = true }
[project.optional-dependencies]
dev = ["aiohttp_cors", "build", "coverage", "diff-cover", "mypy", "pre-commit", "py3createtorrent", "pyinstaller", "pytest", "pytest-cov", "pytest-mock", "pytest-monitor", "pytest-xdist", "pytest-rerunfailures", "ruff", "tach", "types-aiofiles", "types-pyyaml", "types-setuptools", "types-colorama", "types-zstd", "types-lxml", "types-psutil", "boto3-stubs[essential]", "lxml", "sortedcontainers-stubs"]
upnp = ["miniupnpc"]
legacy_keyring = ["keyrings.cryptfile"]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "default-unprefixed"
format-jinja = """
{%- if distance == 0 -%}
{%- if stage is none -%}
{{ base }}
{%- else -%}
{{ base }}-{{stage}}{{revision}}
{%- endif -%}
{%- else -%}
{%- if stage is none -%}
{{ base }}-dev{{ distance }}
{%- else -%}
{{ base }}-{{stage}}{{revision}}.dev{{ distance }}
{%- endif -%}
{%- endif -%}
"""
#format-jinja = """
# {%- if distance == 0 -%}
# {{ serialize_pep440(base, stage, revision) }}
# {%- else -%}
# {{ serialize_pep440(base, stage, revision, dev=distance) }}
# {%- endif -%}
#"""
style = "semver"
bump = true
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"