Skip to content

Commit

Permalink
fix python 3.10 references in wheel names
Browse files Browse the repository at this point in the history
  • Loading branch information
bhearsum committed Jan 10, 2025
1 parent 3033223 commit e4f9d1b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions taskcluster/kinds/bicleaner-model/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ tasks:
- bash
- -c
- >-
pip install --break-system-packages $MOZ_FETCHES_DIR/cyhunspell-2.0.3-cp310-cp310-linux_x86_64.whl &&
pip install --break-system-packages $MOZ_FETCHES_DIR/kenlm-0.0.0-cp310-cp310-linux_x86_64.whl &&
pip install --break-system-packages $MOZ_FETCHES_DIR/cyhunspell-2.0.3-cp312-cp312-linux_x86_64.whl &&
pip install --break-system-packages $MOZ_FETCHES_DIR/kenlm-0.0.0-cp312-cp312-linux_x86_64.whl &&
pip install --break-system-packages -r $VCS_PATH/pipeline/bicleaner/requirements/bicleaner-ai.txt &&
export PATH=$PATH:~/.local/bin &&
export PYTHONPATH=$PYTHONPATH:$VCS_PATH &&
Expand Down
4 changes: 2 additions & 2 deletions taskcluster/kinds/bicleaner/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ tasks:
# 4) number of threads to use - auto means nproc
# 5) "pack dir" - which needs to be where the `bicleaner-src-trg` fetch was unpacked to
- >-
pip install --break-system-packages $MOZ_FETCHES_DIR/cyhunspell-2.0.3-cp310-cp310-linux_x86_64.whl &&
pip install --break-system-packages $MOZ_FETCHES_DIR/kenlm-0.0.0-cp310-cp310-linux_x86_64.whl &&
pip install --break-system-packages $MOZ_FETCHES_DIR/cyhunspell-2.0.3-cp312-cp312-linux_x86_64.whl &&
pip install --break-system-packages $MOZ_FETCHES_DIR/kenlm-0.0.0-cp312-cp312-linux_x86_64.whl &&
pip install --break-system-packages -r {bicleaner_reqs} &&
export PATH=$PATH:~/.local/bin &&
$VCS_PATH/pipeline/bicleaner/bicleaner.sh
Expand Down
4 changes: 2 additions & 2 deletions taskcluster/kinds/toolchain/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ tasks:
script: build-kenlm.sh
resources:
- taskcluster/scripts/toolchain/build-kenlm.sh
toolchain-artifact: public/build/kenlm-0.0.0-cp310-cp310-linux_x86_64.whl
toolchain-artifact: public/build/kenlm-0.0.0-cp312-cp312-linux_x86_64.whl
fetches:
fetch:
- kenlm
Expand All @@ -145,7 +145,7 @@ tasks:
script: build-hunspell.sh
resources:
- taskcluster/scripts/toolchain/build-hunspell.sh
toolchain-artifact: public/build/cyhunspell-2.0.3-cp310-cp310-linux_x86_64.whl
toolchain-artifact: public/build/cyhunspell-2.0.3-cp312-cp312-linux_x86_64.whl
fetches:
fetch:
- cyhunspell
3 changes: 2 additions & 1 deletion taskcluster/scripts/toolchain/build-kenlm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ cd $KENLM_DIR
pip install --break-system-packages setuptools wheel cmake
MAX_ORDER=7 python3 setup.py bdist_wheel
find .
cp $KENLM_DIR/dist/kenlm-0.0.0-cp310-cp310-linux_x86_64.whl $UPLOAD_DIR/
whl=$($KENLM_DIR/dist/*.whl)
cp $whl $UPLOAD_DIR/

0 comments on commit e4f9d1b

Please sign in to comment.