Skip to content

Commit 36f5e5d

Browse files
authored
Pin opentelemetry to 0.8b0 (Azure#11756)
* Pin to 0.8b0 * shared reqs
1 parent 1812376 commit 36f5e5d

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
-------------------
55
## 1.0.0b5 (Unreleased)
66

7+
- Pinned opentelemetry-api to version 0.8b0
8+
- Fixed a bug where `DefaultSpan` sometimes throws an AttributeError.
79

810
## 1.0.0b4 (2020-05-04)
911

sdk/core/azure-core-tracing-opentelemetry/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## Getting started
66

7+
### Install the package
8+
79
Install the opentelemetry python for Python with [pip](https://pypi.org/project/pip/):
810

911
```bash
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-e ../../../tools/azure-sdk-tools
22
../azure-core
3-
opentelemetry-sdk==0.6b0
3+
opentelemetry-sdk==0.8b0

sdk/core/azure-core-tracing-opentelemetry/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
],
5959
python_requires=">=3.5.0",
6060
install_requires=[
61-
'opentelemetry-api==0.6b0',
61+
'opentelemetry-api==0.8b0',
6262
'azure-core<2.0.0,>=1.0.0',
6363
],
6464
extras_require={

sdk/core/azure-core-tracing-opentelemetry/tests/test_tracing_implementations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_span(self, tracer):
5050
with wrapped_span.span() as child:
5151
assert child.span_instance.name == "span"
5252
assert child.span_instance is tracer.get_current_span()
53-
assert child.span_instance.parent is wrapped_span.span_instance
53+
assert child.span_instance.parent is wrapped_span.span_instance.context
5454

5555
def test_start_finish(self, tracer):
5656
with tracer.start_as_current_span("Root") as parent:

shared_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ six>=1.6
136136
opencensus>=0.6.0
137137
opencensus-ext-threading
138138
opencensus-ext-azure>=0.3.1
139-
opentelemetry-api==0.6b0
139+
opentelemetry-api==0.8b0
140140
#override azure-eventhub-checkpointstoreblob msrest>=0.6.10
141141
#override azure-eventhub-checkpointstoreblob-aio msrest>=0.6.10
142142
#override azure-eventhub-checkpointstoreblob-aio aiohttp<4.0,>=3.0

0 commit comments

Comments
 (0)