Skip to content

Allow more protobuf versions#846

Merged
jakubno merged 3 commits intomainfrom
protobuf-version
Aug 6, 2025
Merged

Allow more protobuf versions#846
jakubno merged 3 commits intomainfrom
protobuf-version

Conversation

@ValentaTomas
Copy link
Copy Markdown
Member

@ValentaTomas ValentaTomas commented Aug 4, 2025

  • Allow protobuf 4.21.0+ (we previously allowed this, and some users in beta require this)
  • Allow protobuf 6.0.0+ (some other users need to use the SDK with the latest versions)

The SDK should work with both of these, but we may want to smoke test it somehow.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 4, 2025

🦋 Changeset detected

Latest commit: 1562938

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@e2b/python-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

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

It doesn't work with 3.20.0, also it's long time outdated https://protobuf.dev/support/version-support/#python

ImportError while loading conftest '/Users/i/e2b/E2B/packages/python-sdk/tests/conftest.py'.
tests/conftest.py:9: in <module>
    from e2b import (
e2b/__init__.py:55: in <module>
    from .sandbox.filesystem.watch_handle import (
e2b/sandbox/filesystem/watch_handle.py:4: in <module>
    from e2b.envd.filesystem.filesystem_pb2 import EventType
e2b/envd/filesystem/filesystem_pb2.py:9: in <module>
    from google.protobuf import runtime_version as _runtime_version
E   ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/Users/i/Library/Caches/pypoetry/virtualenvs/e2b-smSWSkw9-py3.11/lib/python3.11/site-packages/google/protobuf/__init__.py)

@jakubno jakubno merged commit 33b9467 into main Aug 6, 2025
7 checks passed
@jakubno jakubno deleted the protobuf-version branch August 6, 2025 10:27
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.

2 participants