Skip to content

chore(deps): bump tempfile from 3.26.0 to 3.27.0#356

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/tempfile-3.27.0
Open

chore(deps): bump tempfile from 3.26.0 to 3.27.0#356
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/tempfile-3.27.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 20, 2026

Bumps tempfile from 3.26.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.

Commits
  • 5c8fa12 chore: release 3.27.0
  • e34e574 test: disable uds conflict test on redox
  • 772c795 test: add CWD guards
  • 2632fb9 fix: resolve relative paths when constructing TempPath
  • See full diff in compare view

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)

Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.26.0 to 3.27.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](Stebalien/tempfile@v3.26.0...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 added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 20, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2026

⚠️ Changelog not found.

A changelog entry is required before merging.

Add changelog

@github-actions
Copy link
Contributor

Tempo Lint Results

Summary

Found 338 issue(s) across 32 file(s)

Severity Count
Errors 0
Warnings 338
Hints 0

Issues by Rule Type

no-unwrap-in-lib (315 occurrences)
  • /home/runner/work/wallet/wallet/crates/tempo-common/src/network.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-common/src/network.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-common/src/network.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-common/src/network.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/query/sse.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/query/sse.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/query/sse.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/http/client.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/http/client.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/http/client.rs:1 - Avoid .unwrap() in library code. Use proper error handling with ? or .expect() with context.

... and 305 more

no-leading-whitespace-strings (23 occurrences)
  • /home/runner/work/wallet/wallet/crates/tempo-test/src/fixture.rs:1 - String literals should not start with leading whitespace. Found: ' = '
  • /home/runner/work/wallet/wallet/crates/tempo-test/src/fixture.rs:1 - String literals should not start with leading whitespace. Found: ' = '
  • /home/runner/work/wallet/wallet/crates/tempo-test/src/fixture.rs:1 - String literals should not start with leading whitespace. Found: ' = '
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/args.rs:1 - String literals should not start with leading whitespace. Found: ' ('
  • /home/runner/work/wallet/wallet/crates/tempo-request/src/payment/session/streaming.rs:1 - String literals should not start with leading whitespace. Found: ' 42 '
  • /home/runner/work/wallet/wallet/crates/tempo-common/src/config.rs:1 - String literals should not start with leading whitespace. Found: ' = '
  • /home/runner/work/wallet/wallet/crates/tempo-wallet/src/args.rs:1 - String literals should not start with leading whitespace. Found: ' ('
  • /home/runner/work/wallet/wallet/crates/tempo-request/tests/query/payment.rs:1 - String literals should not start with leading whitespace. Found: ' = '
  • /home/runner/work/wallet/wallet/crates/tempo-wallet/src/commands/debug.rs:1 - String literals should not start with leading whitespace. Found: ' ('
  • /home/runner/work/wallet/wallet/crates/tempo-wallet/tests/session/sync.rs:1 - String literals should not start with leading whitespace. Found: ' = '

... and 13 more

Issues by File

View grouped by file

/home/runner/work/wallet/wallet/crates/tempo-request/src/payment/session/streaming.rs (58 issues)

  • Line 1: [warning] no-leading-whitespace-strings
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 53 more

/home/runner/work/wallet/wallet/crates/tempo-test/src/mock.rs (46 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 41 more

/home/runner/work/wallet/wallet/crates/tempo-common/src/payment/session/store/storage.rs (38 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 33 more

/home/runner/work/wallet/wallet/crates/tempo-common/src/keys/keystore.rs (32 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 27 more

/home/runner/work/wallet/wallet/crates/tempo-request/src/query/payload.rs (24 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 19 more

/home/runner/work/wallet/wallet/crates/tempo-request/src/http/client.rs (19 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 14 more

/home/runner/work/wallet/wallet/crates/tempo-common/src/payment/session/close/cooperative.rs (18 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 13 more

/home/runner/work/wallet/wallet/crates/tempo-common/src/keys/signer.rs (13 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 8 more

/home/runner/work/wallet/wallet/crates/tempo-request/src/query/challenge.rs (11 issues)

  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • Line 1: [warning] no-unwrap-in-lib
  • ... and 6 more

/home/runner/work/wallet/wallet/crates/tempo-wallet/tests/session/close.rs (10 issues)

  • Line 1: [warning] no-leading-whitespace-strings
  • Line 1: [warning] no-leading-whitespace-strings
  • Line 1: [warning] no-leading-whitespace-strings
  • Line 1: [warning] no-leading-whitespace-strings
  • Line 1: [warning] no-leading-whitespace-strings
  • ... and 5 more

Showing 10 of 32 files


Posted by https://github.com/tempoxyz/lints

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

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants