-
Notifications
You must be signed in to change notification settings - Fork 931
Add support for wrapt 2.x #4203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
e5d0ddc
Add support for wrapt 2.x
blarghmatey 477f5b9
Restructure wrapt test requirements
blarghmatey 253820d
chore: Resolve conflicts and add Wrapt 3 as upper bound
blarghmatey de6e76f
Add wrapt 1.x/2.x test matrix for all ObjectProxy-using instrumentations
blarghmatey 4b85975
Fix CI failures: ruff formatting and lint wrapt version pin
blarghmatey 54e0a4b
Fix remaining CI failures: unused imports and uv.lock
blarghmatey cc1a9a6
Fix aiopg lint wrapt pin, uv.lock format, and ruff blank lines
blarghmatey 9f7412f
Fix pylint E0611: disable no-name-in-module for BaseObjectProxy compa…
blarghmatey 1799454
Fix asyncpg test: use BaseObjectProxy compat shim for wrapt 2.x
blarghmatey c4988c4
Address PR review comments: add wrapt 2.0.0+ comments and fix CHANGELOG
blarghmatey 4a88554
Apply suggestions from code review
blarghmatey 0ae757c
chore: Update changelog and workflows
blarghmatey a9e8e4a
Apply suggestions from code review
blarghmatey 8232079
fix: Update workflows again
blarghmatey 40fdef2
Apply suggestions from code review
blarghmatey 2a51d7d
Remove Deprecated version pins from test-requirements and tox.ini
blarghmatey c93c4dc
Remove stale .orig file leftover from rebase
blarghmatey 4316e3e
Move lint env wrapt pins from tox.ini into test-requirements files
blarghmatey f8d23eb
Merge branch 'main' into wrapt-2.0-support
blarghmatey ab54d2e
Apply suggestions from code review
xrmx 70342a7
Update instrumentation/opentelemetry-instrumentation-botocore/test-re…
xrmx 03cba58
Update instrumentation/opentelemetry-instrumentation-grpc/test-requir…
xrmx 8ff257e
Update instrumentation/opentelemetry-instrumentation-dbapi/test-requi…
xrmx 49f85c3
Update instrumentation/opentelemetry-instrumentation-aiopg/test-requi…
xrmx 0908b58
Merge branch 'main' into wrapt-2.0-support
blarghmatey e330524
Address latest PR feedback: botocore compat shim, exact wrapt version…
blarghmatey 35e71eb
Merge branch 'main' into wrapt-2.0-support
xrmx 4c04cbf
fix: add pylint disable=no-member for __wrapped__ and abstract-method…
blarghmatey ce23074
Merge branch 'main' into wrapt-2.0-support
blarghmatey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-aiopg/test-requirements-wrapt1.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements.txt | ||
| wrapt==1.17.3 |
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-aiopg/test-requirements-wrapt2.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements.txt | ||
| wrapt==2.1.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-asyncpg/test-requirements-wrapt1.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements.txt | ||
| wrapt==1.17.3 |
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-asyncpg/test-requirements-wrapt2.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements.txt | ||
| wrapt==2.1.2 |
2 changes: 0 additions & 2 deletions
2
instrumentation/opentelemetry-instrumentation-asyncpg/test-requirements.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,13 @@ | ||
| asgiref==3.8.1 | ||
| async-timeout==4.0.3 | ||
| asyncpg==0.30.0 | ||
| Deprecated==1.2.14 | ||
| iniconfig==2.0.0 | ||
| packaging==24.0 | ||
| pluggy==1.5.0 | ||
| py-cpuinfo==9.0.0 | ||
| pytest==7.4.4 | ||
| tomli==2.0.1 | ||
| typing_extensions==4.12.2 | ||
| wrapt==1.16.0 | ||
| zipp==3.19.2 | ||
| -e opentelemetry-instrumentation | ||
| -e instrumentation/opentelemetry-instrumentation-asyncpg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-botocore/test-requirements-0-wrapt1.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements-0.txt | ||
| wrapt==1.17.3 |
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-botocore/test-requirements-0-wrapt2.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements-0.txt | ||
| wrapt==2.1.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-botocore/test-requirements-1-wrapt1.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements-1.txt | ||
| wrapt==1.17.3 |
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-botocore/test-requirements-1-wrapt2.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements-1.txt | ||
| wrapt==2.1.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-dbapi/test-requirements-wrapt1.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements.txt | ||
| wrapt==1.17.3 |
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-dbapi/test-requirements-wrapt2.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements.txt | ||
| wrapt==2.1.2 |
2 changes: 0 additions & 2 deletions
2
instrumentation/opentelemetry-instrumentation-dbapi/test-requirements.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,11 @@ | ||
| asgiref==3.8.1 | ||
| Deprecated==1.2.14 | ||
| iniconfig==2.0.0 | ||
| packaging==24.0 | ||
| pluggy==1.5.0 | ||
| py-cpuinfo==9.0.0 | ||
| pytest==7.4.4 | ||
| tomli==2.0.1 | ||
| typing_extensions==4.12.2 | ||
| wrapt==1.16.0 | ||
| zipp==3.19.2 | ||
| -e opentelemetry-instrumentation | ||
| -e instrumentation/opentelemetry-instrumentation-dbapi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-grpc/test-requirements-0-wrapt1.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements-0.txt | ||
| wrapt==1.17.3 |
2 changes: 2 additions & 0 deletions
2
instrumentation/opentelemetry-instrumentation-grpc/test-requirements-0-wrapt2.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -r test-requirements-0.txt | ||
| wrapt==2.1.2 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.