From c773eb14b832a99ac9d720775b26f7987f9bfa93 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Tue, 20 Oct 2020 11:05:09 -0600 Subject: [PATCH 1/9] DOC: Add gh-15121 to NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/15121.new_function.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/release/upcoming_changes/15121.new_function.rst diff --git a/doc/release/upcoming_changes/15121.new_function.rst b/doc/release/upcoming_changes/15121.new_function.rst new file mode 100644 index 000000000000..004fec1b07e8 --- /dev/null +++ b/doc/release/upcoming_changes/15121.new_function.rst @@ -0,0 +1,6 @@ +The random.Generator class has a new ``permuted`` function. +----------------------------------------------------------- +The new function differs from ``shuffle`` and ``permutation`` in that the +subarrays indexed by an axis are permuted rather than the axis being treated as +a separate 1-D array for every combination of the other indexes. For example, +it is now possible to permute the rows or columns of a 2-D array. From 8c00ec87d2084a6ac1978bb7e383597a5d3c94b5 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Tue, 20 Oct 2020 14:58:18 -0600 Subject: [PATCH 2/9] DOC: Add gh-16570 to NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/16570.compatibility.rst | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/release/upcoming_changes/16570.compatibility.rst diff --git a/doc/release/upcoming_changes/16570.compatibility.rst b/doc/release/upcoming_changes/16570.compatibility.rst new file mode 100644 index 000000000000..5efd1218bb57 --- /dev/null +++ b/doc/release/upcoming_changes/16570.compatibility.rst @@ -0,0 +1,4 @@ +The ``operator.concat`` function now raises TypeError for array arguments +------------------------------------------------------------------------- +The previous behavior was to fall back to addition and add the two arrays, +which was thought to be unexpected behavior for a concatenation function. From 8448143c189b16db485756315f009040d280b58d Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Tue, 20 Oct 2020 15:09:40 -0600 Subject: [PATCH 3/9] DOC: Add gh-16594 to NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/16594.new_feature.rst | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/release/upcoming_changes/16594.new_feature.rst diff --git a/doc/release/upcoming_changes/16594.new_feature.rst b/doc/release/upcoming_changes/16594.new_feature.rst new file mode 100644 index 000000000000..5d67bfad7876 --- /dev/null +++ b/doc/release/upcoming_changes/16594.new_feature.rst @@ -0,0 +1,4 @@ +New``__f2py_numpy_version__`` attribute for f2py generated modules. +------------------------------------------------------------------- +Because f2py is released together with NumPy, ``__f2py_numpy_version__`` +provides a way to track the version f2py used to generate the module. From 284de4863d6d7e3a39c20a0bc776b151e8106954 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Tue, 20 Oct 2020 16:32:54 -0600 Subject: [PATCH 4/9] DOC: Add gh-16710 to NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/16710.improvement.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/release/upcoming_changes/16710.improvement.rst diff --git a/doc/release/upcoming_changes/16710.improvement.rst b/doc/release/upcoming_changes/16710.improvement.rst new file mode 100644 index 000000000000..4194c36a8098 --- /dev/null +++ b/doc/release/upcoming_changes/16710.improvement.rst @@ -0,0 +1,3 @@ +RPATH support on AIX added to distutils +--------------------------------------- +This allows SciPy to be built on AIX. From c4cbf80f7a24070267538dc55e5821d521cbf04a Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 22 Nov 2020 10:01:23 -0700 Subject: [PATCH 5/9] DOC: Add gh-17123 to NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/17123.new_feature.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/release/upcoming_changes/17123.new_feature.rst diff --git a/doc/release/upcoming_changes/17123.new_feature.rst b/doc/release/upcoming_changes/17123.new_feature.rst new file mode 100644 index 000000000000..e2aca3c55ebb --- /dev/null +++ b/doc/release/upcoming_changes/17123.new_feature.rst @@ -0,0 +1,12 @@ +``mypy`` tests can be run via runtests.py +----------------------------------------- +Currently running mypy with the NumPy stubs configured requires +either: + +* Installing NumPy +* Adding the source directory to MYPYPATH and linking to the mypy.ini + +Both options are somewhat inconvenient, so add a ``--mypy`` option to runtests +that handles setting things up for you. This will also be useful in the future +for any typing codegen since it will ensure the project is built before type +checking. From 56a80016fbd6b206f7e7e4b9afa3d82d2225c348 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 22 Nov 2020 10:17:58 -0700 Subject: [PATCH 6/9] DOC: Add gh-17195 to NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/17195.improvement.rst | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/release/upcoming_changes/17195.improvement.rst diff --git a/doc/release/upcoming_changes/17195.improvement.rst b/doc/release/upcoming_changes/17195.improvement.rst new file mode 100644 index 000000000000..d5f31dd3f673 --- /dev/null +++ b/doc/release/upcoming_changes/17195.improvement.rst @@ -0,0 +1,5 @@ +Make the window functions exactly symmetric +------------------------------------------- +Make sure the window functions provided by NumPy are symmetric. There were +previously small deviations from symmetry due to numerical precision that are +now avoided by better arrangement of the computation. From c6fe71771ae8e571f5040a37fe10e6ac355dadea Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 22 Nov 2020 10:26:44 -0700 Subject: [PATCH 7/9] DOC: Add gh-17284 to NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/17284.new_feature.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/release/upcoming_changes/17284.new_feature.rst diff --git a/doc/release/upcoming_changes/17284.new_feature.rst b/doc/release/upcoming_changes/17284.new_feature.rst new file mode 100644 index 000000000000..9fb59e9424cb --- /dev/null +++ b/doc/release/upcoming_changes/17284.new_feature.rst @@ -0,0 +1,6 @@ +Allow passing optimizations arguments to asv build +-------------------------------------------------- +It is now possible to pass ``-j``, ``--cpu-baseline``, ``--cpu-dispatch`` and +``--disable-optimization`` flags to ASV build when the ``--bench-compare`` +argument is used. + From 10e077a8b5fbf963664884aa175b8f0475bff967 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 22 Nov 2020 10:30:42 -0700 Subject: [PATCH 8/9] DOC: Add gh-17344 to the NumPy 1.20.0 release notes. --- doc/release/upcoming_changes/17344.new_feature.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/release/upcoming_changes/17344.new_feature.rst diff --git a/doc/release/upcoming_changes/17344.new_feature.rst b/doc/release/upcoming_changes/17344.new_feature.rst new file mode 100644 index 000000000000..225bb0d5a700 --- /dev/null +++ b/doc/release/upcoming_changes/17344.new_feature.rst @@ -0,0 +1,3 @@ +The NVIDIA HPC SDK nvfortran compiler is now supported +------------------------------------------------------ +Support for the nvfortran compiler, a version of pgfortran, has been added. From 21de3ea99331600c349c838121fd43e55dba50b2 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 22 Nov 2020 11:28:26 -0700 Subject: [PATCH 9/9] MAINT: Update release_requirements.txt. - beautifulsoup4 was misspelled. - add Paver, twine, and towncrier --- release_requirements.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/release_requirements.txt b/release_requirements.txt index dc840b9359ec..c24e39c7849d 100644 --- a/release_requirements.txt +++ b/release_requirements.txt @@ -3,8 +3,15 @@ # download-wheels.py urllib3 -beatifulsoup4 +beautifulsoup4 # changelog.py pygithub gitpython + +# uploading wheels +twine + +# building and notes +Paver +towncrier