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

Bump some dependencies to mostly remove atty #403

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

jamesbornholt
Copy link
Member

@jamesbornholt jamesbornholt commented Jul 24, 2023

Description of change

It's no longer in our release dependency closure, but still in the test
closure through two sources:

  • fuser uses clap v3 in its examples, which still depends on atty
  • fuser uses env-logger v0.9 in its examples, which still depends on
    atty

Does this change impact existing behavior?

No.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

It's no longer in our release dependency closure, but still in the test
closure through two sources:
* fuser uses clap v3 in its examples, which still depends on atty
* fuser uses env-logger v0.9 in its examples, which still depends on
  atty

Signed-off-by: James Bornholt <bornholt@amazon.com>
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 15:44 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 15:44 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 15:44 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 15:44 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt marked this pull request as ready for review July 24, 2023 15:45
Copy link
Contributor

@dannycjones dannycjones left a comment

Choose a reason for hiding this comment

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

Compiles but Clap upgrade has a breaking change for arguments.

This example breaks, we just need to remove the -- from arg definitions on the list example.

❯ cargo run --example list -- --bucket doc-example-bucket
    Finished dev [unoptimized + debuginfo] target(s) in 0.80s
     Running `/Users/djonesoa/devel/mountpoint-s3/target/debug/examples/list --bucket doc-example-bucket`
thread 'main' panicked at 'Argument delimiter: long "--delimiter" must not start with a `-`, that will be handled by the parser', /Users/djonesoa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.9/src/builder/debug_asserts.rs:79:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Signed-off-by: James Bornholt <bornholt@amazon.com>
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 16:56 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 16:56 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 16:56 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests July 24, 2023 16:56 — with GitHub Actions Inactive
@jamesbornholt
Copy link
Member Author

I tested the other two but not that one :(

@jamesbornholt jamesbornholt added this pull request to the merge queue Jul 24, 2023
Merged via the queue into awslabs:main with commit 33fe81f Jul 24, 2023
@jamesbornholt jamesbornholt deleted the bump-dependencies-atty branch July 24, 2023 17:46
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.

2 participants