-
Notifications
You must be signed in to change notification settings - Fork 207
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
remove golang.org/x/net dependency #295
Conversation
The golang.org/x/net/context package is an alias for stdlib context since go1.7 (see https://go-review.googlesource.com/72570) This patch replaces all uses of it for stdlib context. Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@jinglundong @jihuin ptal 🤗 |
Hmm.. I'm not familiar with CI on this repo; are these failures related to my changes, or a general issue?
|
@jihuin do you have some plans to merge this and release new version? |
FWIW, looks like the failures are due to
|
I don't think the test failures are caused by this PR, but not too sure. We could confirm that by running the same test against mainline/master branch (or a dummy change of the mainline/master branch). @jihuin or I might be able to take a closer look next week. Meanwhile, if this is urgent, please feel free to verify it as well. |
I ran the same test in our corp code base. All three failed tests were skipped when running in corp.
|
We can deal with the test failures separately. #302 |
Thanks! |
Use standard context instead of golang.org/x/net/context, and remove dependency. refs: golang#295
Use standard context instead of golang.org/x/net/context, and remove dependency. refs: golang#295
Use standard context instead of golang.org/x/net/context, and remove dependency. refs: #295
The golang.org/x/net/context package is an alias for stdlib context
since go1.7 (see https://go-review.googlesource.com/72570)
This patch replaces all uses of it for stdlib context.
The second commit renames the internal App Engine "context" type, so that
the import aliases can be removed; happy to either drop that commit, or
to squash it with the first one to reduce code-churn.