Skip to content

Commit

Permalink
remove version check
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Mar 14, 2018
1 parent d1b45b0 commit 849f0c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ pycodestyle==2.3.1
pyflakes==1.6.0
setuptools-scm==1.15.6
six
tox==2.9.1
tox==2.9.1
7 changes: 0 additions & 7 deletions tiledb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
from __future__ import absolute_import
import os

from .libtiledb import (Ctx, Config, Dim, Domain, Attr, KV, ArraySchema, DenseArray, SparseArray,
TileDBError, VFS, array_consolidate, group_create, object_type,
ls, walk, remove, move)

__all__ = [Ctx, Config, Dim, Domain, Attr, KV, ArraySchema, SparseArray, TileDBError, VFS,
array_consolidate, group_create, object_type, ls, walk, remove, move]

if not os.environ.get("TILEDB_PY_NO_VERSION_CHECK"):
major, minor, patch = libtiledb.version()
if (major, minor) > (1, 2):
raise RuntimeError("The libtiledb library version does not match "
"the latest released version of tiledb 1.2.x")

0 comments on commit 849f0c7

Please sign in to comment.