feat!: use QCS core-deps; update OTEL version#35
Conversation
98b4fbb to
ded54a8
Compare
090e604 to
d9d2922
Compare
225ceed to
7c878d8
Compare
| description = "Macro for passing OpenTelemetry context from Python to Rust" | ||
| repository = "https://github.com/rigetti/pyo3-opentelemetry" | ||
| rust-version = "1.83.0" | ||
| rust-version = "1.88.0" |
There was a problem hiding this comment.
required by tonic 0.14
| //! This module provides a function to evaluate Python stub file templates for the Python module | ||
| //! added by `pyo3_tracing_subscriber::add_submodule`. Upstream build scripts may use this to write | ||
| //! the Python stub files in their build scripts. | ||
| //! This crate provides a function to generate Python stub files for the Python module added by |
There was a problem hiding this comment.
Moving this to its own crate was necessitated by the removal of the pyo3 feature (which seemed silly and confusing to me for a set of crates with "pyo3" in their names), because use of PyO3 crates necessitate linking against libpython for standalone binaries but cannot link against libpython when building an extension module. Since a build script is a binary, any dependency on a pyo3 library caused the build to fail when built as an extension module.
7c878d8 to
6326ebe
Compare
| //! # Related Crates | ||
| //! | ||
| //! * `pyo3-opentelemetry` - propagates `OpenTelemetry` contexts from Python into Rust. | ||
| #[cfg(feature = "pyo3")] |
There was a problem hiding this comment.
This is why I removed the pyo3 feature: every single item in this crate is dependent on that feature. So the crate is simply empty without the pyo3 feature enabled.
42e27b0 to
9c3f0d9
Compare
…o3 dependency, so extract it to separate crate, like prost-build
a5815f8 to
9c99297
Compare
8adc1a7 to
14fd7f2
Compare
Breaking change because [a] updating OTEL is always a breaking change and [b] I removed the
pyo3feature (since it always needs to be enabled for the crates to be useful) and, because of that, had to move stubs generation into a new crate.