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
deps: update to tokio v1.0 #1880
Conversation
Things are looking pretty good. The failures are because the |
Is this for |
Yep! The plan is to ship v0.46.0 as soon as this PR lands. I would expect in the next few days, but we're beholden to the hyper-tls and hyper-rustls maintainers. |
Here's the PR for |
72abc68
to
61746e0
Compare
Whew, ok, all tests are green. I've updated the issue description to track exactly which crates we're waiting on releases for. In theory we could release without reqwest or warp, since those dependencies are only used in tests. But a release of hyper-tls is non-negotiable. |
@benesch thanks for working on this! I am looking forward to this getting merged❤️ |
hyper-tls is out now. I'm going to wait a few days to see if tokio v1.0-compatible releases of reqwest + warp ship, for tidiness's sake. If either of those get wedged for some reason, I'll see about shipping with the Git-based dev-dependency. |
We are waiting on |
The updated version of reqwest hasn't hit crates.io yet, unfortunately. Even though both reqwest and warp are used only as dev dependencies, I'm leery of merging a Git dependency to master, even as a dev dependency. It's too easy for our CI to break when those Git dependencies get updated upstream. I imagine we'll get a new release of reqwest early this week, which I think is worth waiting for. Hopefully warp too, though it's easy enough to just replace our usage of warp with raw hyper if necessary. |
You can pin a specific revision of a Git dependency, i.e. the git SHA of the commit with the updated version. |
In my experience that still has some pitfalls, sadly. Specific SHAs have a tendency to vanish from GitHub, e.g., when the branch backing a PR is force pushed, or when the PR is merged via a rebase-and-merge or squash-and-merge strategy (which rewrites the commits) and the original branch is deleted. |
maybe we can make it a release candidate for the time being until there are actually named releases to point to for warp and request? |
I know everyone is very excited to get a new release of Rusoto, but please just bear with me for another day, or two days at most! I'd like to avoid merging a Git dependency to master, which also precludes releasing an RC. |
here we go, PR for the reqwest release open: seanmonstar/reqwest#1133 |
And reqwest v0.11 is out! Pending any unforeseen problems, I’ll get this shipped by tonight (EST). |
e5a9e49
to
731f998
Compare
Thanks for your patience, folks! |
Just a draft for the moment. Waiting on:
warp (Upgrade to Tokio 1.0 seanmonstar/warp#753)credential service mock rewritten to use hyper directly, rather than warp