From 9978cc5a1861533abf7c6ed7b0f4e1d732171094 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 23 Aug 2021 15:21:24 -0600 Subject: Remove Python 3.7 checks from the array API code NumPy has dropped Python 3.7, so these are no longer necessary (and they didn't completely work anyway). --- numpy/array_api/__init__.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'numpy/array_api') diff --git a/numpy/array_api/__init__.py b/numpy/array_api/__init__.py index 53c1f3850..1e1ff242f 100644 --- a/numpy/array_api/__init__.py +++ b/numpy/array_api/__init__.py @@ -120,11 +120,6 @@ Still TODO in this module are: import sys -# numpy.array_api is 3.8+ because it makes extensive use of positional-only -# arguments. -if sys.version_info < (3, 8): - raise ImportError("The numpy.array_api submodule requires Python 3.8 or greater.") - import warnings warnings.warn( -- cgit v1.2.1