We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6468490 + 28d2321 commit 650a155Copy full SHA for 650a155
tests/sources/python-config-test.py
@@ -1,5 +1,5 @@
1
import distutils.sysconfig
2
-from distutils.version import StrictVersion
+from distutils.version import LooseVersion
3
import sysconfig
4
import sys
5
import platform
@@ -43,7 +43,7 @@
43
### Validate macOS
44
if os_type == 'Darwin':
45
### Validate openssl links
46
- if StrictVersion(nativeVersion) < StrictVersion("3.7.0"):
+ if LooseVersion(nativeVersion) < LooseVersion("3.7.0"):
47
expected_ldflags = '-L/usr/local/opt/[email protected]/lib'
48
ldflags = sysconfig.get_config_var('LDFLAGS')
49
0 commit comments