Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions irods/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sys

minimum_compatible_python = (3, 6)
maximum_compatible_server_api = (5, 0, 2, 'd')

if sys.version_info < minimum_compatible_python:
to_dotted_string = lambda version_tuple: ".".join(str(_) for _ in version_tuple)
Expand Down
2 changes: 1 addition & 1 deletion irods/message/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def ET(xml_type=(), server_version=None):

logger = logging.getLogger(__name__)

IRODS_VERSION = (5, 0, 2, "d")
Copy link
Contributor

@korydraughn korydraughn Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noting here that we cannot remove symbols from the public interface until a major version bump.

Steps:

  • Restore the old symbol for backward compatibility
  • Introduce _IRODS_VERSION as a duplicate of IRODS_VERSION
  • Dependent code must then be updated to use the new symbol
  • Add a comment stating the old symbol is deprecated

from .. import maximum_compatible_server_api as IRODS_VERSION

UNICODE = str

Expand Down