Skip to content
Draft
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
11 changes: 8 additions & 3 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
description: "Build and publish wheels to PyPI"
type: boolean
default: false
pull_request:

jobs:
is-python-release:
Expand All @@ -26,6 +27,7 @@ jobs:
macos:
runs-on: macos-12
needs: [is-python-release, should-publish-wheels]
if: false
env:
CXXFLAGS: "-std=c++11 -stdlib=libc++"
strategy:
Expand Down Expand Up @@ -64,7 +66,7 @@ jobs:

linux:
runs-on: ubuntu-latest
needs: [is-python-release, should-publish-wheels]
# needs: [is-python-release, should-publish-wheels]
env:
CXXFLAGS: "-std=c++11"
strategy:
Expand All @@ -91,7 +93,7 @@ jobs:
uses: messense/maturin-action@v1
with:
target: ${{ matrix.target }}
manylinux: '2_28'
manylinux: auto
args: -i ${{ matrix.python-version }} --release --manifest-path crates/python/Cargo.toml --out dist
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand All @@ -101,6 +103,7 @@ jobs:

windows:
runs-on: windows-latest
if: false
needs: [is-python-release, should-publish-wheels]
strategy:
matrix:
Expand Down Expand Up @@ -137,6 +140,7 @@ jobs:
sdist:
runs-on: ubuntu-latest
needs: is-python-release
if: false
env:
CXXFLAGS: "-std=c++11"
steps:
Expand Down Expand Up @@ -176,7 +180,8 @@ jobs:
# still make sure that at least a source distribution
# can be published.
needs: [ macos, linux, windows, sdist ]
if: always() && needs.sdist.result == 'success'
if: false
# if: always() && needs.sdist.result == 'success'
permissions:
id-token: write
steps:
Expand Down
30 changes: 14 additions & 16 deletions Cargo.lock

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

9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ quil-rs = { version = "0.22.5", git = "https://github.com/rigetti/quil-rs", tag
# and need to be updated together.
ndarray = { version = "0.15.6", features = ["serde"] }
numpy = "0.20.0"
pyo3 = "0.20.0"
pyo3 = "0.20.2"
pyo3-asyncio = { version = "0.20", features = ["tokio-runtime"] }
pyo3-build-config = "0.20.0"
pyo3-log = "0.8.2"
pyo3-opentelemetry = "0.3.1"
pyo3-build-config = "0.20.2"
pyo3-log = "0.9.0"
# pyo3-opentelemetry = "0.3.1"
pyo3-opentelemetry = { git = "https://github.com/rigetti/pyo3-opentelemetry/", branch = "use-extension-module" }
pyo3-tracing-subscriber = "0.1.1"
rigetti-pyo3 = { version = "0.3.1", features = ["complex"] }

Expand Down