Alex Waygood

Results 902 comments of Alex Waygood

Have you created and activated a virtual environment? My and Micha's conclusion from debugging #1639 was that it's not possible on Windows (yet) to use the "trick" where you pretend...

I outlined a cross-platform way of using `uv` in a GitHub Actions workflow here: https://github.com/astral-sh/uv/issues/1386#issuecomment-1952420541

> Yeah, I can do that, but sounds more like a workaround than a solution for the underlying problem 👍 Oh of course. Longer-term we want to have first-class support...

> > Without this, you pay the cost on first import, which is undesirable in various situations. > > Could you elaborate? Whenever you import a `.py` file in Python,...

> as far as I know, no one implements PEP 696 yet. Pyright has implemented PEP 696.

I'm transferring this issue to the python/typing repo, as it's a general discussion that affects authors and users of all type checkers, and there's nothing immediately actionable here for typeshed

> (originally posted at https://discuss.python.org/t/language-specifications-for-strings/21826/1 where it was suggested that this is the right place for this discussion) Sorry for the ping-pong -- this issue really belongs over at the...

I'm supportive of the idea and I'm happy to co-sponsor :) However, I wouldn't want to be the sole sponsor — I haven't written or sponsored a PEP before, so...

> * I remember seeing some grumbling about needing `py.typed` even for single packages, but can't find it now. I've seen this in a few places; I'll also see if...

^I agree with everything @hauntsaninja just said; I also think it would be a real shame to not find a way to solve this for pure-Python file packages