Skip to content

Commit 9114de1

Browse files
author
Frank Duncan
committed
Fix typo in api.py and re-release
1 parent 4376826 commit 9114de1

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

RELEASING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ When releasing a new version, a few things need to happen:
55
* Update the variable in both the server and client, in
66
* `__version__` in [torqueclient/torqueclient/version.py]
77
* `SERVER_VERSION` in [torquedata/core/utils.py]
8+
* `version` in [torqueclient/setup.py]
89
* tag the release in git
910
* release the client to pypi (see [the official pypi documentation](https://packaging.python.org/en/latest/tutorials/packaging-projects/) for more information):
1011
* This requires a pypi login as well as access to the torqueclient project

torqueclient/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name="torqueclient",
14-
version="0.2",
14+
version="0.2.1",
1515
#version=main_ns['__version__'],
1616
description="Python client for mediawiki/torque",
1717
long_description=long_description,

torqueclient/torqueclient/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def __setitem__(self, field, new_value):
386386
"torquedataconnect",
387387
format="json",
388388
path="%s/fields/%s" % (self.uri(), field),
389-
new_value=json.dumps(new_value))
389+
new_value=json.dumps(new_value)
390390
)
391391
self.data[field] = new_value
392392

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2"
1+
__version__ = "0.2.1"

torquedata/core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# It's used to handshake with the python client to ensure that everything
77
# works correctly together.
8-
SERVER_VERSION = "0.2"
8+
SERVER_VERSION = "0.2.1"
99

1010

1111
class Filter:

0 commit comments

Comments
 (0)