Skip to content

Commit

Permalink
1. fix ostap-check-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Oct 29, 2024
1 parent f13633a commit 4ec6609
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 28 deletions.
6 changes: 4 additions & 2 deletions ReleaseNotes/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
1. add `RooDataSet` -> `TTree` transformation

## Backward incompatible

## Bug fixes


1. fix `ostap-check-dependencies`

# v1.13.6.0

## New features
Expand Down
52 changes: 26 additions & 26 deletions scripts/ostap-check-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if python_info < ( 3 , 0 ) : # ================================================
row = 'dbhash' , '' , dbhash.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'dbhash' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -136,7 +136,7 @@ if python_info < ( 3 , 0 ) : # ================================================
row = 'gdbm' , '' , gdbm.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'gdbm' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -147,7 +147,7 @@ if python_info < ( 3 , 0 ) : # ================================================
row = 'dbm' , '' , dbm.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'dbm' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -158,7 +158,7 @@ if python_info < ( 3 , 0 ) : # ================================================
row = 'dumbdbm' , '' , dumbdbm.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'dumbdbm' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -171,7 +171,7 @@ elif ( 3 , 13 ) <= python_info : # ============================================
row = 'dbm.sqlite3' , '' , dbm.sqlite3.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'dbm.sqlite3' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -184,7 +184,7 @@ if ( 3 , 0 ) <= python_info : # ===============================================
row = 'dbm.gnu' , '' , dbm.gnu.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'dbm.gnu' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -195,7 +195,7 @@ if ( 3 , 0 ) <= python_info : # ===============================================
row = 'dbm.ndbm' , '' , dbm.ndbm.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'dbm.ndbm' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -206,7 +206,7 @@ if ( 3 , 0 ) <= python_info : # ===============================================
row = 'dbm.dumb' , '' , dbm.dumb.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'dbm.dumb' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -219,7 +219,7 @@ if ( 3 , 3 ) <= python_info < ( 3 , 10) : # ===================================
row = 'bsddb3' , '' , bsddb3.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'bsddb3' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -232,7 +232,7 @@ if ( 3 , 6 ) <= python_info : # ===============================================
row = 'berkeleydb' , berkeleydb.__version__ , berkeleydb.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'berkeleydb' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -245,10 +245,10 @@ if ( 3 , 8 ) <= python_info : # ===============================================
row = 'tkrzw' , '' , tkrzw.__file__
rows.append ( row )
# =====================================================================
except ImportError :
# =================================================================
row = attention ( 'tkrzw' ) , attention ( '---' ) , ''
rows.append ( row )
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'tkrzw' ) , attention ( '---' ) , ''
rows.append ( row )
# =============================================================================
try : # =======================================================================
# =========================================================================
Expand All @@ -269,19 +269,19 @@ if ( 3 , 7 ) <= python_info : # ===============================================
row = 'lmdb' , lmdb.__version__ , lmdb.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'lmdb' ) , attention ( '---' ) , ''
rows.append ( row )
# ============================================================================
try : # ======================================================================
# ========================================================================
# =============================================================================
try : # =======================================================================
# =========================================================================
import pathos
row = 'pathos' , pathos.__version__ , pathos.__file__
rows.append ( row )
# ========================================================================
except ImportError : # =======================================================
# ========================================================================
# =========================================================================
except ImportError : # ========================================================
# =========================================================================
message = """pathos cannot be imported!
Pathos is used for the paralellel ``cluster''-processing
- see https://github.com/uqfoundation/pathos
Expand Down Expand Up @@ -412,7 +412,7 @@ if ( 3 , 8 ) <= python_info : # ===============================================
row = 'zstandard' , zstandard.__version__ , zstandard.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'zstandard' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -425,7 +425,7 @@ if ( 3 , 3 ) <= python_info : # ===============================================
row = 'lzma' , '' , lzma.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'lzma' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -441,7 +441,7 @@ if ( 3 , 9 ) <= python_info : # ===============================================
row = 'terminaltables3' , terminaltables3.__version__ , terminaltables3.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'terminaltables3' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -454,7 +454,7 @@ if not has_tt3 : # ============================================================
row = 'terminaltables' , terminaltables.__version__ , terminaltables.__file__
rows.append ( row )
# =====================================================================
except ImportError :
except ImportError : # ====================================================
# =====================================================================
row = attention ( 'terminaltables' ) , attention ( '---' ) , ''
rows.append ( row )
Expand All @@ -476,7 +476,7 @@ try : # =======================================================================
row = 'hep_ml' , hep_ml.__version__ , hep_ml.__file__
rows.append ( row )
# =========================================================================
except ImportError :
except ImportError : # ========================================================
# =========================================================================
message = """hep_ml cannot be imported!
hep_ml is recommended for very efficitnt multidimensional reweighting"""
Expand Down

0 comments on commit 4ec6609

Please sign in to comment.