-
Notifications
You must be signed in to change notification settings - Fork 74
[#698] move definition of IRODS_VERSION #784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
3963c67
b2c1e6a
dbf5bd8
1aed89d
bb05ba8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -181,8 +181,16 @@ def ET(xml_type=(), server_version=None): | |||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| logger = logging.getLogger(__name__) | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| # Advertised server version compatibility. More recent servers are not guaranteed to work. | ||||||||||||||||||||||||||||||||||||||||
| # We avail ourselves of this macro in running tests to abort if the session has connected | ||||||||||||||||||||||||||||||||||||||||
| # to a server that is too new. | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| # Deprecated. Not for use external to the library. | ||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+184
to
+188
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are lines 184 to 186 about
Suggested change
Or ...
Suggested change
|
||||||||||||||||||||||||||||||||||||||||
| IRODS_VERSION = (5, 0, 2, "d") | ||||||||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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:
|
||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| def _IRODS_VERSION(): | ||||||||||||||||||||||||||||||||||||||||
| return IRODS_VERSION | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| UNICODE = str | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| _METADATA_FIELD_TYPES = {str, UNICODE, bytes} | ||||||||||||||||||||||||||||||||||||||||
|
|
@@ -473,8 +481,8 @@ def __init__(self, proxy_user, client_user, application_name=""): | |||||||||||||||||||||||||||||||||||||||
| self.connectCnt = 0 | ||||||||||||||||||||||||||||||||||||||||
| self.proxyUser, self.proxyRcatZone = proxy_user | ||||||||||||||||||||||||||||||||||||||||
| self.clientUser, self.clientRcatZone = client_user | ||||||||||||||||||||||||||||||||||||||||
| self.relVersion = "rods{}.{}.{}".format(*IRODS_VERSION) | ||||||||||||||||||||||||||||||||||||||||
| self.apiVersion = "{3}".format(*IRODS_VERSION) | ||||||||||||||||||||||||||||||||||||||||
| self.relVersion = "rods{}.{}.{}".format(*_IRODS_VERSION()) | ||||||||||||||||||||||||||||||||||||||||
| self.apiVersion = "{3}".format(*_IRODS_VERSION()) | ||||||||||||||||||||||||||||||||||||||||
| self.option = application_name | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| irodsProt = IntegerProperty() | ||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ | |
| from irods.helpers import ( | ||
| home_collection, | ||
| make_session as _irods_helpers_make_session) | ||
| from irods.message import iRODSMessage, IRODS_VERSION | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can the removal of the |
||
| from irods.message import iRODSMessage | ||
| from irods.password_obfuscation import encode | ||
| import irods.rule | ||
| from irods.session import iRODSSession | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the removal of the
IRODS_VERSIONsymbol break client code?