Re: [Numpy-discussion] Extent to which to work around matrix and other duck/subclass limitations

2019-06-13 Thread Charles R Harris
On Thu, Jun 13, 2019 at 6:21 PM Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > Hi Ralf, > > Thanks both for the reply and sharing the link. I recognize much (from > both sides!). > > > >> >> More importantly, I think we should not even consider *discussing* >> removing` __array_functio

[Numpy-discussion] Planning for 1.18

2019-06-13 Thread Charles R Harris
Hi All, With the 1.17 branch coming soon, this might be a good time to make plans about 1.18 development. A couple of possibilities are: - Expiring old deprecations, - Removing Python 2.7 compatibility code, - Design of a masked array replacement. Those proposals are not earth shaking,

Re: [Numpy-discussion] new MaskedArray class

2019-06-24 Thread Charles R Harris
On Mon, Jun 24, 2019 at 3:40 PM Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > Hi Eric, > > The easiest definitely is for the mask to just propagate, which that even > if just one point is masked, all points in the fft will be masked. > > On the direct point I made, I think it is correc

Re: [Numpy-discussion] Syntax Improvement for Array Transpose

2019-06-26 Thread Charles R Harris
On Wed, Jun 26, 2019 at 2:18 PM Ralf Gommers wrote: > > > On Wed, Jun 26, 2019 at 10:04 PM Kirill Balunov > wrote: > >> Only concerns #4 from Ilhan's list. >> >> ср, 26 июн. 2019 г. в 00:01, Ralf Gommers : >> >>> >>> [] >>> >>> Perhaps not full consensus between the many people with differen

[Numpy-discussion] 1.17. 0 Release

2019-06-29 Thread Charles R Harris
Hi All, I've put up a partially edited version of the 1.17.0 release notes , review would be much appreciated. The use of ` and ' can be especially tricky. Once the preparation is finished, I will make a branch and put out the first release candidate. Ch

[Numpy-discussion] NumPy master open for 1.18 development.

2019-06-30 Thread Charles R Harris
Hi All, NumPy 1.17.x has been branched. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] NumPy 1.17.0rc1 released

2019-06-30 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce the release of NumPy 1.17.0rc1. The 1.17 release contains a number of new features that should substantially improve its performance and usefulness. The Python versions supported are 3.5-3.7, note that Python 2.7 has been dropped. Python

Re: [Numpy-discussion] Problem with absolute value

2019-07-03 Thread Charles R Harris
On Wed, Jul 3, 2019 at 9:08 AM Hameer Abbasi wrote: > Hi, > > It turns out you're running into a bit-error. In general, the two's > complement of -2 ** (n-1) with the bit-length being limited to n bits is > itself... No way around that. And integers don't set hardware exceptions so > checking for

Re: [Numpy-discussion] Problem with absolute value

2019-07-03 Thread Charles R Harris
On Wed, Jul 3, 2019 at 11:39 AM Matthew Brett wrote: > Hi, > > On Wed, Jul 3, 2019 at 9:08 AM Charles R Harris > wrote: > > > > > > > > On Wed, Jul 3, 2019 at 9:08 AM Hameer Abbasi > wrote: > >> > >> Hi, > >> > >> It tu

Re: [Numpy-discussion] Creating a subclass that never propagates

