icatproject/python-icat

IDSClient.getApiVersion() will yield wrong result when the call is removed from ids.server

Closed this issue · 0 comments

RKrahl commented

The getApiVersion call in ids.server has been added in 1.3.0, was deprecated in 1.8.0 and will be removed in 2.0.0.

The class IDSClient in python-icat provides a method by the same name getApiVersion() that implements this API call in the client. Even though the deprecation in ids.server is known since quite some time, the client method is not prepared for the upcoming removal. It will yield the wrong version number 1.2.0 for ids.server 2.0.0 and newer.