Avasam
Avasam
I thought this wouldn't do anything shipped as a setuptools submodule, but it turns out pyright does understand it as it needs to support `py.typed` in submodules for namespace packages:...
## Summary of changes Close #4822 This Ruff change could and should be brought back to skeleton ### Pull Request Checklist - [N/A] Changes have tests (these are the test...
## Summary of changes 3rd iteration to close #4689 (doesn't solve *everything* mentioned in that issue, but it would greatly reduce the scope so I'd prefer re-opening as a new...
## Summary of changes Closes https://github.com/pypa/setuptools/issues/4689 This is an alternative to https://github.com/pypa/setuptools/pull/4691. This makes type-checkers and editors see `distutils` as basically an alias to `setuptools.` Advantage: - Less maintenance work,...
## Summary of changes Extracted from #4744 with additional fixes ### Pull Request Checklist - [x] Changes have tests (type-checking tests) - [ ] News fragment added in [`newsfragments/`]. _(See...
## Summary of changes Ran `ruff check --select=ANN204 --fix --unsafe-fixes` with `ignore-fully-untyped = true` And ran `ruff check --select=ANN204 --extend-exclude=*/tests --fix --unsafe-fixes` with `ignore-fully-untyped = false` Step 6.3 of https://github.com/pypa/setuptools/issues/2345#issuecomment-1627561833...
## Summary of changes Based on https://github.com/pypa/setuptools/pull/4736, ~~so merge that one first.~~ Done Blocked by setuptools/msvc.py dir methods and properties split off to https://github.com/pypa/setuptools/pull/4755 for easier review Step 6.2 of...
### What's the problem this feature will solve? Type-checkers don't see distutils as available in Python 3.12+ This is already causing us much pain when it comes to type-checking, and...
This doesn't affect Python 3.13 or other OSes. Other Python versions on Windows (3.10, 3.11, 3.12) untested. ```py _____________________________ [mypy] conftest.py ______________________________ [gw0] win32 -- Python 3.9.13 D:\a\setuptools\setuptools\.tox\py\Scripts\python.EXE cls =...