summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | BUG, TST: Fix python3-dbg bug in Travis scriptgfyoung2016-10-242-5/+33
| | | | | | | | | | | | | | With USE_DEBUG=1, the wrong python was being used to create the virtualenv, meaning that installed packages (e.g. Cython) were being installed to the wrong location.
* | ENH: Improve announce to find github squash-merge commits.Charles Harris2016-10-191-3/+13
| | | | | | | | | | | | | | | | | | | | Currently when the squash-merge button is hit on github, the PR title with "(#PR)" appended is used as the commit message summary line when the merge is fast-forwarded. This PR adds the ability to pick out the corresponding PR numbers from the git log output. Note that github may change this in the future and one early squash merge in the 1.12.0 release did not have the PR number appended.
* | Merge pull request #8111 from charris/add-release-toolCharles Harris2016-10-171-0/+117
|\ \ | | | | | | ENH: Add a tool for release authors and PRs.
| * | ENH: Add a tool for release authors and PRs.Charles Harris2016-10-031-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the script tools/announce.py to generate the author and pull request lists needed in release announcements. Some bits of this are taken from the scipy gh_list.py and authors.py tools. Usage: $ ./tools/announce.py <github_user> <github_password> <revision_range> The output is utf8 rst. [ci skip]
* | | ENH: Vendorize tempita.Charles Harris2016-09-305-16/+1560
|/ / | | | | | | | | | | | | | | | | | | | | Copy tempita from https://github.com/gjhiggins/tempita with a few changes to remove the six dependency. This removes a dependency on Cython's tempita, which is not to be relied on as it is considered by the Cython folks to be an implementation detail. The package is named npy_tempita so that it can always be distinguished from an installed tempita. The cythonize.py script is changed to use the vendorized tempita.
* | MAINT: Add Tempita to randint helpersgfyoung2016-09-201-12/+45
| | | | | | | | | | | | Refactors the randint helpers to use a Tempita template. This will reduce technical debt in the long run.
* | BUG: Assert fromfile ending earlier in pyx processinggfyoung2016-09-191-1/+1
| |
* | DOC: change Numpy to NumPy in remaining filesPierre de Buyl2016-09-064-8/+8
| | | | | | | | the files in doc/ and numpy/ were covered in previous commits
* | TST: Make one 3.5 test run the full test suit.Sebastian Berg2016-09-021-1/+5
|/
* Avoid NPY_ARRAY_F_CONTIGUOUS for numpy < 1.7Jan David Mol2016-06-181-1/+6
| | | numpy API < 1.7 does not support NPY_ARRAY_F_CONTIGUOUS.or PyArray_IS_F_CONTIGUOUS. Supporting old APIs is useful as users tend to ship modern numpy.i files to compile against possibly older numpy installations.
* Fix a false positive OverflowError in Python 3.x when value above 0x7FFFFFF ↵Mathieu Lamarre2016-04-221-7/+14
| | | | | | | | | | | | are passed to a function accepting "unsigned int". This a port of a fix in pyprimtype.swg from which several code snippets where copy pasted into swig/pyfragments.swg. Please see SWIG changes log (2015-12-23) for more details: http://www.swig.org/Release/CHANGES.current 2015-12-23: ahnolds [Python] Fixes for conversion of signed and unsigned integer types ...
* DOC: Fix more typos in docs and comments.Dongjoon Hyun2016-02-252-3/+3
|
* TST: test installing from sdist on TravisCI.Ralf Gommers2016-01-271-1/+14
|
* BUG: fix TravisCI test issues when using setuptools unconditionally.Ralf Gommers2016-01-161-0/+1
| | | | Also remove all mentions of setupegg.py from the documentation.
* TST: make pointer-arith error fatalJulian Taylor2016-01-041-1/+2
| | | | matches windows compiler behavior
* TST: Increase the allowable warning count to 1 for i386 debug test.Charles Harris2016-01-021-2/+4
| | | | | | | | | | | | Cython generated C code contains the number '-2147483648L', which leads to a warning on 32 bit platforms: "Warning: this decimal constant is unsigned only in ISO C90" See the discussion at http://stackoverflow.com/questions/9941261/ The compiled code seems to run correctly despite the warning and if there are problems, they should turn up in the nose testing.
* MAINT: Remove commented out code blocksgfyoung2015-12-202-19/+0
|
* DOC: Use print only as function when print_function is imported from __future__gfyoung2015-12-192-4/+4
| | | | Closes gh-6863.
* STY: Style fixes for .travis.yml and travis-upload-wheel.shCharles Harris2015-12-161-5/+7
| | | | | | | * shell script style fixes inspired by google shell style guide https://google.github.io/styleguide/shell.xml * .travis.yml longline breaking tested with http://yaml-online-parser.appspot.com/
* TST: Clean up travis-test and make it work with current travis ci.Charles Harris2015-12-161-52/+79
| | | | | | | | | | Travis ci is migrating to GCI and the 32 bit tests broke in the process. This cleans up the tools/travis-test script, fixes it for current travis, and changes the 32 bit test to use python 2.7 in order to turn up errors involving python long integers. In preparation for dropping Python 3.2 and 3.3, the USE_DEBUG test is run in the travis ci trusty beta so that python3 defaults to 3.4.
* CI: run benchmark suite in travis-CIPauli Virtanen2015-12-141-0/+11
| | | | | This should ensure the suite stays in working condition, not to produce reliable timing information.
* ENH deploy dev wheels to rackspaceOlivier Grisel2015-12-102-3/+16
|
* MAINT: Include from __future__ boilerplate in some files missing it.Charles Harris2015-12-051-0/+2
| | | | | Some newer *.py files are missing the `from __future__` boilerplate that helps assure Python2 and Python3 compatibility.
* Merge pull request #6726 from ↵Charles Harris2015-11-261-1/+1
|\ | | | | | | | | charris/fix-bugs-exposed-by-relaxed-stride-rollback Fix bugs exposed by relaxed stride rollback
| * TST: Fix travis-ci test for numpy wheels.Charles Harris2015-11-251-1/+1
| |
* | MAINT: enable Werror=vla in travisJulian Taylor2015-11-241-4/+4
|/ | | | avoids issues with stone age compilers like MSVC
* BUG: Fix swig make_fortran function.Charles Harris2015-11-041-1/+1
| | | | | | | | The function was calling PyArray_FromArray with NPY_FORTRANORDER instead of NPY_ARRAY_F_CONTIGUOUS. The first is of type NPY_ORDER and the second is a flag. Closes #6618. [ci skip]
* BUG: Fix use of PyArray_ISFORTRAN in numpy.i.Charles Harris2015-11-011-1/+1
| | | | | | | | | | PyArray_ISFORTRAN was used to implement array_is_fortran in numpy.i when what was wanted was PyArray_IS_F_CONTIGUOUS. The difference is that PyArray_ISFORTRAN will return False if the array is c_contiguous. Previous to relaxed stride checking this did not matter, but currently arrays with ndim > 1 may be both C and Fortran contiguous and that results in errors when PyArray_ISFORTRAN is mistakenly used to check for Fortran contiguity.
* typo in numpy.ijschueller2015-09-021-1/+1
|
* MAINT,TST: Remove Bento from the travis ci testing.Charles Harris2015-08-191-35/+1
|