2019-07-16 Thread Charles R Harris
On Tue, Jul 16, 2019 at 3:44 AM Kevin Sheppard wrote: > I am trying to make a subclass that never propagates so that when > interacted with another ndarray, or even itself so that the return type is > always ndarray. Is this possible? > > I got pretty far with > > def __array_wrap__(self, out_ar

Re: [Numpy-discussion] Helping with website improvements

2019-07-16 Thread Charles R Harris
Hi Dashamir, On Mon, Jul 15, 2019 at 4:49 PM Dashamir Hoxha wrote: > Hi, > > With respect to this call for contributions: > https://github.com/numpy/numpy/pull/13988/files > I would like to help with improving the website of numpy (and maybe scipy > as well). > I have also applied for the Google

[Numpy-discussion] NumPy 1.17.0rc2 released

2019-07-16 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce the release of NumPy 1.17.0rc2. The 1.17 release contains a number of new features that should substantially improve its performance and usefulness. The Python versions supported are 3.5-3.7, note that Python 2.7 has been dropped. Python

[Numpy-discussion] Adding generic dtypes

2019-07-25 Thread Charles R Harris
Hi All, The possibility of disabling default creation of object arrays has come up again. I'm wondering if one way to get there is to allow generic dtypes. The `numpy/core/numerictypes.py` module defines a hierarchy, and if we could allow things like `dtype=integer` or `dtype=no_object` and such w

[Numpy-discussion] NumPy 1.17.0 released

2019-07-26 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce the release of NumPy 1.17.0. The 1.17.0 release contains a number of new features that should substantially improve its performance and usefulness. The Python versions supported are 3.5-3.7, note that Python 2.7 has been dropped. Python

[Numpy-discussion] (no subject)

2019-08-06 Thread Charles R Harris
Hi All, There is a PR up that adds a "mode" variable to `multivariate_normal`. It allows choosing various options for factoring the passed covariance. 1. "fast" -- cholesky (x45 legacy method) 2. "default" -- eigh (used in R I believe) 3. "leg

Re: [Numpy-discussion] Season of Docs - welcome Anne, Maja, Brandon

2019-08-06 Thread Charles R Harris
On Tue, Aug 6, 2019 at 8:14 PM Anne Bonner wrote: > Thank you so much!!! > > I'm so excited to be a part of what you guys have created and built! > > All the best, > Anne > > On Tue, Aug 6, 2019 at 6:39 PM Andrew Nelson wrote: > >> Welcome Anne, Maja, Brandon! >> >> On Wed, 7 Aug 2019 at 09:47,

Re: [Numpy-discussion] NEP 30 - Duck Typing for NumPy Arrays - Implementation

2019-08-07 Thread Charles R Harris
On Wed, Aug 7, 2019 at 7:10 PM Stephan Hoyer wrote: > On Wed, Aug 7, 2019 at 5:11 PM Ralf Gommers > wrote: > >> >> On Mon, Aug 5, 2019 at 6:18 PM Stephan Hoyer wrote: >> >>> On Mon, Aug 5, 2019 at 2:48 PM Ralf Gommers >>> wrote: >>> >>> The NEP currently does not say who this is meant for

[Numpy-discussion] NumPy 1.17.1

2019-08-19 Thread Charles R Harris
Hi All, I'm planning on releasing NumPy 1.17.1 this weekend. If there are fixes that you think need to be included that are not currently marked for backport, please let me know. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https:

[Numpy-discussion] NumPy 1.17.1 released

2019-08-26 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.17.1 has been released. This release contains a number of fixes for bugs reported against NumPy 1.17.0 along with a few documentation and build improvements. The Python versions supported are 3.5-3.7, note that Python 2.7 h

[Numpy-discussion] NumPy 1.16.5 released

2019-08-27 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.16.5 has been released. This release fixes bugs reported against the 1.16.4 release and backports several enhancements from master that seem appropriate for the LTS release series that is the last to support Python 2.7. Do

[Numpy-discussion] 1.17.2 release.

2019-09-05 Thread Charles R Harris
Hi All, I'm planning to make a 1.17.2 release Friday or Saturday in order to fix some newly reported regressions. If there is anything that you think absolutely needs to be in that release, please yell. Chuck ___ NumPy-Discussion mailing list NumPy-Disc

Re: [Numpy-discussion] 1.17.2 release.

2019-09-05 Thread Charles R Harris
n through `n`, but there you go. If you would like to clean it up further, feel free to do so, but at least 1.17 will no longer be an issue in that regard. Chuck On Thu, Sep 5, 2019 at 6:56 PM Charles R Harris > wrote: > >> Hi All, >> >> I'm planning to make a 1.1

[Numpy-discussion] NumPy 1.17.2 released.

2019-09-06 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.17.2 has been released. This release contains fixes for bugs reported against NumPy 1.17.1 along with some documentation improvements. The most important fix is for lexsort when the keys are of type (u)int8 or (u)int16. If y

Re: [Numpy-discussion] error during pip install

2019-09-27 Thread Charles R Harris
I that the pip that comes with Python 3.8b4? On Fri, Sep 27, 2019 at 10:12 AM Alan Isaac wrote: > Upgrading numpy with pip on Python 3.8b4 on Win 10 produced: > ERROR: Could not install packages due to an EnvironmentError: [WinError > 123] The filename, directory name, or volume label syntax is

Re: [Numpy-discussion] error during pip install

2019-09-27 Thread Charles R Harris
On Fri, Sep 27, 2019 at 5:41 PM Charles R Harris wrote: > I that the pip that comes with Python 3.8b4? > > On Fri, Sep 27, 2019 at 10:12 AM Alan Isaac wrote: > >> Upgrading numpy with pip on Python 3.8b4 on Win 10 produced: >> ERROR: Could not install packages du

Re: [Numpy-discussion] error during pip install

2019-09-28 Thread Charles R Harris
EnvironmentError: [WinError 123] The filename, > >> directory name, or volume label syntax is incorrect: > >> '"C:' > > >> However, the install appears to have been successful. > > >> On Fri, Sep 27, 2019 at 5:41 PM Charles R Ha

Re: [Numpy-discussion] error during pip install

2019-09-28 Thread Charles R Harris
On Sat, Sep 28, 2019 at 11:23 AM Alan Isaac wrote: > On 9/28/2019 12:12 PM, Charles R Harris wrote: > > I'm actually pleased that the install succeeded on Window, although you > won't have good BLAS/LAPACK, just the numpy C versions of lapack_lite. The > warning/erro

[Numpy-discussion] Python 3.8 numpy wheels

2019-10-07 Thread Charles R Harris
Hi All, Thanks to the work of Matti Pincus and Matthew Brett, manylinux1 numpy wheels are now available for testing. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Python 3.8 numpy wheels

2019-10-08 Thread Charles R Harris
On Tue, Oct 8, 2019 at 3:22 AM Ralf Gommers wrote: > > > On Mon, Oct 7, 2019 at 6:09 PM Charles R Harris > wrote: > >> Hi All, >> >> Thanks to the work of Matti Pincus and Matthew Brett, manylinux1 numpy >> wheels are now available for testing. >>

Re: [Numpy-discussion] Unsupporting python3.5

2019-10-10 Thread Charles R Harris
On Thu, Oct 10, 2019 at 9:31 AM Matti Picus wrote: > According to NEP 29, numpy 1.18 will be released after Sept 2019, which as > I understand it is the cutoff for Python 3.5. In PR 14673 I proposed > removing it from the test matrix and also removing some shims in the code > to support it - mean

Re: [Numpy-discussion] Unsupporting python3.5

2019-10-10 Thread Charles R Harris
On Thu, Oct 10, 2019 at 6:02 PM Stefan van der Walt wrote: > On Thu, Oct 10, 2019, at 09:34, Charles R Harris wrote: > > I think we can support 3.5 as long as we please, the question is how long > we *want* to support it. I don't plan to release 1.18 wheels for 3.5, but >

Re: [Numpy-discussion] "Spring cleaning" sprint

2019-10-10 Thread Charles R Harris
On Wed, Oct 9, 2019 at 10:44 PM Sebastian Berg wrote: > On Wed, 2019-10-09 at 21:26 -0700, Zijie Poh wrote: > > Hi Sebastian, > > > > It is Tuesday October 15 or Monday October 14? > > > > Sorry, its Tuesday the 15th [0]. Monday is a holiday in California at > least. > > Cheers, > > Sebastian > >

[Numpy-discussion] 1.19 release

2019-10-11 Thread Charles R Harris
Hi All, Thought I'd raise the option of trying to put together an NEP for the 1.18 release like Python does PEPs. If that is considered too procedural for releases that come out every six months or so, are there any suggestions for an alternative? About 1.19 itself, I expect to fork 1.18.x in the

Re: [Numpy-discussion] 1.19 release

2019-10-12 Thread Charles R Harris
On Sat, Oct 12, 2019 at 9:58 AM Ralf Gommers wrote: > > > On Sat, Oct 12, 2019 at 3:21 AM Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> Hi All, >> >> Thought I'd raise the option of trying to put together an NEP for the >> 1.18 re

[Numpy-discussion] NumPy 1.17 3 released

2019-10-17 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.17.3 has been released. This is a bugfix release. The Python versions supported in this release are 3.5-3.8. Downstream developers should use Cython >= 0.29.13 for Python 3.8 support and OpenBLAS >= 3.7 to avoid wrong resul

Re: [Numpy-discussion] educational resources recommendations are wanted

2019-10-17 Thread Charles R Harris
On Tue, Oct 15, 2019 at 8:23 PM Inessa Pawson wrote: > I’m working on creating a curated collection of NumPy related educational > resources (tutorials, articles, books, presentations, courses, etc.). > Your recommendations would be much appreciated, especially in languages > other than English.

Re: [Numpy-discussion] Unsupporting python3.5

2019-10-18 Thread Charles R Harris
On Fri, Oct 18, 2019 at 3:06 AM Ralf Gommers wrote: > > > On Fri, Oct 11, 2019 at 4:18 AM Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Thu, Oct 10, 2019 at 6:02 PM Stefan van der Walt >> wrote: >> >>> On Th

Re: [Numpy-discussion] Unsupporting python3.5

2019-10-19 Thread Charles R Harris
On Sat, Oct 19, 2019 at 4:42 AM Ralf Gommers wrote: > > > On Fri, Oct 18, 2019 at 2:36 PM Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Fri, Oct 18, 2019 at 3:06 AM Ralf Gommers >> wrote: >> >>> >>> &g

Re: [Numpy-discussion] ANN: SciPy 1.3.2

2019-11-09 Thread Charles R Harris
On Sat, Nov 9, 2019 at 3:11 PM Tyler Reddy wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi all, > > On behalf of the SciPy development team I'm pleased to announce > the release of SciPy 1.3.2, a maintenance and bug fix release that > adds support for Python 3.8. > > Good job.

[Numpy-discussion] NumPy 1.17.4 release.

2019-11-10 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.17.4 has been released. This is a bugfix release. The Python versions supported in this release are 3.5-3.8. Downstream developers should use Cython >= 0.29.13 for Python 3.8 support and OpenBLAS >= 3.7 to avoid wrong resul

Re: [Numpy-discussion] a new grant for NumPy and OpenBLAS!

2019-11-14 Thread Charles R Harris
On Thu, Nov 14, 2019 at 4:42 PM Ralf Gommers wrote: > Hi all, > > I'm very pleased to announce that NumPy and OpenBLAS have received a joint > grant for $195,000 from the Chan Zuckerberg Initiative. > > In summary, this grant is for high-level documentation, website > development and graphic desi

[Numpy-discussion] Cleanup of travisCI tests.

2019-11-15 Thread Charles R Harris
Hi All, I think there are some travisCI tests that we can eliminate, see tests for the current proposed set. I think we can eliminate the following INSTALL_PICKLE5=1 # Python3.8 has this NUMPY_

Re: [Numpy-discussion] numpy/windows-wheel-builder repository

2019-12-03 Thread Charles R Harris
On Tue, Dec 3, 2019 at 12:45 PM Ralf Gommers wrote: > > > On Tue, Dec 3, 2019 at 11:33 AM Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> It looks like the repo https://github.com/numpy/windows-wheel-builder >> is defunct. Could someone with the appropriate access privileges >> merg

Re: [Numpy-discussion] numpy/windows-wheel-builder repository

2019-12-03 Thread Charles R Harris
On Tue, Dec 3, 2019 at 1:52 PM Charles R Harris wrote: > > > On Tue, Dec 3, 2019 at 12:45 PM Ralf Gommers > wrote: > >> >> >> On Tue, Dec 3, 2019 at 11:33 AM Warren Weckesser < >> warren.weckes...@gmail.com> wrote: >> >>> It looks

Re: [Numpy-discussion] numpy/windows-wheel-builder repository

2019-12-03 Thread Charles R Harris
On Tue, Dec 3, 2019 at 1:55 PM Charles R Harris wrote: > > > On Tue, Dec 3, 2019 at 1:52 PM Charles R Harris > wrote: > >> >> >> On Tue, Dec 3, 2019 at 12:45 PM Ralf Gommers >> wrote: >> >>> >>> >>> On Tue, Dec 3, 2

[Numpy-discussion] NumPy 1.18 branch

2019-12-03 Thread Charles R Harris
Hi All, I will be branching 1.18 this evening or tomorrow unless someone objects. There is still one last minute change to be merged. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-disc

[Numpy-discussion] NumPy 1.19.0-dev is open.

2019-12-03 Thread Charles R Harris
Hi All, The 1.18.x branch has been made and the master branch is open for 1.19.0 development. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] NumPy 1.18.0rc1 released.

