Skip to content

Latest version google-auth-oauthlib 1.2.3 not compatible with latest version of google-auth==2.45.0 #432

@AdanMoraF

Description

@AdanMoraF

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

If you are still having issues, please be sure to include as much information as possible:

Environment details

  • OS type and version: macOS 15.7.1 chip M3
  • Python version: 3.13.9
  • pip version: 25.3
  • google-auth-oauthlib version: 1.2.3

Steps to reproduce

  1. Install requirements.txt with specific dependencies.

Code example

# requirements.txt

google-api-core==2.28.1 ; python_version >= "3.13" and python_version < "4.0"
google-auth-oauthlib==1.2.3 ; python_version >= "3.13" and python_version < "4.0"
google-auth==2.45.0 ; python_version >= "3.13" and python_version < "4.0"

Stack trace

INFO: pip is looking at multiple versions of google-auth-oauthlib to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r ./packages/run_evaluation/requirements.txt (line 18), -r ./packages/run_evaluation/requirements.txt (line 19) and google-auth==2.45.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested google-auth==2.45.0
    google-api-core 2.28.1 depends on google-auth<3.0.0 and >=2.14.1
    google-auth-oauthlib 1.2.3 depends on google-auth<2.42.0 and >=2.15.0

Not sure if this is intended so I'm asking here to know better hoe to approach this dependencies. The previous version google-auth-oauthlib==1.2.2 works with that version.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions