Skip to content
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2397a91
feat: use QCS-dependencies-client
BatmanAoD May 17, 2026
0b15e15
update 'warp'
BatmanAoD May 18, 2026
b6b0238
more updates, and cargo-deny changes
BatmanAoD May 18, 2026
d809460
make all dependencies workspace-level; use warp's 'server' feature
BatmanAoD May 18, 2026
c4d7bee
migrate from 'paste' to 'pastey'
BatmanAoD May 18, 2026
f480139
chore: create devcontainer setup
BatmanAoD May 18, 2026
da925cb
update rigetti-pyo3 and optipy
BatmanAoD May 19, 2026
f4c34f5
fix build
BatmanAoD May 19, 2026
3b83ae6
install-quilc script should be usable in CI
BatmanAoD May 19, 2026
2c1a898
rework devcontainer
BatmanAoD May 19, 2026
ca45d74
ensure CI checks full build
BatmanAoD May 19, 2026
2c689ff
need libclang
BatmanAoD May 20, 2026
11f100e
ignore 'oauth2' dep on 'reqwest'
BatmanAoD May 21, 2026
d94e00a
mount dev HOME; force amd64 platform
BatmanAoD May 21, 2026
3d6bbb9
upgrade to released core-deps
BatmanAoD May 21, 2026
0f30821
style: no reason for 'pre-ci-flow' task
BatmanAoD May 22, 2026
ac052b4
style: no reason for fully-qualified 'async_trait' coming from tonic
BatmanAoD May 22, 2026
c9fadd2
update to pyo3-otel prerelease
BatmanAoD May 25, 2026
55533ec
fix for grpc-web plus tracing
BatmanAoD May 25, 2026
b6e8158
feat!: simplify feature set: always-on tracing, combine tracing-confi…
BatmanAoD May 26, 2026
3b195db
don't use rusty-dev-containers; just install with binstall in the doc…
BatmanAoD May 26, 2026
f5d941c
simplify the breaking-change check
BatmanAoD May 26, 2026
d3af8a7
use released pyo3-otel crates
BatmanAoD May 26, 2026
a66fa58
update optipy, fix EXTERN_NAME definition and attributes
BatmanAoD May 27, 2026
0e8e1c6
fix comment location
BatmanAoD May 27, 2026
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
15 changes: 15 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM rust:latest

# cmake and pkg-config are needed by Rust build scripts (e.g. aws-lc-sys).
# sudo allows install-libquil to re-exec as root when the container user is not root.
COPY scripts/install-libquil /tmp/install-libquil
RUN apt-get update && \
apt-get install -y --no-install-recommends cmake pkg-config sudo && \
/tmp/install-libquil && \
rm -rf /var/lib/apt/lists/* /tmp/install-libquil

RUN cargo install cargo-binstall
RUN cargo binstall --no-confirm cargo-make cargo-deny ripgrep knope

# The user is assumed to own the repo, even though the container is run with a different user.
RUN git config --global --add safe.directory /workspaces/qcs-sdk-rust
Comment thread
BatmanAoD marked this conversation as resolved.
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer-lock.json
Comment thread
BatmanAoD marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"features": {
"ghcr.io/devcontainers-extra/features/curl-apt-get:1": {
"version": "1.0.18",
"resolved": "ghcr.io/devcontainers-extra/features/curl-apt-get@sha256:7fb32e4ebdd440369a598e7a27b1ed56c9e73eb6b4f595d30969862d2fc68e40",
"integrity": "sha256:7fb32e4ebdd440369a598e7a27b1ed56c9e73eb6b4f595d30969862d2fc68e40"
},
"ghcr.io/devcontainers-extra/features/poetry:2": {
"version": "2.0.18",
"resolved": "ghcr.io/devcontainers-extra/features/poetry@sha256:7b5f2c66d25d8b3cc5d601af6b81b720c77dd315f24d5e6f84b342cccc3c9228",
"integrity": "sha256:7b5f2c66d25d8b3cc5d601af6b81b720c77dd315f24d5e6f84b342cccc3c9228"
},
"ghcr.io/devcontainers-extra/features/protoc:1": {
"version": "1.0.3",
"resolved": "ghcr.io/devcontainers-extra/features/protoc@sha256:57ec0b9c074c3c764d5b43386f5fd219586b2548d5a99da8c3307f29fc1deafc",
"integrity": "sha256:57ec0b9c074c3c764d5b43386f5fd219586b2548d5a99da8c3307f29fc1deafc"
}
}
}
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "qcs-sdk-rust",

"build": {
"dockerfile": "Dockerfile",
"context": "..",
"options": ["--platform=linux/amd64"]
},

"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

"mounts": [
"source=${localEnv:HOME},target=/dev-home,type=bind,consistency=cached"
],

"runArgs": ["--platform=linux/amd64"],

"features": {
"ghcr.io/devcontainers-extra/features/curl-apt-get:1": {},
"ghcr.io/devcontainers-extra/features/protoc:1": {},
"ghcr.io/devcontainers-extra/features/poetry:2": {}
}
}
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/target
.jj/
.git/
.github/
.venv/
venv/
*.dSYM
*.o
*.dylib
28 changes: 2 additions & 26 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,9 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: '3.20.1'
- name: Install libquil dependencies
run: |
sudo apt update
sudo apt install -y libffi\* libblas\* liblapack\* curl
curl -O https://mirrors.edge.kernel.org/ubuntu/pool/main/libf/libffi/libffi7_3.3-4_amd64.deb
sudo apt install -y ./libffi7_3.3-4_amd64.deb
sudo apt install -y libffi-dev
- name: Install libquil
run: |
curl https://raw.githubusercontent.com/rigetti/libquil/main/install.sh | bash -s 0.3.0
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make
sudo ./scripts/install-libquil
- uses: syphar/restore-virtualenv@v1
# may protect against linking failure: no space left on device
- name: Delete huge unnecessary tools folder
Expand Down Expand Up @@ -77,21 +65,9 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: '3.20.1'
- name: Install libquil dependencies
run: |
sudo apt update
sudo apt install -y libffi\* libblas\* liblapack\* curl
curl -O https://mirrors.edge.kernel.org/ubuntu/pool/main/libf/libffi/libffi7_3.3-4_amd64.deb
sudo apt install -y ./libffi7_3.3-4_amd64.deb
sudo apt install -y libffi-dev
- name: Install libquil
run: |
curl https://raw.githubusercontent.com/rigetti/libquil/main/install.sh | bash -s 0.3.0
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make
sudo ./scripts/install-libquil
- uses: syphar/restore-virtualenv@v1
# may protect against linking failure: no space left on device
- name: Delete huge unnecessary tools folder
Expand Down
Loading
Loading