Skip to content

slimrpc pypackage incompatible with slim-bindings~=1.0 #1211

@codyhartsook

Description

@codyhartsook

Version
slim-bindings==1.0
slim-bindings==1.1

Platform
Darwin CHARTSOO-M-WHJK 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:56 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6041 arm64

Description

All published pypi versions of slimrpc seem to be incompatible with Python slim-bindings >= 1.0 due to a breaking API rename introduced in slim-bindings 1.0.0.

I tried the following import:

pip install slim-bindings==1.0.0 "slimrpc>=0.2.0"
python -c "import slimrpc"

I expected to see: slimrpc imports successfully.

Instead, the following import error occurred:

File "slimrpc/common.py", line 106, in <module>
    ) -> Tuple[slim_bindings.IdentityProvider, slim_bindings.IdentityVerifier]:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'slim_bindings' has no attribute 'IdentityProvider'. Did you mean: 'IdentityProviderConfig'?

slimrpc 0.2.0 is the only version whose dependency specifier (>=0.7.1, unbounded) allows slim-bindings 1.0 to be installed, but it fails at import time. slimrpc 0.2.1 pins slim-bindings ~=0.7.1, so it will not resolve at all alongside slim-bindings 1.0.

This also affects downstream consumer slima2a (0.2.1-0.2.2)

A new slimrpc release referencing the renamed APIs would resolve the issue. Alternatively, backward-compatible aliases in a future slim-bindings release would preserve compatibility with existing consumers.

Please let me know if I have imported something incorrectly or if compiling slimrpc ourselves is the preferred approach to using slimrpc pypi.

It looks like there is an open PR to introduce slimrpc 0.2.2: #1117, will review if this fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions