Skip to content

Linux wheels for 0.0.54 are missing openshell/_proto/*_pb2.py files present in macOS wheel #1705

@emonq

Description

@emonq

Agent Diagnostic

Summary

The Linux wheels for openshell==0.0.54 appear to be missing generated protobuf/gRPC Python files under openshell/_proto/.
The macOS arm64 wheel includes these files, but both Linux wheels do not. This causes the Python package import path to fail on Linux.

Affected version

openshell==0.0.54

Affected wheels

Missing generated proto files:

  • openshell-0.0.54-py3-none-manylinux_2_39_x86_64.whl
  • openshell-0.0.54-py3-none-manylinux_2_39_aarch64.whl

Working / contains generated proto files:

  • openshell-0.0.54-py3-none-macosx_13_0_arm64.whl

Expected behavior

The Linux wheels should include the same generated proto Python files as the macOS wheel, for example:

openshell/_proto/datamodel_pb2.py
openshell/_proto/datamodel_pb2.pyi
openshell/_proto/datamodel_pb2_grpc.py
openshell/_proto/inference_pb2.py
openshell/_proto/inference_pb2.pyi
openshell/_proto/inference_pb2_grpc.py
openshell/_proto/openshell_pb2.py
openshell/_proto/openshell_pb2.pyi
openshell/_proto/openshell_pb2_grpc.py
openshell/_proto/sandbox_pb2.py
openshell/_proto/sandbox_pb2.pyi
openshell/_proto/sandbox_pb2_grpc.py

Actual behavior

The Linux wheels only contain:

openshell/_proto/__init__.py

but openshell/_proto/__init__.py imports generated proto modules:

from . import datamodel_pb2, openshell_pb2

Also, openshell/sandbox.py imports:

from ._proto import (
    inference_pb2,
    inference_pb2_grpc,
    openshell_pb2,
    openshell_pb2_grpc,
)

As a result, importing the package on Linux can fail immediately.

Minimal reproduction

On Linux:

pip install openshell==0.0.54
python - <<'PY'
tests = [
    "openshell",
    "openshell._proto",
    "openshell.sandbox",
]
for name in tests:
    try:
        __import__(name)
        print(name, "OK")
    except Exception as e:
        print(name, type(e).__name__, e)
PY

Expected:

openshell OK
openshell._proto OK
openshell.sandbox OK

Actual on Linux wheel:

openshell ImportError ...
openshell._proto ImportError ...
openshell.sandbox ImportError ...

Wheel file-list diff

The macOS wheel includes the following files that are absent from both Linux wheels:

openshell-0.0.54.dist-info/sboms/openshell-cli.cyclonedx.json
openshell/_proto/datamodel_pb2.py
openshell/_proto/datamodel_pb2.pyi
openshell/_proto/datamodel_pb2_grpc.py
openshell/_proto/inference_pb2.py
openshell/_proto/inference_pb2.pyi
openshell/_proto/inference_pb2_grpc.py
openshell/_proto/openshell_pb2.py
openshell/_proto/openshell_pb2.pyi
openshell/_proto/openshell_pb2_grpc.py
openshell/_proto/sandbox_pb2.py
openshell/_proto/sandbox_pb2.pyi
openshell/_proto/sandbox_pb2_grpc.py

Description

The Linux wheels for openshell==0.0.54 appear to be missing generated protobuf/gRPC Python files under openshell/_proto/.
The macOS arm64 wheel includes these files, but both Linux wheels do not. This causes the Python package import path to fail on Linux.

Reproduction Steps

On Linux:

pip install openshell==0.0.54
python - <<'PY'
tests = [
    "openshell",
    "openshell._proto",
    "openshell.sandbox",
]
for name in tests:
    try:
        __import__(name)
        print(name, "OK")
    except Exception as e:
        print(name, type(e).__name__, e)
PY

Expected:

openshell OK
openshell._proto OK
openshell.sandbox OK

Actual on Linux wheel:

openshell ImportError ...
openshell._proto ImportError ...
openshell.sandbox ImportError ...

Environment

  • OS: Linux
  • OpenShell: 0.0.54

Logs

Agent-First Checklist

  • I pointed my agent at the repo and had it investigate this issue
  • I loaded relevant skills (e.g., debug-openshell-cluster, debug-inference, openshell-cli)
  • My agent could not resolve this — the diagnostic above explains why

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:triage-neededOpened without agent diagnostics and needs triage

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions