Commit Graph
165 Commits
Author SHA1 Message Date
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
Arvid NorbergandGitHub 621265b9c4 bump chia-rs to 0.46.0 (#21117)
* bump chia_rs to 0.46.0

* support new FullBlock and UnfinishedBlock format

* remove v2 plot filter constants. the v2 plot filter is being replaced
2026-07-29 13:25:58 -05:00
Earle LoweandGitHub 30eaf24b3b downgrade zstd to avoid yanked version (#21177) 2026-07-28 08:54:53 -07:00
Arvid NorbergandGitHub 8878b56ccb bump chia_rs to 0.45.1 (#21068)
* bump chia_rs to 0.45.1

* fix issue in test_spam_message_too_large

* allow a few more warnings that can be triggered because our tests leak aiohttp websocket clients

* fix flaky test: test_transaction_ack_duplicate_without_resend_ignored
2026-07-02 07:47:57 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Earle Lowe
50fc9105f7 build(deps): bump ruff from 0.15.13 to 0.15.16 (#21018)
* build(deps): bump ruff from 0.15.13 to 0.15.16

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.13 to 0.15.16.
- [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.13...0.15.16)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Add PLW0717 too-many-statements-in-try-clause to the ruff ignore list; add fixes for RUF075 and ASYNC119

* targeted ignores for RUF075

* more targeted ignores for RUF075

* some code cleanup

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2026-06-23 09:16:32 -05:00
Arvid NorbergandGitHub b53f6c7942 Bump chia rs 0.45.0 (#20988)
* bump chia_rs to 0.45.0

* support parsing limited lists for rust types, using the new truncate() feature

* use the new, explicit, function to print private keys

* review comment

* review comments

* fix python import
2026-06-09 16:39:53 +01:00
Earle LoweandGitHub bd08dd5352 Type stubs for boto3 and sortedcontainers (#20966)
* Add boto3 stubs and fix typing

* Add sortedcontainers stubs - no code changes required

* cleanup use of asserts
2026-06-03 14:04:39 -05:00
f7682c8a52 Bump aiohttp to 3.14.0 to fix blockchain sync on slow links like Starlink Standby mode (#20967)
* Bump aiohttp to 3.14.0

Require the aiohttp release that fixes false websocket heartbeat timeouts while receiving slow large frames.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix aiohttp websocket typing

Set explicit text decoding on websocket clients so aiohttp 3.14 keeps the existing decoded-message type contract.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix aiohttp typing on Python 3.10

Centralize the decoded websocket type narrowing so aiohttp 3.14 type checks consistently across supported Python versions.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Widen aiohttp websocket type boundary

Let Chia accept aiohttp websocket responses with either text-decoding mode instead of relying on a post-hoc narrowing helper.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Document aiohttp typing cleanup

Note that the widened websocket type boundary can be revisited after Python 3.10 support is dropped.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Test slow websocket frame heartbeat

Cover the aiohttp 3.14 heartbeat reset behavior that keeps large frames alive while bytes continue arriving slowly.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Assert slow frame exceeds heartbeat window

Make the aiohttp websocket regression test prove its throttled frame crosses the heartbeat timeout boundary.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix server test import order

Apply the ruff import ordering fix for the aiohttp websocket regression test.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 10:13:15 -07:00
Earle LoweandGitHub 78264f49ab Add types-colorama and drop mypy ignore for colorama (#20940)
Add types-colorama and remove mypy ignore for colorama imports.
2026-06-02 08:24:11 -05:00
Earle LoweandGitHub b08ee9a0b7 Add types-zstd and drop mypy ignore for zstd (#20938)
Add types-zstd and remove mypy ignore for zstd imports.
2026-06-01 12:21:32 -07:00
Earle LoweandGitHub 81830edb59 Add types-lxml and drop mypy ignore for lxml (#20939)
Add types-lxml and remove mypy ignore for lxml imports.
2026-06-01 08:54:37 -07:00
Earle LoweandGitHub 3c79ec7dae Add types-psutil and drop mypy ignore for psutil (#20941) 2026-05-29 08:04:17 -07:00
Arvid NorbergandGitHub d7afd16321 Bump chia rs 0.44.0 (#20923)
* bump chia_rs

* updates to use and report any error message reported back from chia_rs

* bump test cache

* pass testnet to the proof-of-space functions

* review comments
2026-05-27 12:50:10 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8d2590fbd4 build(deps): bump types-setuptools from 82.0.0.20260210 to 82.0.0.20260518 (#20917)
build(deps): bump types-setuptools

Bumps [types-setuptools](https://github.com/python/typeshed) from 82.0.0.20260210 to 82.0.0.20260518.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-setuptools
  dependency-version: 82.0.0.20260508
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-26 17:22:06 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c1caec48ea build(deps): bump coverage from 7.13.5 to 7.14.0 (#20915)
Bumps [coverage](https://github.com/coveragepy/coveragepy) from 7.13.5 to 7.14.0.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.13.5...7.14.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-26 15:07:23 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8892deba9d build(deps): bump boto3 from 1.42.80 to 1.43.8 (#20921)
Bumps [boto3](https://github.com/boto/boto3) from 1.42.80 to 1.43.8.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.42.80...1.43.8)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.43.6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-26 10:29:45 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3a0925d5cd build(deps): bump packaging from 26.0 to 26.2 (#20853)
Bumps [packaging](https://github.com/pypa/packaging) from 26.0 to 26.2.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/26.0...26.2)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '26.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-22 13:44:51 -05:00
dependabot[bot]andGitHub 30fcc94b6c build(deps): bump pre-commit from 4.5.1 to 4.6.0 (#20861)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.5.1
to 4.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/releases">pre-commit's
releases</a>.</em></p>
<blockquote>
<h2>pre-commit v4.6.0</h2>
<h3>Features</h3>
<ul>
<li><code>pre-commit hook-impl</code>: allow <code>--hook-dir</code> to
be missing to enable easier usage with <code>git</code> 2.54+ git hooks.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3662">#3662</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>pre-commit hook-impl</code>: <code>--hook-type</code> is
required.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3661">#3661</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's
changelog</a>.</em></p>
<blockquote>
<h1>4.6.0 - 2026-04-21</h1>
<h3>Features</h3>
<ul>
<li><code>pre-commit hook-impl</code>: allow <code>--hook-dir</code> to
be missing to enable easier
usage with <code>git</code> 2.54+ git hooks.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3662">#3662</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>pre-commit hook-impl</code>: <code>--hook-type</code> is
required.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3661">#3661</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/f35134b05028ec938ac605ae500fdf95462655d3"><code>f35134b</code></a>
v4.6.0</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/2a51ffcb81f6c8ed2e6467913c3343a8800f3ab9"><code>2a51ffc</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3662">#3662</a>
from pre-commit/hook-impl-optional-hook-dir</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/d7dee322abfc765b042f2e3b872aab3c3a867610"><code>d7dee32</code></a>
make --hook-dir optional for hook-impl</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/965aeb1c680e8b526342153547f0ec014484c63d"><code>965aeb1</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3661">#3661</a>
from pre-commit/hook-impl-required</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/2eacc064aa9b5bb33d3a0d84a234b475e34f3096"><code>2eacc06</code></a>
--hook-type is required for hook-impl</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/f5678bf4ac35cffc0ff7174ad85f7fdc2a5c977e"><code>f5678bf</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3657">#3657</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/054cc5bd6bb1b20faa1eefe09f0de3b68fceee94"><code>054cc5b</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/5c0f3024d2524f6e029a4c333392fd9be9fb27f6"><code>5c0f302</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3652">#3652</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/a5d91142676630f8130020b35e166e0c0e92b8f4"><code>a5d9114</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/129a1f5ca1eaee0c952a5e7a07faae305c5e15bc"><code>129a1f5</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3641">#3641</a>
from pre-commit/mxr-patch-1</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v4.5.1...v4.6.0">compare
view</a></li>
</ul>
</details>
<br />

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk dev-tooling change: updates the optional `pre-commit`
dependency and lockfile without affecting runtime code paths.
> 
> **Overview**
> Updates the optional dev dependency `pre-commit` from `4.5.1` to
`4.6.0` by tightening the version constraint in `pyproject.toml`.
> 
> Regenerates `poetry.lock` to reflect the new `pre-commit` artifact
hashes and updated lock metadata (`content-hash`).
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
888da4aa9f. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-05-22 09:51:48 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
43df2fa580 build(deps): bump types-aiofiles from 25.1.0.20251011 to 25.1.0.20260508 (#20913)
Bumps [types-aiofiles](https://github.com/python/typeshed) from 25.1.0.20251011 to 25.1.0.20260508.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-aiofiles
  dependency-version: 25.1.0.20260508
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-21 22:53:24 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
68c17fdfdf build(deps): bump lxml from 6.0.2 to 6.1.0 (#20825)
Bumps [lxml](https://github.com/lxml/lxml) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-6.0.2...lxml-6.1.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-21 18:30:30 -05:00
dependabot[bot]andGitHub 0e7fa0d2a0 build(deps): bump tach from 0.34.0 to 0.35.0 (#20918)
Bumps [tach](https://github.com/gauge-sh/tach) from 0.34.0 to 0.35.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gauge-sh/tach/releases">tach's
releases</a>.</em></p>
<blockquote>
<h2>v0.35.0</h2>
<h2>What's Changed</h2>
<ul>
<li>drop support for python 3.9 by <a
href="https://github.com/DetachHead"><code>@​DetachHead</code></a> in <a
href="https://redirect.github.com/tach-org/tach/pull/927">tach-org/tach#927</a></li>
<li>migrate the docs site from mkdocs-material to zensical by <a
href="https://github.com/DetachHead"><code>@​DetachHead</code></a> in <a
href="https://redirect.github.com/tach-org/tach/pull/928">tach-org/tach#928</a></li>
<li>fix: report syntax errors as errors, not warnings by <a
href="https://github.com/kimjune01"><code>@​kimjune01</code></a> in <a
href="https://redirect.github.com/tach-org/tach/pull/931">tach-org/tach#931</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/kimjune01"><code>@​kimjune01</code></a>
made their first contribution in <a
href="https://redirect.github.com/tach-org/tach/pull/931">tach-org/tach#931</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tach-org/tach/compare/v0.34.1...v0.35.0">https://github.com/tach-org/tach/compare/v0.34.1...v0.35.0</a></p>
<h2>v0.34.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix exit code 5 false positive when no tests are collected because
they were all skipped by <a
href="https://github.com/DetachHead"><code>@​DetachHead</code></a> in <a
href="https://redirect.github.com/tach-org/tach/pull/921">tach-org/tach#921</a></li>
<li>fix <code>tach test</code> crash caused by the pytest plugin being
registered twice by <a
href="https://github.com/DetachHead"><code>@​DetachHead</code></a> in <a
href="https://redirect.github.com/tach-org/tach/pull/923">tach-org/tach#923</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tach-org/tach/compare/v0.34.0...v0.34.1">https://github.com/tach-org/tach/compare/v0.34.0...v0.34.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tach-org/tach/commit/7e5aa4d18be5d141b3269aaee1e02e9df77862dc"><code>7e5aa4d</code></a>
v0.35.0</li>
<li><a
href="https://github.com/tach-org/tach/commit/d99c2fa36e9ff37ba5e678579e5034c75ffb4232"><code>d99c2fa</code></a>
bump rust toolchain</li>
<li><a
href="https://github.com/tach-org/tach/commit/7aa77395079732003de08404dc5ed36a6e146fe2"><code>7aa7739</code></a>
bump dependencies that require manual bumping</li>
<li><a
href="https://github.com/tach-org/tach/commit/a48707429ba561b0801ff9cd57ba5e9ee69e21ea"><code>a487074</code></a>
Bump the all group with 5 updates</li>
<li><a
href="https://github.com/tach-org/tach/commit/99f65beb69fd7b6225ba386105cc79c128e6dd9d"><code>99f65be</code></a>
fix: report syntax errors as errors, not warnings (<a
href="https://redirect.github.com/gauge-sh/tach/issues/931">#931</a>)</li>
<li><a
href="https://github.com/tach-org/tach/commit/faffe91df517d31c6bb4b667a9b03dd30fb8e7fd"><code>faffe91</code></a>
remove command from <code>fmt-rust</code> that never seemed to be
enforced in CI</li>
<li><a
href="https://github.com/tach-org/tach/commit/592d8d935bf38a78b04dc4adb20cceffa29dda71"><code>592d8d9</code></a>
don't stop CI if one job fails</li>
<li><a
href="https://github.com/tach-org/tach/commit/193eb5a03269516e4dfa4299e7d88fd497708adb"><code>193eb5a</code></a>
remove unnecessary steps from docs jobs</li>
<li><a
href="https://github.com/tach-org/tach/commit/17a295f6040432f1ca656c0b059cab4b43986f07"><code>17a295f</code></a>
zensical</li>
<li><a
href="https://github.com/tach-org/tach/commit/a660d28e04b8c32000d116cf81688b40495ce588"><code>a660d28</code></a>
drop support for python 3.9</li>
<li>Additional commits viewable in <a
href="https://github.com/gauge-sh/tach/compare/v0.34.0...v0.35.0">compare
view</a></li>
</ul>
</details>
<br />

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk dependency bump affecting only the optional dev tooling
(`tach`); main application/runtime behavior is unchanged, with the only
potential impact being dev/CI environments that still use Python 3.9.
> 
> **Overview**
> Bumps the optional *dev-only* dependency `tach` from `0.34.0` to
`0.35.0` in `pyproject.toml`.
> 
> Updates `poetry.lock` for the new `tach` release (including its
metadata now requiring Python `>=3.10`) and regenerates the lockfile
`content-hash`.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
79655279d7. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-05-21 15:02:25 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41c2769636 build(deps): bump cryptography from 46.0.7 to 48.0.0 (#20878)
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.7 to 48.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.7...48.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 48.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-20 11:45:39 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2992553c3d build(deps): bump pip from 26.0.1 to 26.1.1 (#20880)
Bumps [pip](https://github.com/pypa/pip) from 26.0.1 to 26.1.1.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/26.0.1...26.1.1)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: 26.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-19 18:28:46 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
419c391be3 build(deps): bump pyinstaller from 6.19.0 to 6.20.0 (#20857)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 6.19.0 to 6.20.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.19.0...v6.20.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-version: 6.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-19 15:14:43 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ca07df1182 build(deps): bump build from 1.4.2 to 1.5.0 (#20882)
Bumps [build](https://github.com/pypa/build) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.4.2...1.5.0)

---
updated-dependencies:
- dependency-name: build
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-19 09:55:27 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ca67caca32 build(deps): bump types-pyyaml from 6.0.12.20250915 to 6.0.12.20260510 (#20822)
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.12.20250915 to 6.0.12.20260510.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pyyaml
  dependency-version: 6.0.12.20260408
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-18 16:53:42 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1d360f5338 build(deps): bump filelock from 3.25.2 to 3.29.0 (#20839)
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.25.2 to 3.29.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.25.2...3.29.0)

---
updated-dependencies:
- dependency-name: filelock
  dependency-version: 3.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-18 11:29:41 -05:00
Earle LoweandGitHub c32a4a7493 Add Python 3.14 support (#20195)
* First pass add 3.14

* Update bitarray

* Update markupsafe

* Update zstd

* Update tach to version with 3.14 support

* Changes for 3.14 related things

* Refactor shutdown handling in sync method

* Ignore unclosed database ResourceWarning

Added a new warning to ignore for unclosed database resources.

* Update pytest.ini to ignore additional warnings

* ignore resourcewarnings about tempdir cleanup

* Minor cleanup for tests running under python 3.14

* Reduce consensus tests for test_ban_for_mismatched_tx_cost_fee

* make sure to close RPC client at end of test

* different idea for TempFile

* oh, no cleanup function

* small fixes for tests detected by 3.14

* update pytest.ini

* ignore sqlite errors during closing in __del__

* add code to ignore deprecatewarnings for loop policy

* Pass in ClientSession to wschiaconnection for proper cleanup

* Some more resource cleanup

* Trying to find unclosed sessions

* One more time needing a close

* wait for harvesters to connect to the farmer

* properly teardown vdf_server using context manager

* Testing cleanup for simulator tests

* Add in a sleep to allow sockets time to cleanup

* Revert "Testing cleanup for simulator tests"

This reverts commit c5a4ef0cc3.

* Revert "properly teardown vdf_server using context manager"

This reverts commit 18b456a7b6.

* Revert "Revert "Testing cleanup for simulator tests""

This reverts commit 8c8efc2e03.

* vdf_server cleanup

* attempt 47 of timelord cleanup

* Some other cleanup fixes in tests

* yet another attempt at timelord shutdown

* Some more adjustments for 3.14

* ignore unclosed socket resource warnings

* some more adjustments and cleanup

* remove commented code

* correct poetry.lock file

* Address some review comments

* fix merge indentation

* fix install script print

* update requests

* fix problems with timelord tests on 3.14

* Make sure to close dummy session on any exception

* Use different cleanup pattern to help with flakes on Windows

* better shutdown handling

* hopefully better awaiting for cleanup

* yet more better timelord cleanup

* some test adjustments

* more time for cleanup
2026-05-13 09:32:01 -05:00
Arvid NorbergandGitHub 7a745dc1a3 Bump chia_rs to 0.42.1 (#20846)
* bump chia_rs to 0.42.1

* update calls to check_time_locks
2026-05-01 09:41:02 -05:00
Arvid NorbergandGitHub e13a230207 Bump chia_rs to 0.42.0 (#20749)
* bump chia_rs to 0.42.0

* implement cost-per-spend after 3.0 hard fork

* update difficulty

* disable test_empty_sub_slots_epoch for HARD_FORK_3_0 as it seems we don't get any overflow blocks

* cache solve_proof() and get_qualities_for_challenge() results for tests
2026-04-15 09:29:17 -05:00
Zachary BrownandGitHub e8952c3777 Fix mypy 1.20.0 compatibility (#20756)
* Fix mypy 1.20.0 compatibility

mypy 1.20.0 introduces improved type narrowing and stricter enum/dict
inference that breaks the existing codebase. This fixes all 20 errors:

- Remove `types-cryptography` (3.3.23.2): ancient stubs conflict with
  cryptography 46.0.6's own `py.typed` inline types. mypy 1.20.0 now
  resolves enum member annotations from stubs as `str` instead of the
  enum type, causing arg-type errors in SSL code.
- Remove stale `type: ignore` comments made unnecessary by improved
  narrowing (equality checks on unions, dict key membership).
- Add targeted `type: ignore` for new stricter dict union inference
  (bool/int distinction in literals, conditional dict merges).
- Fix pre-existing RUF070 lint errors in touched files.

* Bump mypy to 1.20.0 in poetry.lock

The previous poetry.lock pinned mypy at 1.19.1, so CI was running
the old version despite the code fixes targeting 1.20.0. This updates
the lock file to resolve mypy 1.20.0 (and its runtime dep librt 0.8.1).
2026-04-07 18:26:16 -05:00
Arvid NorbergandGitHub 9aa2baac35 update chia_rs to 0.41.1 (#20714) 2026-03-24 22:59:43 -05:00
Arvid NorbergandGitHub 25c3f0dcab Update chia_rs dependency. (#20700)
* Update chia_rs dependency. This version introduces condition costs in the hard
fork. So the tests that compute block costs are being updated to match these
cost rules. It also introduces a spend limit in the 2.7.0 soft fork, and the
mempool is updated to not produce blocks exceeding this limit.

* ensure both MAX_SPENDS_PER_BLOCK checks are covered by the test
2026-03-20 11:01:52 -05:00
Arvid NorbergandGitHub e10d9aed56 bump chia_rs dependency to 0.40.0 (#20666) 2026-03-17 10:43:37 -05:00
Arvid NorbergandGitHub 383e1d4897 bump chia_rs dependency to 0.39.0 (#20650)
bump chia_rs to 0.39.0
2026-03-13 09:49:56 -05:00
Arvid NorbergandGitHub d5d886b49f [CHIA-3923] Chia rs new pos (#20567)
* update chia_rs dependency with the new ProofOfSpace type. use k-22 for v2 plots in simulator

* use new test cache

* review comments

* update test plots and chains to use k-20 for v2 plots, and only alternate between strength 2 and 3 (not 4)
2026-03-02 10:47:29 -06:00
Earle LoweandGitHub 0125ba2a17 Update zstd to 1.5.7.3 (#20537) 2026-02-20 13:08:10 -06:00
dfc750b159 PoS2 integration [CHIA-3649][CHIA-3657][CHIA-3732][CHIA-3666] (#20414)
* bump chia_rs and make appropriate adjustments. The v2 PoS format has changed. There is no quality proof scan filter
bump test-cache blocks and test-plots

* add support for creating v2 plots in block_tools

* separate test chains into v1-plots, v1- and v2-mixed plots, and v2-only plots (after phase-out)

* (temporarily) disable running some tests with the 3.0 hard fork, until we fix them

* fix test_blockchain.py for the 3.0 hard fork chains

* Now that we have more test chains to run tests over (for PoS2), we'll need more time to run all the tests, on CI.

* remove comment about validating v2 plot cache entries when loading them. We can revisit this if it becomes a problem

* review

* fix tests

* fix long reorg

* readd todo

* remove usless todo

* fix comment

* long_reorg

* assert case exercised

* todo

* bump blocks-and-plots-version

* update lockfile

* fix overflow handling in test helper

* fix

* address cursor comments

* skip a few select tests on CI, to speed it up

---------

Co-authored-by: almogdepaz <almogdepaz@gmail.com>
2026-02-18 17:42:45 -06:00
Arvid NorbergandGitHub fd11d99f50 bump chia_rs to 0.35.2 (#20437) 2026-01-27 13:33:30 -08:00
Arvid NorbergandGitHub b7b3638fcc bump chia_rs to 0.35.1 (#20393) 2026-01-09 12:07:51 -08:00
Arvid NorbergandGitHub 426590feaf bump chia_rs and update uses of RewardChainBlock and SubEpochSummary (#20304) 2025-12-03 10:27:55 -08:00
Matt HauffandGitHub eed4283ec3 [LABS-345] Update hsms to 0.3.2 (#20289)
* Update `hsms` to 0.3.2

* Repin in pyproject.toml

* Remove unintentional changes

* actually undo?
2025-11-21 09:58:36 -08:00
Arvid NorbergandGitHub 5664516dda Bump chia rs 0.34.0 (#20226)
bump chia_rs to 0.34.0
2025-11-10 17:02:10 -07:00
e8f5a17888 python 3.13 support (#19123)
* python 3.13 support

* some more

* 3.13 for dep checks

* more 3.13  *confused*

* fixup

* fixup

* update expected signature in 3.13

* fixup _attach/_detach hinting and testing

* ban freethreading

* Fix trailing comma in list

* replace legacy kw_only_dataclass decorator

* Adjust check for python version

* Remove debugging output

* Use reruns for 3.13+Windows flakes only

* re-lock poetry

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Matt Hauff <quexington@gmail.com>
2025-10-23 15:41:26 -05:00
Arvid NorbergandGitHub 794cce7826 PoS2-prover (#20159)
* bump chia_rs to 0.31.0

* integrate new pos2 API from chia_rs into V2Prover

* fixup test_harvester_api mocking of Prover

* review-comments: rename get_quality() to get_string() on Quality protocol

* reivew comments

* fixup bump chia_rs

* restore quality string to bytes32
2025-10-22 15:40:25 -07:00
Adam KellyandGitHub 550fa6f199 Rename chialisp repo and update dependencies (#20154)
* Rename chialisp repo

* Rename chialisp repo
2025-10-17 06:23:32 -07:00
e947dd14c7 [LABS-244] Remove python 3.9 support (#20099)
* initial changes

* poetry fix

* Address ruff

* Install scripts issues

* Experiment a little bit

* Okay now try for rocky linux and use 3.12 instead

* Remove the now unused thing

* Use dnf for consistency

* Simplify installations

* Still need git

* relock poetry with 2.2.0

* relock poetry with 2.2.0

* try `git checkout main poetry.lock && .penv/bin/poetry lock` on altendky's system

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-10-14 07:19:52 -07:00
8e8db7801e Update to poetry 2.2.0 (#20124)
* Update to poetry 2.2.0

* Update requirements-poetry.txt

Co-authored-by: Kyle Altendorf <sda@fstab.net>

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-10-06 05:29:44 -07:00
Arvid NorbergandGitHub f17dedd5be bump chia_rs dependency (#20023) 2025-09-05 06:31:21 -07:00
52cd1086a7 [CHIA-3593] New solver service (#19938)
* add solver service

* lint

* wire service evrywhear

* prover protocol and v2Prover

* format name

* format

* refactor filename

* tests/raise unimplemented

* add get_filename_str to mock

* rename methods

* rename

* refactor

* improve coverage

* test from bytes

* harvester and farmer v2 support

* solver service, api, rpc

* clenup, add config to tests

* pre-commit

* remove mocks from test

* aync solver, fixtures, tests

* naming

* remove redundant farmer message

* solver fixtures and tests

* change quality_string to quality_chain

* fix service tests, cleanup

* name change, fix comments

* lint

* rename to partial proof

* network protocol test, use ThreadPoolExecutor

* naming and types

* check filter for both plot versions

* update network protocol tests

* more pr comments addressed

* fix rename

* fix network formatting error

* change to Assertion errors

* add todo

* remove strength from SolverInfo

* more pr comments, fix test to catch assertion

* revert strength

* test and comments

* rename to partial proof

---------

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2025-08-22 15:26:09 -07:00