dependabot python package: bump azure-core from 1.32.0 to 1.34.0
Closed
Number: #25
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Contributor
Comments: 3
Association: Contributor
Comments: 3
Created:
May 07, 2025 at 07:01 AM UTC
(7 months ago)
(7 months ago)
Updated:
July 09, 2025 at 06:25 AM UTC
(5 months ago)
(5 months ago)
Closed:
July 09, 2025 at 06:25 AM UTC
(5 months ago)
(5 months ago)
Time to Close:
2 months
Labels:
dependencies
dependencies
Assignees:
githubofkrishnadhas
githubofkrishnadhas
Description:
Bumps azure-core from 1.32.0 to 1.34.0.
Release notes
Sourced from azure-core's releases.
azure-core_1.34.0
1.34.0 (2025-05-01)
Features Added
- Added a
set_span_error_statusmethod to theOpenTelemetryTracerclass. This method allows users to set the status of a span toERRORafter it has been created. #40703Other Changes
- Python 3.8 is no longer supported. Please use Python version 3.9 or later.
azure-core_1.33.0
1.33.0 (2025-04-03)
Features Added
- Added native OpenTelemetry tracing to Azure Core which enables users to use OpenTelemetry to trace Azure SDK operations without needing to install a plugin. #39563
- To enable native OpenTelemetry tracing, users need to:
- Have
opentelemetry-apiinstalled.- Ensure that
settings.tracing_implementationis not set.- Ensure that
settings.tracing_enabledis set toTrue.- If
setting.tracing_implementationis set, the tracing plugin will be used instead of the native tracing.- If
settings.tracing_enabledis set toFalse, tracing will be disabled.- The
OpenTelemetryTracerclass was added to theazure.core.tracing.opentelemetrymodule. This is a wrapper around the OpenTelemetry tracer that is used to create spans for Azure SDK operations.- Added a
get_tracermethod to the newazure.core.instrumentationmodule. This method returns an instance of theOpenTelemetryTracerclass if OpenTelemetry is available.- A
TracingOptionsTypedDict class was added to define the options that SDK users can use to configure tracing per-operation. These options include the ability to enable or disable tracing and set additional attributes on spans.
- Example usage:
client.method(tracing_options={"enabled": True, "attributes": {"foo": "bar"}})- The
DistributedTracingPolicyanddistributed_trace/distributed_trace_asyncdecorators now uses the OpenTelemetry tracer if it is available and native tracing is enabled.
- SDK clients can define an
_instrumentation_configclass variable to configure the OpenTelemetry tracer used in method span creation. Possible configuration options arelibrary_name,library_version,schema_url, andattributes.DistributedTracingPolicynow accepts ainstrumentation_configkeyword argument to configure the OpenTelemetry tracer used in HTTP span creation.Breaking Changes
- Removed automatic tracing enablement for the OpenTelemetry plugin if
opentelemetrywas imported. To enable tracing with the plugin, please importazure.core.settings.settingsand setsettings.tracing_implementationto"opentelemetry". #39563- In
DistributedTracingPolicy, the default span name is now just the HTTP method (e.g., "GET", "POST") and no longer includes the URL path. This change was made to converge with the OpenTelemetry HTTP semantic conventions. The full URL is still included in the span attributes.- Renamed span attributes in
DistributedTracingPolicy:
- "x-ms-client-request-id" is now "az.client_request_id"
- "x-ms-request-id" is now "az.service_request_id"
Bugs Fixed
- Fixed an issue where the
traceparentheader was not being set correctly in theDistributedTracingPolicy. Thetraceparentheader will now set based on the context of the HTTP client span. #40074Other Changes
- Added
opentelemetry-apias an optional dependency for tracing. This can be installed withpip install azure-core[tracing]. #39563
Commits
3487e95[Core] Prep changelog for release (#40846)ec469b2[Core] Drop Python 3.8 support (#40831)8e7f1a8[Core] Add method for setting span status (#40703)edb98b8remove deprecated data plane pkgs from main (#40712)858389b[Corehttp] Implement tracing capabilities (#39172)32f976bremove deprecated mgmt pkgs from main (#40666)f7384ce[Corehttp] Increment version in changelog (#40560)2f9e93b[Core] Add native tracing live tests (#39945)77ae5d0Fix azure-core pylint issues (#39992)6b6a8c0Remove Python 3.8 + Standardize onazsdk-poolon affected templates (#40499)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
Commits:
1
1
Files Changed:
2
2
Additions:
+6
+6
Deletions:
-6
-6
Package Dependencies
Technical Details
| ID: | 3011221 |
| UUID: | 2503454731 |
| Node ID: | PR_kwDOL3yfos6VN7AL |
| Host: | GitHub |
| Repository: | devwithkrishna/azure-automation-to-remove-policies-using-python |
| Mergeable: | Yes |
| Merge State: | Clean |