Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Remove deprecation warning because the user EXPLICITLY installed awkw…
Browse files Browse the repository at this point in the history
…ard0, after all.
  • Loading branch information
jpivarski committed Feb 4, 2021
1 parent 3ba6eb1 commit 0b109f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions awkward0/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion awkward0/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import re

__version__ = "0.15.3"
__version__ = "0.15.4"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))

Expand Down

0 comments on commit 0b109f3

Please sign in to comment.