2019-12-05 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.18.0rc1 has been released. In addition to the usual bug fixes, this NumPy release cleans up and documents the new random C-API, expires a large number of old deprecations, and improves the appearance and organization of the

[Numpy-discussion] NumPy 1.18.0 release

2019-12-22 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.18.0 has been released. In addition to the usual bug fixes, this NumPy release cleans up and documents the new random C-API, expires a large number of old deprecations, and improves the appearance and organization of the doc

[Numpy-discussion] Upcoming NumPy 1.16.6 release.

2019-12-27 Thread Charles R Harris
Hi All, The NumPy 1.16.6 release is under preparation. The release notes and changelog may be found at #15191 . Because this is the last planned release that supports Python 2.7 it is important to make sure it has all the relevant fixes, so if this affect

[Numpy-discussion] NumPy 1.16.6 release.

2019-12-29 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.16.6 has been released. This release fixes bugs reported against the 1.16.5 release and backports several enhancements from master that seem appropriate for an LTS series. The supported Python versions are 2.7, 3.5-3.7. This

[Numpy-discussion] NumPy 1.17.5 Released

2020-01-01 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.17.5 has been released. This release fixes bugs reported against the 1.17.4 release. The supported Python versions are 3.5-3.7. This is the last planned release that supports Python 3.5. Wheels for this release can be downl

