Skip to content

v0.2.32 — CRITICAL HOTFIX for 0.2.31 (unterminated docstring)

Latest

Choose a tag to compare

@chouswei chouswei released this 07 Jul 10:27

Critical hotfix — 0.2.31 was completely unusable

Fixed

  • memnet/serve_client.py unterminated module docstring. The 0.2.31 client-API documentation update (#2) added closing paragraph text to the module docstring but omitted the closing """, which wrapped from __future__ import annotations and the rest of the module inside the string literal. Every memnet invocation — including memnet --help — raised:
    SyntaxError: unterminated triple-quoted string literal
    
    Closes #9.

Added

  • tests/test_packaging_sanity.pyast.parse's every .py file under src/, imports the top-level memnet/memnet_mcp modules, and walks + imports every submodule of memnet via pkgutil.walk_packages. This class of bug (valid-looking edit, broken at actual import time, never exercised by unit tests that only test individual functions) can no longer ship silently.
  • Pre-publish verification: this release was smoke-tested by installing the built wheel into a clean virtualenv and running import memnet + memnet --help before uploading, not just twine check (which does not execute code).

Action required

If you installed memnet-llm==0.2.31, upgrade immediately:

pip install -U memnet-llm==0.2.32

PyPI: https://pypi.org/project/memnet-llm/0.2.32/