From 0b109f31d3ac833b6fbb1f825dd828ffba739bf8 Mon Sep 17 00:00:00 2001 From: Jim Pivarski Date: Thu, 4 Feb 2021 08:00:59 -0600 Subject: [PATCH] Remove deprecation warning because the user EXPLICITLY installed awkward0, after all. --- awkward0/__init__.py | 15 --------------- awkward0/version.py | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/awkward0/__init__.py b/awkward0/__init__.py index 5cf78a06..e15be579 100644 --- a/awkward0/__init__.py +++ b/awkward0/__init__.py @@ -8,21 +8,6 @@ if distutils.version.LooseVersion(numpy.__version__) < distutils.version.LooseVersion("1.13.1"): raise ImportError("Numpy 1.13.1 or later required") -import warnings -warnings.warn( - """Consider switching from 'awkward0' to 'awkward', since the new interface became the default in 2020. - - pip install -U awkward - -In Python: - - >>> import awkward as ak - >>> new_style_array = ak.from_awkward0(old_style_array) - >>> old_style_array = ak.to_awkward0(new_style_array) -""", - FutureWarning -) - from awkward0.array.base import AwkwardArray from awkward0.array.chunked import ChunkedArray, AppendableArray from awkward0.array.indexed import IndexedArray, SparseArray diff --git a/awkward0/version.py b/awkward0/version.py index 4b8b88b2..67078aeb 100644 --- a/awkward0/version.py +++ b/awkward0/version.py @@ -4,7 +4,7 @@ import re -__version__ = "0.15.3" +__version__ = "0.15.4" version = __version__ version_info = tuple(re.split(r"[-\.]", __version__))