summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* TST: use POWER8 OpenBLAS for CITyler Reddy2019-04-051-0/+11
|
* DOC: fixes from reviewmattip2019-02-281-1/+1
|
* MAINT: Convert property to @propertyAlex Watt2019-02-241-10/+10
|
* ENH: __array_function__ updates for NumPy 1.17.0Stephan Hoyer2019-01-221-1/+0
| | | | | | | | | | - Always enable __array_function__ overrides. - Remove special cases for Python 2 compatibility. - Document these changes in 1.17.0-notes.rst. It will be good to see ASV numbers to understand the performance implications of these changes. If need be, we can speed up NumPy functions internally by using non-dispatched functions (with ``.__wrapped__``).
* TEST: activate doctests on doc.structured_arrays, fix for pure doc modulemattip2019-01-141-1/+5
|
* ENH: add "max difference" messages to np.testing.assert_array_equal (#12591)Stephan Hoyer2019-01-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | Example behavior: >>> x = np.array([1, 2, 3]) >>> y = np.array([1, 2, 3.0001]) >>> np.testing.assert_allclose(x, y) AssertionError: Not equal to tolerance rtol=1e-07, atol=0 Mismatch: 33.3% Max absolute difference: 0.0001 Max relative difference: 3.33322223e-05 x: array([1, 2, 3]) y: array([1. , 2. , 3.0001]) Motivation: when writing numerical algorithms, I frequently find myself experimenting to pick the right value of `atol` and `rtol` for `np.testing.assert_allclose()`. If I make the tolerance too generous, I risk missing regressions in accuracy, so I usually try to pick the smallest values for which tests pass. This change immediately reveals appropriate values to use for these parameters, so I don't need to guess and check.
* TST: Update `travis-test.sh` for C99Charles Harris2018-12-251-2/+1
| | | | | | | Most of this was already done, but we were still raising an error for declaration after a statement because the Windows Python 2.7 compiler did not allow it. We can fix this now as NumPy >= 1.17 has dropped Python 2.7 support.
* Merge pull request #12589 from charris/fix-changelog-py3kCharles Harris2018-12-211-2/+4
|\ | | | | MAINT: Update changelog.py for Python 3.
| * MAINT: Update changelog.py for Python 3.Charles Harris2018-12-191-2/+4
| | | | | | | | | | | | | | | | - Don't use UTF8Writer in Python 3. - Don't use print() for blank lines. This is left compatible with Python 2 as someone may use it with that version and there is no need to force the change.
* | ENH: refactor __array_function__ pure Python implementationStephan Hoyer2018-12-191-1/+1
|/
* MAINT: include recfunctions moduleTyler Reddy2018-12-141-0/+1
| | | | | | | | | * added lib.recfunctions to refguide PUBLIC_SUBMODULES, as the doctests were otherwise not getting executed * fixed a failing doctest in recfunctions after above activation
* TST, DOC: enable refguide_checkTyler Reddy2018-12-141-0/+951
| | | | | | | | * ported the refguide_check module from SciPy for usage in NumPy docstring execution/ verification; added the refguide_check run to Azure Mac OS CI * adjusted NumPy docstrings such that refguide_check passes
* DEV: remove travis 32 bit chroot job since it is running on azuremattip2018-12-131-51/+0
|
* TST: enable array_func covTyler Reddy2018-12-011-0/+1
| | | | | | * our CI should now report test coverage for the new array_function dispatch protocol
* force python3 in chrootmattip2018-11-011-3/+3
|
* BUILD: use system python3 in the chrootmattip2018-10-311-11/+11
|
* MNT add pickle5 to some python 3.6/7 setups for the CI suitePierre Glaser2018-10-052-0/+14
|
* Merge pull request #11905 from charris/c99-tests-updateCharles Harris2018-09-241-0/+8
|\ | | | | TST: Start testing with "-std=c99" on travisCI.
| * TST: Start testing with "-std=c99" on travisCI.Charles Harris2018-09-071-0/+8
| | | | | | | | | | | | | | [skip appveyor] C99 looks to work with gcc for all the Python versions we currently support. Testing with c99 is a step forward in testing #11888 before it gets merged after we drop Python 2.7 support.
* | BUG: Fix memory leak in pyfragments.swg (#11877)Christopher Pezley2018-09-101-2/+4
|/ | | | | | | | | | | * BUG: Fix memory leak in pyfragments.swg Make sure to Py_DECREF the Py_ArrayDesc created in the definition of SWIG_CanCastAsInteger for long and unsigned long. Fixes #11876 * fixup! BUG: Fix memory leak in pyfragments.swg
* TST: Drop Python 3.4 testingCharles Harris2018-09-011-0/+2
| | | | | | * Drop Python 3.4 testing on travis and appveyor. * Move the DEBUG build to 3.5. * Document dropping 3.4 support in the release notes.
* TST: Update travis testing to use latest virtualenv.Charles Harris2018-09-011-6/+1
| | | | | | The virtualenv version was pinned to 14.0.6, which seems to have started causing test failures on Python 2.7 for some unknown reason. The lastest version is 16.0.0 and that seems to fix the problem.
* TST: add C code line coverage to codecov reportTyler Reddy2018-08-071-0/+24
|
* Merge pull request #11484 from eric-wieser/bump-cython-versionCharles Harris2018-07-311-2/+12
|\ | | | | BUG: Increase required cython version on python 3.7
| * BUG: Increase required cython version on python 3.7Eric Wieser2018-07-291-2/+12
| | | | | | | | Relates to #11483
* | codecov integration. scipy2018 sprint.alyssaq2018-07-182-2/+17
|/
* Prefer the same-python cython to the on-PATH cythonEric Wieser2018-07-051-20/+16
| | | | Before, we did the worst of both worlds, checking the version of one then calling the other.
* MAINT: Use a simpler invocation of cythonEric Wieser2018-07-041-4/+2
| | | | Run it using python -m cython, which works fine even on 0.19
* DOC: Correct issue referenceEric Wieser2018-07-041-1/+1
|
* HTTP -> HTTPS, and other linkrot fixesMike Toews2018-06-161-4/+4
|
* TST: Do not ignore yield warnings in ci testing.Charles Harris2018-04-081-4/+2
|
* TST: Update travis and appveyor to use pytest.Charles Harris2018-04-043-9/+12
| | | | | For the time being, these tests will ignore the flood of deprecated yield test warnings. Fixing those is for another PR.
* TST, DOC: Upload devdocs and neps after circleci build (#10702)Stefan van der Walt2018-03-161-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upload devdocs and neps after build * Install numpydoc * Fix masked array documentation injection `doc_note` appends a `Notes` section to docstrings, which may lead to duplicate sections. * Add deploy key for neps repo Note that we have to explicitly reset the ~/.ssh/config to only leave one SSH key * Only deploy on master branch * Blow away previous dev docs after each upload * Add tool to upload files to remote repo * Remove numpydoc from pip install; it is included as a submodule * Avoid using invalid escape code * Rename repo upload tool * Use check_call to simplify doc pushing tool
* MAINT: Misc small fixes. (#10722)Charles Harris2018-03-101-31/+31
| | | | | | | | | | * MAINT: Replace print statements for Python3. Updates tools/swig/test/testSuperTensor.py. * MAINT: Fix deprecated escaped characters for python 3.6+. Update numpy/linalg/lapack_lite/clapack_scrub.py.
* White spacesMathieu Lamarre2018-02-081-1/+1
|
* Swig tool: Clear CARRAY flag when buffer is not C_CONTIGUOUSMathieu Lamarre2018-02-081-2/+8
| | | | Leave the flag if there's only one non unit dim
* Swig tool: Clear CARRAY flag when setting FARRAYMathieu Lamarre2018-02-081-0/+2
| | | | | | | Otherwise the returned array has both flags, which creates all sorts of confusing runtime behaviors. C_CONTIGUOUS : True F_CONTIGUOUS : True Doesn't cause a crash, but some functions like copy() works in F_CONTIGUOUS others like element wise operators assume C_CONTIGUOUS, obviously this becomes a nightmare to debug.
* Merge pull request #10434 from charris/rename-announce-to-changelogCharles Harris2018-01-181-4/+4
|\ | | | | MAINT: Move `tools/announce.py` to `tools/changelog.py`.
| * MAINT: Update changlog.py docstring.Charles Harris2018-01-181-4/+4
| | | | | | | | [skip ci]
| * MAINT: Move `tools/announce.py` to `tools/changelog.py`.Charles Harris2018-01-181-0/+0
| |
* | MAINT: Update zesty to artful for i386 testingCharles Harris2018-01-171-4/+3
|/ | | | | | The zesty release hit end of life Jan 13, 2018 and it seems that travis ci tests are failing due to a failure to fetch it. This updates to use artful. When the bionic LTS comes out in April, we should update again.
* Added types for int and uint with an explicit size.Mark Harfouche2018-01-121-1/+10
|
* MAINT: Workaround for new travis sdist failures.Charles Harris2017-12-201-0/+3
| | | | See https://github.com/travis-ci/travis-ci/issues/8920 .
* MAINT: Fix tests failures on travis CI merge.Charles Harris2017-12-201-0/+4
| | | | | | Disable "-Wsign-compare" and "-Wunused-result" gcc warnings. These seem to have been enabled by default recently for wheels sdist builds.
* TST: appveyor: Enable OpenBLAS via MinGW Gfortranxoviat2017-09-041-0/+6
|
* MAINT: merge python -3 and -OO testJulian Taylor2017-09-011-7/+2
| | | | They are not worth two seperate slow test runs.
* MAINT: remove -Wsign-compare from warningsJulian Taylor2017-09-011-10/+6
| | | | Too noise and not really worth fixing.
* MAINT: add compiler warning tests to all jobsJulian Taylor2017-09-011-7/+9
| | | | Except the builtin lapack job as that is mostly generated code.
* MAINT: restore compiler warning check to zero warningsJulian Taylor2017-09-011-5/+1
|
* MAINT: Fix alerts from http://lgtm.com (#9292)Jean Helie2017-06-261-29/+23
| | | | | | | * make exception raising 2/3 compatible * remove unnecesary else statement after while loop without break clause * ensure file is always enclosed even in the event of an exception * ensure list comprehension variable does not override enclosing loop variable