From b4fd7a79bc55f17f301d219492528e6f5f40c6f0 Mon Sep 17 00:00:00 2001 From: Warren Weckesser Date: Wed, 12 Aug 2020 20:41:23 -0400 Subject: DEP: lib: Remove the deprecated financial functions. (#17067) As explained in NEP 32, the financial functions are to be removed from version 1.20. They are now replaced with module level `__getattr__` to give a useful error message for those surprised by the `AttributeError`. This only works for Python 3.7+, but it is expected that by the 1.20 release Python 3.6 will not be supported. --- numpy/tests/test_public_api.py | 1 - 1 file changed, 1 deletion(-) (limited to 'numpy/tests/test_public_api.py') diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index a9d6da01c..5b2cbbffe 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -281,7 +281,6 @@ PRIVATE_BUT_PRESENT_MODULES = ['numpy.' + s for s in [ "lib.arraypad", "lib.arraysetops", "lib.arrayterator", - "lib.financial", "lib.function_base", "lib.histograms", "lib.index_tricks", -- cgit v1.2.1 From 42f9d02a249103fd024241a17ba5896fd2e18bff Mon Sep 17 00:00:00 2001 From: mattip Date: Wed, 2 Sep 2020 15:44:35 +0300 Subject: MAINT: use sysconfig not distutils.sysconfig where possible --- numpy/tests/test_public_api.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'numpy/tests/test_public_api.py') diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index 5b2cbbffe..59865ada5 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -367,18 +367,6 @@ def test_all_modules_are_expected(): SKIP_LIST_2 = [ 'numpy.math', 'numpy.distutils.log.sys', - 'numpy.distutils.system_info.copy', - 'numpy.distutils.system_info.distutils', - 'numpy.distutils.system_info.log', - 'numpy.distutils.system_info.os', - 'numpy.distutils.system_info.platform', - 'numpy.distutils.system_info.re', - 'numpy.distutils.system_info.shutil', - 'numpy.distutils.system_info.subprocess', - 'numpy.distutils.system_info.sys', - 'numpy.distutils.system_info.tempfile', - 'numpy.distutils.system_info.textwrap', - 'numpy.distutils.system_info.warnings', 'numpy.doc.constants.re', 'numpy.doc.constants.textwrap', 'numpy.lib.emath', -- cgit v1.2.1 From 1f8ce6341159ebb0731c2c262f4576609210d2c8 Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Wed, 2 Sep 2020 21:01:35 +0300 Subject: MAINT, DOC: move informational files from numpy.doc.*.py to their *.rst counterparts (#17222) * DOC: redistribute docstring-only content from numpy/doc * DOC: post-transition clean-up * DOC, MAINT: reskip doctests, fix a few easy ones --- numpy/tests/test_public_api.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'numpy/tests/test_public_api.py') diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index 5b2cbbffe..a1d28af44 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -145,18 +145,7 @@ PUBLIC_MODULES = ['numpy.' + s for s in [ "distutils.log", "distutils.system_info", "doc", - "doc.basics", - "doc.broadcasting", - "doc.byteswapping", "doc.constants", - "doc.creation", - "doc.dispatch", - "doc.glossary", - "doc.indexing", - "doc.internals", - "doc.misc", - "doc.structured_arrays", - "doc.subclassing", "doc.ufuncs", "f2py", "fft", -- cgit v1.2.1 From e1c109910e6f78fce17099c5cbdebd08867b1d8b Mon Sep 17 00:00:00 2001 From: Daniel Vanzo Date: Fri, 18 Sep 2020 10:31:23 +0200 Subject: ENH: Add support for the NVIDIA HPC SDK fortran compiler --- numpy/tests/test_public_api.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/tests/test_public_api.py') diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index a9d6da01c..ae00d1fc9 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -251,6 +251,7 @@ PRIVATE_BUT_PRESENT_MODULES = ['numpy.' + s for s in [ "distutils.fcompiler.none", "distutils.fcompiler.pathf95", "distutils.fcompiler.pg", + "distutils.fcompiler.nv", "distutils.fcompiler.sun", "distutils.fcompiler.vast", "distutils.from_template", -- cgit v1.2.1 From 54d8c9f50228da85f79755e2891a368e572425ad Mon Sep 17 00:00:00 2001 From: Jakob Date: Fri, 23 Oct 2020 20:56:18 +0200 Subject: Change string to f-string --- numpy/tests/test_public_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/tests/test_public_api.py') diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index 6ba279c61..a7bd0f115 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -349,7 +349,7 @@ def test_all_modules_are_expected(): modnames.append(modname) if modnames: - raise AssertionError("Found unexpected modules: {}".format(modnames)) + raise AssertionError(f'Found unexpected modules: {modnames}') # Stuff that clearly shouldn't be in the API and is detected by the next test -- cgit v1.2.1 From 4950fd10e678faea859fc8d8bd5d7ea9df2007b1 Mon Sep 17 00:00:00 2001 From: "Tomoki, Karatsu" <49965247+t-karatsu@users.noreply.github.com> Date: Thu, 3 Dec 2020 22:01:43 +0900 Subject: ENH: add support for fujitsu compiler to numpy. (#17792) --- numpy/tests/test_public_api.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/tests/test_public_api.py') diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index a7bd0f115..1382e1c4b 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -243,6 +243,7 @@ PRIVATE_BUT_PRESENT_MODULES = ['numpy.' + s for s in [ "distutils.fcompiler.nv", "distutils.fcompiler.sun", "distutils.fcompiler.vast", + "distutils.fcompiler.fujitsu", "distutils.from_template", "distutils.intelccompiler", "distutils.lib2def", -- cgit v1.2.1