Skip to content

Commit f86f815

Browse files
drop support for Python 3.6
1 parent 719ea38 commit f86f815

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datajoint/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def update1(self, row):
311311
raise DataJointError("Update cannot be applied to a restricted table.")
312312
key = {k: row[k] for k in self.primary_key}
313313
if len(self & key) != 1:
314-
raise DataJointError("Update entry must exist.")
314+
raise DataJointError("Update can only be applied to one existing entry.")
315315
# UPDATE query
316316
row = [
317317
self.__make_placeholder(k, v)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from os import path
44
import sys
55

6-
min_py_version = (3, 6)
6+
min_py_version = (3, 7)
77

88
if sys.version_info < min_py_version:
99
sys.exit('DataJoint is only supported for Python {}.{} or higher'.format(*min_py_version))

0 commit comments

Comments
 (0)