[Numpy-discussion] Cleaning up Python 2.7 code.

2020-01-02 Thread Charles R Harris
Hi All, Just want to propose cleaning up the Python 2.7 compatibility code for NumPy 1.19. Any objections? Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Cleaning up Python 2.7 code.

2020-01-02 Thread Charles R Harris
On Thu, Jan 2, 2020 at 5:20 PM Jarrod Millman wrote: > Hi Chuck, > > I just finished doing that for NetworkX and would be happy to start a > PR for NumPy tomorrow (assuming there are no objections). > > Best regards, > Jarrod > Hi Jarrod, There are four current PRs making a start on the task, t

[Numpy-discussion] NumPy 1.18.1 released

2020-01-06 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.18.1 has been released. This release contains fixes for bugs reported against NumPy 1.18.0. Two bugs in particular that caused widespread problems downstream were: - The cython random extension test was not using a tempo

Re: [Numpy-discussion] Re-enable deprecation warning for "ragged arrays"

2020-01-21 Thread Charles R Harris
On Tue, Jan 21, 2020 at 2:14 PM Matti Picus wrote: > A few months ago we merged an implementation of "NEP 34 - Disallow > inferring dtype=object from sequences" > https://numpy.org/neps/nep-0034.html but it broke downstream packages > like scipy, pandas, matplotlib, astropy (those are the ones we

