| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
For the time being, these tests will ignore the flood of deprecated
yield test warnings. Fixing those is for another PR.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: 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.
|
| |
|
|
|
|
| |
Leave the flag if there's only one non unit dim
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
MAINT: Move `tools/announce.py` to `tools/changelog.py`.
|
| |
| |
| |
| | |
[skip ci]
|
| | |
|
|/
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
See https://github.com/travis-ci/travis-ci/issues/8920 .
|
|
|
|
|
|
| |
Disable "-Wsign-compare" and "-Wunused-result" gcc warnings.
These seem to have been enabled by default recently for wheels
sdist builds.
|
| |
|
|
|
|
| |
They are not worth two seperate slow test runs.
|
|
|
|
| |
Too noise and not really worth fixing.
|
|
|
|
| |
Except the builtin lapack job as that is mostly generated code.
|
| |
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Bare except is very rarely the right thing
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
MAINT: Remove numpy-macosx-installer and win32build directories.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
BLD: rewrite np.distutils.exec_command.exec_command()
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Make the code a bit cleaner.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| | |
newer gcc, python, cython...
update eatmydata setting for new paths and earlier usage during chroot setup
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| |
| | |
- Add ability to get pull request number from Homu auto merges.
- Print number of merged pull requests.
[ci skip]
|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
ENH: Add a tool for release authors and PRs.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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]
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
Refactors the randint helpers to use a Tempita
template. This will reduce technical debt in the
long run.
|
| | |
|
| |
| |
| |
| | |
the files in doc/ and numpy/ were covered in previous commits
|
|/ |
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 ...
|
| |
|
| |
|
|
|
|
| |
Also remove all mentions of setupegg.py from the documentation.
|
|
|
|
| |
matches windows compiler behavior
|