File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 9292 --count --max-complexity=62 --max-line-length=127 --statistics
9393 black datajoint --check -v
9494 black tests --check -v
95+ black tests_old --check -v
9596 publish-docs :
9697 if : |
9798 github.event_name == 'push' &&
Original file line number Diff line number Diff line change 11import datajoint as dj
2- from distutils . version import LooseVersion
2+ from packaging import version
33import pytest
44import os
55
@@ -36,9 +36,9 @@ def connection_test(connection_root):
3636 permission = "ALL PRIVILEGES"
3737
3838 # Create MySQL users
39- if LooseVersion (
39+ if version . parse (
4040 connection_root .query ("select @@version;" ).fetchone ()[0 ]
41- ) >= LooseVersion ("8.0.0" ):
41+ ) >= version . parse ("8.0.0" ):
4242 # create user if necessary on mysql8
4343 connection_root .query (
4444 f"""
You can’t perform that action at this time.
0 commit comments