File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ class macOSPythonBuilder : NixPythonBuilder {
40
40
# ## and then add the appropriate paths for the header and library files to configure command.
41
41
# ## Link to documentation (https://cpython-devguide.readthedocs.io/setup/#build-dependencies)
42
42
if ($this.Version -lt " 3.7.0" ) {
43
- $env: LDFLAGS = " -L$ ( brew -- prefix openssl) /lib"
44
- $env: CFLAGS = " -I$ ( brew -- prefix openssl) /include"
43
+ $env: LDFLAGS = " -L/usr/local/opt/ openssl@1.1 /lib"
44
+ $env: CFLAGS = " -I/usr/local/opt/ openssl@1.1 /include"
45
45
} else {
46
- $configureString += " --with-openssl=/usr/local/opt/openssl"
46
+ $configureString += " --with-openssl=/usr/local/opt/openssl@1.1 "
47
47
}
48
48
49
49
# ## Compile with support of loadable sqlite extensions. Unavailable for Python 2.*
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ Describe "Tests" {
48
48
}
49
49
}
50
50
51
+ It " Run pip" {
52
+ " pip install requests" | Should - ReturnZeroExitCode
53
+ " pip uninstall requests -y" | Should - ReturnZeroExitCode
54
+ }
55
+
51
56
if (IsNixPlatform $Platform ) {
52
57
53
58
It " Check for failed modules in build_output" {
Original file line number Diff line number Diff line change 51
51
print ('Invalid ldflags: %s; Expected: %s' % (ldflags , expected_ldflags ))
52
52
exit (1 )
53
53
else :
54
- expected_openssl_includes = '-I/usr/local/opt/openssl/include'
55
- expected_openssl_ldflags = '-L/usr/local/opt/openssl/lib'
54
+ expected_openssl_includes = '-I/usr/local/opt/openssl@1.1 /include'
55
+ expected_openssl_ldflags = '-L/usr/local/opt/openssl@1.1 /lib'
56
56
57
57
openssl_includes = sysconfig .get_config_var ('OPENSSL_INCLUDES' )
58
58
openssl_ldflags = sysconfig .get_config_var ('OPENSSL_LDFLAGS' )
Original file line number Diff line number Diff line change 139
139
'sre_constants' ,
140
140
'sre_parse' ,
141
141
'ssl' ,
142
+ '_ssl' ,
142
143
'stat' ,
143
144
'string' ,
144
145
'stringprep' ,
You can’t perform that action at this time.
0 commit comments