Skip to content

Commit 68772a2

Browse files
committed
Merge branch 'master' of https://github.com/numpy/numpy
* 'master' of https://github.com/numpy/numpy: (384 commits) BUG: fix MANIFEST.in for removal of a file in numpygh-8047. DOC: Release notes for Numpy 1.10.2. MAINT: remove useless files with outdated info from repo root and doc/. MAINT: fix mistake in doc upload rule TST: attempt to make test_load_refcount deterministic BUG: Fix for numpy#6569, allowing build_ext --inplace TST: Added regression test empty percentile, in ref to numpy#6530 and numpy#6553 TST: Added tests for empty partition and argpartition BUG: revert view safety checks TST: Remove tests of view safety checks (see next commit) BUG: Revert some import * fixes in f2py. BUG: Fixed partition errors on empty input. Closes numpy#6530 DOC: import "numpy for matlab users" from the wiki DOC: reorganize user guide a bit + import "tentative numpy tutorial" from wiki DOC: remove placeholders and incompleteness warnings MAINT: minor update to "make upload" doc build command. BUG: error in broadcast_arrays with as_strided array BUG: fix inner() by copying if needed to enforce contiguity DOC: clarify usage of 'argparse' return value. BUG: Make median work for empty arrays (issue numpy#6462) ...
2 parents 046311a + f428bce commit 68772a2

File tree

362 files changed

+23902
-14765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

362 files changed

+23902
-14765
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ numpy/core/src/umath/umath_tests.c
142142
numpy/distutils/__config__.py
143143
numpy/linalg/umath_linalg.c
144144
doc/source/reference/generated
145+
benchmarks/results
146+
benchmarks/env
147+
benchmarks/numpy
145148
# cythonized files
146149
cythonize.dat
147150
numpy/random/mtrand/mtrand.c

.mailmap

Lines changed: 104 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,111 @@
11
# Prevent git from showing duplicate names with commands like "git shortlog"
2-
# # See the manpage of git-shortlog for details.
3-
# # The syntax is:
4-
# # Name that should be used <email that should be used> Bad name <bad email>
5-
# #
6-
# # You can skip Bad name if it is the same as the one that should be used, and is unique.
7-
# #
8-
# # This file is up-to-date if the command git log --format="%aN <%aE>" | sort -u
9-
# # gives no duplicates.
2+
# See the manpage of git-shortlog for details.
3+
# The syntax is:
4+
# Name that should be used <email that should be used> Bad name <bad email>
5+
#
6+
# You can skip Bad name if it is the same as the one that should be used, and is unique.
7+
#
8+
# This file is up-to-date if the command git log --format="%aN <%aE>" | sort -u
9+
# gives no duplicates.
1010

