Skip to content

ci: pin tokio to 1.38.1 to support MSRV 1.63#1524

Merged
notmandatory merged 1 commit intobitcoindevkit:masterfrom
notmandatory:ci/fix_msrv_tokio
Jul 27, 2024
Merged

ci: pin tokio to 1.38.1 to support MSRV 1.63#1524
notmandatory merged 1 commit intobitcoindevkit:masterfrom
notmandatory:ci/fix_msrv_tokio

Conversation

@notmandatory
Copy link
Member

Description

The latest tokio minor version update from 1.38.1 to 1.39.1 changed it's MSRV from 1.63.0 to 1.70.0, breaking our CI MSRV 1.63 testing. This PR pins tokio back to 1.38.1 for our CI MSRV testing.

Notes to the reviewers

tokio-rs/tokio#6645

https://crates.io/crates/tokio/versions

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

@notmandatory notmandatory added this to the 1.0.0-beta milestone Jul 26, 2024
@notmandatory notmandatory self-assigned this Jul 26, 2024
@LagginTimes
Copy link
Contributor

ACK 28d7530

Copy link
Collaborator

@ValuedMammal ValuedMammal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 28d7530

Copy link
Collaborator

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 28d7530

@notmandatory notmandatory merged commit 82141a8 into bitcoindevkit:master Jul 27, 2024
notmandatory added a commit to bitcoindevkit/rust-esplora-client that referenced this pull request Aug 22, 2024
16cdd38 fix(ci): pin tokio to 1.38.1 on msrv step (Leonardo Lima)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  As previously noticed on bitcoindevkit/bdk#1524, tokio raised their MSRV to `1.70.0` in their latest release, in short it was because they moved to `mio 1.0` which requires `1.70.0` MSRV.

  Although we don't have `tokio` as a direct dependency on `rust-esplora-client` it comes as a transitive dependency from `reqwest`.

  This PR adds the necessary pinning on CI and updates the instruction on `README.md` in order to properly build on MSRV.

  <!-- Describe the purpose of this PR, what's being adding and/or fixed -->

  ### Notes to the reviewers

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ### Changelog notice

  - Adds another MSRV pinning step on CI for the `tokio 1.38.1`.

  <!-- Notice the release manager should include in the release tag message changelog -->
  <!-- See https://keepachangelog.com/en/1.0.0/ for examples -->

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  <!--
  #### New Features:

  * [ ] I've added tests for the new feature
  * [ ] I've added docs for the new feature

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [ ] I've added tests to reproduce the issue which are now passing
  * [ ] I'm linking the issue being fixed by this PR

  -->

ACKs for top commit:
  notmandatory:
    ACK 16cdd38

Tree-SHA512: 3b98bc96ff797b67bcec215bc957561698e06c74d4184780aff4d129630f2216f2aa415a0042f3551a9d6197d6aa376cb540daf2a5ead996f4ba20b1674e4215
@notmandatory notmandatory mentioned this pull request Aug 25, 2024
31 tasks
@notmandatory notmandatory deleted the ci/fix_msrv_tokio branch May 26, 2025 21:39
chrono-raven6i90 added a commit to chrono-raven6i90/rust-esplora-client that referenced this pull request Oct 28, 2025
…8.1 on MSRV step

16cdd384b23fdfe76c5b2934d824bdb04891d240 fix(ci): pin tokio to 1.38.1 on msrv step (Leonardo Lima)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  As previously noticed on bitcoindevkit/bdk#1524, tokio raised their MSRV to `1.70.0` in their latest release, in short it was because they moved to `mio 1.0` which requires `1.70.0` MSRV.

  Although we don't have `tokio` as a direct dependency on `rust-esplora-client` it comes as a transitive dependency from `reqwest`.

  This PR adds the necessary pinning on CI and updates the instruction on `README.md` in order to properly build on MSRV.

  <!-- Describe the purpose of this PR, what's being adding and/or fixed -->

  ### Notes to the reviewers

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ### Changelog notice

  - Adds another MSRV pinning step on CI for the `tokio 1.38.1`.

  <!-- Notice the release manager should include in the release tag message changelog -->
  <!-- See https://keepachangelog.com/en/1.0.0/ for examples -->

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  <!--
  #### New Features:

  * [ ] I've added tests for the new feature
  * [ ] I've added docs for the new feature

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [ ] I've added tests to reproduce the issue which are now passing
  * [ ] I'm linking the issue being fixed by this PR

  -->

ACKs for top commit:
  notmandatory:
    ACK 16cdd384b23fdfe76c5b2934d824bdb04891d240

Tree-SHA512: 3b98bc96ff797b67bcec215bc957561698e06c74d4184780aff4d129630f2216f2aa415a0042f3551a9d6197d6aa376cb540daf2a5ead996f4ba20b1674e4215
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants