Skip to content

Commit

Permalink
modify terminaltables -> terminaltables3 transition
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Sep 5, 2024
1 parent 0129510 commit 9e141b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ endif()
find_python_module ( lmdb QUIET )
endif()

if ( ${PYTHON_VERSION} VERSION_GREATER_EQUAL "3.8" )
if ( ${PYTHON_VERSION} VERSION_GREATER_EQUAL "3.9" )
find_python_module ( terminaltables3 QUIET )
if ( NOT ${PY_terminaltables3_FOUND} )
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pip install terminaltables3 ${PIP_ARGS})
Expand Down
2 changes: 1 addition & 1 deletion ostap/logger/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import textwrap, os, sys
# =============================================================================
terminaltables = None
if ( 3 , 8 ) <= sys.version_info :
if ( 3 , 9 ) <= sys.version_info :
try :
import terminaltables3 as terminaltables
except ImportError :
Expand Down

0 comments on commit 9e141b8

Please sign in to comment.