Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"permissions": {
"allow": [
"Bash(find /Users/lmolkova/repo/opentelemetry-python -name conftest.py -exec ls -la {} \\\\;)",
"Bash(python -m pytest tests/opentelemetry-test-utils/tests/test_weaver_live_check.py -v)",
"Bash(grep -E \"\\\\.yml$\")",
"Bash(grep -n \"weaver\" /Users/lmolkova/repo/opentelemetry-python/.github/workflows/*.yml)",
"Bash(grep -n \"download\\\\|install.*binary\\\\|wget\\\\|curl\" /Users/lmolkova/repo/opentelemetry-python/.github/workflows/*.yml)",
"Bash(grep -r \"binary\\\\|download\\\\|wget\\\\|curl\\\\|install.*tool\" /Users/lmolkova/repo/opentelemetry-python/.github/workflows/*.yml)",
"Bash(tox -e generate-workflows)",
"Read(//usr/local/**)",
"Bash(python .github/workflows/generate_workflows.py)",
"Bash(chmod +x /tmp/git_seq_editor.sh)",
"Bash(chmod +x /tmp/git_msg_editor.sh)",
"Bash(GIT_SEQUENCE_EDITOR=\"/tmp/git_seq_editor.sh\" GIT_EDITOR=\"/tmp/git_msg_editor.sh\" git rebase -i main)",
"WebFetch(domain:productionresultssa18.blob.core.windows.net)",
"WebFetch(domain:productionresultssa1.blob.core.windows.net)",
"Bash(xargs ls *)",
"Bash(xargs -I {} sh -c 'echo \"=== {} ===\" && head -20 {}')",
"Bash(xargs -I {} sh -c 'echo \"FILE: {}\" && cat {}')",
"Bash(find /Users/lmolkova/repo/opentelemetry-python-contrib -name \"pyproject.toml\" -path \"*/instrumentation/*\" -exec grep -l \"markers\\\\|sys_platform\\\\|platform\" {} \\\\;)",
"Bash(find /Users/lmolkova/repo/opentelemetry-python-contrib/util -type f -name \"pyproject.toml\" -exec sh -c 'echo \"=== {} ===\" && cat {}' \\\\;)",
"Bash(python -m pytest tests/opentelemetry-test-utils/tests/test_weaver_live_check.py -x --no-header -q)",
"Bash(python -m pytest tests/opentelemetry-test-utils/tests/test_weaver_live_check.py -x -q)",
"Bash(python -m pytest tests/opentelemetry-test-utils/tests/test_weaver_live_check.py -x -q --no-header)",
"Bash(sed -i '' 's/py312/py313/g' tox.ini)",
"Bash(tox -e py313)",
"Bash(mv dummy *)",
"Bash(tox -e py313 -r)",
"Bash(tox -e py312-test-opentelemetry-test-utils -r)",
"Bash(gh issue *)",
"Bash(gh search *)",
"Bash(pip --version)",
"Bash(tox --version)",
"Bash(gh run *)",
"Bash(tox -e py312-test-opentelemetry-test-utils)",
"Bash(.tox/py312-test-opentelemetry-test-utils/bin/pytest tests/opentelemetry-test-utils/tests/test_weaver_live_check.py::TestSDKInitLiveCheck::test_end_no_violations -ra)",
"Bash(.tox/py312-test-opentelemetry-test-utils/bin/python -c ' *)"
]
}
}
9 changes: 9 additions & 0 deletions .github/workflows/templates/test.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}{% endraw %}
WEAVER_VERSION: "v0.22.1"
PIP_EXISTS_ACTION: w
CONTRIB_REPO_UTIL_HTTP: ${% raw %}{{ github.workspace }}{% endraw %}/opentelemetry-python-contrib/util/opentelemetry-util-http
CONTRIB_REPO_INSTRUMENTATION: ${% raw %}{{ github.workspace }}{% endraw %}/opentelemetry-python-contrib/opentelemetry-instrumentation
Expand Down Expand Up @@ -51,6 +52,14 @@ jobs:
ref: ${% raw %}{{ env.CONTRIB_REPO_SHA }}{% endraw %}
path: opentelemetry-python-contrib
{%- endif %}
{%- if "test-opentelemetry-test-utils" in job_data.tox_env and job_data.os != "windows-latest" %}

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${% raw %}{{ env.WEAVER_VERSION }}{% endraw %}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver
{%- endif %}

- name: Set up Python {{ job_data.python_version }}
uses: actions/setup-python@v5
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}
WEAVER_VERSION: "v0.22.1"
PIP_EXISTS_ACTION: w
CONTRIB_REPO_UTIL_HTTP: ${{ github.workspace }}/opentelemetry-python-contrib/util/opentelemetry-util-http
CONTRIB_REPO_INSTRUMENTATION: ${{ github.workspace }}/opentelemetry-python-contrib/opentelemetry-instrumentation
Expand Down Expand Up @@ -2865,6 +2866,12 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${{ env.WEAVER_VERSION }}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
Expand All @@ -2884,6 +2891,12 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${{ env.WEAVER_VERSION }}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
Expand All @@ -2903,6 +2916,12 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${{ env.WEAVER_VERSION }}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
Expand All @@ -2922,6 +2941,12 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${{ env.WEAVER_VERSION }}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
Expand All @@ -2941,6 +2966,12 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${{ env.WEAVER_VERSION }}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver

- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
Expand All @@ -2960,6 +2991,12 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${{ env.WEAVER_VERSION }}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver

- name: Set up Python 3.14t
uses: actions/setup-python@v5
with:
Expand All @@ -2979,6 +3016,12 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Install weaver
run: |
WEAVER_URL="https://github.com/open-telemetry/weaver/releases/download/${{ env.WEAVER_VERSION }}/weaver-x86_64-unknown-linux-gnu.tar.xz"
curl -sSL "$WEAVER_URL" | tar -xJ -C /tmp weaver-x86_64-unknown-linux-gnu/weaver
sudo mv /tmp/weaver-x86_64-unknown-linux-gnu/weaver /usr/local/bin/weaver

- name: Set up Python pypy-3.10
uses: actions/setup-python@v5
with:
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
([#5076](https://github.com/open-telemetry/opentelemetry-python/pull/5076))
- `opentelemetry-semantic-conventions`: use `X | Y` union annotation
([#5096](https://github.com/open-telemetry/opentelemetry-python/pull/5096))

- Add WeaverLiveCheck test util
([#5088](https://github.com/open-telemetry/opentelemetry-python/pull/5088))

## Version 1.41.0/0.62b0 (2026-04-09)

Expand Down
1 change: 1 addition & 0 deletions tests/opentelemetry-test-utils/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies = [
"asgiref ~= 3.0",
"opentelemetry-api == 1.42.0.dev",
"opentelemetry-sdk == 1.42.0.dev",
"requests ~= 2.28",
]

[project.urls]
Expand Down
Loading
Loading