Skip to content

Commit

Permalink
fix: Update the min required opentelemetry version
Browse files Browse the repository at this point in the history
* Versions before 1.27.0 have been found to have issues with adding
  links to spans
  • Loading branch information
mukund-ananthu committed Sep 29, 2024
1 parent e6d08e7 commit e4e73aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 6 additions & 4 deletions samples/snippets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
google-cloud-pubsub==2.23.0
google-cloud-pubsub==2.25.0
avro==1.12.0
protobuf===4.24.4; python_version == '3.7'
protobuf==5.28.0; python_version >= '3.8'
avro==1.12.0
opentelemetry-api==1.22.0
opentelemetry-sdk==1.22.0
opentelemetry-exporter-gcp-trace==1.7.0
opentelemetry-api==1.22.0; python_version == '3.7'
opentelemetry-sdk==1.22.0; python_version == '3.7'
opentelemetry-api==1.27.0; python_version >= '3.8'
opentelemetry-sdk==1.27.0; python_version >= '3.8'
opentelemetry-exporter-gcp-trace==1.7.0
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@
"protobuf>=3.20.2,<6.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
"grpcio-status >= 1.33.2",
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-api <= 1.22.0; python_version<='3.7'",
"opentelemetry-api >= 1.27.0; python_version>='3.8'",
"opentelemetry-sdk <= 1.22.0; python_version<='3.7'",
"opentelemetry-sdk >= 1.27.0; python_version>='3.8'",
]
extras = {"libcst": "libcst >= 0.3.10"}
url = "https://github.com/googleapis/python-pubsub"
Expand Down

0 comments on commit e4e73aa

Please sign in to comment.