Skip to content

sdpb-python 0.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 11:29
· 9 commits to main since this release

Install

pip install sdpb-python --find-links https://github.com/YPWang0818/sdpb-python/releases/expanded_assets/v0.3.0

Wheels for Linux x86_64, CPython 3.10 to 3.13, glibc 2.28 or newer.

Changes since v0.2.1

  • The wheels open no network sockets. The bundled MPICH is now built without a network module. In v0.2.1 and earlier it listened on a random TCP port on all interfaces, and any foreign connection to that port, such as a port scan on a shared server, aborted the running solve with Assertion failed in file .../netmod/tcp/socksm.c.
  • Leaner wheels. SDPB is built with only the libraries the extension uses. The wheels bundle 18 libraries instead of 32 and are 69 MB instead of 75 MB. libarchive, libxml2, OpenSSL, zstd, lz4, bz2, acl and MPSolve are gone.
  • Removed solve_dir and SDPBResult (breaking). solve_dir was the passthrough to SDPB's command line on an sdp/ directory and was the only user of the removed libraries. Build the problem with read_pmp_json or the PMP / LMI classes and call .solve() instead.
  • Building from source needs fewer dependencies: libarchive, libxml2 and MPSolve are no longer required.

Full Changelog: v0.2.1...v0.3.0