-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Windows distutils cdist/pdist shims (#18169)
* MAINT: Windows distutils cdist/pdist shims * the `out` and weight parameter input validation for `cdist`/`pdist` fails in a very narrow set of scenarios on Windows--only if you use the old `distutils`-based build system (on Azure) and only in the context of the broader testsuite (not if you select the test individually with `pytest ... -k "..."` it seems) * so, on Windows only, add temporary Python-based guards for the `out` / `w` parameters, to compensate for the mysterious failure to `raise` within `pybind11` machinery; the comments should suffice to remove this later--I'm sure we'll grep for `distutils` when we do the purge from that build system * deal with linter complaints about old-school type hints --------- Co-authored-by: peterbell10 <peterbell10@live.co.uk>
- Loading branch information
1 parent
2397d2f
commit a72a392
Showing
2 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters