Skip to content

Commit f1e6da6

Browse files
update CHANGELOG and version for release 0.12.4
1 parent eadde37 commit f1e6da6

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
## Release notes
22

3-
## 0.12.3 -- Nov 22, 2019
3+
### 0.12.4 -- Jan 03, 2020
4+
* Support for simple scalar datatypes in blobs (#690 and PR #706)
5+
* Add support for the `serial` data type in declarations: alias for `bigint unsigned auto_increment` (#713)
6+
* Improve the log table to avoid primary key collisions (#713)
7+
* Improve documentation in README
8+
9+
10+
### 0.12.3 -- Nov 22, 2019
411
* Bugfix #675 (PR #705) networkx 2.4+ is now supported
512
* Bugfix #698 and #699 (PR #706) display table definition in doc string and help
613
* Bugfix #701 (PR #702) job reservation works with native python datatype support disabled

datajoint/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "0.12.3"
1+
__version__ = "0.12.4"
22

33
assert len(__version__) <= 10 # The log table limits version to the 10 characters

tests/test_blob.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,30 @@ def test_pack():
3434

3535
x = -255
3636
y = unpack(pack(x))
37-
assert_true(x == y and isinstance(y, int) and not isinstance(y, np.ndarray), "Native int did not match")
37+
assert_true(x == y and isinstance(y, int) and not isinstance(y, np.ndarray), "Scalar int did not match")
3838

3939
x = -25523987234234287910987234987098245697129798713407812347
4040
y = unpack(pack(x))
41-
assert_true(x == y and isinstance(y, int) and not isinstance(y, np.ndarray), "Native int did not match")
41+
assert_true(x == y and isinstance(y, int) and not isinstance(y, np.ndarray), "Unbounded int did not match")
4242

4343
x = 7.
4444
y = unpack(pack(x))
45-
assert_true(x == y and isinstance(y, float) and not isinstance(y, np.ndarray), "Native float did not match")
45+
assert_true(x == y and isinstance(y, float) and not isinstance(y, np.ndarray), "Scalar float did not match")
4646

4747
x = 7j
4848
y = unpack(pack(x))
49-
assert_true(x == y and isinstance(y, complex) and not isinstance(y, np.ndarray), "Native complex did not match")
49+
assert_true(x == y and isinstance(y, complex) and not isinstance(y, np.ndarray), "Complex scalar did not match")
5050

5151
x = True
52-
assert_true(unpack(pack(x)) is True, "Native bool did not match")
52+
assert_true(unpack(pack(x)) is True, "Scalar bool did not match")
5353

5454
x = [None]
5555
assert_list_equal(x, unpack(pack(x)))
5656

5757
x = {'name': 'Anonymous', 'age': 15, 99: datetime.now(), 'range': [110, 190], (11, 12): None}
5858
y = unpack(pack(x))
5959
assert_dict_equal(x, y, "Dict do not match!")
60-
assert_false(isinstance(['range'][0], np.ndarray), "Python-native scalars did not match.")
60+
assert_false(isinstance(['range'][0], np.ndarray), "Scalar int was coerced into arrray.")
6161

6262
x = uuid.uuid4()
6363
assert_equal(x, unpack(pack(x)), 'UUID did not match')

0 commit comments

Comments
 (0)