summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Bump pytest from 6.0.1 to 6.0.2dependabot/pip/pytest-6.0.2dependabot-preview[bot]2020-09-141-1/+1
| | | | | | | | Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/6.0.1...6.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #17307 from numpy/dependabot/pip/hypothesis-5.35.1Sebastian Berg2020-09-141-1/+1
|\ | | | | MAINT: Bump hypothesis from 5.33.0 to 5.35.1
| * MAINT: Bump hypothesis from 5.33.0 to 5.35.1dependabot-preview[bot]2020-09-141-1/+1
|/ | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.33.0 to 5.35.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.33.0...hypothesis-python-5.35.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #17292 from charris/cleanup-remaining-pystring-macrosSebastian Berg2020-09-124-10/+9
|\ | | | | MAINT: Replace remaining PyString macros.
| * MAINT: Replace remaining PyString macros.Charles Harris2020-09-114-10/+9
| | | | | | | | | | | | | | Replace remaining npy_3kcompat PyString macros with their definition. - PyString_AS_STRING -> PyBytes_AS_STRING - PyString_GET_SIZE -> PyBytes_GET_SIZE
* | Merge pull request #17302 from charris/cleanup-PyBaseString_Check-againSebastian Berg2020-09-122-3/+3
|\ \ | | | | | | MAINT: Replace a couple of missed npy_3kcompat macros
| * | MAINT: Replace a couple of missed npy_3kcompat macrosCharles Harris2020-09-122-3/+3
|/ / | | | | | | | | - Replace the npy_3kcompat PyBaseString_Check macro by its definition - Replace the npy_3kcompat NpySlice_GetIndicesEx macro by its definition
* | Merge pull request #17300 from charris/cleanup-pybasestring_checkSebastian Berg2020-09-123-10/+10
|\ \ | | | | | | MAINT: Replace PyBaseString_Check by PyUnicode_Check
| * | MAINT: Replace PyBaseString_Check by PyUnicode_CheckCharles Harris2020-09-123-10/+10
|/ / | | | | | | Replace the npy_3kcompat PyBaseString_Check macro by its definition.
* | Merge pull request #17285 from seberg/tune-down-financial-warningCharles Harris2020-09-122-2/+2
|\ \ | | | | | | DEP: Change the financial name access warning to DeprecationWarning
| * | DEP: Change the financial name access warning to DeprecationWarningSebastian Berg2020-09-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most end-users will probably not care about the warning in any case, since they will not just import the function but also use it. We can't just remove it, due to gh-17143: Astropy currently pulls in these functions (but doesn't use them), so that plain removal would lead to an unusable astropy if a new NumPy is installed. Even more annoying, due to a (faulty?) astropy pytest plugin, this affects all pytest runs (which do not use `PYTEST_DISABLE_PLUGIN_AUTOLOAD`). Changing it to a DeprecationWarning seems to remove the issue from pytest runs, this may make the warning less visible in rare cases where it should be seen, but hopefully it will still be visible enough.
* | | Merge pull request #17150 from eric-wieser/cython-isinstanceSebastian Berg2020-09-124-0/+58
|\ \ \ | | | | | | | | ENH: Add support for the abstract scalars to cython code
| * | | ENH: Add support for the abstract scalars to cython codeEric Wieser2020-08-244-0/+58
| | | | | | | | | | | | | | | | This makes `isinstance` checks slightly faster
* | | | Merge pull request #17293 from charris/cleanup-pyustring-checkCharles Harris2020-09-122-4/+4
|\ \ \ \ | | | | | | | | | | MAINT: Replace PyUString_Check by PyUnicode_Check.
| * | | | MAINT: Replace PyUString_Check by PyUnicode_Check.Charles Harris2020-09-112-4/+4
| | |_|/ | |/| | | | | | | | | | Replace the npy_3kcompat PyUString_Check macro by its definition.
* | | | Merge pull request #17296 from charris/cleanup-some-pyint_-macrosCharles Harris2020-09-127-44/+44
|\ \ \ \ | | | | | | | | | | MAINT: Replace some ``pyint_*`` macros defined in ``npy_3kcompat``.
| * | | | MAINT: Replace PyNumber_Int by PyNumber_LongCharles Harris2020-09-122-6/+6
| | | | | | | | | | | | | | | | | | | | Replace the npy_3kcompat macro PyNumber_Int by its definition.
| * | | | MAINT: Replace PyInt_AsSsize_t by PyLong_AsSsize_t.Charles Harris2020-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | Replace the npy_3kcompat macro by its definition.
| * | | | MAINT: Replace PyInt_AsLong in some places.Charles Harris2020-09-112-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the npy_compat macro PyInt_AsLong in some functions. This is not a straight forward substitution because of type conflicts. The fixes for numpy/f2py/cfuncs.py are postponed to another PR because they are more complicated.
| * | | | MAINT: Replace PyInt_FromLong by PyLong_FromLong.Charles Harris2020-09-117-32/+32
| |/ / / | | | | | | | | | | | | Replace the npy_3kcompat macro PyInt_FromLong by its definition.
* | | | Merge pull request #17297 from rgommers/build-deps-upperlimitCharles Harris2020-09-121-2/+2
|\ \ \ \ | | | | | | | | | | BLD: set upper versions for build dependencies
| * | | | BLD: set upper versions for build dependenciesRalf Gommers2020-09-111-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is something we really should do for all dependencies, but I expect it to become more important now that build-related packages are all starting to update regarding the upcoming distutils deprecation. And Cython has a major release coming up - just in case, avoid it.
* | | | ENH: Allow genfromtxt to unpack structured arrays (#16650)Andrew Eckart2020-09-113-6/+79
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ENH: Allow genfromtxt to unpack structured arrays genfromtxt failed to transpose output when unpack=True and `dtype` was structured (or None). This patch resolves the issue by returning a list of arrays, as in `loadtxt`. Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | Merge pull request #17290 from charris/cleanup-some-pystring-macrosMatti Picus2020-09-116-16/+16
|\ \ \ | | | | | | | | MAINT: Cleanup some pystring macros
| * | | MAINT: Replace PyString_Check with PyBytes_Check in numpy.i.Charles Harris2020-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Replace the npy_3kcompat PyString_Check with its definition. This is done separately for the tools/swig/numpy.i file as it might be problematic.
| * | | MAINT: Replace PyStringObject by PyBytesObject.Charles Harris2020-09-101-1/+1
| | | | | | | | | | | | | | | | This replaces the npy_3kcompat macro PyStringObject with its definition.
| * | | MAINT: Replace PyString_Check with PyBytes_Check.Charles Harris2020-09-104-11/+11
| | | | | | | | | | | | | | | | Replaces the npy_3kcompat PyString_Check macro with its definition.
| * | | MAINT: Replace PyString_Type with PyBytes_Type.Charles Harris2020-09-102-3/+3
| | | | | | | | | | | | | | | | This replaces the npy_3kcompat PyString_Type macro with its definition.
* | | | Merge pull request #17250 from albertvillanova/fix-docstringCharles Harris2020-09-1013-83/+183
|\ \ \ \ | | | | | | | | | | DOC: Fix docstring cross-referencing
| * | | | DOC: add autosummary of emath functionsRoss Barnowski2020-09-092-1/+17
| | | | |
| * | | | DOC: reformat meshgrid see also linksRoss Barnowski2020-09-091-4/+3
| | | | |
| * | | | DOC: rm see also ref to doc.indexing.Ross Barnowski2020-09-091-4/+0
| | | | | | | | | | | | | | | | | | | | Indexing article no longer exists
| * | | | Fix docstring cross-referencingAlbert Villanova del Moral2020-09-0413-79/+168
| | | | |
* | | | | Merge pull request #17288 from charris/post-1.19.2-release-updateCharles Harris2020-09-104-0/+89
|\ \ \ \ \ | | | | | | | | | | | | REL: Update master after 1.19.2 release.
| * | | | | REL: Update master after 1.19.2 release.Charles Harris2020-09-104-0/+89
| | |/ / / | |/| | |
* | | | | Merge pull request #17129 from seiko2plus/distutils_avx512bw_maskMatti Picus2020-09-104-32/+170
|\ \ \ \ \ | |_|_|_|/ |/| | | | BLD: Check for reduce intrinsics and AVX512BW mask operations
| * | | | DIST: fix minor grammar errors in CCompilerOpt docstring(extra_checks)Sayed Adel2020-09-031-7/+7
| | | | | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | | | TST: remove unnecessary backslashes from CCompilerOpt config testSayed Adel2020-08-261-24/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix assertion error msg of group/extra_checks Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | | | BLD: Check for reduce intrinsics and AVX512BW mask operationsSayed Adel2020-08-264-12/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Extending Distutils::CompilerOpt to allow adding extra separate test cases related to a certain CPU feature without affecting its availability. - Add test cases for reduce intrinsics and AVX512BW mask operations, they can be reached through C #defentions NPY_HAVE_AVX512BW_MASK and NPY_HAVE_AVX512F_REDUCE.
* | | | | Merge pull request #17278 from eric-wieser/cleanup-doc-indexMatti Picus2020-09-092-37/+11
|\ \ \ \ \ | | | | | | | | | | | | MAINT: Merge together index page content into a single file
| * | | | | MAINT: Merge together index page content into a single fileEric Wieser2020-09-092-37/+11
| | | | | | | | | | | | | | | | | | | | | | | | This also removes the internationalization, since having it for only the first sentence is pointless anyway.
* | | | | | Fix typo in shape_base (#17279)Yang Hau2020-09-091-1/+2
| |_|/ / / |/| | | | | | | | | concatate to concatenate
* | | | | Merge pull request #17247 from hugovk/travis-sorterMatti Picus2020-09-081-0/+287
|\ \ \ \ \ | | | | | | | | | | | | ENH: Add tool to help speed up Travis CI
| * | | | | DEV: Add tool to help speed up Travis CIHugo2020-09-081-0/+287
| | | | | |
* | | | | | Merge pull request #17258 from seiko2plus/npyv_fusedMatti Picus2020-09-085-1/+175
|\ \ \ \ \ \ | | | | | | | | | | | | | | SIMD: add fused multiply subtract/add intrinics for all supported platforms
| * | | | | | NPYV: add fused multiply subtract/add intrinics for all supported platformsSayed Adel2020-09-075-1/+175
| | | | | | |
* | | | | | | Merge pull request #17267 from BvB93/runtests-mypyRalf Gommers2020-09-071-1/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | TST: Fix the path to `mypy.ini` in `runtests.py`
| * | | | | | | TST: Fix the path to `mypy.ini`Bas van Beek2020-09-071-1/+2
| | | | | | | |
* | | | | | | | Merge pull request #17268 from tylerjereddy/treddy_distutils_sysconfig_fixMatti Picus2020-09-081-6/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: sysconfig attributes/distutils issue
| * | | | | | | | BUG: sysconfig attributes/distutils issueTyler Reddy2020-09-071-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gh-17223 started the `distutils` modernization process because of the various upstream stuff going on (thanks) * that set of changes caused build issues with NumPy pre-release wheels + SciPy `master`: https://travis-ci.org/github/scipy/scipy/builds/725002838 * I was able to patch two separate issues and confirm that this feature branch restores the SciPy build locally: 1) in one case, `distutils.sysconfig.get_python_inc` was replaced with `distutils.get_python_inc`, which does not exist (probably a typo) 2) a bit more serious; even `sysconfig.get_python_inc` does not appear to exist; the closest match I could find (and that worked) was `sysconfig.get_path()` with options for general and platform-specific header paths as needed * I'm not claiming that these stdlib replacements are perfect either (the prefix case may still be slightly different?), but it does prevent the SciPy build break originally introduced as a start