Skip to content

Commit e2dcfab

Browse files
authored
chore: bump otel deps to v1.30.0 + setup release workflow (#26)
1 parent 74e26a1 commit e2dcfab

File tree

6 files changed

+147
-78
lines changed

6 files changed

+147
-78
lines changed

.github/workflows/release.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [main]
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
jobs:
9+
build-and-publish-to-pypi:
10+
timeout-minutes: 8
11+
runs-on: ubuntu-20.04
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v4
15+
- name: Build and publish to pypi
16+
uses: JRubics/[email protected]
17+
with:
18+
python_version: "3.10"
19+
poetry_version: "==2.0.1"
20+
pypi_token: ${{ secrets.PYPI_API_TOKEN }}

examples/hello-world-django/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ readme = "README.md"
99
python = "^3.11"
1010
django = "^5.0.1"
1111
hyperdx-opentelemetry = {path = "../../", develop = true}
12-
opentelemetry-api = "1.27.0"
13-
opentelemetry-instrumentation = "0.48b0"
12+
opentelemetry-api = "1.30.0"
13+
opentelemetry-instrumentation = "0.51b0"
1414

1515
[build-system]
1616
requires = ["poetry-core"]

examples/hello-world-flask/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ python = "^3.10"
1010
flask = "2.2.5"
1111
Werkzeug = "2.2.2"
1212
hyperdx-opentelemetry = {path = "../../", develop = true}
13-
opentelemetry-api = "1.27.0"
14-
opentelemetry-instrumentation-flask = "0.48b0"
13+
opentelemetry-api = "1.30.0"
14+
opentelemetry-instrumentation-flask = "0.51b0"
1515

1616
[build-system]
1717
requires = ["poetry-core"]

examples/hello-world/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ readme = "README.md"
88
[tool.poetry.dependencies]
99
python = "^3.10"
1010
hyperdx-opentelemetry = {path = "../../", develop = true}
11-
opentelemetry-api = "1.27.0"
11+
opentelemetry-api = "1.30.0"
1212

1313
[build-system]
1414
requires = ["poetry-core"]

0 commit comments

Comments
 (0)