File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 4
4
editable :
5
5
description : Whether to build pandas in editable mode (default true)
6
6
default : true
7
- werror :
8
- description : Enable werror flag for build
9
- default : true
10
7
runs :
11
8
using : composite
12
9
steps :
@@ -26,12 +23,12 @@ runs:
26
23
shell : bash -el {0}
27
24
28
25
- name : Build Pandas
26
+ # wno-error reason: https://github.com/cython/cython/issues/6870
29
27
run : |
30
28
if [[ ${{ inputs.editable }} == "true" ]]; then
31
- pip install -e . --no-build-isolation -v --no-deps \
32
- ${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }}
29
+ EDITABLE="-e"
33
30
else
34
- pip install . --no-build-isolation -v --no-deps \
35
- ${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }}
31
+ EDITABLE=""
36
32
fi
33
+ pip install $EDITABLE . --no-build-isolation -v --no-deps -Csetup-args="-Werror" -Csetup-args="-Wno-error=unused-parameter"
37
34
shell : bash -el {0}
Original file line number Diff line number Diff line change @@ -160,9 +160,6 @@ jobs:
160
160
- name : Build Pandas
161
161
id : build
162
162
uses : ./.github/actions/build_pandas
163
- with :
164
- # xref https://github.com/cython/cython/issues/6870
165
- werror : ${{ matrix.name != 'Freethreading' }}
166
163
167
164
- name : Test (not single_cpu)
168
165
uses : ./.github/actions/run-tests
You can’t perform that action at this time.
0 commit comments