Skip to content

Fix TypeError in RelatedField.get_choices() when to_representation returns unhashable type #2918

Fix TypeError in RelatedField.get_choices() when to_representation returns unhashable type

Fix TypeError in RelatedField.get_choices() when to_representation returns unhashable type #2918

Triggered via pull request June 21, 2026 09:58
Status Failure
Total duration 2m 58s
Artifacts

main.yml

on: pull_request
pre-commit
21s
pre-commit
Test documentation links
29s
Test documentation links
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Python 3.14
Process completed with exit code 1.
Python 3.11
The strategy configuration was canceled because "tests._3_14" failed
Python 3.11
Process completed with exit code 1.
Python 3.13
The strategy configuration was canceled because "tests._3_14" failed
Python 3.13
The operation was canceled.
Python 3.10
The strategy configuration was canceled because "tests._3_14" failed
Python 3.10
The operation was canceled.
Python 3.12
The strategy configuration was canceled because "tests._3_14" failed
Python 3.12
The operation was canceled.
pre-commit
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/