11-
Nathaniel J. Smith <njs@pobox.com> njsmith <njs@pobox.com>
12-
Ralf Gommers <ralf.gommers@googlemail.com> rgommers <ralf.gommers@googlemail.com>
13-
Christoph Gohlke <cgohlke@uci.edu> cgholke <?@?>
11+
Aaron Baecker <abaecker@localhost> abaecker <abaecker@localhost>
12+
Abdul Muneer <abdulmuneer@gmail.com> abdulmuneer <abdulmuneer@gmail.com>
13+
Albert Jornet Puig <albert.jornet@ic3.cat> jurnix <albert.jornet@ic3.cat>
14+
Alex Griffing <argriffi@ncsu.edu> alex <argriffi@ncsu.edu>
15+
Alex Griffing <argriffi@ncsu.edu> argriffing <argriffi@ncsu.edu>
16+
Alex Griffing <argriffi@ncsu.edu> argriffing <argriffing@gmail.com>
17+
Alex Griffing <argriffi@ncsu.edu> argriffing <argriffing@users.noreply.github.com>
18+
Alexander Belopolsky <abalkin@enlnt.com> Alexander Belopolsky <a@enlnt.com>
19+
Amir Sarabadani <ladsgroup@gmail.com> amir <ladsgroup@gmail.com>
20+
Anne Archibald <peridot.faceted@gmail.com> aarchiba <peridot.faceted@gmail.com>
21+
Anže Starič <anze.staric@gmail.com> astaric <anze.staric@gmail.com>
22+
Aron Ahmadia <aron@ahmadia.net> ahmadia <aron@ahmadia.net>
23+
Behzad Nouri <behzadnouri@gmail.com> behzad nouri <behzadnouri@gmail.com>
24+
Benjamin Root <ben.v.root@gmail.com> Ben Root <ben.v.root@gmail.com>
25+
Benjamin Root <ben.v.root@gmail.com> weathergod <?@?>
26+
Brett R Murphy <bmurphy@enthought.com> brettrmurphy <bmurphy@enthought.com>
27+
Bryan Van de Ven <bryanv@continuum.io> Bryan Van de Ven <bryan@Laptop-3.local>
28+
Bryan Van de Ven <bryanv@continuum.io> Bryan Van de Ven <bryan@laptop.local>
29+
Carl Kleffner <cmkleffner@gmail.com> carlkl <cmkleffner@gmail.com>
30+
Chris Burns <chris.burns@localhost> chris.burns <chris.burns@localhost>
1431
Christoph Gohlke <cgohlke@uci.edu> Christolph Gohlke <cgohlke@uci.edu>
32+
Christoph Gohlke <cgohlke@uci.edu> cgholke <?@?>
1533
Christoph Gohlke <cgohlke@uci.edu> cgohlke <cgohlke@uci.edu>
16-
Ondřej Čertík <ondrej.certik@gmail.com> Ondrej Certik <ondrej.certik@gmail.com>
34+
Christopher Hanley <chanley@gmail.com> chanley <chanley@gmail.com>
35+
Daniel J Farrell <danieljfarrel@me.com> danieljfarrell <danieljfarrel@me.com>
36+
Daniel Müllner <Daniel Müllner muellner@math.stanford.edu> Daniel <muellner@localhost.localdomain>
37+
Daniel Müllner <Daniel Müllner muellner@math.stanford.edu> dmuellner <Daniel Müllner muellner@math.stanford.edu>
38+
Daniel da Silva <mail@danieldasilva.org> Daniel da Silva <daniel@meltingwax.net>
39+
Daniel da Silva <mail@danieldasilva.org> Daniel da Silva <var.mail.daniel@gmail.com>
40+
David Huard <david.huard@gmail.com> dhuard <dhuard@localhost>
41+
David M Cooke <cookedm@localhost> cookedm <cookedm@localhost>
42+
David Ochoa <ochoadavid@gmail.com> ochoadavid <ochoadavid@gmail.com>
43+
Derek Homeier <derek@astro.physik.uni-goettingen.de> Derek Homeier <dhomeie@gwdg.de>
44+
Derek Homeier <derek@astro.physik.uni-goettingen.de> Derek Homeir <derek@astro.phsik.uni-goettingen.de>
45+
Derek Homeier <derek@astro.physik.uni-goettingen.de> Derek Homier <derek@astro.physik.uni-goettingen.de>
46+
Egor Zindy <ezindy@gmail.com> zindy <ezindy@gmail.com>
47+
Ernest N. Mamikonyan <ernest.mamikonyan@gmail.com> mamikony <ernest.mamikonyan@sig.com>
48+
Evgeny Toder <evgeny.toder@jpmorgan.com> eltjpm <evgeny.toder@jpmorgan.com>
49+
Fernando Perez <Fernando.Perez@berkeley.edu> Fernando Perez <fperez@fperez.org>
50+
Gael Varoquaux <gael.varoquaux@normalesup.org> GaelVaroquaux <gael.varoquaux@normalesup.org>
51+
Giuseppe Venturini <ggventurini@users.noreply.github.com> ggventurini <ggventurini@users.noreply.github.com>
52+
Han Genuit <hangenuit@gmail.com> 87 <hangenuit@gmail.com>
53+
Han Genuit <hangenuit@gmail.com> Han <hangenuit@gmail.com>
54+
Han Genuit <hangenuit@gmail.com> hangenuit@gmail.com <hangenuit@gmail.com>
55+
Hanno Klemm <hanno.klemm@maerskoil.com> hklemm <hanno.klemm@maerskoil.com>
56+
Jaime Fernandez <jaime.frio@gmail.com> Jaime <jaime.frio@gmail.com>
57+
Jaime Fernandez <jaime.frio@gmail.com> Jaime Fernandez <jaime.fernandez@hp.com>
58+
Jaime Fernandez <jaime.frio@gmail.com> jaimefrio <jaime.frio@gmail.com>
59+
Jarrod Millman <millman@berkeley.edu> Jarrod Millman <jarrod.millman@gmail.com>
60+
Jay Bourque <jay.bourque@continuum.io> jayvius <jay.bourque@continuum.io>
61+
Jerome Kelleher <jerome.kelleher@ed.ac.uk> jeromekelleher <jerome.kelleher@ed.ac.uk>
62+
Johannes Schönberger <hannesschoenberger@gmail.com> Johannes Schönberger <jschoenberger@demuc.de>
63+
Julian Taylor <juliantaylor108@gmail.com> Julian Taylor <jtaylor.debian@googlemail.com>
64+
Julian Taylor <juliantaylor108@gmail.com> Julian Taylor <juliantaylor108@googlemail.com>
65+
Lars Buitinck <larsmans@gmail.com> Lars Buitinck <L.J.Buitinck@uva.nl>
66+
Lars Buitinck <larsmans@gmail.com> Lars Buitinck <l.buitinck@esciencecenter.nl>
67+
Luis Pedro Coelho <luis@luispedro.org> Luis Pedro Coelho <lpc@cmu.edu>
68+
Mark DePristo <mdepristo@synapdx.com> markdepristo <mdepristo@synapdx.com>
1769
Mark Wiebe <mwwiebe@gmail.com> Mark <mwwiebe@gmail.com>
70+
Mark Wiebe <mwwiebe@gmail.com> Mark Wiebe <mwiebe@continuum.io>
1871
Mark Wiebe <mwwiebe@gmail.com> Mark Wiebe <mwiebe@enthought.com>
1972
Mark Wiebe <mwwiebe@gmail.com> Mark Wiebe <mwiebe@georg.(none)>
20-
Han Genuit <hangenuit@gmail.com> Han <hangenuit@gmail.com>
73+
Martin Goodson <martingoodson@gmail.com> martingoodson <martingoodson@gmail.com>
74+
Martin Teichmann <martin.teichmann@xfel.eu> Martin Teichmann <lkb.teichmann@gmail.com>
75+
Mattheus Ueckermann <empeeu@yahoo.com> empeeu <empeeu@yahoo.com>
76+
Michael Droettboom <mdboom@gmail.com> mdroe <mdroe@localhost>
77+
Nathaniel J. Smith <njs@pobox.com> njsmith <njs@pobox.com>
78+
Nicolas Scheffer <nicolas.scheffer@sri.com> Nicolas Scheffer <scheffer@speech.sri.com>
79+
Ondřej Čertík <ondrej.certik@gmail.com> Ondrej Certik <ondrej.certik@gmail.com>
80+
Pat Miller <patmiller@localhost> patmiller <patmiller@localhost>
81+
Paul Ivanov <pi@berkeley.edu> Paul Ivanov <paul.ivanov@local>
82+
Paul Jacobson <hpj3@myuw.net> hpaulj <hpj3@myuw.net>
83+
Pearu Peterson <pearu.peterson@gmail.com> Pearu Peterson <pearu@pearu-laptop.(none)>
84+
Peter J Cock <p.j.a.cock@googlemail.com> peterjc <p.j.a.cock@googlemail.com>
85+
Pierre GM <pierregmcode@gmail.com> pierregm <pierregm@localhost>
86+
Pierre GM <pierregmcode@gmail.com> pierregm <pierregmcode@gmail.com>
87+
Prabhu Ramachandran <prabhu@localhost> prabhu <prabhu@localhost>
88+
Ralf Gommers <ralf.gommers@gmail.com> Ralf Gommers <ralf.gommers@googlemail.com>
89+
Ralf Gommers <ralf.gommers@gmail.com> rgommers <ralf.gommers@googlemail.com>
90+
Ritta Narita <narittan@gmail.com> RittaNarita <narittan@gmail.com>
91+
Robert Kern <rkern@enthought.com> Robert Kern <robert.kern@gmail.com>
92+
Robert LU <robberphex@gmail.com> RobberPhex <robberphex@gmail.com>
93+
Russell Hewett <rhewett@mit.edu> rhewett <rhewett@mit.edu>
94+
Ryan Blakemore <rbtnet@gmail.com> ryanblak <rbtnet@gmail.com>
95+
Sam Preston <j.sam.preston@gmail.com> jspreston <j.sam.preston@gmail.com>
96+
Saullo Giovani <saullogiovani@gmail.com> saullogiovani <saullogiovani@gmail.com>
97+
Sebastian Berg <sebastian@sipsolutions.net> seberg <sebastian@sipsolutions.net>
98+
Stefan van der Walt <stefanv@berkeley.edu> Stefan van der Walt <sjvdwalt@gmail.com>
99+
Stefan van der Walt <stefanv@berkeley.edu> Stefan van der Walt <stefan@sun.ac.za>
100+
Thomas A Caswell <tcaswell@gmail.com> Thomas A Caswell <tcaswell@bnl.gov>
101+
Thomas A Caswell <tcaswell@gmail.com> Thomas A Caswell <tcaswell@bnl.gov>
102+
Tim Cera <tim@cerazone.net> tim cera <tcera@sjrwmd.com>
103+
Tom Poole <t.b.poole@gmail.com> tpoole <t.b.poole@gmail.com>
104+
Travis Oliphant <travis@continuum.io> Travis E. Oliphant <teoliphant@gmail.com>
105+
Travis Oliphant <travis@continuum.io> Travis Oliphant <oliphant@enthought.com>
106+
Valentin Haenel <valentin@haenel.co> Valentin Haenel <valentin.haenel@gmx.de>
107+
Warren Weckesser <warren.weckesser@enthought.com> Warren Weckesser <warren.weckesser@gmail.com>
108+
Wendell Smith <wendellwsmith@gmail.com> Wendell Smith <wackywendell@gmail.com>
109+
William Spotz <wfspotz@sandia.gov@localhost> wfspotz@sandia.gov <wfspotz@sandia.gov@localhost>
110+
Åsmund Hjulstad <ahju@statoil.com> Åsmund Hjulstad <asmund@hjulstad.com>
111+
Óscar Villellas Guillén <oscar.villellas@continuum.io> ovillellas <oscar.villellas@continuum.io>