[Numpy-discussion] pip 20 release broke wheels builds.

2020-01-21 Thread Charles R Harris
Hi All, Just a note that latest pip release broke the numpy wheel builds. The fix is to update multibuild to the latest version. I'm sending this out in case others are affected. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https:

Re: [Numpy-discussion] what to clean up, what to leave as is

2020-01-24 Thread Charles R Harris
On Fri, Jan 24, 2020 at 9:46 AM Ralf Gommers wrote: > Hi all, > > It's great to see that people are jumping at the chance to clean up Python > 2 support. I would however caution about overdoing it on other cleanups. As > a reminder, we normally do not want pure style PRs (e.g. PEP8 cleanups), > b

Re: [Numpy-discussion] what to clean up, what to leave as is

2020-01-24 Thread Charles R Harris
On Fri, Jan 24, 2020 at 10:42 AM Kevin Sheppard wrote: > I think some types of clean-ups, for example, imports, are pretty low > cost, low risk and don't have much bearing on and it might be best to do > them all at once. > > f-strings are also pretty simple but can be abused to the detriment of

Re: [Numpy-discussion] Deprecate unused but exposed C-API functions

2020-01-24 Thread Charles R Harris
On Fri, Jan 24, 2020 at 11:29 AM Sebastian Berg wrote: > Hi all, > > I would like to deprecate three C-API functions (more may come later) > in https://github.com/numpy/numpy/pull/15427 > > The functions are: > * PyArray_GetArrayParamsFromObject > * PyUfunc_GenericCall > * PyUFunc_SetUsesAr

[Numpy-discussion] Python 3.9

2020-01-30 Thread Charles R Harris
Hi All, Out of curiosity, I ran the numpy tests on Python3.9a3 to see if we hit any of the expired deprecations. The only error looked like a Python bug in fractions.Fraction. For others who may want to try this for a bit of fun: - Download and altinstall Python3.9a3 - Clone and install cy

[Numpy-discussion] manylinux upgrade for numpy wheels

2020-02-04 Thread Charles R Harris
Hi All, Thought now would be a good time to decide on upgrading manylinux for the 1.19 release so that we can make sure that everything works as expected. The choices are manylinux1 -- CentOS 5, currently used, gcc 4.2 (in practice 4.5), only supports i

Re: [Numpy-discussion] NEP 38 - Universal SIMD intrinsics

