Skip to content

Commit

Permalink
chore: update runs-on value in python_release.yml (#1940)
Browse files Browse the repository at this point in the history
# Description

Latest Python release had a bunch of failures:
https://github.com/delta-io/delta-rs/actions/runs/7095801050

Also doing some general cleanup.

TODO:

 * [x] Figure out why Linux job failed

# Related Issue(s)
<!---
For example:

- closes #106
--->

# Documentation

<!---
Share links to useful documentation
--->

---------

Co-authored-by: Ion Koutsouris <15728914+ion-elgreco@users.noreply.github.com>
  • Loading branch information
wjones127 and ion-elgreco authored Dec 5, 2023
1 parent bca00ae commit 8f5c41d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
30 changes: 3 additions & 27 deletions .github/workflows/python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,47 +35,23 @@ jobs:
fail-fast: false
matrix:
target: [x86_64-apple-darwin, aarch64-apple-darwin]
runs-on: macos-11
runs-on: macos-12
steps:
- uses: actions/checkout@v3

# We use extra recent Cargo.toml syntax, so we need at least Rust 1.71.0
- name: Install newer rust
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: stable
override: true

- name: Publish to pypi (without sdist)
uses: messense/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
with:
target: ${{ matrix.target }}
command: publish
args: -m python/Cargo.toml --no-sdist ${{ env.FEATURES_FLAG }}

release-pypi-mac-universal2:
needs: validate-release-tag
name: PyPI release on Mac universal 2
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- name: Publish to pypi (without sdist)
uses: messense/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
with:
target: ${{ matrix.target }}
command: publish
args: --skip-existing -m python/Cargo.toml --no-sdist --universal2 ${{ env.FEATURES_FLAG }}
args: --skip-existing -m python/Cargo.toml --no-sdist ${{ env.FEATURES_FLAG }}

release-pypi-windows:
needs: validate-release-tag
name: PyPI release on Windows
runs-on: windows-2019
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion crates/deltalake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["deltalake", "delta", "datalake"]
description = "Native Delta Lake implementation in Rust"
documentation = "https://docs.rs/deltalake"
repository = "https://github.com/delta-io/delta.rs"
readme = "README.md"
readme = "../README.md"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit 8f5c41d

Please sign in to comment.