From 3d49d86e0c83da1733386888c65b6490fb53497b Mon Sep 17 00:00:00 2001 From: Stephan Hoyer Date: Sat, 10 Nov 2018 13:06:41 -0800 Subject: MAINT: disable __array_function__ dispatch unless environment variable set Per discussion on the mailing list, __array_function__ isn't quite ready to release as part of NumPy 1.16: https://mail.python.org/pipermail/numpy-discussion/2018-November/078949.html We'd like to improve performance a bit, and it will be easier to support introspection on NumPy functions if we support Python 3 only. So for now, you need to set the environment variable ``NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1`` to enable dispatching. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 29b04f296..491fcefea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,6 +80,9 @@ matrix: - BLAS=None - LAPACK=None - ATLAS=None + - python: 3.6 + env: + - NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1 before_install: - ./tools/travis-before-install.sh -- cgit v1.2.1