jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
8.03k stars 210 forks source link

fix(deps): update rust crate git2 to 0.19.0 #2300

Open renovate[bot] opened 2 weeks ago

renovate[bot] commented 2 weeks ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
git2 dependencies minor 0.18.3 -> 0.19.0

Release Notes

rust-lang/git2-rs (git2) ### [`v0.19.0`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0190---2024-06-13) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.3...git2-0.19.0) [0.18.3...0.19.0](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.3...git2-0.19.0) ##### Added - Added `opts` functions to control server timeouts (`get_server_connect_timeout_in_milliseconds`, `set_server_connect_timeout_in_milliseconds`, `get_server_timeout_in_milliseconds`, `set_server_timeout_in_milliseconds`), and add `ErrorCode::Timeout`. [#​1052](https://togithub.com/rust-lang/git2-rs/pull/1052) ##### Changed - ❗ Updated to libgit2 [1.8.1](https://togithub.com/libgit2/libgit2/releases/tag/v1.8.1) [#​1032](https://togithub.com/rust-lang/git2-rs/pull/1032) - Reduced size of the `Error` struct. [#​1053](https://togithub.com/rust-lang/git2-rs/pull/1053) ##### Fixed - Fixed some callbacks to relay the error from the callback to libgit2. [#​1043](https://togithub.com/rust-lang/git2-rs/pull/1043)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 2 weeks ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `libgit2-sys`.
    ... required by package `git2 v0.18.0`
    ... which satisfies dependency `git2 = "^0.18"` of package `built v0.7.2`
    ... which satisfies dependency `built = "^0.7.2"` of package `mise v2024.6.4 (/tmp/renovate/repos/github/jdx/mise)`
versions that meet the requirements `^0.16.0` are: 0.16.2+1.7.2, 0.16.1+1.7.1

the package `libgit2-sys` links to the native library `git2`, but it conflicts with a previous package which links to `git2` as well:
package `libgit2-sys v0.17.0+1.8.1`
    ... which satisfies dependency `libgit2-sys = "^0.17.0"` of package `git2 v0.19.0`
    ... which satisfies dependency `git2 = "^0.19.0"` of package `mise v2024.6.4 (/tmp/renovate/repos/github/jdx/mise)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "git2"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `libgit2-sys` which could resolve this conflict