.travis.yml

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,57 @@
11
# After changing this file, check it on:
22
# http://lint.travis-ci.org/
33
language: python
4+
5+
# Run jobs on container-based infrastructure, can be overridden per job
6+
sudo: false
7+
8+
# Travis whitelists the installable packages, additions can be requested
9+
# https://github.com/travis-ci/apt-package-whitelist
10+
addons:
11+
apt:
12+
packages: &common_packages
13+
- gfortran
14+
- libatlas-dev
15+
- libatlas-base-dev
16+
# Speedup builds, particularly when USE_CHROOT=1
17+
- eatmydata
18+
19+
cache:
20+
directories:
21+
- $HOME/.cache/pip
22+
423
python:
524
- 2.6
625
- 2.7
726
- 3.2
827
- 3.3
28+
- 3.4
29+
- 3.5
930
matrix:
1031
include:
1132
- python: 3.3
1233
env: USE_CHROOT=1 ARCH=i386 DIST=trusty PYTHON=3.4
34+
sudo: true
35+
addons:
36+
apt:
37+
packages:
38+
- *common_packages
39+
- debootstrap
1340
- python: 3.2
1441
env: USE_DEBUG=1
42+
addons:
43+
apt:
44+
packages:
45+
- *common_packages
46+
- python3-dbg
47+
- python3-dev
48+
- python3-nose
1549
- python: 2.7
16-
env: NPY_SEPARATE_COMPILATION=0 PYTHON_OO=1
17-
- python: 3.4
18-
env: NPY_RELAXED_STRIDES_CHECKING=0
19-
- python: 2.7
20-
env: USE_BENTO=1
50+
env: NPY_RELAXED_STRIDES_CHECKING=0 PYTHON_OO=1
2151
- python: 2.7
2252
env: USE_WHEEL=1
53+
- python: 2.7
54+
env: PYTHONOPTIMIZE=2
2355
before_install:
2456
- uname -a
2557
- free -m
@@ -31,13 +63,12 @@ before_install:
3163
# We therefore control our own environment, avoid travis' numpy
3264
- virtualenv --python=python venv
3365
- source venv/bin/activate
34-
- pip install nose
35-
# pip install coverage
3666
- python -V
3767
- pip install --upgrade pip setuptools
68+
- pip install nose
69+
# pip install coverage
3870
# Speed up install by not compiling Cython
3971
- pip install --install-option="--no-cython-compile" Cython
40-
- sudo apt-get install -qq libatlas-dev libatlas-base-dev gfortran
4172
- popd
4273

