summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* DEV: Fixed Un-responsive live-preview in gitpod. (#21250)Bhavuk kalra2022-03-301-5/+4
| | | | | | | | | * Replaced existing obselete dependencies. Added Install "esbonio". * Update vscode config * DEV: Block breathe "4.33.0" version of breathe which conflicts with sphinx.ext.graphviz Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* BLD: Fix upload scriptThomas Li2022-03-241-2/+3
|
* Merge pull request #21095 from lithomas1/patch-2Ralf Gommers2022-03-161-2/+10
|\ | | | | BLD: Make a sdist [wheel build]
| * BLD: Make a sdist [wheel build]Thomas Li2022-03-121-2/+10
| |
* | DEV: Remove deprecated "python.pythonPath".Bhavuk kalra2022-03-131-1/+1
| | | | | | | | Replaced with stable property "python.defaultInterpreterPath"
* | Merge pull request #21145 from tirthasheshpatel/fix-gh20743Matti Picus2022-03-101-0/+2
|\ \ | |/ |/| MAINT, DOC: make np._from_dlpack public
| * DOC: fix refguide failureTirth Patel2022-03-031-0/+2
| |
* | DOC: document uploads to ananconda.orgmattip2022-03-061-1/+1
|/
* Merge pull request #20559 from melissawm/f2py-guideRohit Goswami2022-02-221-0/+1
|\ | | | | DOC: Refactoring f2py user guide
| * Added f2py-examples to refguide skip listmelissawm2022-01-051-0/+1
| |
* | BUILD: if travis build is triggered manually, then upload wheelsmattip2022-02-181-0/+3
| |
* | BLD: Try adding aarch64 wheels [wheel build]Thomas Li2022-02-171-0/+46
| |
* | Merge pull request #21000 from charris/replace-looseversionCharles Harris2022-02-081-27/+2
|\ \ | | | | | | MAINT: Replace LooseVersion by _pep440.
| * | MAINT: Replace LooseVersion by _pep440.Charles Harris2022-02-051-27/+2
| | | | | | | | | | | | | | | | | | | | | | | | LooseVersion is provided by Python distutils, which is going away in 3.12. This PR vendors _pep440 from scipy and uses it as a replacement. Numpy distutils is not touched, replacing LooseVersion in that package was considered too risky, and numpy distutils will need to go away when Python distutils does.
* | | DOC: Fixed Refguide errors (#19898)Ovee Jawdekar2022-02-081-3/+0
|/ / | | | | Fixes refguide errors for basics.types, basics.byteswapping, basics.indexing
* | MAINT: Further small return value validation fixesSebastian Berg2022-02-031-2/+2
| |
* | Merge pull request #20185 from melissawm/add-interop-docMatti Picus2022-02-021-0/+1
|\ \ | | | | | | DOC: Added explanation document on interoperability
| * | DOC: Added explanation document on interoperabilitymelissawm2021-11-221-0/+1
| | |
* | | BUILD: [wheel build] increase verbosity when testingmattip2022-01-261-1/+1
| | |
* | | ENH: add hook and test for PyInstaller.bwoodsend2022-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Adding this special hook file tells PyInstaller what files a self contained NumPy application needs to run. A test is included to verify that the hook still finds all necessary files. Closes #17184.
* | | Merge pull request #20660 from DWesl/maint-update-openblasMatti Picus2022-01-191-2/+3
|\ \ \ | | | | | | | | MAINT: update OpenBLAS to 0.3.19
| * | | update OpenBLAS to 0.3.19-devmattip2022-01-181-2/+3
| | | |
| * | | MAINT: update OpenBLAS to 0.3.18DWesl2021-12-251-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | Not sure what the usual timeline on updating this is. Running the CI on this PR is one way to narrow down the Cygwin problems addressed in PR#20654. If this build also has four failures, then OpenBLAS is probably the problem. If this build uses the new OpenBLAS with no problems, then I need to see what else changed in the Cygwin packages around the time the builds started failing.
* | | DEV: Update dependencies and Docker image (#20854)Tania Allard2022-01-191-1/+1
| | |
* | | MAINT, DOC: discard repeated wordsDimitri Papadopoulos2022-01-132-2/+2
|/ /
* | BLD: Add Windows 32-bit wheels [wheel build]Thomas Li2021-12-221-4/+1
| |
* | BLD: Add arm64 wheels [wheel build]Thomas Li2021-12-052-1/+186
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | try a different approach [wheel build] try somthing [wheel build] try something [wheel build] testing [wheel build] try something [wheel build] try something [wheel build] fix? [wheel build] sudo [wheel build] fix? [wheel build] typo [wheel build] get gfortran working on arm64 [wheel build] check if x86_64 works [wheel build] remove universal2 vendor gfortran-install file typo [wheel build] reformat license try force clang [wheel build] more descriptive comment test something [wheel build] typo? [wheel build] another typo [wheel build] fixes [wheel build]
* DEP: remove deprecated `np.alen` functionRalf Gommers2021-11-211-1/+0
| | | | Was deprecated in 1.18.0
* Add 64 bit Windows builds [wheel build]Thomas Li2021-11-183-7/+956
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 9c833bed5879d77e625556260690c349de18b433 Author: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Wed Nov 17 16:21:27 2021 -0800 Add Windows config to GHA update script [wheel build] typo [wheel build] fix typo? [wheel build] fix linux builds? [wheel build] typo [wheel build] add license and pin to windows 2016 skip tests [wheel build] pin to windows 2019 instead [wheel build] try to find out the error on windows [wheel build] maybe fix? [wheel build] maybe fix? [wheel build] fix? [wheel build] cleanup [wheel build] Add Windows config to GHA update script [wheel build] typo [wheel build] fix typo? [wheel build] fix linux builds? [wheel build] typo [wheel build] add license and pin to windows 2016 skip tests [wheel build] pin to windows 2019 instead [wheel build] try to find out the error on windows [wheel build] maybe fix? [wheel build] maybe fix? [wheel build] fix? [wheel build] cleanup [wheel build] Update LICENSE_win32.txt Update LICENSE_win32.txt Add Windows config to GHA update script [wheel build] typo [wheel build] fix typo? [wheel build] fix linux builds? [wheel build] typo [wheel build] add license and pin to windows 2016 skip tests [wheel build] pin to windows 2019 instead [wheel build] try to find out the error on windows [wheel build] maybe fix? [wheel build] maybe fix? [wheel build] fix? [wheel build] cleanup [wheel build] Update LICENSE_win32.txt Update LICENSE_win32.txt Update cibw_test_command.sh commit 4bd12df33a9d1b540cde0628c600b6dc13f1160f Author: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Mon Nov 15 17:28:47 2021 -0800 # This is a combination of 14 commits. # This is the 1st commit message: Add Windows config to GHA # This is the commit message #2: update script [wheel build] # This is the commit message #3: typo [wheel build] # This is the commit message #4: fix typo? [wheel build] # This is the commit message #5: fix linux builds? [wheel build] # This is the commit message #6: typo [wheel build] # This is the commit message #7: add license and pin to windows 2016 # This is the commit message #8: skip tests [wheel build] # This is the commit message #9: pin to windows 2019 instead [wheel build] # This is the commit message #10: try to find out the error on windows [wheel build] # This is the commit message #11: maybe fix? [wheel build] # This is the commit message #12: maybe fix? [wheel build] # This is the commit message #13: fix? [wheel build] # This is the commit message #14: cleanup [wheel build]
* DEP: remove allocation_tracking, deprecate PyDataMem_SetEventHook (#20394)Matti Picus2021-11-185-690/+2
| | | | | | | | | | | | | * DEP: remove allocation_tracking * DOC: add release note * DEP: deprecate PyDataMem_SetEventHook * DOC: fix name of release note * fixes from review * DOC: document deprecation of PyDataMem_EventHookFunc
* Merge pull request #20102 from thomasjpfan/ci_buildwheel_rfMatti Picus2021-11-015-0/+1776
|\ | | | | BLD Uses cibuildwheel for linux + osx wheels [cd build]
| * CLN Address commentsThomas J. Fan2021-10-132-1/+4
| |
| * STY Lint [cd build]Thomas J. Fan2021-10-111-1/+2
| |
| * BLD Uses cibuildwheel for linux/osx wheels [cd build]Thomas J. Fan2021-10-115-0/+1772
| |
* | TST: Move rebase command to a separate file.DWesl2021-10-281-0/+5
| | | | | | | | I really need to look up PowerShell syntax.
* | TST: Rebase NumPy dlls before running test in Cygwin CI.DWesl2021-10-282-6/+12
| | | | | | | | Also fix some bashisms in a couple of scripts.
* | TST: Move all references to python version in Cygwin CI to single file.DWesl2021-10-281-1/+1
| |
* | ENH: Configurable allocator (#17582)Matti Picus2021-10-251-1/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes gh-17467. Adds a public struct to hold memory manipulation routines PyDataMem_Handler and two new API functions PyDataMem_SetHandler to replace the current routines with the new ones, and PyDataMem_GetHandlerName to get the string name of the current routines (either globally or for a specific ndarray object). This also changes the size of the ndarray object to hold the PyDataMem_Handler active when it was created so subsequent actions on its data memory will remain consistent. Tests and documentation are included. Along the way, I found some places in the code where the current policy is inconsistent (all data memory handling should have gone through npy_*_cache not PyDataMem_*) so even if this is rejected it might improve the cache handling. The PyDataMem_Handler has fields to override memcpy, these are currently not implemented: memcpy in the code base is untouched. I think this PR is invasive enough as-is, if desired memcpy can be handled in a follow-up PR. * ENH: add and use global configurable memory routines * ENH: add tests and a way to compile c-extensions from tests * fix allocation/free exposed by tests * DOC: document the new APIs (and some old ones too) * BUG: return void from FREE, also some cleanup * MAINT: changes from review * fixes from linter * setting ndarray->descr on 0d or scalars mess with FREE * make scalar allocation more consistent wrt np_alloc_cache * change formatting for sphinx * remove memcpy variants * update to match NEP 49 * ENH: add a python-level get_handler_name * ENH: add core.multiarray.get_handler_name * Allow closure-like definition of the data mem routines * Fix incompatible pointer warnings * Note PyDataMemAllocator and PyMemAllocatorEx differentiation Co-authored-by: Matti Picus <matti.picus@gmail.com> * Redefine default allocator handling * Always allocate new arrays using the current_handler * Search for the mem_handler name of the data owner * Sub-comparisons don't need a local mem_handler * Make the default_handler a valid PyDataMem_Handler * Fix PyDataMem_SetHandler description (NEP discussion) * Pass the allocators by reference * Implement allocator context-locality * Fix documentation, make PyDataMem_GetHandler return const * remove import of setuptools==49.1.3, doesn't work on python3.10 * Fix refcount leaks * fix function signatures in test * Return early on PyDataMem_GetHandler error (VOID_compare) * Add context/thread-locality tests, allow testing custom policies * ENH: add and use global configurable memory routines * ENH: add tests and a way to compile c-extensions from tests * fix allocation/free exposed by tests * DOC: document the new APIs (and some old ones too) * BUG: return void from FREE, also some cleanup * MAINT: changes from review * fixes from linter * setting ndarray->descr on 0d or scalars mess with FREE * make scalar allocation more consistent wrt np_alloc_cache * change formatting for sphinx * remove memcpy variants * update to match NEP 49 * ENH: add a python-level get_handler_name * ENH: add core.multiarray.get_handler_name * Allow closure-like definition of the data mem routines * Fix incompatible pointer warnings * Note PyDataMemAllocator and PyMemAllocatorEx differentiation Co-authored-by: Matti Picus <matti.picus@gmail.com> * Redefine default allocator handling * Always allocate new arrays using the current_handler * Search for the mem_handler name of the data owner * Sub-comparisons don't need a local mem_handler * Make the default_handler a valid PyDataMem_Handler * Fix PyDataMem_SetHandler description (NEP discussion) * Pass the allocators by reference * remove import of setuptools==49.1.3, doesn't work on python3.10 * fix function signatures in test * try to fix cygwin extension building * YAPF mem_policy test * Less empty lines, more comments (tests) * Apply suggestions from code review (set an exception and) Co-authored-by: Matti Picus <matti.picus@gmail.com> * skip test on cygwin * update API hash for changed signature * TST: add gc.collect to make sure cycles are broken * Implement thread-locality for PyPy Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> * Update numpy/core/tests/test_mem_policy.py Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> * fixes from review * update circleci config * fix test * make the connection between OWNDATA and having a allocator handle more explicit * improve docstring, fix flake8 for tests * update PyDataMem_GetHandler() from review * Implement allocator lifetime management * update NEP and add best-effort handling of error in PyDataMem_UserFREE * ENH: fix and test for blindly taking ownership of data * Update doc/neps/nep-0049.rst Co-authored-by: Elias Koromilas <elias.koromilas@gmail.com>
* BLD: fix submodule update in gitpod.DockerfileRalf Gommers2021-10-101-1/+1
| | | | This is analogous to what SciPy does.
* move "git submodule update" earlier in docker creationmattip2021-10-101-0/+1
|
* Merge pull request #20058 from mattip/openblas-v0.3.18Charles Harris2021-10-071-2/+2
|\ | | | | MAINT: update OpenBLAS to 0.3.18
| * MAINT: update OpenBLAS to 0.3.18mattip2021-10-071-2/+2
| |
* | MAINT: Remove encoding declarations: # -*- coding: utf-8 -*-Dimitri Papadopoulos2021-10-062-2/+0
|/ | | | In Python 3, the default source file encoding is UTF-8.
* Merge pull request #20026 from mattip/pypy-7.3.6Charles Harris2021-10-042-5/+4
|\ | | | | MAINT: Test PyPy3.8
| * use venv instead of virtualenvmattip2021-10-032-5/+4
| |
* | STY: Exclude `npt._char_codes` from the linting checksBas van Beek2021-09-301-0/+1
|/ | | | The 80-char line-length-limit is detrimental to the readability of the code here
* Merge pull request #19879 from BvB93/cls_getitemCharles Harris2021-09-251-13/+30
|\ | | | | ENH: Add `__class_getitem__` to `ndarray`, `dtype` and `number`
| * TST,DOC: Skip the `__class_getitem__` doctests for python 3.8Bas van Beek2021-09-161-13/+30
| |
* | Merge pull request #19903 from Fayyr/refguidefixMelissa Weber Mendonça2021-09-221-1/+0
|\ \ | | | | | | DOC: Fixed refguide errors for basics.broadcasting.rst
| * | Fixed accident line deletion in refguide_check.pyPrathmesh Shirsat2021-09-221-0/+1
| | |