Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/action-common-python-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
command: ${{ inputs.maturin-command }}
target: ${{ inputs.maturin-target }}
container: ${{ inputs.maturin-container }}
args: -i ${{ inputs.python-version }} --release --manifest-path crates/python/Cargo.toml --out dist ${{ inputs.package-name == 'qcs-sdk-python-grpc-web' && '-F grpc-web' || '' }}
args: -i ${{ inputs.python-version }} --release --manifest-path crates/python/Cargo.toml --out dist ${{ inputs.package-name == 'qcs-sdk-python-grpc-web' && '-F grpc-web' || '' }} --auditwheel repair -v
docker-options: -e CI
- if: inputs.maturin-command == 'sdist'
name: Maturin - Source Distribution
Expand All @@ -61,13 +61,14 @@ runs:
args: --manifest-path crates/python/Cargo.toml --out dist

# host will not be able to install wheel in this case
- if: inputs.maturin-target != 'ppc64le'
- if: inputs.maturin-target != 'ppc64le' && inputs.maturin-target != 'x86_64-apple-darwin'
name: Install wheel
shell: bash
run: |
pip install dist/* --find-links dist --force-reinstall
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels_${{ inputs.package-name }}-${{ inputs.python-version }}-${{ inputs.artifact-key }}
name: wheels_${{ inputs.package-name }}-${{ inputs.python-version }}-${{ inputs.maturin-target }}-${{ inputs.artifact-key }}
path: dist/

181 changes: 0 additions & 181 deletions .github/workflows/check-release-python.yml.disabled

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
matrix:
package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
target: [x86_64-apple-darwin, aarch64-apple-darwin]
steps:
- uses: actions/checkout@v4
- name: Install protoc
Expand All @@ -44,8 +45,7 @@ jobs:
artifact-key: macos
package-name: ${{ matrix.package-name }}
python-version: ${{ matrix.python-version }}
maturin-target: universal2-apple-darwin
maturin-container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
maturin-target: ${{ matrix.target }}

linux-x86_64:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -134,7 +134,6 @@ jobs:
package-name: qcs-sdk-python-grpc-web
python-version: ${{ matrix.python-version }}
maturin-target: ppc64le
maturin-container: ghcr.io/rust-cross/manylinux_2_28-cross:ppc64le

windows:
runs-on: windows-latest
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions crates/lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
## 0.25.11-rc.4

### Fixes

- release seems to work
- add unzip check to wheel build

## 0.25.11-rc.3

### Fixes

- add unzip check to wheel build

## 0.25.11-rc.2

### Fixes

- add unzip check to wheel build

## 0.25.11-rc.1

### Fixes

- add unzip check to wheel build

## 0.25.11-rc.0

### Fixes

- add unzip check to wheel build

## 0.25.10

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion crates/lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "qcs"
description = "High level interface for running Quil on a QPU"
version = "0.25.10"
version = "0.25.11-rc.4"
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/rigetti/qcs-sdk-rust"
Expand Down
31 changes: 31 additions & 0 deletions crates/python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
## 0.21.12-rc.4

### Fixes

- release seems to work
- add unzip check to wheel build

## 0.21.12-rc.3

### Fixes

- add unzip check to wheel build

## 0.21.12-rc.2

### Fixes

- add unzip check to wheel build

## 0.21.12-rc.1

### Fixes

- add unzip check to wheel build

## 0.21.12-rc.0

### Fixes

- add unzip check to wheel build

## 0.21.11

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion crates/python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "qcs-sdk-python"
description = "Python bindings to qcs-sdk-rust"
version = "0.21.11"
version = "0.21.12-rc.4"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/rigetti/qcs-sdk-rust"
Expand Down
2 changes: 1 addition & 1 deletion crates/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This is the metadata Maturin uploads to PyPI on publish
[project]
name = "qcs-sdk-python"
version = "0.21.11"
version = "0.21.12-rc.4"
description = "Python interface for the QCS Rust SDK"
readme = "README.md"
license = { text = "Apache-2.0" }
Expand Down
Loading