4374
script:

BENTO_BUILD.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.

COMPATIBILITY

Lines changed: 0 additions & 59 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ through our
2121
[development workflow](http://docs.scipy.org/doc/numpy-dev/dev/gitwash/development_workflow.html)
2222

2323
Either way, please be sure to follow our
24-
[convention for commit messages](http://docs.scipy.org/doc/numpy-dev/dev/gitwash/development_workflow.html).
24+
[convention for commit messages](http://docs.scipy.org/doc/numpy-dev/dev/gitwash/development_workflow.html#writing-the-commit-message).
2525

26+
If you are writing new C code, please follow the style described in
27+
``doc/C_STYLE_GUIDE``.
2628

29+
Suggested ways to work on your development version (compile and run
30+
the tests without interfering with system packages) are described in
31+
``doc/source/dev/development_environment.rst``.

DEV_README.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

INSTALL.txt

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -152,38 +152,6 @@ is broken). gcc 4.4 will hopefully be able to run natively.
152152
This is the only tested way to get a numpy with a FULL blas/lapack (scipy
153153
does not work because of C++).
154154

155-
Carl Kleffner's mingw-w64 toolchain
156-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157-
158-
Carl Kleffner has been working on mingw-w64 / OpenBLAS support and has put
159-
together toolchains for that option. The toolchains are available at
160-
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads. The site.cfg
161-
should be configured like so:
162-
163-
[openblas]
164-
libraries = openblaspy
165-
library_dirs = <openblaspath>/lib
166-
include_dirs = <openblaspath>/include
167-
168-
The libopenblaspy.dll from <openblaspath>/bin must be copied to numpy/core
169-
before the build. For this mingw-w64 toolchain manual creation of the python
170-
import libs is necessary, i.e.:
171-
172-
gendef python2.7.dll
173-
dlltool -D python27.dll -d python27.def -l libpython27.dll.a
174-
move libpython27.dll.a libs\libpython27.dll.a
175-
176-
For python-2.6 up to python 3.2 use
177-
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_win32_vc90.tar.xz
178-
or
179-
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_amd64_vc90.tar.xz
180-
181-
For python-3.3 and python-3.4 use
182-
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_win32_vc100.tar.xz
183-
or
184-
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_amd64_vc100.tar.xz
185-
186-
187155
MS compilers
188156
------------
189157

MANIFEST.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@
44
# data, etc files to distribution. Avoid using MANIFEST.in for that.
55
#
66
include MANIFEST.in
7-
include COMPATIBILITY
87
include *.txt
98
include setupegg.py
109
include site.cfg.example
1110
include numpy/random/mtrand/generate_mtrand_c.py
1211
recursive-include numpy/random/mtrand *.pyx *.pxd
12+
# Add build support that should go in sdist, but not go in bdist/be installed
13+
recursive-include numpy/_build_utils *
14+
# Add sdist files whose use depends on local configuration.
15+
include numpy/core/src/multiarray/cblasfuncs.c
16+
include numpy/core/src/multiarray/python_xerbla.c
1317
# Adding scons build related files not found by distutils
1418
recursive-include numpy/core/code_generators *.py *.txt
1519
recursive-include numpy/core *.in *.h

0 commit comments

Comments
 (0)