Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: temporalio/sdk-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: lyft/sdk-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: lyft-stable-1.26.0
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 11 files changed
  • 2 contributors

Commits on Apr 23, 2026

  1. Add setup.py / setup.cfg shim delegating sdist / bdist_wheel to matur…

    …in (#1)
    
    ## Summary
    
    Adds a minimal **`setup.py` / `setup.cfg`** shim so **`python setup.py
    sdist`** and **`python setup.py bdist_wheel`** delegate to
    **`maturin`**, for build environments that still drive distributions
    through setuptools instead of **`python -m build`**. Canonical build
    metadata remains in **`pyproject.toml`** / **`[tool.maturin]`**.
    
    ## Details
    
    - **`setup.py`**: Custom `sdist` / `bdist_wheel` commands invoke
    `maturin`; if `maturin` is missing, the shim runs **`pip install
    maturin`** for the active interpreter (first-time installs may need
    network access).
    - **Version**: **`1.26.0.post0`** in **`pyproject.toml`** and
    **`setup.cfg`**; **`temporalio.__version__`** remains **`1.26.0`**
    unless aligned in a follow-up.
    - **Metadata**: Project URLs updated to this fork’s GitHub location;
    documentation URL still points at the upstream project docs. Removed the
    **`License :: OSI Approved :: MIT License`** Trove classifier so
    **setuptools ≥69** can merge **`pyproject.toml`** without a PEP 639
    conflict (license remains **`MIT`** in `[project]`).
    - **`.gitignore`**: **`*.egg-info/`** for local `setup.py` / `egg_info`
    runs.
    
    ## How to verify
    
    ```bash
    git submodule update --init --recursive
    export PATH="$HOME/.cargo/bin:$PATH"   # or your Rust install
    python setup.py sdist
    python setup.py bdist_wheel
    serge-wq authored Apr 23, 2026
    Configuration menu
    Copy the full SHA
    bac65fa View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2026

  1. Use PEP 621 table form for project.license (#2)

    ## Summary
    - Replace the PEP 639 shorthand metadata in `pyproject.toml` with the
    older PEP 621 table form.
    serge-wq authored Apr 28, 2026
    Configuration menu
    Copy the full SHA
    b2a8155 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2026

  1. Expose override_origin on Client.connect() to set gRPC :authority hea…

    …der (#3)
    
    ## Summary
    
    - Adds `override_origin: str | None = None` to `Client.connect()` (and
    `CloudOperationsClient.connect()`), wired through `ConnectConfig` →
    Python bridge → Rust Core `ConnectionOptions::override_origin`
    - Sets the HTTP/2 `:authority` pseudo-header on every gRPC call,
    enabling Python workers to connect through an Envoy sidecar that routes
    by `:authority`
    - Achieves feature parity with the Go SDK (`client.Options.HostPort`)
    and Rust Core (`ConnectionOptions::override_origin`)
    
    This is a cherry-pick of the same change from `sergiof/override-origin`
    (targeting upstream `temporalio/sdk-python:main`). After internal
    validation here, we will open the upstream PR.
    
    ## Test plan
    
    - [x] Unit tests:
    `test_connect_config_override_origin_forwarded_to_bridge`,
    `test_connect_config_override_origin_defaults_to_none`
    - [x] Integration test: `test_override_origin_end_to_end` — spins up a
    `grpc.aio` fake WorkflowService, connects with `override_origin` set,
    confirms `GetSystemInfo` is called and standard gRPC metadata is intact
    - [x] Error test: `test_override_origin_invalid_uri_raises` — confirms a
    bad URI string raises `ValueError` before any network call
    - [x] `test_client_connect_config_matches_connect_params` guard passes
    (TypedDict in sync)
    - [ ] Manual validation: deploy a Python worker with
    `override_origin="http://temporal-frontend"` and confirm it connects
    through Envoy to the CloudSec Temporal instance
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
    serge-wq and claude authored Apr 29, 2026
    Configuration menu
    Copy the full SHA
    57dd970 View commit details
    Browse the repository at this point in the history
  2. Bump version to 1.26.0.post1 (#4)

    ## Summary
    - Bumps package version from `1.26.0.post0` to `1.26.0.post1` in
    `pyproject.toml` and `setup.cfg`
    
    Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
    serge-wq and claude authored Apr 29, 2026
    Configuration menu
    Copy the full SHA
    d6cb4ff View commit details
    Browse the repository at this point in the history
Loading