File tree 2 files changed +7
-8
lines changed
Filter options
2 files changed +7
-8
lines changed
Original file line number Diff line number Diff line change 5
5
6
6
policies = None
7
7
8
- with open (join (dirname (abspath (policy .__file__ )), "policy.json" )) as f :
8
+ with open (join (dirname (abspath (policy .__file__ )), "manylinux- policy.json" )) as f :
9
9
policies = json .load (f )
10
10
11
11
for p in policies :
12
- if p ["name" ] == "manylinux2014" :
13
- p ["lib_whitelist" ].append ("libxcb.so.1" )
12
+ p ["lib_whitelist" ].append ("libxcb.so.1" )
14
13
15
- with open (join (dirname (abspath (policy .__file__ )), "policy.json" ), "w" ) as f :
14
+ with open (join (dirname (abspath (policy .__file__ )), "manylinux- policy.json" ), "w" ) as f :
16
15
f .write (json .dumps (policies ))
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ function bdist_wheel_cmd {
17
17
CI_BUILD=1 pip wheel --verbose --wheel-dir=" $PWD /dist" . $BDIST_PARAMS
18
18
cp dist/* .whl $abs_wheelhouse
19
19
if [ -z " $IS_OSX " ]; then
20
- TOOLS_PATH=/opt/_internal/tools
21
- /opt/python/cp37-cp37m/bin/python -m venv $TOOLS_PATH
20
+ # this path can be changed in the latest manylinux image
21
+ TOOLS_PATH=/opt/_internal/pipx/venvs/auditwheel
22
+ /opt/python/cp39-cp39/bin/python -m venv $TOOLS_PATH
22
23
source $TOOLS_PATH /bin/activate
23
- python$PYTHON_VERSION -m pip install auditwheel==3.2.0
24
- python$PYTHON_VERSION patch_auditwheel_whitelist.py
24
+ python patch_auditwheel_whitelist.py
25
25
# to avoid issues with numpy wheels
26
26
rm /io/wheelhouse/numpy*
27
27
deactivate
You can’t perform that action at this time.
0 commit comments