Skip to content

chore(deps): bump tempfile from 3.25.0 to 3.27.0#714

Merged
son-oz merged 2 commits into
mainfrom
dependabot/cargo/tempfile-3.27.0
Mar 23, 2026
Merged

chore(deps): bump tempfile from 3.25.0 to 3.27.0#714
son-oz merged 2 commits into
mainfrom
dependabot/cargo/tempfile-3.27.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 19, 2026

Bumps tempfile from 3.25.0 to 3.27.0.

Changelog

Sourced from tempfile's changelog.

3.27.0

This release adds TempPath::try_from_path and deprecates TempPath::from_path.

Prior to this release, TempPath::from_path made no attempts to convert relative paths into absolute paths. The following code would have deleted the wrong file:

let tmp_path = TempPath::from_path("foo")
std::env::set_current_dir("/some/other/path").unwrap();
drop(tmp_path);

Now:

  1. TempPath::from_path will attempt to convert relative paths into absolute paths. However, this isn't always possible as we need to call std::env::current_dir, which can fail. If we fail to convert the relative path to an absolute path, we simply keep the relative path.
  2. The TempPath::try_from_path behaves exactly like TempPath::from_path, except that it returns an error if we fail to convert a relative path into an absolute path (or if the passed path is empty).

Neither function attempt to verify the existence of the file in question.

Thanks to @​meng-xu-cs for reporting this issue.

3.26.0

Commits

Dependabot compatibility score

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 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)

@dependabot dependabot Bot added dependabot dependencies Pull requests that update a dependency file labels Mar 19, 2026
@dependabot dependabot Bot requested a review from a team as a code owner March 19, 2026 14:53
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file dependabot labels Mar 19, 2026
@zeljkoX zeljkoX requested a review from Copilot March 23, 2026 09:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Rust dev-dependency tempfile to a newer release, refreshing the resolved dependency set in Cargo.lock accordingly.

Changes:

  • Bump tempfile dev-dependency requirement to 3.27 in Cargo.toml.
  • Update Cargo.lock to resolve tempfile 3.27.0 and associated transitive dependency versions.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
Cargo.toml Updates the declared tempfile dev-dependency version requirement.
Cargo.lock Updates the resolved crate graph to include tempfile 3.27.0 (and other resolver-selected upgrades).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Cargo.toml Outdated
@son-oz
Copy link
Copy Markdown
Contributor

son-oz commented Mar 23, 2026

@dependabot rebase

Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.25.0 to 3.27.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits/v3.27.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/tempfile-3.27.0 branch from 5f1ce0c to f76b995 Compare March 23, 2026 18:28
Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@son-oz
Copy link
Copy Markdown
Contributor

son-oz commented Mar 23, 2026

Tests passed after running locally.

@son-oz son-oz merged commit d5c5f13 into main Mar 23, 2026
22 checks passed
@son-oz son-oz deleted the dependabot/cargo/tempfile-3.27.0 branch March 23, 2026 22:08
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: allowlist cla: signed dependabot dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants