Skip to content

Commit 098461e

Browse files
committed
remove bandaid
1 parent 2c0ff10 commit 098461e

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

qiita_files/util.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,10 @@
77
# -----------------------------------------------------------------------------
88

99
from contextlib import contextmanager
10-
from packaging import version
1110

1211
import h5py
1312

1413

15-
# Setting h5py.default_file_mode is deprecated.
16-
# 'r' (read-only) is the default from h5py 3.0.
17-
if version.Version(h5py.__version__) <= version.Version("3.0"):
18-
# not present in all 2.x series
19-
if hasattr(h5py.get_config(), 'default_file_mode'):
20-
h5py.get_config().default_file_mode = 'r'
21-
22-
2314
def _is_string_or_bytes(s):
2415
"""Returns True if input argument is string (unicode or not) or bytes.
2516
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
'qiita_files/format',
4444
'qiita_files/parse'],
4545
extras_require={'test': ["nose >= 0.10.1", "pep8"]},
46-
install_requires=['numpy', 'h5py', 'joblib', 'packaging'],
46+
install_requires=['numpy', 'h5py', 'joblib'],
4747
classifiers=classifiers
4848
)

0 commit comments

Comments
 (0)