2020-02-12 Thread Charles R Harris
On Wed, Feb 12, 2020 at 12:19 AM Matti Picus wrote: > On 11/2/20 8:02 pm, Devulapalli, Raghuveer wrote: > > > > On top of that the performance implications aren’t clear. Software > > implementations of hardware instructions might perform worse and might > > not even produce the same result. > > >

[Numpy-discussion] manylinux2010.

2020-02-14 Thread Charles R Harris
Hi All, Just a note that I've moved the nightly NumPy wheels builds to manylinux2010. Downstream projects testing against those wheels should check that they are using pip >= 19.0 in order to fetch those wheels. If there are any problems, please note them here. Chuck _

Re: [Numpy-discussion] manylinux2010.

2020-02-14 Thread Charles R Harris
On Fri, Feb 14, 2020 at 12:48 PM Mark Harfouche wrote: > Chuck, > > Cool stuff! > > Will manylinux1 wheels compiled with older numpy (say 1.14) work with > manylinux2010 wheels? > > What is your recommendation for downstream projects that depend on > Cython/numpy to do? > > Do you have a document

Re: [Numpy-discussion] numpy_financial functions

2020-02-18 Thread Charles R Harris
On Tue, Feb 18, 2020 at 2:33 PM Jordan wrote: > I teach finance at IU Bloomington and use the numpy_financial module > pretty heavily. I've written a couple of functions for bond math for my own > use (duration, convexity, forward rates, etc.). Is there any appetite for > expanding numpy_financia

[Numpy-discussion] Scikit-learn in the news.

2020-02-21 Thread Charles R Harris
Hi All, Just thought I mention a new paper where scikit-learn was used: A Deep Learning Approach to Antibiotic Discovery . Congratulations to the scikit-learn team. Chuck ___ NumP

Re: [Numpy-discussion] Opportunities for a NumPy sprint in Japan

2020-03-11 Thread Charles R Harris
Hi David, On Wed, Mar 11, 2020 at 8:43 PM David Cournapeau wrote: > Hi there, > > My current employer is organizing regular "hack weeks" where engineers can > work on the projects of their choice. My team is using a lot of pydata > tools, including numpy, so contributing to NumPy would be natura

[Numpy-discussion] NumPy 1.18.2 released.

2020-03-17 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.18.2 has been released.This small release contains a fix for a performance regression in numpy/random and several bug/maintenance updates. The Python versions supported in this release are 3.5-3.8. Downstream developers sho

Re: [Numpy-discussion] Deprecating ndarray.tostring()

2020-03-31 Thread Charles R Harris
On Tue, Mar 31, 2020 at 5:33 AM Ralf Gommers wrote: > > > On Mon, Mar 30, 2020 at 1:09 PM Eric Wieser > wrote: > >> Hi all, >> >> Just a heads up that in https://github.com/numpy/numpy/pull/15867 I plan >> to deprecate ndarray.tostring(), which is just a confusing way to spell >> ndarray.tobytes

[Numpy-discussion] NumPy 1.18.3 released.

2020-04-19 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.18.3 has been released. This release contains various bug/regression fixes for the 1.18 series The Python versions supported in this release are 3.5-3.8. Downstream developers should use Cython >= 0.29.15 for Python 3.8 sup

Re: [Numpy-discussion] Proposal: add `force=` or `copy=` kwarg to `__array__` interface

2020-04-21 Thread Charles R Harris
On Tue, Apr 21, 2020 at 1:07 AM Juan Nunez-Iglesias wrote: > Hello NumPy-ers! > > The __array__ method is a great little tool to allow interoperability with > NumPy. Briefly, calling `np.array()` or `np.asarray()` on an object with an > `__array__` method, one can get a NumPy representation of th

[Numpy-discussion] 1.19.x branch

2020-04-29 Thread Charles R Harris
Hi All, I thinking of making the 1.19.x branch in about two weeks. If there are PRs that you feel need to be in that release please let me know. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo

[Numpy-discussion] NumPy 1.18.4 release

2020-05-03 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.18.4 has been released. This is the last planned release in the 1.18.x series. It reverts the bool("0") behavior introduced in 1.18.3 and fixes a bug in Generator.integers. There is also a link to a new troubleshooting secti

[Numpy-discussion] NumPy nightly wheel builds

2020-05-03 Thread Charles R Harris
Hi All, The NumPy "nightly" wheel builds, actually built weekly on Sunday mornings, have moved to https://anaconda.org/scipy-wheels-nightly/numpy/files. They can be installed/downloaded using pip: pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy Chuck _

