Results 24 issues of layday

# Summary Conditionally defines `has` using `TypeGuard` in Python 3.10+ in the stub file. xref: https://github.com/python-attrs/attrs/issues/987 # Pull Request Check List - [x] Added **tests** for changed code. Our CI...

The latest release introduced the `AttrsInstance` protocol with one attribute, `__attrs_attrs__`, which replaced `Any` in the signature of various core functions. The `__attrs_attrs__` attribute is "injected" by the attrs mypy...

Typing

### Describe the bug The cursor in a search box (`input[type="search"]`) with a two-way value binding jumps to the end when typing in Safari. I don't know my way around...

bug
compiler

The `IsolatedEnv` is made responsible for env creation to allow pip to implement custom env creation logic. ~~`IsolatedEnvBuilder` takes an `IsolatedEnv` class as an argument so that bringing your own...

After #393, our two remaining required dependencies will both be using flit as their build backend. Switching to flit would eliminate two build dependencies (setuptools and wheel) and will simplify...

enhancement
question

Coverage (i.e. tracing) is supposed to slow down execution considerably on PyPy. We could try turning it off for the PyPy tests to see how much of a difference it...

tests

Source distribution and wheel filenames are variable; they encode a variety of information (e.g. platform, Python version, distribution version) which might vary between build invocations. We might want to think...

enhancement

If a user has configured pip to run in `user` mode, it will be unable to install packages in `build`'s isolated environment. See: https://github.com/pypa/packaging-problems/issues/459#issuecomment-786992480.