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

sync_dry_run failed with spurious error #11376

Open
charliermarsh opened this issue Feb 10, 2025 · 2 comments
Open

sync_dry_run failed with spurious error #11376

charliermarsh opened this issue Feb 10, 2025 · 2 comments
Labels
testing Internal testing of behavior

Comments

@charliermarsh
Copy link
Member

Image

@charliermarsh charliermarsh added the testing Internal testing of behavior label Feb 10, 2025
@zanieb
Copy link
Member

zanieb commented Feb 10, 2025

running 1 test
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: sync_dry_run-4
Source: crates/uv/tests/it/sync.rs:6647
────────────────────────────────────────────────────────────────────────────────
Expression: snapshot
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
    1     1 │ exit_code: 0
    2     2 │ ----- stdout -----
    3     3 │ 
    4     4 │ ----- stderr -----
    5       │-Discovered existing environment at: .venv
          5 │+Using CPython 3.8.[X] interpreter at: [PYTHON-3.8]
          6 │+Would replace existing virtual environment at: .venv
    6     7 │ Resolved 2 packages in [TIME]
    7     8 │ Found up-to-date lockfile at: uv.lock
    8       │-Audited 1 package in [TIME]
    9       │-Would make no changes
          9 │+Would install 1 package
         10 │+ + iniconfig==2.0.0
────────────┴───────────────────────────────────────────────────────────────────
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
test sync::sync_dry_run ... FAILED

Ubuntu https://github.com/astral-sh/uv/actions/runs/13250788244/job/36987964537?pr=11405

@charliermarsh
Copy link
Member Author

I haven't been able to reproduce this locally, but it might be helpful to show the snapshots for the preceding commands (which are currently just asserted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Internal testing of behavior
Projects
None yet
Development

No branches or pull requests

2 participants