Re: [Numpy-discussion] NumPy nightly wheel builds

2020-05-03 Thread Charles R Harris
On Sun, May 3, 2020 at 5:34 PM Andrew Nelson wrote: > > > On Mon, 4 May 2020, 07:26 Charles R Harris, > wrote: > >> Hi All, >> >> The NumPy "nightly" wheel builds, actually built weekly on Sunday >> mornings, have moved to >> https://ana

[Numpy-discussion] NumPy wheels for pypy and aarch64.

2020-05-15 Thread Charles R Harris
Hi All, Just a note that NumPy wheels for both pypy and aarch64 are now available in the nightly builds. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] NumPy 1.19. 0rc1 Release

2020-05-18 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.0rc1 has been released. This NumPy release is marked by the removal of much technical debt: support for Python 2 has been removed, many deprecations have been expired, and documentation has been improved. The polishing of

[Numpy-discussion] (no subject)

2020-05-31 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.0rc2 has been released. This NumPy release supports Python 3.6-3.8 and is marked by the removal of much technical debt: support for Python 2 has been removed, many deprecations have been expired, and documentation has bee

Re: [Numpy-discussion] (no subject)

2020-06-02 Thread Charles R Harris
On Tue, Jun 2, 2020 at 1:31 AM Ralf Gommers wrote: > > > On Tue, Jun 2, 2020 at 7:14 AM Sandro Tosi wrote: > >> hey! >> >> On Sun, May 31, 2020 at 7:52 PM Charles R Harris >> wrote: >> > Downstream developers should use Cython >= 0.29.16 for Py

Re: [Numpy-discussion] (no subject)

2020-06-02 Thread Charles R Harris
On Tue, Jun 2, 2020 at 3:15 PM Charles R Harris wrote: > > > On Tue, Jun 2, 2020 at 1:31 AM Ralf Gommers > wrote: > >> >> >> On Tue, Jun 2, 2020 at 7:14 AM Sandro Tosi wrote: >> >>> hey! >>> >>> On Sun, May 31, 2020 at 7:52 PM C

Re: [Numpy-discussion] (no subject)

2020-06-02 Thread Charles R Harris
On Tue, Jun 2, 2020 at 3:19 PM Charles R Harris wrote: > > > On Tue, Jun 2, 2020 at 3:15 PM Charles R Harris > wrote: > >> >> >> On Tue, Jun 2, 2020 at 1:31 AM Ralf Gommers >> wrote: >> >>> >>> >>> On Tue, Jun 2, 2020 at

[Numpy-discussion] NumPy 1.18.5 released

2020-06-03 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce the release of NumPy 1.18.5. This is a short release to enable pickle protocol=5 to be used in Python3.5 and is motivated by the recent backport of pickle5 to Python3.5. The Python versions supported in this release are 3.5-3.8. Downstr

Re: [Numpy-discussion] (no subject)

2020-06-03 Thread Charles R Harris
On Wed, Jun 3, 2020 at 12:34 PM Derek Homeier < de...@astro.physik.uni-goettingen.de> wrote: > On 2 Jun 2020, at 11:15 pm, Charles R Harris > wrote: > > > >> Also, I had expected the sdist to be the .tar.gz format, I can't find > it back but IIRC that's w

[Numpy-discussion] NumPy 1.19.0 release coming this weekend.

2020-06-19 Thread Charles R Harris
Hi All, Just a heads up. There are no open PRs or issues with the 1.19.0 milestone and no reported problems with the 1.10.0rc2 release that I am aware of. Let me know if I have missed anything. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@py

[Numpy-discussion] NumPy 1.19.0 released

2020-06-20 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.0 has been released. This NumPy release supports Python 3.6-3.8 and is marked by the removal of much technical debt: support for Python 2 has been removed, many deprecations have been expired, and documentation has been i

[Numpy-discussion] NumPy 1.19.1 released.

2020-07-21 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.1 has been released. This release supports Python 3.6-3.8 and may be built with the latest Python 3.9 beta. It fixes several bugs found in the 1.19.0 release, replaces several functions deprecated in the upcoming Python-

Re: [Numpy-discussion] Add Chebyshev (cosine) transforms implemented via FFTs

2020-08-04 Thread Charles R Harris
On Tue, Aug 4, 2020 at 4:55 AM Ralf Gommers wrote: > > > On Tue, Aug 4, 2020 at 1:49 AM Chris Vavaliaris > wrote: > >> PR #16999: https://github.com/numpy/numpy/pull/16999 >> >> Hello all, >> this PR adds the two 1D Chebyshev transform functions `chebyfft` and >> `ichebyfft` into the `numpy.fft`

