Skip to content
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a559e1c
feat!: use QCS core-deps; update OTEL version
BatmanAoD May 18, 2026
334ad90
fix build
BatmanAoD May 20, 2026
c38f052
use released core-deps
BatmanAoD May 22, 2026
c2abfb5
tonic 0.14 requires Rust 1.88
BatmanAoD May 22, 2026
3c082fb
remove odd fully-qualified paths
BatmanAoD May 22, 2026
a79a196
Claude: try to fix CI
BatmanAoD May 22, 2026
54e2b78
Claude tries again
BatmanAoD May 22, 2026
c1c3a8d
fix!: Claude explains stubs-gen is fundamentally incompatible with py…
BatmanAoD May 22, 2026
afdc3df
undo a previous attempted fix
BatmanAoD May 24, 2026
be841fb
chore: prepare release [skip ci]
BatmanAoD May 24, 2026
0d762ce
restore changelogs & version-numbers before merge
BatmanAoD May 24, 2026
98b3cc5
add new crate to Knope, fix version to match tracing-subscriber
BatmanAoD May 25, 2026
14fd7f2
fix: Knope tagged wrong commit :grimace:
BatmanAoD May 25, 2026
9a5ac77
chore: prepare release [skip ci]
BatmanAoD May 25, 2026
4536676
fix: knope inter-package dependencies
BatmanAoD May 25, 2026
894c8ac
restore original versions again
BatmanAoD May 25, 2026
c376f02
publish all crates in one job
BatmanAoD May 25, 2026
37fb566
chore: prepare release [skip ci]
BatmanAoD May 25, 2026
362ee7f
fix: no longer need to select package to publish
BatmanAoD May 25, 2026
bd543d9
chore: prepare release [skip ci]
BatmanAoD May 25, 2026
4e380d5
fix: make new crate's category match other crates'
BatmanAoD May 25, 2026
68f9413
chore: prepare release [skip ci]
BatmanAoD May 25, 2026
5d147d7
dummy commit: re-trigger CI
BatmanAoD May 25, 2026
9708040
remove prerelease changelog entries
BatmanAoD May 26, 2026
5160ba6
python-stubs comment fixes
BatmanAoD May 26, 2026
6b1c17d
remove stale reference to deleted pyo3 feature
BatmanAoD May 26, 2026
4b3c994
apply ruff format
BatmanAoD May 26, 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
1 change: 0 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- name: Run Rust CI
run: cargo make check-all

# Setup Python and run Python example
- name: Setup python
uses: actions/setup-python@v5
with:
Expand Down
46 changes: 4 additions & 42 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,52 +4,14 @@ on:
release:
types: [published]
workflow_dispatch:
# "Manually publish release"
inputs:
opentelemetry:
description: "Publish pyo3-opentelemetry"
type: boolean
default: false
opentelemetry_macros:
description: "Publish pyo3-opentelemetry-macros"
type: boolean
default: false
tracing_subscriber:
description: "Publish pyo3-tracing-subscriber"
type: boolean
default: false

jobs:
opentelemetry:
cargo-publish:
runs-on: ubuntu-latest
if: |
${{ (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'opentelemetry/v'))
|| (github.event_name == 'workflow_dispatch' && inputs.opentelemetry) }}
${{ (github.event_name == 'release')
|| (github.event_name == 'workflow_dispatch') }}
steps:
- uses: actions/checkout@v5
- uses: Swatinem/rust-cache@v2
# Below we give some time to make sure that the macros crate is published before the lib crate
# in the case that the new lib crate depends on the new, yet to be published macros crate.
- run: timeout 15m bash -c 'until ./scripts/ci/assert-macros-crate-published.sh; do sleep 10; done'
- run: cargo publish -p pyo3-opentelemetry --locked --token ${{ secrets.CRATES_IO_TOKEN }}

opentelemetry-macros:
runs-on: ubuntu-latest
if: |
${{ (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'opentelemetry-macros/v'))
|| (github.event_name == 'workflow_dispatch' && inputs.opentelemetry_macros) }}
steps:
- uses: actions/checkout@v5
- uses: Swatinem/rust-cache@v2
- run: cargo publish -p pyo3-opentelemetry-macros --locked --token ${{ secrets.CRATES_IO_TOKEN }}

tracing-subscriber:
runs-on: ubuntu-latest
if: |
${{ (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'tracing-subscriber/v'))
|| (github.event_name == 'workflow_dispatch' && inputs.tracing_subscriber) }}
steps:
- uses: actions/checkout@v5
- uses: Swatinem/rust-cache@v2
- run: cargo publish -p pyo3-tracing-subscriber --locked --token ${{ secrets.CRATES_IO_TOKEN }}

- run: cargo publish --workspace --locked --token ${{ secrets.CRATES_IO_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
git config --global user.email "${{ github.triggering_actor}}@users.noreply.github.com"

- name: Install Knope
uses: knope-dev/action@v2.1.0
uses: knope-dev/action@v2.1.2
with:
version: 0.21.3
version: 0.23.0

- name: Dry-run Release
run: knope release --verbose --dry-run
Expand Down
Loading
Loading