Repository navigation
docs: descriptions set as prose under math-spec's escaping, pinned to the head of energy-models/math-spec#421 - #1565
Merged
Merged
Conversation
… the head of energy-models/mathspec#421 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019d4fAY3RikKY317uerZ2Hc
Merging this PR will not alter performance
Comparing Footnotes
|
…401 stack Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017tCiQ1MTt4jG8X3qNEGNvZ
FBumann
marked this pull request as ready for review
September 9, 2026 14:32
FBumann
enabled auto-merge (squash)
September 10, 2026 06:44
fluxopt-release-bot Bot
added a commit
that referenced
this pull request
Sep 10, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.1-alpha.317](v0.0.1-alpha.316...v0.0.1-alpha.317) (2026-09-10) ### Documentation * descriptions set as prose under math-spec's escaping, pinned to the head of energy-models/math-spec[#421](#421) ([#1565](#1565)) ([5c6b606](5c6b606)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: fluxopt-release-bot[bot] <307443024+fluxopt-release-bot[bot]@users.noreply.github.com>
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.
Note
The following content was generated by AI.
The pin is now the release tag
v0.0.0-alpha.82, which carries the whole five-PR stack for math-spec's issue #401 (#415, #416, #418, #420, #421 — the last squash commit, a2dcee7, is an ancestor of the tag). It replaces the commit37f8b5136f8433a56653c1954d7ffe770902dd40, the head of energy-models/math-spec#421, that this PR pinned while no release contained the stack.lpspec needs no code change. Nothing it imports from math-spec moved; the one consumer-visible change is that math-spec's Markdown typesetter now escapes a
description:the way its LaTeX and Typst formats already did (_,[,],*set as characters, a name in backticks as a code span). So this PR is:pyproject.tomland the three math-spec lines ofuv.locktools.gallery_math,tools.ladder): every changed line is an escape such as'bp\_x'or\[0, 1\]examples/ports/pypsa_cvar.yamlandexamples/ports/pypsa_losses.yaml, because their*and*now sets as literal asterisks (and never set as emphasis in LaTeX or Typst); the same two lines inside the YAML block the gallery pages embed verbatim, which no tool writesAgainst the commit pin the full suite on
mainat 2928e08 was 3754 passed, 251 skipped, 1 xfailed, 2 failed, the two failures being the stale generated pages this PR regenerates.Verified at the tag
uv lockresolves math-spec tov0.0.0a82(commit 140ec94e); locked with uv 0.12.11 so the lock diff is the three math-spec lines only (older uv versions rewrite marker annotations across the file)uv sync --all-extrasuv run python -m tools.gallery_math,uv run python -m tools.ladder,uv run python -m tools.constructs: no page changed against the commit pin, so the tag's tree is the pinned commit's tree for everything lpspec rendersuv run pytest -q -n auto tests/test_models_gallery.py tests/test_pypsa_ladder_page.py tests/test_typeset_gallery.py tests/test_docs_site.py tests/test_ports.py: 612 passed, 14 skipped (the typst binary, and the MILP ports that record no duals)ruff check .,ruff format --check .,pyrefly checkon both configs: clean*and*in the comment ofexamples/symbols/transport.yamland the bold sentence in the hand-written prose ofdocs/examples/pypsa_losses.md, neither being a descriptionThe next math-spec release needs a follow-up in lpspec
math-spec's
mainalready carries #427 (refactor(program): a variable's domain is called domain in the program), which renamesVariableDeclaration.variable_typetodomain. It is not in alpha.82, so this pin is unaffected. lpspec readsvariable_typeinsrc/lpspec/linopy/builder.pyat three sites (two in the variable attach, one in the discrete-variable listing before the solve), and the next math-spec release will need a follow-up in lpspec that renames those reads. Not done here.🤖 Generated with Claude Code
https://claude.ai/code/session_019d4fAY3RikKY317uerZ2Hc
https://claude.ai/code/session_017tCiQ1MTt4jG8X3qNEGNvZ