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: upgrade rustc version #1489

Merged
merged 4 commits into from
Mar 5, 2024
Merged

Conversation

baojinri
Copy link
Contributor

@baojinri baojinri commented Feb 28, 2024

Rationale

Upgrade rustc version

Detailed Changes

  • upgrade rustc version
  • upgrade rand version
  • upgrade obkv-client version
  • upgrade clap version
  • Adapt to new APIs

Test Plan

CI

Cargo.toml Outdated
@@ -101,7 +101,7 @@ catalog_impls = { path = "src/catalog_impls" }
horaedbproto = { git = "https://github.com/apache/incubator-horaedb-proto.git", rev = "19ece8f771fc0b3e8e734072cc3d8040de6c74cb" }
codec = { path = "src/components/codec" }
chrono = "0.4"
clap = "3.0"
clap = "=4.4.18"
Copy link
Member

Choose a reason for hiding this comment

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

Is it necessary to lock the version to the "4.4.18"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The latest version of clap is currently 4.5.1. However, during local testing, I found that the latest version may not be compatible with the rustc version, so the version is temporarily locked at 4.4.18.

Copy link
Contributor

@jiacai2050 jiacai2050 Mar 4, 2024

Choose a reason for hiding this comment

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

Clap is very aggressive for rust version In my impression, I wonder which features do you depend on but missing from current version?

I think our user case is simple enough that there is hardly any change we need to bump it.

@baojinri baojinri changed the title deps: upgrade clap version chore: upgrade rustc version Mar 4, 2024
@@ -16,5 +16,5 @@
# under the License.

[toolchain]
channel = "nightly-2023-08-28"
Copy link
Contributor

Choose a reason for hiding this comment

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

Try search nightly-2023-08-28 in our codebase, I remember some CI files also hard code it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK

Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

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

LGTM

@jiacai2050 jiacai2050 merged commit 9e356c6 into apache:main Mar 5, 2024
11 checks passed
zealchen pushed a commit to zealchen/incubator-horaedb that referenced this pull request Apr 9, 2024
## Rationale
Upgrade rustc version
## Detailed Changes
- upgrade rustc version
- upgrade rand version
- upgrade obkv-client version
- upgrade clap version
- Adapt to new APIs

## Test Plan
CI
zealchen pushed a commit to zealchen/incubator-horaedb that referenced this pull request Apr 9, 2024
Upgrade rustc version
- upgrade rustc version
- upgrade rand version
- upgrade obkv-client version
- upgrade clap version
- Adapt to new APIs

CI
zealchen pushed a commit to zealchen/incubator-horaedb that referenced this pull request Apr 9, 2024
Upgrade rustc version
- upgrade rustc version
- upgrade rand version
- upgrade obkv-client version
- upgrade clap version
- Adapt to new APIs

CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants