Skip to content

Commit fb8e50b

Browse files
committed
Fixed unit test problem with ROOT import
1 parent 411867e commit fb8e50b

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

PILOTVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12.5.6
1+
3.13.0.6

pilot/scripts/open_remote_file.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717
#
1818
# Authors:
19-
# - Paul Nilsson, paul.nilsson@cern.ch, 2020-24
19+
# - Paul Nilsson, paul.nilsson@cern.ch, 2020-26
2020

2121
"""Script for remote file open verification."""
2222

@@ -33,7 +33,10 @@
3333
from collections import namedtuple
3434
from typing import Any
3535

36-
import ROOT
36+
try:
37+
import ROOT # optional runtime dependency; only available in ATLAS environments
38+
except ModuleNotFoundError:
39+
ROOT = None # type: ignore[assignment]
3740

3841
from pilot.util.config import config
3942
from pilot.util.filehandling import write_json

pilot/util/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
# Pilot version
2828
RELEASE = '3' # released number should be fixed at 3 for Pilot 3
29-
VERSION = '12' # version number is '1' for first release, '0' until then, increased for bigger updates
30-
REVISION = '5' # revision number should be reset to '0' for every new version release, increased for small updates
29+
VERSION = '13' # version number is '1' for first release, '0' until then, increased for bigger updates
30+
REVISION = '0' # revision number should be reset to '0' for every new version release, increased for small updates
3131
BUILD = '6' # build number should be reset to '1' for every new development cycle
3232

3333
SUCCESS = 0

0 commit comments

Comments
 (0)