Repository navigation
Prepare the first PyPI release, 2.3.0 - #48
Merged
Merged
Conversation
The mcp 1 line carries known advisories. Tools and arguments are unchanged. The SDK now runs sync tools in a worker thread, so the tools that start or cancel background tasks are async: those tasks live on the event loop. Pillow's floor rises to 13.0 because from_bmp parses user files, and the lock moves to patched certifi, cryptography, pyjwt, and urllib3.
pyo3 0.22 and crossbeam-epoch 0.9.18 both have RustSec advisories. The numpy crate had no users and held pyo3 back, so it is gone. pyo3 0.29 needs Rust 1.83.
A v* tag on main now builds the sdist and every wheel, runs each wheel on its own platform, and publishes. Actions are pinned by SHA, the build is --locked, and maturin is one pinned release. TestPyPI and the manual dispatch are gone. README links are absolute so they work on the PyPI project page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gets lineforge ready for its first PyPI release, 2.3.0. Refs #16.
What changed
mcp1 (FastMCP) tomcp>=2.2,<3(MCPServer). The tool names and arguments are the same. The SDK now runs sync tools in a worker thread, sosolve_cgp,solve_lrs,solve_full,sweep, andtasks_cancelare async. Without that, starting a background task raisesno running event loop.pyo30.22 to 0.29 andcrossbeam-epochto 0.9.21. Thenumpycrate had no users and held pyo3 back, so it is gone. MSRV moves to 1.83.certifi,cryptography,pillow,pyjwt, andurllib3. Pillow's floor rises to 13.0 becausefrom_bmpparses user files.v*tag onmainbuilds the sdist and all wheels, runs each wheel on its own platform, then publishes through a trusted publisher. Actions are pinned by SHA, the build is--locked, and maturin is pinned. TestPyPI and the manual dispatch are gone.Checked locally
uvlock:pip-auditfinds no known vulnerabilities (61 before).Cargo.lock: 39 crates, no OSV advisories (6 before).src,crates, and metadata only.cargo test --workspacepasses, and the full pytest suite gives 720 passed, 12 skipped.Checked in this PR's CI
twine check --strictpasses.publishandgithub-releaseare skipped because they only run on a tag.Before tagging
Register the pending publisher in
docs/release/PYPI_TRUSTED_PUBLISHER.md. Thepypienvironment and the "Release tags" ruleset are already set on this repo.