8000 MNT Add threadpoolctl in show_versions (#17241) · InterferencePattern/scikit-learn@955b3ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 955b3ed

Browse files
jeremiedbbadrinjalali
authored andcommitted
MNT Add threadpoolctl in show_versions (scikit-learn#17241)
1 parent 15716da commit 955b3ed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sklearn/utils/_show_versions.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def _get_deps_info():
5151
"pandas",
5252
"matplotlib",
5353
"joblib",
54+
"threadpoolctl"
5455
]
5556

5657
def get_version(module):
@@ -87,7 +88,7 @@ def show_versions():
8788

8889
print('\nPython dependencies:')
8990
for k, stat in deps_info.items():
90-
print("{k:>10}: {stat}".format(k=k, stat=stat))
91+
print("{k:>13}: {stat}".format(k=k, stat=stat))
9192

92-
print("\n{k:>10}: {stat}".format(k="Built with OpenMP",
93-
stat=_openmp_parallelism_enabled()))
93+
print("\n{k}: {stat}".format(k="Built with OpenMP",
94+
stat=_openmp_parallelism_enabled()))

0 commit comments

Comments
 (0)
0