mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
Fix wheels building on old versions
The CI env already had an installed version of setuptools. This old version didn't support markdown for long description. So it built a wrong wheel file, and twine complained. cf. https://github.com/huggingface/tokenizers/runs/331944386
This commit is contained in:
3
.github/workflows/python-release.yml
vendored
3
.github/workflows/python-release.yml
vendored
@ -48,7 +48,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install setuptools wheel setuptools-rust
|
# On old versions of python there is an old version of setuptools already installed
|
||||||
|
pip install setuptools wheel setuptools-rust --ignore-installed --force-reinstall
|
||||||
|
|
||||||
- name: Build wheel
|
- name: Build wheel
|
||||||
working-directory: ./bindings/python
|
working-directory: ./bindings/python
|
||||||
|
Reference in New Issue
Block a user