forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: add
SCIPY_USE_PROPACK
env variable (scipy#16361)
* this is effectively a forward port and modernization of the release branch `PROPACK` shims that were added in scipygh-15432; in short, `PROPACK` + Windows + some linalg backends was causing all sorts of trouble, and this has never been resolved * I've switched to `SCIPY_USE_PROPACK` instead of `USE_PROPACK` for the opt-in, since this was requested, though the change between release branches may cause a little confusion (another release note adjustment to add maybe) * I think the issues are painful to reproduce; for my part, I did the following just to check the proper skipping/accounting of tests: - `SCIPY_USE_PROPACK=1 python dev.py -j 20 -t scipy/sparse/linalg` - `932 passed, 172 skipped, 8 xfailed in 115.57s (0:01:55)` - `python dev.py -j 20 -t scipy/sparse/linalg` - `787 passed, 317 skipped, 8 xfailed in 114.80s (0:01:54)` * why am I doing this now? well, to be frank the process of manually backporting this for each release is error-prone, and may cause additional confusion/debate, which I'd like to avoid. Besides, if it is broken in `main` we may as well have the shims there as well. I would point out that you may want to add `SCIPY_USE_PROPACK` to 1 or 2 jobs in CI? The other reason is that if usage of `PROPACK` spreads, I don't want to be manually applying more skips/shims on each release (which I already had to do here with two new tests it seems)
- Loading branch information
1 parent
2694849
commit c73e088
Showing
5 changed files
with
60 additions
and
1 deletion.
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
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
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