Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package
python-opentelemetry-instrumentation-asgi for openSUSE:Factory checked in at
2026-06-27 18:04:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-opentelemetry-instrumentation-asgi
(Old)
and
/work/SRC/openSUSE:Factory/.python-opentelemetry-instrumentation-asgi.new.11887
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-opentelemetry-instrumentation-asgi"
Sat Jun 27 18:04:49 2026 rev:11 rq:1361874 version:0.63b1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-opentelemetry-instrumentation-asgi/python-opentelemetry-instrumentation-asgi.changes
2026-04-28 11:57:06.779356002 +0200
+++
/work/SRC/openSUSE:Factory/.python-opentelemetry-instrumentation-asgi.new.11887/python-opentelemetry-instrumentation-asgi.changes
2026-06-27 18:05:55.923637882 +0200
@@ -1,0 +2,189 @@
+Sat Jun 20 16:12:05 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.63b1:
+ * This is a patch release on the previous 1.42.0/0.63b0
+ release, fixing the issue(s) below.
+
+- update to 0.63b0:
+ * ### Added
+ * `opentelemetry-exporter-richconsole`: Add support for
+ suppressing resource information
+ * `opentelemetry-instrumentation`: Add experimental metrics
+ attributes Labeler utility
+ * `opentelemetry-instrumentation-logging`: Add
+ `OTEL_PYTHON_LOG_HANDLER_LEVEL` and `OTEL_PYTHON_LOG_FORMAT`
+ environment variables to configure the log level and
+ formatter of the auto-instrumented `LoggingHandler`.
+ * `opentelemetry-instrumentation-sqlite3`: Add uninstrument,
+ error status, suppress, and no-op tests
+ * Add `BaggageLogProcessor` to `opentelemetry-processor-
+ baggage`
+ * `opentelemetry-instrumentation-system-metrics`: Add support
+ for `process.disk.io` metric in system-metrics
+ instrumentation
+ * `opentelemetry-instrumentation`: Register
+ `OTEL_SEMCONV_STABILITY_OPT_IN` in `environment_variables.py`
+ so `opentelemetry-instrument` exposes a
+ `--semconv_stability_opt_in` CLI argument
+ * Expand `AGENTS.md` with instrumentation/GenAI guidance and
+ add PR review instructions.
+ * `opentelemetry-instrumentation`: update auto-instrumentation
+ to re-inject instrumentation path after init
+ * `opentelemetry-instrumentation-dbapi`: Add Database client
+ operation duration and returned rows metrics
+ * ### Changed
+ * Remove redundant `pylint: disable=attribute-defined-outside-
+ init` comments and add rule to global `.pylintrc` disable
+ list
+ * Bump `pylint` to `4.0.5`
+ * `opentelemetry-instrumentation-logging`: Use
+ `LogRecord.getMessage()` to format and extract each log
+ record's body text to more closely match the expected usage
+ of the logging system. As a result, all OTel log record
+ bodies are now always strings. Previously, if `LogRecord.msg`
+ (which contains the format string) was set to a non-string
+ object (e.g. `logger.warning(some_dict)`), the object was
+ exported as-is to the OTLP body field. Now,
+ `LogRecord.getMessage()` will convert it to to a string. If
+ you are passing in non-strings as the format string argument
+ and your backend is expecting them as-is, you will need to
+ update accordingly.
+ * Switch to SPDX license headers and add CI enforcement
+ * `opentelemetry-instrumentation-{urllib,urllib3,requests}`:
+ switch http mock library from abandoned httpretty to mocket
+ * ### Removed
+ * Drop Python 3.9 support
+ * ### Fixed
+ * `opentelemetry-instrumentation-aiohttp-server`: Use
+ `canonical` attribute of the `Resource` as a span name
+ * Refactor unit tests to allow for population of the random
+ trace id flag in the `traceparent` header
+ * `opentelemetry-instrumentation-aws-lambda`: fix improper
+ handling of header casing
+ * `opentelemetry-instrumentation-flask`: Clean up environ keys
+ in `_teardown_request` to prevent duplicate execution
+ * `opentelemetry-instrumentation-celery`: Coerce non-string
+ values to strings in `CeleryGetter.get()` to prevent
+ `TypeError` in `TraceState.from_header()` when Celery request
+ attributes contain ints
+ * `opentelemetry-instrumentation-celery`: Coerce timelimit
+ values to strings in `set_attributes_from_context()` to
+ prevent mixed-type span attribute warning
+ * `opentelemetry-instrumentation-fastapi`: Fix `FastAPI`
+ instrumentation to correctly trace `BackgroundTasks` by
+ wrapping their execution in a dedicated span, ensuring proper
+ parent-child relationships and accurate trace timing
+ * `opentelemetry-instrumentation-flask`: Stop reading the
+ deprecated (from 3.1) `flask.__version__` attribute; resolve
+ the Flask version via `importlib.metadata`
+ * `opentelemetry-instrumentation-confluent-kafka`: Populate
+ `server.address` and `server.port` span attributes from the
+ producer/consumer `bootstrap.servers` config; previously
+ `KafkaPropertiesExtractor.extract_bootstrap_servers` was
+ defined but never called
+ * `opentelemetry-instrumentation-dbapi` Use `ObjectProxy`
+ instead of `BaseObjectProxy` for `TracedCursorProxy` to
+ restore iterability with wrapt 2.x
+ * `opentelemetry-instrumentation-pyramid`: add missing
+ `http.response.status_code` in duration metrics for stable
+ http semantic conventions
+ * `opentelemetry-instrumentation-pika` Use `ObjectProxy`
+ instead of `BaseObjectProxy` for `ReadyMessagesDequeProxy` to
+ restore iterability with wrapt 2.x
+ * `docker-tests`: Don't require sudo, debian based distro and
+ MS SQL ODBC driver to run locally. Instead require docker and
+ unixodbc
+ * `opentelemetry-instrumentation-celery`: clear completed task
+ ids from `task_id_to_start_time`
+ * `opentelemetry-instrumentation-celery`: add null guards and
+ type-safe helper handling around Celery context propagation
+ internals
+ * `opentelemetry-instrumentation-wsgi`: use `PATH_INFO` and
+ `QUERY_STRING` for URL attributes instead of parsing
+ `RAW_URI` or `REQUEST_URI`
+ * `opentelemetry-instrumentation-mysqlclient`: Update unit
+ tests to properly validate trace context trace flag values.
+ * `opentelemetry-instrumentation-pika`: pass destination to
+ `_enrich_span` instead of `task_name`
+ * `opentelemetry-instrumentation-tornado`: reduce cardinality
+ of span names and metrics attributes. This introduces a
+ breaking change in the metrics attributes for the stable
+ semantic convention by dropping the out of spec `url.query`
+ and `url.path` attributes in favor of in-spec `http.route`.
+ * `opentelemetry-instrumentation-confluent-kafka`: Declare
+ `opentelemetry-semantic-conventions` as a direct dependency
+ * `opentelemetry-instrumentation-pymssql`: Fix semconv
+ stability migration for connection attributes (host, port,
+ user) set in `wrapped_connection()` to respect
+ `OTEL_SEMCONV_STABILITY_OPT_IN`. Note: `net.peer.port` is now
+ emitted as `int` instead of `string` in default mode,
+ aligning with other DB instrumentations.
+ * Declare `opentelemetry-semantic-conventions` as a direct
+ dependency for the aio-pika, logging, pika and system-metrics
+ instrumentations, since each imports `opentelemetry.semconv`
+ directly.
+- update to opentelemetry-instrumentation-google-genai==0.7b1:
+ * This is a patch release on the previous 0.7b0 release, fixing
+ the issue(s) below.
+- update to opentelemetry-util-genai==0.4b0:
+ * Add `AgentInvocation` type with `invoke_agent` span lifecycle
+ * Add metrics support for EmbeddingInvocation
+ * Add support for workflow in genAI utils handler.
+ * Enrich ToolCall type, breaking change: usage of ToolCall
+ class renamed to ToolCallRequest
+ * Add EmbeddingInvocation span lifecycle support
+ * Populate schema_url on metrics
+ * Add workflow invocation type to genAI utils
+ * Check if upload works at startup in initializer of the
+ `UploadCompletionHook`, instead of repeatedly failing on
+ every upload (#4390).
+ * Refactor public API: add factory methods (`start_inference`,
+ `start_embedding`, `start_tool`, `start_workflow`) and
+ invocation-owned lifecycle (`invocation.stop()` /
+ `invocation.fail(exc)`); rename `LLMInvocation` →
+ `InferenceInvocation` and `ToolCall` → `ToolInvocation`.
+ Existing usages remain fully functional via deprecated
+ aliases.
+ * `TelemetryHandler` now accepts a `completion_hook` parameter
+ and calls it after each LLM invocation, passing inputs,
+ outputs, the active span, and the log record. Content capture
+ is enabled automatically when a real hook is configured.
+ * Add metrics to ToolInvocations
+ * Wrap completion hooks loaded via `load_completion_hook` so
+ exceptions raised by `on_completion` are logged and swallowed
+ instead of propagating to instrumentation call sites.
+- update to opentelemetry-instrumentation-openai-v2==2.4b0:
+ * Migrate experimental path from deprecated `LLMInvocation` to
+ `InferenceInvocation`, using `handler.start_inference()` and
+ `invocation.stop()`/`invocation.fail()` directly
+ * Use `create_duration_histogram` and `create_token_histogram`
+ from `opentelemetry-util-genai` instead of defining bucket
+ boundaries locally
+ * Import `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT`
+ from `opentelemetry.util.genai.environment_variables` instead
+ of re-defining it locally, making `opentelemetry-util-genai`
+ the single source of truth for this constant.
+ * Fix compatibility with wrapt 2.x by using positional
+ arguments in `wrap_function_wrapper()` calls
+ * Fix `ChoiceBuffer` crash on streaming tool-call deltas with
+ `arguments=None`
+ * Fix `StreamWrapper` missing `.headers` and other attributes
+ when using `with_raw_response` streaming
+ * Add opt-in support for latest experimental semantic
+ conventions (v1.37.0). Set `OTEL_SEMCONV_STABILITY_OPT_IN` to
+ `gen_ai_latest_experimental` to enable. Add dependency on
+ `opentelemetry-util-genai` pypi package.
+ * Add wrappers for OpenAI Responses API streams and response
+ stream managers
+ * Add async wrappers for OpenAI Responses API streams and
+ response stream managers
+ * Add strongly typed Responses API extractors with validation
+ and content extraction improvements
+ * Add completion hook support.
+ * Fix `response_format` handling: map
+ `json_object`/`json_schema` to `json` output type.
+ * Skip attribute values with `openai.Omit` value.
+ * Default empty string for `gen_ai.request.model` attribute on
+ missing model.
+
+-------------------------------------------------------------------
Old:
----
opentelemetry_instrumentation_asgi-0.62b1.tar.gz
New:
----
opentelemetry_instrumentation_asgi-0.63b1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-opentelemetry-instrumentation-asgi.spec ++++++
--- /var/tmp/diff_new_pack.6JsU1v/_old 2026-06-27 18:05:56.575659906 +0200
+++ /var/tmp/diff_new_pack.6JsU1v/_new 2026-06-27 18:05:56.575659906 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-opentelemetry-instrumentation-asgi%{?psuffix}
-Version: 0.62b1
+Version: 0.63b1
Release: 0
Summary: ASGI instrumentation for OpenTelemetry
License: Apache-2.0
++++++ opentelemetry_instrumentation_asgi-0.62b1.tar.gz ->
opentelemetry_instrumentation_asgi-0.63b1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opentelemetry_instrumentation_asgi-0.62b1/.gitignore
new/opentelemetry_instrumentation_asgi-0.63b1/.gitignore
--- old/opentelemetry_instrumentation_asgi-0.62b1/.gitignore 2020-02-02
01:00:00.000000000 +0100
+++ new/opentelemetry_instrumentation_asgi-0.63b1/.gitignore 2020-02-02
01:00:00.000000000 +0100
@@ -64,3 +64,5 @@
# opentelemetry-admin jobs
opentelemetry-admin-jobs.txt
+
+.claude/settings.local.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opentelemetry_instrumentation_asgi-0.62b1/PKG-INFO
new/opentelemetry_instrumentation_asgi-0.63b1/PKG-INFO
--- old/opentelemetry_instrumentation_asgi-0.62b1/PKG-INFO 2020-02-02
01:00:00.000000000 +0100
+++ new/opentelemetry_instrumentation_asgi-0.63b1/PKG-INFO 2020-02-02
01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: opentelemetry-instrumentation-asgi
-Version: 0.62b1
+Version: 0.63b1
Summary: ASGI instrumentation for OpenTelemetry
Project-URL: Homepage,
https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-asgi
Project-URL: Repository,
https://github.com/open-telemetry/opentelemetry-python-contrib
@@ -12,18 +12,17 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
-Requires-Python: >=3.9
+Requires-Python: >=3.10
Requires-Dist: asgiref~=3.0
Requires-Dist: opentelemetry-api~=1.12
-Requires-Dist: opentelemetry-instrumentation==0.62b1
-Requires-Dist: opentelemetry-semantic-conventions==0.62b1
-Requires-Dist: opentelemetry-util-http==0.62b1
+Requires-Dist: opentelemetry-instrumentation==0.63b1
+Requires-Dist: opentelemetry-semantic-conventions==0.63b1
+Requires-Dist: opentelemetry-util-http==0.63b1
Provides-Extra: instruments
Requires-Dist: asgiref~=3.0; extra == 'instruments'
Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/pyproject.toml
new/opentelemetry_instrumentation_asgi-0.63b1/pyproject.toml
--- old/opentelemetry_instrumentation_asgi-0.62b1/pyproject.toml
2020-02-02 01:00:00.000000000 +0100
+++ new/opentelemetry_instrumentation_asgi-0.63b1/pyproject.toml
2020-02-02 01:00:00.000000000 +0100
@@ -8,7 +8,7 @@
description = "ASGI instrumentation for OpenTelemetry"
readme = "README.rst"
license = "Apache-2.0"
-requires-python = ">=3.9"
+requires-python = ">=3.10"
authors = [
{ name = "OpenTelemetry Authors", email =
"[email protected]" },
]
@@ -18,7 +18,6 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
@@ -28,9 +27,9 @@
dependencies = [
"asgiref ~= 3.0",
"opentelemetry-api ~= 1.12",
- "opentelemetry-instrumentation == 0.62b1",
- "opentelemetry-semantic-conventions == 0.62b1",
- "opentelemetry-util-http == 0.62b1",
+ "opentelemetry-instrumentation == 0.63b1",
+ "opentelemetry-semantic-conventions == 0.63b1",
+ "opentelemetry-util-http == 0.63b1",
]
[project.optional-dependencies]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/__init__.py
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/__init__.py
---
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/__init__.py
2020-02-02 01:00:00.000000000 +0100
+++
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/__init__.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,16 +1,5 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
# pylint: disable=too-many-locals,too-many-lines
"""
@@ -586,7 +575,7 @@
exclude_spans: Optionally exclude HTTP `send` and/or `receive` spans
from the trace.
"""
- # pylint: disable=too-many-branches
+ # pylint: disable=too-many-branches,too-many-positional-arguments
def __init__(
self,
app,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/package.py
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/package.py
---
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/package.py
2020-02-02 01:00:00.000000000 +0100
+++
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/package.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,16 +1,5 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
_instruments = ("asgiref ~= 3.0",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/types.py
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/types.py
---
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/types.py
2020-02-02 01:00:00.000000000 +0100
+++
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/types.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,16 +1,5 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
from typing import Any, Callable, Dict, Optional
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/version.py
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/version.py
---
old/opentelemetry_instrumentation_asgi-0.62b1/src/opentelemetry/instrumentation/asgi/version.py
2020-02-02 01:00:00.000000000 +0100
+++
new/opentelemetry_instrumentation_asgi-0.63b1/src/opentelemetry/instrumentation/asgi/version.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,15 +1,4 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
-__version__ = "0.62b1"
+__version__ = "0.63b1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/tests/test_asgi_custom_headers.py
new/opentelemetry_instrumentation_asgi-0.63b1/tests/test_asgi_custom_headers.py
---
old/opentelemetry_instrumentation_asgi-0.62b1/tests/test_asgi_custom_headers.py
2020-02-02 01:00:00.000000000 +0100
+++
new/opentelemetry_instrumentation_asgi-0.63b1/tests/test_asgi_custom_headers.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,16 +1,5 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
import os
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/tests/test_asgi_middleware.py
new/opentelemetry_instrumentation_asgi-0.63b1/tests/test_asgi_middleware.py
--- old/opentelemetry_instrumentation_asgi-0.62b1/tests/test_asgi_middleware.py
2020-02-02 01:00:00.000000000 +0100
+++ new/opentelemetry_instrumentation_asgi-0.63b1/tests/test_asgi_middleware.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,16 +1,5 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
# pylint: disable=too-many-lines
@@ -1094,7 +1083,8 @@
trace_id = format_trace_id(span.get_span_context().trace_id)
span_id = format_span_id(span.get_span_context().span_id)
- traceresponse = f"00-{trace_id}-{span_id}-01"
+ trace_flags = span.get_span_context().trace_flags
+ traceresponse = f"00-{trace_id}-{span_id}-{trace_flags:02x}"
self.assertListEqual(
response_start["headers"],
@@ -1368,7 +1358,8 @@
trace_id = format_trace_id(span.get_span_context().trace_id)
span_id = format_span_id(span.get_span_context().span_id)
- traceresponse = f"00-{trace_id}-{span_id}-01"
+ trace_flags = span.get_span_context().trace_flags
+ traceresponse = f"00-{trace_id}-{span_id}-{trace_flags:02x}"
self.assertListEqual(
socket_send["headers"],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opentelemetry_instrumentation_asgi-0.62b1/tests/test_getter.py
new/opentelemetry_instrumentation_asgi-0.63b1/tests/test_getter.py
--- old/opentelemetry_instrumentation_asgi-0.62b1/tests/test_getter.py
2020-02-02 01:00:00.000000000 +0100
+++ new/opentelemetry_instrumentation_asgi-0.63b1/tests/test_getter.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,16 +1,5 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
from unittest import TestCase