diff --git a/build.xml b/build.xml
index 2a5d5073c34317d8ffb75f332a6fefe73689526d..5f06b12cd23e8c5528e28e8702bbfa3c3b6565ac 100644
--- a/build.xml
+++ b/build.xml
@@ -1,5 +1,5 @@
 <project name="ibis-client" default="all" xmlns:if="ant:if">
-    <property name="api.version" value="1.3.0"/>
+    <property name="api.version" value="1.3.1"/>
 
     <!-- =================================
           target: Java autogen
diff --git a/setup.py b/setup.py
index c550d0eaf3ed22812adaeb9d406a84b5dd5ca2ac..010d5a657d79529b848c5fe127f677741f64c689 100644
--- a/setup.py
+++ b/setup.py
@@ -4,12 +4,11 @@ Lookup/Ibis web service API
 Python installation.
 """
 
-import sys
 from setuptools import setup
 
 setup(
     name="ibisclient",
-    version="1.3.0",
+    version="1.3.1",
     description="Lookup API client",
     license="LGPL",
     url="https://www.lookup.cam.ac.uk/doc/ws-doc/",