-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CIs error on deprecation warning (#708)
* Raise errors for DeprecationWarnings during CI tests * Remove ez_setup.py The version here [generates deprecations](https://app.circleci.com/jobs/github/usnistgov/fipy/2031) and [ez_setup.py itself is deprecated](pypa/setuptools#581) * Change "FORTRAN" array ordering to 'F' Missed in #707 * Update from deprecated Pysparse API This stuff was deprecated [ages ago](https://sourceforge.net/p/pysparse/git/ci/241a05d7a6e5f0f8ae28c53ac79a2111fe2d7cc0/) * Switch from itsolvers classes to krylov functions The itsolvers classes aren't written right (e.g., `solve()` doesn't return anything) and don't encapsulate anything we care about. The `krylov` calls are set up the way we expect. * Raise errors for DeprecationWarnings only in test suite Raising errors for all of `python setup.py test` causes errors for deprecations in things we don't control, like versioneer. * Use legacy absolute tolerance for scipy Krylov solvers Avoid DeprecationWarning * Introduce specialized TestProgram to throw Deprecation errors In Py3k, TestProgram makes it very hard to change DeprecationWarnings into errors. [TestProgram gives all warnings an action of `default`](https://github.com/python/cpython/blob/master/Lib/unittest/main.py#L84) which causes [TestRunner to clobber our DeprecationWarning filter](https://github.com/python/cpython/blob/master/Lib/unittest/runner.py#L167) (passing any other action to TestProgram just causes that action to clobber instead) * Force Py27 builds on Visual Studio 2015 scikit-fmm (and maybe others) needs VC++ 9.0 https://help.appveyor.com/discussions/problems/26278-organization-build-fails-because-vc-90-is-not-present * Choose appropriate build environment [Exclude unwanted build configurations](https://www.appveyor.com/docs/build-configuration/#exclude-configuration-from-the-matrix)
- Loading branch information
Showing
15 changed files
with
58 additions
and
312 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include *.rst | ||
include ez_setup.py | ||
# include MANIFEST MANIFEST.in *.rst | ||
|
||
recursive-include documentation *.rst | ||
|
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.