Skip to content

Pipe: pin the call contract shared with dol.Pipe (conformance test) [skip publish] - #134

Merged
thorwhalen merged 1 commit into
masterfrom
pipe-conformance
Nov 23, 2026
Merged

thorwhalen merged 1 commit into
masterfrom
pipe-conformance

Conversation

@thorwhalen

Copy link
Copy Markdown
Member

Refs #97 (option a: keep both Pipes under one contract). This is the i2 side.

  • i2/tests/test_pipe_conformance.py runs the same checks against i2.Pipe and dol.Pipe: composition result, inspect.signature, keyword arguments, a single function, the ValueError on an empty Pipe, pickling, and the two agreeing on the same stages. It is skipped where dol is not installed, because i2 has no dependencies.
  • i2.Pipe's docstring now says when to use which: dol.Pipe for plain composition, i2.Pipe for named, inspectable stages.

The dol side (the mirror test and docstring) is a separate change in dol. i2 tests: 923 pass. [skip publish]

@thorwhalen
thorwhalen merged commit 1aec733 into master Nov 23, 2026
12 checks passed
@thorwhalen
thorwhalen deleted the pipe-conformance branch November 23, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant