Skip to content

Exclude yanked grpcio 1.78.1 and move grpcio-tools to dev dependencies#115

Merged
iwillspeak merged 3 commits intomainfrom
copilot/revert-pubsub-version
Mar 2, 2026
Merged

Exclude yanked grpcio 1.78.1 and move grpcio-tools to dev dependencies#115
iwillspeak merged 3 commits intomainfrom
copilot/revert-pubsub-version

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

grpcio 1.78.1 was yanked from PyPI due to a critical upstream bug (grpc/grpc#41725). This excludes the yanked version while allowing consumers to automatically pick up a fixed upstream release once available.

Changes

  • pyproject.toml: Added grpcio>=1.78.0,!=1.78.1,<2.0.0 as a runtime dependency (excludes the yanked 1.78.1, compatible with future fixes)
  • pyproject.toml: Moved grpcio-tools to the dev dependency group (it is only needed for protobuf compilation, not at runtime) with the same >=1.78.0,!=1.78.1,<2.0.0 constraint
  • uv.lock: Regenerated to reflect the updated dependency constraints
Original prompt

This section details on the original issue you should resolve

<issue_title>Revert PubSub version after Upstream Yank</issue_title>
<issue_description>1.78.1 version was "yanked" from PyPI because of a critical issue grpc/grpc#41725.

As discussed in #109 . We should revert back to 1.78.0 and wait for the upstream fix. </issue_description>

<agent_instructions>Implement the package downgrade as discussed in this issue. </agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: iwillspeak <1004401+iwillspeak@users.noreply.github.com>
Copilot AI changed the title [WIP] Revert PubSub version to 1.78.0 after yank Pin grpcio and grpcio-tools to 1.78.0 (revert yanked 1.78.1) Mar 2, 2026
Copy link
Contributor

@iwillspeak iwillspeak left a comment

Choose a reason for hiding this comment

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

LGTM

@iwillspeak iwillspeak marked this pull request as ready for review March 2, 2026 12:27
@iwillspeak iwillspeak enabled auto-merge (squash) March 2, 2026 12:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Pins grpcio / grpcio-tools to avoid installing yanked grpcio 1.78.1 (yanked due to upstream bug), keeping the client usable until an upstream fix is available.

Changes:

  • Add explicit grpcio==1.78.0 and tighten grpcio-tools to ==1.78.0 in pyproject.toml.
  • Regenerate uv.lock to reflect the 1.78.0 artifacts and updated project dependency metadata.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Pins grpcio and grpcio-tools to 1.78.0 in project dependencies.
uv.lock Updates lock entries and project requires-dist to match the pinned versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

snus-kin
snus-kin previously approved these changes Mar 2, 2026
@iwillspeak
Copy link
Contributor

@copilot implement the two suggestions from code revew. Move the package do dev dependencies and switch the pin to a more graceful != filter.

Co-authored-by: iwillspeak <1004401+iwillspeak@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 2, 2026

@copilot implement the two suggestions from code revew. Move the package do dev dependencies and switch the pin to a more graceful != filter.

Done in b0f7742:

  • grpcio changed to >=1.78.0,!=1.78.1,<2.0.0 (avoids the yanked version while allowing future fixes to be picked up)
  • grpcio-tools moved from runtime dependencies to the dev group with the same constraint (it's only needed for protobuf compilation)

Copilot AI changed the title Pin grpcio and grpcio-tools to 1.78.0 (revert yanked 1.78.1) Exclude yanked grpcio 1.78.1 and move grpcio-tools to dev dependencies Mar 2, 2026
@iwillspeak iwillspeak enabled auto-merge (squash) March 2, 2026 14:51
@iwillspeak iwillspeak requested review from Copilot and snus-kin March 2, 2026 14:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@iwillspeak iwillspeak merged commit 4fd580f into main Mar 2, 2026
15 checks passed
@iwillspeak iwillspeak deleted the copilot/revert-pubsub-version branch March 2, 2026 16:24
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.

Revert GRPC version after Upstream Yank

5 participants