Re: [Numpy-discussion] Migrating code to eliminate references to numpy/core/include/numpy/npy_3kcompat.h (?)

2020-08-21 Thread Charles R Harris
On Fri, Aug 21, 2020 at 3:32 PM Otto Hirr wrote: > Greetings, > > tl;dr: > Need to remove npy_3kcompat.h from any source code location since > Python2 is no longer supported. > > Background: > Ran into an error after compiling various apps regarding > npy_PyErr_ChainExceptionsCause() being undefi

Re: [Numpy-discussion] Feature requests/Enhancements for upper-level engineering students

2020-08-21 Thread Charles R Harris
On Thu, Aug 20, 2020 at 11:11 AM cooperrc wrote: > Greetings, > As the Fall semester is fast approaching (10 days away for us at UConn), we > are looking for senior design (also called capstone) projects for the > 2020-2021 school year. The COVID situation has strengthened the need for > remote w

[Numpy-discussion] Dropping manylinux1 wheels for NumPy 1.20.

2020-08-27 Thread Charles R Harris
Hi All, The 32 bit manylinux1 wheels are proving problematic, see https://github.com/numpy/numpy/issues/17174. One proposed solution is to only release manylinux2010 linux wheels for the NumPy 1.20 release. Thoughts? Chuck ___ NumPy-Discussion mailing l

[Numpy-discussion] NumPy 1.19.2 released

2020-09-10 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.2 has been released. This release fixes several bugs, prepares for the upcoming Cython 3.x release. and pins setuptools to keep distutils working while upstream modifications are ongoing. The aarch64 wheels are built with

[Numpy-discussion] Numpy wheels with Python 3.9 support.

2020-09-10 Thread Charles R Harris
Hi All, There are numpy pre-wheels for Python 3.9 available on the x86_64, i686, and aarch64 platforms. They use manylinux2010 and manylinux2014, so you need a recent pip to get them. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org

[Numpy-discussion] Updating swig.i to python3 only.

2020-10-02 Thread Charles R Harris
Hi All, Motivated by the replacement of compatibility macros in NumPy core, see issue , I was wondering if we should extend that to swig.i. That would make swig incompatible with Python2.7, but one can't use recent numpy with Python 2.7 either. Chuck

[Numpy-discussion] Python 3.9 is out.

2020-10-05 Thread Charles R Harris
Hi All, The subject says it all. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Python 3.9 is out.

2020-10-05 Thread Charles R Harris
On Mon, Oct 5, 2020 at 7:58 PM Tom Augspurger wrote: > I believe that the latest version of NumPy (1.19.2) is source-compatible > with Python 3.9. Does NumPy plan to upload wheels to PyPI for Python 3.9, > or will you wait for the next release? > > Pandas is planning to upload wheels for 3.9 with

Re: [Numpy-discussion] Python 3.9 is out.

2020-10-06 Thread Charles R Harris
On Mon, Oct 5, 2020 at 10:43 PM Charles R Harris wrote: > > > On Mon, Oct 5, 2020 at 7:58 PM Tom Augspurger > wrote: > >> I believe that the latest version of NumPy (1.19.2) is source-compatible >> with Python 3.9. Does NumPy plan to upload wheels to PyPI for Python 3

[Numpy-discussion] NumPy 1.19.3 release

2020-10-28 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.3 has been released. NumPy 1.19.3 is a small maintenance release with two major improvements: - Python 3.9 binary wheels on all supported platforms, - OpenBLAS fixes for Windows 10 version 2004 fmod bug. This rele

[Numpy-discussion] Should we transfer MacPython/numpy-wheels to the NumPy org?

2020-10-28 Thread Charles R Harris
Hi All, Seems that is pretty easy to transfer a github repo to another owner. Should we do this for the numpy-wheels repo? That would put all the management in one place and now might be a good time to do it before the 1.20.x branch. Chuck ___ NumPy-Dis

[Numpy-discussion] NumPy 1.20.x branch in two weeks

2020-10-29 Thread Charles R Harris
Hi All, Time to start planning for the 1.20.x branch. These are my thoughts at the moment: - Keep support for Python 3.6. Python 3.7 came out in June 2018, which seems too recent to be our oldest supported version. - Drop Python 3.6 for 1.21.x, that will make the oldest supported vers

<    1   2   3   4   5   6   >