Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update which requirement from 7.0 to 8.0 #2671

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

Open
musicinmybrain wants to merge 1 commit into gitui-org:master
base: master
Choose a base branch
Loading
from musicinmybrain:which8

Conversation

Copy link

@musicinmybrain musicinmybrain commented Jun 25, 2025

This Pull Request fixes/closes #{issue_num}.v N/A

It changes the following:

  • Updates the which dependency in Cargo.toml from 7.0 to 8.0
  • Updates Cargo.lock with cargo update which.

I followed the checklist:

  • I added unittests N/A, nothing new to test
  • I ran make check without errors. (On Fedora 42, I needed to use CC=clang CXX=clang++ because onig_sys does not build with GCC 15 due to incompatible pointer types in the oniguruma C code. I also needed python-unversioned-command installed, and I needed to cargo install cargo sort. None of this has anything to do with this PR.)
  • I tested the overall application
  • I added an appropriate item to the changelog N/A, I think. It looks like you do not include dependency updates in the changelog.

Copy link
Collaborator

Are there any reasons to update this dependency specifically? Just curious, I’m not questioning that these kinds of updates are generally useful.

Copy link
Author

Are there any reasons to update this dependency specifically? Just curious, I’m not questioning that these kinds of updates are generally useful.

Based on https://github.com/harryfei/which-rs/blob/8.0.0/CHANGELOG.md, the immediate benefits are rather minor: better handling of I/O errors, and one fewer dependency.

(I filed this PR while updating the rust-which package in Fedora. I patched packages as needed to avoid a rust-which7 compat package, and it’s our policy to offer patches upstream.)

cruessler reacted with thumbs up emoji

Copy link
Collaborator

one fewer dependency.

Thats actually the opposite if you check the diff on the lock file. I would defer this one until we have a chance to not duplicate the rustix dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@cruessler cruessler cruessler approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /