diff --git a/km3io/gseagen.py b/km3io/gseagen.py index 21772ab90c128f49174d55857ec4c42c8523694f..8d73c337e697369a130496847f1e5d5e581c603b 100644 --- a/km3io/gseagen.py +++ b/km3io/gseagen.py @@ -3,7 +3,7 @@ # Filename: gseagen.py # Author: Johannes Schumann <jschumann@km3net.de> -import uproot +import uproot4 as uproot import numpy as np import warnings from .rootio import Branch, BranchMapper diff --git a/km3io/offline.py b/km3io/offline.py index 37241f601f94473e46437b866f68bc089ab5d0ba..594fdc716d2aeae6fbfe5b438f33d48c7ea851dc 100644 --- a/km3io/offline.py +++ b/km3io/offline.py @@ -1,6 +1,6 @@ import binascii from collections import namedtuple -import uproot +import uproot4 as uproot import warnings import numba as nb import awkward1 as ak1 diff --git a/km3io/online.py b/km3io/online.py index 3440a4097e84a58dff7d836614963bda2e5eb33d..1775f8f865cf2340a0cc8d22c9c0a1f24bebab26 100644 --- a/km3io/online.py +++ b/km3io/online.py @@ -1,6 +1,6 @@ import binascii import os -import uproot +import uproot4 as uproot import numpy as np import numba as nb diff --git a/km3io/rootio.py b/km3io/rootio.py index 6e30552bdd66aef7b3f856c956d050b8a24ff28a..69c6f4541a76c470124f175fd97792c6ade7e1ad 100644 --- a/km3io/rootio.py +++ b/km3io/rootio.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import numpy as np import awkward1 as ak -import uproot +import uproot4 as uproot from .tools import unfold_indices diff --git a/km3io/tools.py b/km3io/tools.py index 6e6864f1b8cef97180e2b105c2c7dc8a0a16b71f..e475ec3bc33573e591919a867d6e8bd1534f3bea 100644 --- a/km3io/tools.py +++ b/km3io/tools.py @@ -2,7 +2,7 @@ import numba as nb import numpy as np import awkward1 as ak1 -import uproot +import uproot4 as uproot from km3io.definitions import reconstruction as krec from km3io.definitions import trigger as ktrg diff --git a/km3io/utils/kprinttree.py b/km3io/utils/kprinttree.py index 7b5af9da0147ab07305cf52987ff72446c08ed70..47d38c5ba6d52eb82c2134d6c6f29c861ee80063 100644 --- a/km3io/utils/kprinttree.py +++ b/km3io/utils/kprinttree.py @@ -14,7 +14,7 @@ Options: -h --help Show this screen. """ -import uproot +import uproot4 as uproot def print_tree(filename): diff --git a/requirements/install.txt b/requirements/install.txt index e080859acdd38d170b55d63a040eed7604859364..7ada850b8ca0b785c3fc17514459fb5c87ef5a5b 100644 --- a/requirements/install.txt +++ b/requirements/install.txt @@ -1,5 +1,5 @@ docopt numba>=0.50 awkward1>=0.3.1 -uproot>=3.11.1 +uproot4 setuptools_scm