Skip to content

Commit 3963c67

Browse files
committed
[_698] move definition of IRODS_VERSION
1 parent 94b8594 commit 3963c67

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

irods/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import sys
22

33
minimum_compatible_python = (3, 6)
4+
maximum_compatible_server_api = (5, 0, 2, 'd')
45

56
if sys.version_info < minimum_compatible_python:
67
to_dotted_string = lambda version_tuple: ".".join(str(_) for _ in version_tuple)

irods/message/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def ET(xml_type=(), server_version=None):
181181

182182
logger = logging.getLogger(__name__)
183183

184-
IRODS_VERSION = (5, 0, 2, "d")
184+
from .. import maximum_compatible_server_api as IRODS_VERSION
185185

186186
UNICODE = str
187187

0 commit comments

Comments
 (0)