A5rocks
A5rocks
Do you want to contribute a fix? Otherwise I might try to fix this (though I'm not very comfortable with things related to threads...)
I don't quite understand the issue here :P Are you talking about just the formatting? Or the tests themselves. The tests themselves are due to our compatibility window. The formatting...
We probably didn't configure `mypy` to run against a certain python version. We do so for platforms (see `check.sh`) but nothing for python version as far as I can tell...
Good point. BTW I hate that dependabot security alerts are a thing. I'll just close them in the future as they are not worth the hassle. I think we should...
For what it's worth, a friend has used https://gitlab.com/mitchhentges/pip-compile-cross-platform successfully for this exact problem. (Basically that just uses `poetry` to spit out a cross-platform lockfile for pip.......) But that's not...
IIRC hatch doesn't do lockfiles. Poetry does, though I've got mixed feelings about Poetry as a whole. We *do* have a PR open about switching to it, though. And it...
3.12+ has it easy: https://github.com/python/cpython/pull/99247 I'm not sure about before that.
Here's some spooky stuff that works pre-3.12: ```pycon (.venv) PS C:\Users\A5rocks\Documents\trio> ipython Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for...
~~Er, actually, I just realized my approach is way too complicated compared to what it could be: can't we just make the returned wrapper in `enable_ki_protection` `async`?~~ Oh yeah, it'll...
With https://github.com/python-trio/trio/pull/2628 merged, we've moved `trio/tests` to `trio/_tests`. The only question remaining is: is this a good enough layout or do we want to move tests out of the package...