Skip to content

Commit

Permalink
maint(deps): update otel to 1.22 and 0.43b0 (#168)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?

- update otel dependencies
- Closes #167 

## Short description of the changes

- update opentelemetry-api from "1.20.0" to "1.22.0"
- update opentelemetry-sdk from "1.20.0" to "1.22.0"
- update opentelemetry-exporter-otlp from "1.20.0" to "1.22.0"
- update opentelemetry-instrumentation from "0.41b0" to "0.43b0"
- update example deps to match, and also
opentelemetry-instrumentation-flask = "^0.43b0"
- update test for new required field "name" for ReadableSpan
- add specific version of Werkzeug to match flask in example app (see
[Stack Overflow question
here](https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr)
tldr; flask specifies >2.2 which now brings in Werkzeug 3)
  • Loading branch information
JamieDanielson authored Jan 17, 2024
1 parent ae5e8d3 commit 67539f6
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 48 deletions.
13 changes: 13 additions & 0 deletions examples/hello-world-flask/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
**/.git
**/.gitignore
**/.vscode
**/coverage
**/.env
**/.aws
**/.ssh
Dockerfile
README.md
docker-compose.yml
**/.DS_Store
**/venv
**/env
7 changes: 4 additions & 3 deletions examples/hello-world-flask/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
flask = "^2.2.2"
flask = "2.2.2"
Werkzeug = "2.2.2"
honeycomb-opentelemetry = {path = "../../", develop = true}
opentelemetry-api = "^1.19.0"
opentelemetry-instrumentation-flask = "^0.41b0"
opentelemetry-api = "1.22.0"
opentelemetry-instrumentation-flask = "0.43b0"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
honeycomb-opentelemetry = {path = "../../", develop = true}
opentelemetry-api = "^1.19.0"
opentelemetry-api = "1.22.0"

[build-system]
requires = ["poetry-core"]
Expand Down
Loading

0 comments on commit 67539f6

Please sign in to comment.