-
-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the Bug
After upgrading django-polymorphic to 4.6.0 or newer we're seeing the following test failures on strawberry-django 0.74.3.
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_paginated_query - AssertionError: 2 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_offset_paginated_query - AssertionError: 3 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_relation - AssertionError: 3 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_nested_list - AssertionError: 3 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_optimizer_hints_polymorphic - AssertionError: 2 queries executed, 4 expected
FAILED tests/node_polymorphism/test_optimizer.py::test_polymorphic_interface_query - AssertionError: 2 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_interface_query - AssertionError: 2 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_abstract_model - AssertionError: 2 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_multiple_inheritance_levels - AssertionError: 2 queries executed, 5 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_abstract_model_on_field - AssertionError: 3 queries executed, 4 expected
FAILED tests/polymorphism/test_optimizer.py::test_polymorphic_query_optimization_working - assert False
System Information
- Operating system: Linux
- Python version: 3.13.11
- Strawberry version (if applicable): n/a
Additional Context
We package strawberry-django in nixpkgs and run the test suite to increase our confidence the package works as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed