-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b25ed1
commit c846d51
Showing
3 changed files
with
39 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,20 +57,23 @@ jobs: | |
manylinux: auto | ||
args: --release --out dist -m python/core/Cargo.toml | ||
|
||
- uses: uraimo/[email protected] | ||
if: matrix.target == 'aarch64' | ||
name: Install built wheel | ||
with: | ||
arch: ${{ matrix.target }} | ||
distro: ubuntu20.04 | ||
githubToken: ${{ github.token }} | ||
install: | | ||
apt-get update | ||
apt-get install -y --no-install-recommends python3 python3-pip | ||
pip3 install -U pip | ||
run: | | ||
pip install geoarrow-rust-core --no-index --find-links dist --force-reinstall | ||
python -c "import geoarrow.rust.core" | ||
# This is currently failing with | ||
# python: command not found | ||
|
||
# - uses: uraimo/[email protected] | ||
# if: matrix.target == 'aarch64' | ||
# name: Install built wheel | ||
# with: | ||
# arch: ${{ matrix.target }} | ||
# distro: ubuntu20.04 | ||
# githubToken: ${{ github.token }} | ||
# install: | | ||
# apt-get update | ||
# apt-get install -y --no-install-recommends python3 python3-pip | ||
# pip3 install -U pip | ||
# run: | | ||
# pip install geoarrow-rust-core --no-index --find-links dist --force-reinstall | ||
# python -c "import geoarrow.rust.core" | ||
|
||
# Have to set path from root | ||
# https://github.com/actions/upload-artifact/issues/232#issuecomment-964235360 | ||
|
@@ -238,57 +241,25 @@ jobs: | |
# name: wheels | ||
# path: dist | ||
|
||
release: | ||
name: Release | ||
environment: | ||
name: release | ||
url: https://pypi.org/p/geoarrow-rust-core | ||
permissions: | ||
# IMPORTANT: this permission is mandatory for trusted publishing | ||
id-token: write | ||
runs-on: ubuntu-latest | ||
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
needs: [macos, windows, linux, linux-cross] | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: wheels | ||
|
||
# build_sdist: | ||
# name: Build source distribution | ||
# runs-on: ubuntu-latest | ||
# defaults: | ||
# run: | ||
# working-directory: python/core | ||
|
||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# submodules: "recursive" | ||
|
||
# - uses: actions/setup-python@v2 | ||
# name: Install Python | ||
# with: | ||
# python-version: "3.8" | ||
|
||
# - name: Install Rust | ||
# uses: dtolnay/rust-toolchain@stable | ||
|
||
# - name: Build sdist | ||
# run: | | ||
# pip install -U build | ||
# python -m build --sdist | ||
|
||
# # Have to set path from root | ||
# # https://github.com/actions/upload-artifact/issues/232#issuecomment-964235360 | ||
# - uses: actions/upload-artifact@v2 | ||
# with: | ||
# path: python/core/dist/*.tar.gz | ||
|
||
# upload_pypi: | ||
# needs: | ||
# [ | ||
# build-wheel-manylinux2014, | ||
# build-wheels-mac, | ||
# build-wheel-windows, | ||
# build_sdist, | ||
# ] | ||
# runs-on: ubuntu-latest | ||
# # Make sure we only run this on new tags/release | ||
# if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' | ||
# steps: | ||
# - uses: actions/download-artifact@v2 | ||
# with: | ||
# name: artifact | ||
# path: dist | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
|
||
# - uses: pypa/gh-action-pypi-publish@release/v1 | ||
# with: | ||
# user: __token__ | ||
# password: ${{ secrets.PYPI_PASSWORD }} | ||
# # To test: repository_url: https://test.pypi.org/legacy/ | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "geoarrow-rust" | ||
version = "0.1.0-beta.1" | ||
version = "0.1.0-beta.2" | ||
authors = ["Kyle Barron <[email protected]>"] | ||
edition = "2021" | ||
description = "Efficient, vectorized geospatial operations in Python." | ||
|