wirestead 0.9.2__tar.gz → 0.9.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wirestead-0.9.2 → wirestead-0.9.3}/.github/workflows/release.yml +1 -1
- {wirestead-0.9.2 → wirestead-0.9.3}/.gitignore +13 -3
- {wirestead-0.9.2 → wirestead-0.9.3}/CHANGELOG.md +15 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/PKG-INFO +1 -1
- wirestead-0.9.3/WIRESTEAD_CORE_REF +1 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/docs/compatibility.md +1 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/pyproject.toml +1 -1
- wirestead-0.9.3/src/wirestead/_version.py +1 -0
- wirestead-0.9.3/tests/test_project_metadata.py +63 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/vcpkg.json +1 -1
- wirestead-0.9.2/WIRESTEAD_CORE_REF +0 -1
- wirestead-0.9.2/src/wirestead/_version.py +0 -1
- wirestead-0.9.2/tests/test_project_metadata.py +0 -35
- {wirestead-0.9.2 → wirestead-0.9.3}/.clang-format +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/.cmake-format.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/.github/dependabot.yml +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/.github/pull_request_template.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/.github/workflows/ci.yml +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/.github/workflows/code-formatting.yml +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/.github/workflows/vcpkg-baseline-sync.yml +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/CMakeLists.txt +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/CONTRIBUTING.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/LICENSE +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/NOTICE +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/README.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/VCPKG_BASELINE +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/bindings/python/diagnose_windows_import.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/bindings/python/module.cpp.in +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/cmake/FindOrBuildWiresteadCore.cmake +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/docs/api.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/docs/installation.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/docs/packaging.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/docs/packet-probe-viewer-ipc.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/docs/release.md +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/scripts/consumer_smoke.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/scripts/run_wheel_consumer_smoke.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/scripts/verify.sh +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/src/wirestead/__init__.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/src/wirestead/asyncio.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/src/wirestead/py.typed +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/tests/conftest.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/tests/test_api_surface.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/tests/test_asyncio_uds.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/tests/test_import.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/tests/test_tcp_loopback.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/tests/test_udp_loopback.py +0 -0
- {wirestead-0.9.2 → wirestead-0.9.3}/tests/test_uds_loopback.py +0 -0
|
@@ -277,7 +277,7 @@ jobs:
|
|
|
277
277
|
echo "CIBW_BEFORE_ALL_LINUX=dnf install -y ninja-build zip unzip perl-IPC-Cmd && git init /vcpkg && git -C /vcpkg remote add origin https://github.com/microsoft/vcpkg.git && git -C /vcpkg fetch --depth 1 origin ${sha} && git -C /vcpkg checkout FETCH_HEAD && /vcpkg/bootstrap-vcpkg.sh && /vcpkg/vcpkg install --classic boost-asio boost-system --triplet ${{ matrix.vcpkg_triplet }}" >> "$GITHUB_ENV"
|
|
278
278
|
|
|
279
279
|
- name: Build manylinux wheels
|
|
280
|
-
uses: pypa/cibuildwheel@
|
|
280
|
+
uses: pypa/cibuildwheel@v4.1
|
|
281
281
|
|
|
282
282
|
- name: Inspect manylinux wheel dependencies
|
|
283
283
|
run: |
|
|
@@ -218,6 +218,16 @@ __marimo__/
|
|
|
218
218
|
.streamlit/secrets.toml
|
|
219
219
|
|
|
220
220
|
# agent-rules (local only)
|
|
221
|
-
AGENTS.md
|
|
222
|
-
CLAUDE.md
|
|
223
|
-
GEMINI.md
|
|
221
|
+
/AGENTS.md
|
|
222
|
+
/CLAUDE.md
|
|
223
|
+
/GEMINI.md
|
|
224
|
+
/.agent-rules/bases/
|
|
225
|
+
/.codex/skills/investigate-bug/
|
|
226
|
+
/.claude/skills/investigate-bug/
|
|
227
|
+
/.codex/skills/review-change/
|
|
228
|
+
/.claude/skills/review-change/
|
|
229
|
+
/.codex/skills/validate-change/
|
|
230
|
+
/.claude/skills/validate-change/
|
|
231
|
+
/.codex/skills/prepare-commit/
|
|
232
|
+
/.claude/skills/prepare-commit/
|
|
233
|
+
|
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Wirestead Python are documented in this file.
|
|
4
4
|
|
|
5
|
+
## v0.9.3
|
|
6
|
+
|
|
7
|
+
Release aligned with Wirestead C++ core 0.9.3.
|
|
8
|
+
|
|
9
|
+
No Python API changed. The core it binds to did: sustained throughput on the
|
|
10
|
+
Jetson Orin Nano rose 2.3x to 5.2x on TCP and UDS for payloads from 64 B to
|
|
11
|
+
4 KiB, from draining several queued buffers into one scatter-gather write
|
|
12
|
+
instead of one send syscall per message, and the receive path no longer
|
|
13
|
+
allocates per delivered message. Both reach Python users by rebuilding against
|
|
14
|
+
the newer core; nothing in the binding had to change to pick them up.
|
|
15
|
+
|
|
16
|
+
Core v0.9.3 also collapsed the C++ builder return convention, which is a
|
|
17
|
+
breaking change for C++ callers. The Python binding does not use the builder
|
|
18
|
+
API, so it is unaffected.
|
|
19
|
+
|
|
5
20
|
## v0.9.2
|
|
6
21
|
|
|
7
22
|
Release aligned with Wirestead C++ core 0.9.2.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v0.9.3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.9.3"
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import re
|
|
3
|
+
import runpy
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def test_vcpkg_manifest_matches_package_version():
|
|
10
|
+
package_version = runpy.run_path(
|
|
11
|
+
str(PROJECT_ROOT / "src" / "wirestead" / "_version.py")
|
|
12
|
+
)["__version__"]
|
|
13
|
+
manifest = json.loads((PROJECT_ROOT / "vcpkg.json").read_text(encoding="utf-8"))
|
|
14
|
+
|
|
15
|
+
assert manifest["version-string"] == package_version
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def test_core_ref_is_a_single_tag():
|
|
19
|
+
core_ref = (PROJECT_ROOT / "WIRESTEAD_CORE_REF").read_text(encoding="ascii")
|
|
20
|
+
lines = core_ref.splitlines()
|
|
21
|
+
|
|
22
|
+
assert len(lines) == 1
|
|
23
|
+
assert lines[0] == lines[0].strip()
|
|
24
|
+
assert lines[0].startswith("v")
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def test_vcpkg_baseline_is_a_single_full_commit_sha():
|
|
28
|
+
baseline = (PROJECT_ROOT / "VCPKG_BASELINE").read_text(encoding="ascii")
|
|
29
|
+
lines = baseline.splitlines()
|
|
30
|
+
|
|
31
|
+
assert len(lines) == 1
|
|
32
|
+
assert lines[0] == lines[0].strip()
|
|
33
|
+
# A branch name or short SHA here would silently reintroduce the drift the
|
|
34
|
+
# pin exists to prevent, so require a full 40-character commit SHA.
|
|
35
|
+
assert re.fullmatch(r"[0-9a-f]{40}", lines[0])
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def test_core_ref_matches_the_version_this_release_claims_to_bind():
|
|
39
|
+
"""The pin and the compatibility table have to agree.
|
|
40
|
+
|
|
41
|
+
WIRESTEAD_CORE_REF is what CI actually checks out and builds against, while
|
|
42
|
+
docs/compatibility.md is what users read. Nothing tied them together, so
|
|
43
|
+
0.9.3 shipped a wheel built against the v0.9.2 core while the table claimed
|
|
44
|
+
v0.9.3 - green CI throughout, because every existing check looked at the
|
|
45
|
+
version strings and none looked at the pin.
|
|
46
|
+
"""
|
|
47
|
+
package_version = runpy.run_path(
|
|
48
|
+
str(PROJECT_ROOT / "src" / "wirestead" / "_version.py")
|
|
49
|
+
)["__version__"]
|
|
50
|
+
core_ref = (PROJECT_ROOT / "WIRESTEAD_CORE_REF").read_text(encoding="ascii").strip()
|
|
51
|
+
|
|
52
|
+
table = (PROJECT_ROOT / "docs" / "compatibility.md").read_text(encoding="utf-8")
|
|
53
|
+
rows = dict(
|
|
54
|
+
re.findall(r"^\|\s*([0-9][^|\s]*)\s*\|\s*(v[^|\s]*)\s*\|", table, re.M)
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
assert package_version in rows, (
|
|
58
|
+
f"docs/compatibility.md has no validated-core row for {package_version}"
|
|
59
|
+
)
|
|
60
|
+
assert rows[package_version] == core_ref, (
|
|
61
|
+
f"WIRESTEAD_CORE_REF is {core_ref} but docs/compatibility.md says "
|
|
62
|
+
f"{package_version} was validated against {rows[package_version]}"
|
|
63
|
+
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v0.9.2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.9.2"
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import json
|
|
2
|
-
import re
|
|
3
|
-
import runpy
|
|
4
|
-
from pathlib import Path
|
|
5
|
-
|
|
6
|
-
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
def test_vcpkg_manifest_matches_package_version():
|
|
10
|
-
package_version = runpy.run_path(
|
|
11
|
-
str(PROJECT_ROOT / "src" / "wirestead" / "_version.py")
|
|
12
|
-
)["__version__"]
|
|
13
|
-
manifest = json.loads((PROJECT_ROOT / "vcpkg.json").read_text(encoding="utf-8"))
|
|
14
|
-
|
|
15
|
-
assert manifest["version-string"] == package_version
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def test_core_ref_is_a_single_tag():
|
|
19
|
-
core_ref = (PROJECT_ROOT / "WIRESTEAD_CORE_REF").read_text(encoding="ascii")
|
|
20
|
-
lines = core_ref.splitlines()
|
|
21
|
-
|
|
22
|
-
assert len(lines) == 1
|
|
23
|
-
assert lines[0] == lines[0].strip()
|
|
24
|
-
assert lines[0].startswith("v")
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
def test_vcpkg_baseline_is_a_single_full_commit_sha():
|
|
28
|
-
baseline = (PROJECT_ROOT / "VCPKG_BASELINE").read_text(encoding="ascii")
|
|
29
|
-
lines = baseline.splitlines()
|
|
30
|
-
|
|
31
|
-
assert len(lines) == 1
|
|
32
|
-
assert lines[0] == lines[0].strip()
|
|
33
|
-
# A branch name or short SHA here would silently reintroduce the drift the
|
|
34
|
-
# pin exists to prevent, so require a full 40-character commit SHA.
|
|
35
|
-
assert re.fullmatch(r"[0-9a-f]{40}", lines[0])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|