Skip to content
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

chore: remove vendored contextvars module #11811

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion ddtrace/internal/coverage/code.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from collections import defaultdict
from contextvars import ContextVar
from copy import deepcopy
from inspect import getmodule
import os
Expand All @@ -19,7 +20,6 @@
from ddtrace.internal.packages import purelib_path
from ddtrace.internal.packages import stdlib_path
from ddtrace.internal.test_visibility.coverage_lines import CoverageLines
from ddtrace.vendor.contextvars import ContextVar


log = get_logger(__name__)
Expand Down
16 changes: 1 addition & 15 deletions ddtrace/vendor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,6 @@
License: BSD 3


contextvars
-------------

Source: https://github.com/MagicStack/contextvars
Version: 2.4
License: Apache License 2.0

Notes:
- removal of metaclass usage
- formatting
- use a plain old dict instead of immutables.Map
- removal of `*` syntax


sqlcommenter
------------

Expand Down Expand Up @@ -107,7 +93,7 @@
yacc.py and lex.py files here.
Didn't copy: cpp.py, ctokens.py, ygen.py (didn't see them used)


jsonpath-ng
---------

Expand Down
160 changes: 0 additions & 160 deletions ddtrace/vendor/contextvars/__init__.py

This file was deleted.

Loading