| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 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: Make a sdist [wheel build]
|
| | |
|
| |
| |
| |
| | |
Replaced with stable property "python.defaultInterpreterPath"
|
|\ \
| |/
|/| |
MAINT, DOC: make np._from_dlpack public
|
| | |
|
|/ |
|
|\
| |
| | |
DOC: Refactoring f2py user guide
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
MAINT: Replace LooseVersion by _pep440.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| | |
Fixes refguide errors for basics.types, basics.byteswapping, basics.indexing
|
| | |
|
|\ \
| | |
| | | |
DOC: Added explanation document on interoperability
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
MAINT: update OpenBLAS to 0.3.19
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
|/ / |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
Was deprecated in 1.18.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
* DOC: add release note
* DEP: deprecate PyDataMem_SetEventHook
* DOC: fix name of release note
* fixes from review
* DOC: document deprecation of PyDataMem_EventHookFunc
|
|\
| |
| | |
BLD Uses cibuildwheel for linux + osx wheels [cd build]
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
I really need to look up PowerShell syntax.
|
| |
| |
| |
| | |
Also fix some bashisms in a couple of scripts.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
This is analogous to what SciPy does.
|
| |
|
|\
| |
| | |
MAINT: update OpenBLAS to 0.3.18
|
| | |
|
|/
|
|
| |
In Python 3, the default source file encoding is UTF-8.
|
|\
| |
| | |
MAINT: Test PyPy3.8
|
| | |
|
|/
|
|
| |
The 80-char line-length-limit is detrimental to the readability of the code here
|
|\
| |
| | |
ENH: Add `__class_getitem__` to `ndarray`, `dtype` and `number`
|
| | |
|
|\ \
| | |
| | | |
DOC: Fixed refguide errors for basics.broadcasting.rst
|
| | | |
|