Skip to content

Conversation

@Prinxeeee
Copy link
Contributor

This PR fixes an ImportError when loading data with newer versions of
itsdangerous, where TimedJSONWebSignatureSerializer is no longer available.

The code now falls back to URLSafeTimedSerializer, maintaining backward
compatibility with older itsdangerous versions.

Testing:

  • Verified that running GeoHealthCheck/GeoHealthCheck/models.py no longer raises
    the TimedJSONWebSignatureSerializer ImportError.
  • Further execution fails later due to missing dependencies in the local
    Windows/Python 3.13 environment, which is unrelated to this fix.

Fixes #461

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.

Python error loading data

1 participant