Skip to content

Upgrading google-api-core 1 to 2

Breaking1.34.1 → 2.43.2Breaking2Platform4Deprecated1New18Changed13Fixed21Other5

BreakingUpgrade verdict

2 breaking changes and 4 platform requirement changes.

  • This version no longer works on Python 3.9, so users on that version must upgrade Python.
  • This version no longer works on Python 3.7, 3.8 or 3.9, so you need a newer Python to use it.
  • The package now needs Python 3.10 or newer and grpcio 1.59.0 or newer.
  • This version needs a newer version of the Protobuf library to be installed.
Top 5 of 7 that need code or config changes

Python requirement changed in 2.31.0: >=3.7 → >=3.10.

Adds opentelemetry-api <2.0.0,>=1.44.0, proto-plus <2.0.0,>=1.26.1.

Installs 16 packages in all (was 13).

Breaking2
Drops support for Python 3.9.
Drops Python 3.7-3.9 support for the firestore package and regenerates the client.
Platform4
Bumps grpcio to 1.59.0 and requires Python 3.10+.
grpcio
Requires Protobuf 6.33.5 or newer.
Declares support for Python 3.15.
Declares support for Python 3.15.
Deprecated1
Adds a deprecation warning for grpcio versions below 1.83.0 for PQC.
grpcio