Skip to content

Commit a316513

Browse files
committed
build: fix the pypy wheel arguments
This happened: ``` ******************************************************************************** The arguments ['--python-tag', 'pp38.pp39.pp310'] were given via `--global-option`. Please use `--build-option` instead, `--global-option` is reserved for flags like `--verbose` or `--quiet`. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** ```
1 parent 7ec2c62 commit a316513

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/kit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,13 @@ jobs:
232232
pypy3 -m pip install -r requirements/kit.pip
233233
234234
- name: "Build wheel"
235+
env:
236+
DIST_EXTRA_CONFIG: extra.cfg
235237
run: |
236238
# One wheel works for all PyPy versions. PYVERSIONS
237239
# yes, this is weird syntax: https://github.com/pypa/build/issues/202
238-
pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp38.pp39.pp310"
240+
echo -e "[bdist_wheel]\npython_tag=pp38.pp39.pp310" > $DIST_EXTRA_CONFIG
241+
pypy3 -m build -w
239242
240243
- name: "List wheels"
241244
run: |

0 commit comments

Comments
 (0)