From 6dd4f85ce15629b01151adcbdeb0592a4b6ae36a Mon Sep 17 00:00:00 2001 From: Gavin Ying Date: Sun, 15 Nov 2026 11:30:16 +0800 Subject: [PATCH] chore: release modpoll-wot 0.7.0a3, modpoll 2.0.0a14 and modsim 2.0.0a16 --- docs/guide/installation.md | 10 +++++----- packages/modpoll-wot/pyproject.toml | 2 +- packages/modpoll/README.md | 2 +- packages/modpoll/docs/preview-notes.md | 8 +++++++- packages/modpoll/pyproject.toml | 4 ++-- packages/modsim/README.md | 2 +- packages/modsim/docs/preview-notes.md | 8 +++++++- packages/modsim/modsim/__init__.py | 2 +- packages/modsim/pyproject.toml | 4 ++-- .../modsim/tests/fixtures/io-module/generated.json | 2 +- uv.lock | 6 +++--- 11 files changed, 31 insertions(+), 19 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index de2a6a5..4c4b421 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -5,9 +5,9 @@ This site describes the 2.x preview. The three tools need Python 3.10 or later a Windows PowerShell. ```bash -uv tool install --prerelease allow "modpoll==2.0.0a13" -uv tool install --prerelease allow "modsim==2.0.0a15" -uv tool install --prerelease allow "modpoll-wot==0.7.0a2" +uv tool install --prerelease allow "modpoll==2.0.0a14" +uv tool install --prerelease allow "modsim==2.0.0a16" +uv tool install --prerelease allow "modpoll-wot==0.7.0a3" ``` Modbus RTU support (pyserial) is included in modpoll since 2.0.0a12. For existing CSV installations use @@ -30,7 +30,7 @@ package ships `py.typed`. The preview images run without a local installation and show the tool version by default: ```bash -docker run --rm topmaker/modpoll:2.0.0a13 +docker run --rm topmaker/modpoll:2.0.0a14 ``` The stable `latest` tag stays on 1.x. To read a local configuration file, mount its folder into the container. @@ -38,6 +38,6 @@ On Linux, host networking connects the container to a simulator on the host; `-d tables: ```bash -docker run --rm --network host -v "$(pwd)/examples:/app/examples:ro" topmaker/modpoll:2.0.0a13 \ +docker run --rm --network host -v "$(pwd)/examples:/app/examples:ro" topmaker/modpoll:2.0.0a14 \ modpoll -d --tcp 127.0.0.1 --tcp-port 5020 --config /app/examples/modsim.tm.json ``` diff --git a/packages/modpoll-wot/pyproject.toml b/packages/modpoll-wot/pyproject.toml index bf35201..5a1e342 100644 --- a/packages/modpoll-wot/pyproject.toml +++ b/packages/modpoll-wot/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "modpoll-wot" -version = "0.7.0a2" +version = "0.7.0a3" description = "Shared WoT Modbus configuration interpreter" authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }] readme = "README.md" diff --git a/packages/modpoll/README.md b/packages/modpoll/README.md index 1782b56..033a02d 100644 --- a/packages/modpoll/README.md +++ b/packages/modpoll/README.md @@ -8,7 +8,7 @@ A command-line tool that reads Modbus TCP and RTU devices from a W3C WoT Thing M MQTT and writes verification reports. v1 CSV configurations keep working. ```bash -uv tool install --prerelease allow "modpoll==2.0.0a13" +uv tool install --prerelease allow "modpoll==2.0.0a14" modpoll --once --tcp 192.168.1.10 --config device.tm.json ``` diff --git a/packages/modpoll/docs/preview-notes.md b/packages/modpoll/docs/preview-notes.md index c7f7b98..4cf5e63 100644 --- a/packages/modpoll/docs/preview-notes.md +++ b/packages/modpoll/docs/preview-notes.md @@ -1,4 +1,10 @@ -# Modpoll 2.0.0a13 preview +# Modpoll 2.0.0a14 preview + +Modpoll 2.0.0a14 pins modpoll-wot 0.7.0a3 and moves its documentation to the shared site for modpoll, modsim +and modpoll-wot at . The `--upload` help names saved reports +`report-DATE.json`. Nothing else changes. + +## Modpoll 2.0.0a13 preview Modpoll 2.0.0a13 pins modpoll-wot 0.7.0a2 and writes verification report schema 5: diff --git a/packages/modpoll/pyproject.toml b/packages/modpoll/pyproject.toml index c1dd7db..8e04c26 100644 --- a/packages/modpoll/pyproject.toml +++ b/packages/modpoll/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "modpoll" -version = "2.0.0a13" +version = "2.0.0a14" description = "A New Command-line Tool for Modbus and MQTT" authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }] readme = "README.md" @@ -12,7 +12,7 @@ dependencies = [ "requests>=2.32.5,<3.0.0", # Modbus RTU works out of the box; pyserial is pure Python and installs everywhere. "pyserial>=3.5,<4.0", - "modpoll-wot==0.7.0a2", + "modpoll-wot==0.7.0a3", ] [project.optional-dependencies] diff --git a/packages/modsim/README.md b/packages/modsim/README.md index 49d1be0..fb2fa49 100644 --- a/packages/modsim/README.md +++ b/packages/modsim/README.md @@ -4,7 +4,7 @@ A Modbus device simulator for integration and testing. It runs a device from a W data, over Modbus TCP or a virtual serial port, and runs several devices on one listener from a deployment file. ```bash -uv tool install --prerelease allow "modsim==2.0.0a15" +uv tool install --prerelease allow "modsim==2.0.0a16" modsim --config device.tm.json --port 5020 ``` diff --git a/packages/modsim/docs/preview-notes.md b/packages/modsim/docs/preview-notes.md index 3809885..910ac5e 100644 --- a/packages/modsim/docs/preview-notes.md +++ b/packages/modsim/docs/preview-notes.md @@ -1,4 +1,10 @@ -# Modsim 2.0.0a15 preview +# Modsim 2.0.0a16 preview + +Modsim 2.0.0a16 pins modpoll-wot 0.7.0a3. Its documentation moved to the shared site for modpoll, modsim and +modpoll-wot at , which is also its PyPI documentation link. It changes +nothing in the simulator. + +## Modsim 2.0.0a15 preview Modsim 2.0.0a15 pins modpoll-wot 0.7.0a2, which adds verification report schema 5 with identity results. It changes nothing in the simulator. diff --git a/packages/modsim/modsim/__init__.py b/packages/modsim/modsim/__init__.py index 2ca1ba6..33944fc 100644 --- a/packages/modsim/modsim/__init__.py +++ b/packages/modsim/modsim/__init__.py @@ -1 +1 @@ -__version__ = "2.0.0a15" +__version__ = "2.0.0a16" diff --git a/packages/modsim/pyproject.toml b/packages/modsim/pyproject.toml index 3dfd898..197c20c 100644 --- a/packages/modsim/pyproject.toml +++ b/packages/modsim/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "modsim" -version = "2.0.0a15" +version = "2.0.0a16" description = "A Simple Modbus TCP Device Simulator used for modpoll tool" authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }] readme = "README.md" @@ -8,7 +8,7 @@ requires-python = ">=3.10,<4.0" dependencies = [ "pymodbus~=3.16.1", "pyserial>=3.5,<4.0", - "modpoll-wot==0.7.0a2", + "modpoll-wot==0.7.0a3", "jsonschema>=4.21,<5", "PyYAML>=6,<7", ] diff --git a/packages/modsim/tests/fixtures/io-module/generated.json b/packages/modsim/tests/fixtures/io-module/generated.json index d8911f6..c7ce7f8 100644 --- a/packages/modsim/tests/fixtures/io-module/generated.json +++ b/packages/modsim/tests/fixtures/io-module/generated.json @@ -3,7 +3,7 @@ "source_sha256": "4c2aee3334faf6622f4ee34a23108fa0ec100a6b3110a78200eee79da8935596", "generator": { "package": "modpoll-wot", - "version": "0.7.0a2" + "version": "0.7.0a3" }, "instance": { "host": "127.0.0.1", diff --git a/uv.lock b/uv.lock index fa9471b..170f28b 100644 --- a/uv.lock +++ b/uv.lock @@ -1161,7 +1161,7 @@ wheels = [ [[package]] name = "modpoll" -version = "2.0.0a13" +version = "2.0.0a14" source = { editable = "packages/modpoll" } dependencies = [ { name = "modpoll-wot", marker = "python_full_version < '3.15'" }, @@ -1207,7 +1207,7 @@ dev = [ [[package]] name = "modpoll-wot" -version = "0.7.0a2" +version = "0.7.0a3" source = { editable = "packages/modpoll-wot" } dependencies = [ { name = "jsonschema", marker = "python_full_version < '3.15'" }, @@ -1239,7 +1239,7 @@ dev = [ [[package]] name = "modsim" -version = "2.0.0a15" +version = "2.0.0a16" source = { editable = "packages/modsim" } dependencies = [ { name = "jsonschema", marker = "python_full_version < '3.15'" },