Marti Raudsepp
Marti Raudsepp
Just pick one part at a time - don't try to do it all in one go 🙂
@sobolevn Are you planning to take a look at the stubtest failures? Looks like something changed about builtin `enum` module `__init__`, but I haven't investigated.
I tried to figure out what's happening with `stubtest` on Python 3.14 * error: `django.db.models.enums.IntegerChoices.__init__` is inconsistent, runtime does not have parameter "x" * error: `django.db.models.enums.IntegerChoices.__init__` is inconsistent, runtime does...
OK, so the `if not MYPY` hack causes assert_type checks to fail. Is there some plugin magic going on? ``` Run uv run mypy --strict tests tests/assert_type/db/models/test_enums.py:292: error: Expression is...
Indeed, this was changed in DRF-stubs in * #686 Looks like DRF passes the `choices=` argument to `to_choices_dict()`, which would just iterate over items of the enum. https://github.com/encode/django-rest-framework/blob/a7d050f5b3388ed9dc69c7770fdbd9654d4639ae/rest_framework/fields.py#L119 So, either...
As a work-around, you can also use quoted type hints, e.g. ```python def foo() -> "RawQuerySet[MyModel]": return MyModel.objects.raw("SELECT id FROM my_model") ``` or alternatively, add `from __future__ import annotations` to...
Something that I would find extremely useful in output is a summary of what is expanding my repository size. I couldn't care less about some extra megabytes per snapshot, but...
Indeed, this is caused by: * #15 Deserves to be fixed, but I haven't found the motivation to work on `ego` recently. ~~FWIW, PipeWire is not affected by this.~~
Oh OK, I must be mistaken then.
Thanks for the detailed report! I haven't had much time to improve ego recently, but one of these days I hope to get back to it. > libnotify-WARNING **: 13:53:41.092:...