Skip to content

Commit

Permalink
Disable pypi publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis23 authored Dec 13, 2022
1 parent a710237 commit 07a6596
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,17 @@ jobs:
# Wheels must be published from a linux environment.
#
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
- name: Download wheels for publishing to PyPI
uses: actions/download-artifact@v3
with:
name: wheels
path: dist
- name: Publish to PyPI
if: github.event.inputs.release_id != ''
uses: pypa/gh-action-pypi-publish@v1.5.1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
#
# We're temporarily disabling pypi publishing until we can fix audit wheel
# ODR torch issues. See https://github.com/llvm/torch-mlir/issues/1709
#
#- name: Download wheels for publishing to PyPI
# uses: actions/download-artifact@v3
# with:
# name: wheels
# path: dist
#- name: Publish to PyPI
# if: github.event.inputs.release_id != ''
# uses: pypa/gh-action-pypi-publish@v1.5.1
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
7 changes: 6 additions & 1 deletion build_tools/python_deploy/build_linux_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,12 @@ function run_in_docker() {
torch-mlir)
clean_wheels torch_mlir "$python_version"
build_torch_mlir
run_audit_wheel torch_mlir "$python_version"

# Disable audit wheel until we can fix ODR torch issues. See
# https://github.com/llvm/torch-mlir/issues/1709
#
#run_audit_wheel torch_mlir "$python_version"

clean_build torch_mlir "$python_version"
;;
out-of-tree)
Expand Down

0 comments on commit 07a6596

Please sign in to comment.