Skip to content

Commit

Permalink
with 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ericqu committed Dec 19, 2024
1 parent 863d255 commit b8d00d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 102 deletions.
103 changes: 1 addition & 102 deletions .github/workflows/release_build_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
default: false

env:
PYTHON_VERSION: '3.12'
PYTHON_VERSION: '3.9'
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
Expand Down Expand Up @@ -126,104 +126,3 @@ jobs:
with:
name: wheel-${{ matrix.package }}-${{ matrix.os }}-${{ matrix.architecture }}
path: dist/*.whl

# publish_them:
# needs: [create-sdist, build-wheels]
# runs-on: ubuntu-latest
# steps:

# - name: Create GitHub Release
# uses: softprops/action-gh-release@v1
# with:
# tag_name: v${{ github.event.inputs.version }}
# files: |
# dist/*.whl
# dist/*.tar.gz
# generate_release_notes: true
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Publish to Crates.io
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# run: |
# cargo publish -p iban_validation_rs


# publish-to-pypi:
# needs: [create-sdist, build-wheels]
# environment:
# name: release-python
# url: https://pypi.org/project/polars
# runs-on: ubuntu-latest
# permissions:
# id-token: write

# steps:
# - name: Download sdists and wheels
# uses: actions/download-artifact@v4
# with:
# path: dist
# merge-multiple: true

# - name: Publish to PyPI
# if: inputs.dry-run == false
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# verbose: true

# publish-to-github:
# needs: publish-to-pypi
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# ref: ${{ inputs.sha }}

# - name: Download sdist
# uses: actions/download-artifact@v4
# with:
# name: sdist-polars
# path: dist

# - name: Get version from Cargo.toml
# id: version
# working-directory: py-polars
# run: |
# VERSION=$(grep -m 1 -oP 'version = "\K[^"]+' Cargo.toml)
# if [[ "$VERSION" == *"-"* ]]; then
# IS_PRERELEASE=true
# else
# IS_PRERELEASE=false
# fi
# echo "version=$VERSION" >> $GITHUB_OUTPUT
# echo "is_prerelease=$IS_PRERELEASE" >> $GITHUB_OUTPUT

# - name: Create GitHub release
# id: github-release
# uses: release-drafter/release-drafter@v6
# with:
# config-name: release-drafter-python.yml
# name: Python Polars ${{ steps.version.outputs.version }}
# tag: py-${{ steps.version.outputs.version }}
# version: ${{ steps.version.outputs.version }}
# prerelease: ${{ steps.version.outputs.is_prerelease }}
# commitish: ${{ inputs.sha || github.sha }}
# disable-autolabeler: true
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Upload sdist to GitHub release
# run: gh release upload $TAG $FILES --clobber
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAG: ${{ steps.github-release.outputs.tag_name }}
# FILES: dist/polars-*.tar.gz

# - name: Publish GitHub release
# if: inputs.dry-run == false
# run: gh release edit $TAG --draft=false
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAG: ${{ steps.github-release.outputs.tag_name }}

Empty file.

0 comments on commit b8d00d7

Please sign in to comment.