Skip to content

Commit

Permalink
build: fix the pypy wheel arguments
Browse files Browse the repository at this point in the history
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.
  ********************************************************************************
```
  • Loading branch information
nedbat committed Oct 2, 2023
1 parent 7ec2c62 commit a316513
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,13 @@ jobs:
pypy3 -m pip install -r requirements/kit.pip
- name: "Build wheel"
env:
DIST_EXTRA_CONFIG: extra.cfg
run: |
# One wheel works for all PyPy versions. PYVERSIONS
# yes, this is weird syntax: https://github.com/pypa/build/issues/202
pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp38.pp39.pp310"
echo -e "[bdist_wheel]\npython_tag=pp38.pp39.pp310" > $DIST_EXTRA_CONFIG
pypy3 -m build -w
- name: "List wheels"
run: |
Expand Down

0 comments on commit a316513

Please sign in to comment.