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

Update env_logger requirement from 0.10 to 0.11 #8944

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

Updates the requirements on env_logger to permit the latest version.

Changelog

Sourced from env_logger's changelog.

[0.11.0] - 2024-01-19

Breaking Change

  • Removed bespoke styling API
    • env_logger::fmt::Formatter::style
    • env_logger::fmt::Formatter::default_styled_level
    • env_logger::fmt::Style
    • env_logger::fmt::Color
    • env_logger::fmt::StyledValue
  • Removed env_logger::filter in favor of env_filter

Compatibility

MSRV changed to 1.71

Features

  • Automatically adapt ANSI escape codes in logged messages to the current terminal's capabilities
  • Add support for NO_COLOR and CLICOLOR_FORCE, see https://bixense.com/clicolors/

Fixes

  • Print colors when is_test(true)
  • Allow styling with Target::Pipe

[0.10.2] - 2024-01-18

Performance

  • Avoid extra UTF-8 validation performed in some cases

Fixes

  • Ensure custom pipes/stdout get flushed
  • Don't panic on broken pipes when color is disabled

[0.10.1] - 2023-11-10

Performance

  • Avoid hashing directives and accessing RNG on startup

Documentation

  • Tweak RUST_LOG documentation

[0.10.0] - 2022-11-24

MSRV changed to 1.60 to hide optional dependencies

... (truncated)

Commits
  • 8f4361b chore: Release
  • ba41ebb docs: Update changelog
  • 5e226cb chore: Release
  • 23441be Merge pull request #300 from epage/other
  • 6c2ea80 style(filter): Clean up
  • 2d35260 feat(filter): Add a Logger decorator
  • e6e2b63 fix(log)!: Dont re-export env_filter
  • 841eba4 refactor(filter): Pull out filter mod
  • 98c450f refactor(filter): Pull out directive mod
  • c769e03 refactor(filter): Flatten the mod
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@github-actions github-actions bot added the optimizer Optimizer rules label Jan 22, 2024
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](rust-cli/env_logger@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/main/env_logger-0.11 branch from d4d5dff to 2bcfa59 Compare January 22, 2024 19:41
@alamb
Copy link
Contributor

alamb commented Jan 23, 2024

🤔
The failure here is related to MSRV:

https://github.com/apache/arrow-datafusion/actions/runs/7616710097/job/20744107721?pr=8944

Run cargo msrv verify
Fetching index
Verifying the Minimum Supported Rust Version (MSRV) for toolchain x86_64-unknown-linux-gnu
Using check command cargo check
   Failed check command cargo check didn't succeed
Crate source was found to be incompatible with its MSRV '1.70.0', as defined in '/__w/arrow-datafusion/arrow-datafusion/datafusion/core/Cargo.toml'
Error: Process completed with exit code 1.

We currently have a MSRV of 1.70 which seems to have been released about 6 months ago: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1700-2023-06-01

MSRV 1.71 would be 2 months later in 2023-08-03: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1711-2023-08-03

Most recent rust is 1.75: released end of De 2023
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1750-2023-12-28

@alamb alamb changed the title Update env_logger requirement from 0.10 to 0.11 Update env_logger requirement from 0.10 to 0.11 -- and update MSRV to 1.71 Jan 25, 2024
@alamb alamb changed the title Update env_logger requirement from 0.10 to 0.11 -- and update MSRV to 1.71 Update env_logger requirement from 0.10 to 0.11 Jan 25, 2024
@alamb
Copy link
Contributor

alamb commented Jan 25, 2024

Blocked on #8997 (upgrade to msrv)

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 29, 2024

A newer version of env_logger exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@alamb alamb merged commit 968c05f into main Feb 1, 2024
44 checks passed
@alamb alamb deleted the dependabot/cargo/main/env_logger-0.11 branch February 1, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant