From 3ba93468efa832c13cc24a18bddcfe8f39add084 Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 14 Aug 2026 09:38:58 -0400 Subject: [PATCH] Pin `multiaddr` to the merged `wg` codec rev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit py-multiaddr#108 (the `/wg/u` maddr proto) merged upstream on 2026-07-28 as `f86519da`, but ships in no release yet — the latest `0.2.0` predates it by ~4 months and carries no `wg` codec at all. So `examples/multihost/wg_lan/` can't parse its own maddrs off PyPI. Pinned by `rev` and not `branch` so CI stays reproducible. Note the lock now records the git source *instead of* the `>=0.2.0` specifier, i.e. the dep floor above is fully overridden for as long as this pin lives. TODO, drop the pin (and bump that floor) the moment a release carries the codec; the only consumer is the `wg_lan` example set. (this patch was generated in some part by `claude-code` using `claude-opus-5` (`anthropic`)) --- pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 123c4108..e51f3035 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,6 +169,17 @@ sync_pause = {requires-python = ">=3.13, <3.14"} # linux kernel networking # 'pyroute2 +# XXX TEMP, the `/wg/u` maddr proto is MERGED upstream (in +# py-multiaddr#108, 2026-07-28) but is in NO release yet; the +# latest `0.2.0` (2026-03-17) predates the merge by ~4 months. +# Pinned by `rev` (not `branch`) so CI stays reproducible. +# +# Drop this pin (and bump the `multiaddr` dep floor above) the +# moment a release carries the `wg` codec; the only consumer is +# `examples/multihost/wg_lan/`. +# |_https://github.com/multiformats/py-multiaddr/pull/108 +multiaddr = { git = 'https://github.com/multiformats/py-multiaddr.git', rev = 'f86519daaa21699023d0037c58cdff600313dd09' } + # ------ tool.uv.sources ------ [tool.uv]