Skip to content

ModuleNotFoundError: No module named 'rsa' #145

Description

@sveneberth

After updating my packages, specifically from google-auth==2.48.0 to google-auth==2.49.1, I'm experiencing the following issue:

Traceback (most recent call last):
  [...]
  File ".../lib/python3.14/site-packages/viur/core/db/cache.py", line 3, in <module>
    from google.appengine.ext.testbed import Testbed
  File ".../lib/python3.14/site-packages/google/appengine/ext/testbed/__init__.py", line 127, in <module>
    from google.appengine.api.app_identity import app_identity_stub
  File ".../lib/python3.14/site-packages/google/appengine/api/app_identity/app_identity_stub.py", line 35, in <module>
    from google.appengine.api.app_identity import app_identity_defaultcredentialsbased_stub as ai_default_stub
  File ".../lib/python3.14/site-packages/google/appengine/api/app_identity/app_identity_defaultcredentialsbased_stub.py", line 31, in <module>
    from google.appengine.api.app_identity import app_identity_stub_base
  File ".../lib/python3.14/site-packages/google/appengine/api/app_identity/app_identity_stub_base.py", line 42, in <module>
    import rsa
ModuleNotFoundError: No module named 'rsa'

The rsa dependency has been removed in google-auth==2.49.1 (googleapis/google-cloud-python@e8927b9), but appengine-python-standard uses the rsa module without it being a direct dependency. With older versions of google-auth, it worked because of the transitive dependency.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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