summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* BUG: KeyboardInterrupt is swallowed all over the placeEric Wieser2017-06-031-2/+2
| | | | Bare except is very rarely the right thing
* ENH: add support for python3.6 memory tracingJulian Taylor2017-04-281-0/+11
| | | | | | | | | Python 3.6 added a private API for tracing arbitrary memory allocations so the tracemalloc module [0] can be used with numpy. closes gh-4663 [0] https://docs.python.org/3/library/tracemalloc.html
* Merge pull request #8695 from charris/remove-unneeded-scriptsCharles Harris2017-03-1221-13888/+0
|\ | | | | MAINT: Remove numpy-macosx-installer and win32build directories.
| * MAINT: Remove numpy-macosx-installer and win32build directories.Charles Harris2017-02-2521-13888/+0
| | | | | | | | | | | | | | | | The scripts in those directories were used to build windows superpacks and mac dmg files. We now release wheels for both of those platforms. There is little overhead maintaining these scripts, but they are clutter and will eventually bit rot if not used for current systems. So remove them.
* | Merge pull request #7862 from pitrou/rewrite_exec_commandJulian Taylor2017-03-111-0/+3
|\ \ | |/ |/| BLD: rewrite np.distutils.exec_command.exec_command()
| * BLD: rewrite np.distutils.exec_command.exec_command()Antoine Pitrou2016-07-251-0/+3
| | | | | | | | | | | | exec_command() is currently a mess of several implementations using outdated Python APIs and various hacks. This rewrites it to use the standard subprocess module. See PR #7614 for previous discussion.
* | MAINT: Refactor tools/find_deprecated_escaped_characters.pyCharles Harris2017-02-251-25/+23
| | | | | | | | Make the code a bit cleaner.
* | MAINT: Fix deprecated escape sequences in tools/Charles Harris2017-02-253-8/+8
| | | | | | | | | | | | Fix the escape sequences deprecated in Python 3.6 found in the tools directory. Note that this does not include the files in tools/swig/tests which are not even Python 3 compatible at this point.
* | ENH: Add tool to check for deprecated escaped characters.Charles Harris2017-02-241-0/+69
| | | | | | | | | | | | | | | | Python 3.6 deprecates a number of escaped characters that were accepted before. For instance, '\(' was previously accepted but must now be written as '\\(' or r'\('. [ci skip]
* | TST: switch to ubuntu yakkety for testingJulian Taylor2017-01-181-9/+13
| | | | | | | | | | newer gcc, python, cython... update eatmydata setting for new paths and earlier usage during chroot setup
* | MAINT: Forward port accumulated changes from the 1.12.0 release.Charles Harris2017-01-151-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | The following files were updated during the NumPy 1.12.0 release - .mailmap - doc/release/1.12.0-notes.rst - tools/announce.py - pavement.py and are forward ported to master by this PR. [ci skip]
* | BUG: Fix author search in announce.pyCharles Harris2016-12-191-10/+12
| | | | | | | | | | | | | | | | | | | | The return from git shortlog -s apparently lacked a final \n which caused the string matching for authors to omit the last listed author. Fixed by using '^' and '$' tokens and string matching in multiline mode. Also fix escape sequences deprecated in Python 3.6. [ci skip]
* | ENH: Improve announce tool.Charles Harris2016-11-041-10/+30
| | | | | | | | | | | | | | - Add ability to get pull request number from Homu auto merges. - Print number of merged pull requests. [ci skip]
* | ENH: Deprecation warnings for `/` integer division when running python -3saurabh2016-11-011-0/+5
| | | | | | | | | | | | When python is invoked with switch -3, it emits waring "classic int division" for strict integer divisions. The same behavior is now implemented to numpy with this fix