Skip to content

Commit ef1f7f6

Browse files
josegonzalezCaseyFaist
authored andcommitted
fix: drop broken version check
Due to how the version checks work - via sorting, not actual comparison - this previously resulted in _always_ installing sqlite3, even though it was already bundled for lower versions of python. The second version check also encompasses 3.7.0+, so there is no need to respecify the check.
1 parent 2581876 commit ef1f7f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/utils

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,5 @@ python_sqlite3_check() {
9393
MIN_PYTHON_2="python-2.7.15"
9494

9595
( python2_check "$VERSION" && version_gte "$VERSION" "$MIN_PYTHON_2" ) \
96-
|| ( python3_check "$VERSION" && version_gte "$VERSION" "$MIN_PYTHON_3" ) \
97-
|| ( version_gte "$VERSION" "3.7.0" )
96+
|| ( python3_check "$VERSION" && version_gte "$VERSION" "$MIN_PYTHON_3" )
9897
}

0 commit comments

Comments
 (0)