Skip to content

Release v0.4.0#7

Merged
lchoquel merged 1 commit into
mainfrom
release/v0.4.0
Jul 6, 2026
Merged

Release v0.4.0#7
lchoquel merged 1 commit into
mainfrom
release/v0.4.0

Conversation

@lchoquel

@lchoquel lchoquel commented Jul 6, 2026

Copy link
Copy Markdown
Member

Release v0.4.0

Bumps version from 0.3.0 to 0.4.0.

Changelog

[v0.4.0] - 2026-07-06

Changed

  • Dropped Python 3.10 support (breaking). The minimum supported Python is now 3.11, matching the mthds>=0.8.1 base. requires-python is now >=3.11,<3.15, and the 3.10 leg is removed from the CI lint/test matrices. Deleted the pipelex_sdk._compat StrEnum/Self backport shim and dropped the backports.strenum dependency (and its mypy override) — StrEnum now imports directly from the stdlib enum. (Migration: run on Python 3.11 or newer.)
  • Bumped the mthds dependency from >=0.7.1 to >=0.8.1.
  • Bumped the dev-only pytest constraint to >=9.0.3 (from >=8.0.0,<9.0.0) and moved its pyproject.toml config from [tool.pytest.ini_options] to the newer [tool.pytest] table with minversion = "9.0", matching mthds-python.

Summary by cubic

Requires Python 3.11+ and aligns with mthds>=0.8.1; removes the pipelex_sdk._compat shim and updates CI/tooling. This is a breaking change for 3.10 users.

  • Dependencies

    • requires-python set to >=3.11,<3.15; removed backports.strenum.
    • Bumped mthds to >=0.8.1.
    • Dev: pytest>=9.0.3 (moved config to [tool.pytest] with minversion = "9.0"), pyright==1.1.411.
  • Migration

    • Run on Python 3.11 or newer.
    • Replace from pipelex_sdk._compat import StrEnum with from enum import StrEnum (and use typing.Self directly if needed).

Written for commit a1c3145. Summary will update on new commits.

Review in cubic

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@greptile-apps

greptile-apps Bot commented Jul 6, 2026

Copy link
Copy Markdown

Greptile Summary

This PR releases pipelex-sdk v0.4.0 and moves the package to a Python 3.11+ baseline. The main changes are:

  • Bumps the package version, mthds, pytest, pyright, and the lockfile.
  • Removes Python 3.10 from package metadata and CI matrices.
  • Deletes the local compatibility shim and imports StrEnum from the stdlib.
  • Updates release, CI, changelog, and contributor docs for the new support range.

Confidence Score: 5/5

Safe to merge with minimal risk.

The changes are a coherent release and Python baseline update. CI matrices, package metadata, stdlib imports, and dependency updates are aligned. No runtime, workflow, or security issues were identified.

No files require special attention.

T-Rex T-Rex Logs

What T-Rex did

  • Executed a smoke proof to validate the release runtime environment, confirming Python 3.11.6, package versions, and a clean SMOKE_OK with exit code 0.
  • Validated runtime behavior by running focused tests; 44 tests passed with exit code 0.
  • Performed static analysis verification, and Ruff passed with exit code 0.
  • Generated an executable smoke script named release_runtime_smoke.py for quick validation in future runs.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
pyproject.toml Bumps the release version, Python requirement, dependency constraints, and pytest configuration for pytest 9.
uv.lock Refreshes the lockfile for the Python 3.11 floor and updated runtime/dev dependencies.
.github/workflows/lint-check.yml Removes Python 3.10 from the lint/type-check matrix in line with the new package floor.
.github/workflows/tests-check.yml Removes Python 3.10 from the test matrix in line with the new package floor.
pipelex_sdk/client.py Switches timeout handling to the built-in TimeoutError, appropriate for the Python 3.11+ baseline.
pipelex_sdk/runs.py Imports StrEnum directly from the Python 3.11 stdlib.
pipelex_sdk/product_models.py Imports StrEnum directly from the Python 3.11 stdlib.
pipelex_sdk/validation_models.py Imports StrEnum directly from the Python 3.11 stdlib.

Sequence Diagram

%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Release as v0.4.0 Release
participant Metadata as pyproject.toml
participant Lock as uv.lock
participant CI as GitHub Actions
participant SDK as pipelex_sdk modules

Release->>Metadata: "Set version 0.4.0 and Python >=3.11"
Metadata->>Lock: "Resolve mthds>=0.8.1 and dev tool updates"
Release->>CI: Remove Python 3.10 matrix leg
Release->>SDK: Delete _compat shim
SDK->>SDK: Import StrEnum from enum directly
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Release as v0.4.0 Release
participant Metadata as pyproject.toml
participant Lock as uv.lock
participant CI as GitHub Actions
participant SDK as pipelex_sdk modules

Release->>Metadata: "Set version 0.4.0 and Python >=3.11"
Metadata->>Lock: "Resolve mthds>=0.8.1 and dev tool updates"
Release->>CI: Remove Python 3.10 matrix leg
Release->>SDK: Delete _compat shim
SDK->>SDK: Import StrEnum from enum directly
Loading

Reviews (1): Last reviewed commit: "Release v0.4.0" | Re-trigger Greptile

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 14 files

Re-trigger cubic

@lchoquel lchoquel merged commit 83b3fbe into main Jul 6, 2026
21 of 22 checks passed
@lchoquel lchoquel deleted the release/v0.4.0 branch July 6, 2026 21:38
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