Skip to content

Occasional issue with startup around josepy #723

@jonespm

Description

@jonespm

We had noticed an issue where startup sometimes fails because of josepy. This happened over the weekend's deploy

AttributeError: partially initialized module 'josepy.jwk' from '/usr/local/lib/python3.13/site-packages/josepy/jwk.py' has no attribute 'JWKOct' (most likely due to a circular import)

It looks like this was a known issue in mozilla-django-oidc which was just fixed in the recently released 5.0.2 version which switches this out. So we should upgrade to that for the next release. This won't be auto-updated since it is a major release and may need more than just a version bump. Also check if a version after 5.0.2 is released to use that when doing this.

mozilla/mozilla-django-oidc#545

Only this app uses this package from the ones we maintain.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

QA-Dev

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions