Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
39d917c
Collect and upload PEP 740 attestations during `uv publish`
woodruffw Nov 13, 2025
9ee2563
clippy + fmt
woodruffw Nov 13, 2025
fbbe3a0
publish: attach attestations during upload
woodruffw Nov 13, 2025
18eb71e
fix snapshot, cleanup lints
woodruffw Nov 13, 2025
8f3755f
fix more clippy lints
woodruffw Nov 14, 2025
d73d525
Merge remote-tracking branch 'origin/main' into ww/upload-attestations
woodruffw Nov 14, 2025
31c67bb
rename type, parse instead of validating
woodruffw Nov 14, 2025
13e92e2
Merge branch 'main' into ww/upload-attestations
woodruffw Nov 17, 2025
563c1fd
Merge remote-tracking branch 'origin/main' into ww/upload-attestations
woodruffw Nov 17, 2025
95ba1cb
Merge branch 'main' into ww/upload-attestations
woodruffw Nov 18, 2025
df2dcad
test_publish: enable attestations on pypi upload test
woodruffw Nov 18, 2025
ea44bc8
debugging
woodruffw Nov 18, 2025
a636dfe
fix suffix check
woodruffw Nov 18, 2025
2991e3d
remove debugging
woodruffw Nov 18, 2025
9822dfc
Update lib.rs
woodruffw Nov 19, 2025
c08551c
fastrand, move comment
woodruffw Nov 19, 2025
21e6443
box some wrapped error variants
woodruffw Nov 19, 2025
64aed51
add a basic PEP 740 provenance check
woodruffw Nov 19, 2025
009be7a
box another large member
woodruffw Nov 19, 2025
f45d332
Merge remote-tracking branch 'origin/main' into ww/upload-attestations
woodruffw Nov 19, 2025
57fed23
test_publish: wait for the index before checking for provenance
woodruffw Nov 20, 2025
dab1584
docs: add section about attestations to packaging guide
woodruffw Nov 20, 2025
964b7cb
publish: add --no-attestations
woodruffw Nov 20, 2025
e473bd7
fixup tests, add a no-attestations grouping test
woodruffw Nov 20, 2025
5903201
docs: document `--no-attestations`
woodruffw Nov 20, 2025
65091a6
prettier
woodruffw Nov 20, 2025
93f7ab4
Merge remote-tracking branch 'origin/main' into ww/upload-attestations
woodruffw Nov 20, 2025
07c39da
Merge remote-tracking branch 'origin/main' into ww/upload-attestations
woodruffw Nov 20, 2025
96fd178
Merge remote-tracking branch 'origin/main' into ww/upload-attestations
woodruffw Nov 20, 2025
c524baf
Merge remote-tracking branch 'origin/main' into ww/upload-attestations
woodruffw Nov 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ dunce = { version = "1.0.5" }
either = { version = "1.13.0" }
encoding_rs_io = { version = "0.1.7" }
etcetera = { version = "0.11.0" }
fastrand = { version = "2.3.0" }
flate2 = { version = "1.0.33", default-features = false, features = ["zlib-rs"] }
fs-err = { version = "3.0.0", features = ["tokio"] }
futures = { version = "0.3.30" }
Expand Down
7 changes: 7 additions & 0 deletions crates/uv-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7147,6 +7147,13 @@ pub struct PublishArgs {
/// and will perform validation against the index if supported, but will not upload any files.
#[arg(long)]
pub dry_run: bool,

/// Do not upload attestations for the published files.
///
/// By default, uv attempts to upload matching PEP 740 attestations with each distribution
/// that is published.
#[arg(long, env = EnvVars::UV_PUBLISH_NO_ATTESTATIONS)]
pub no_attestations: bool,
}

#[derive(Args)]
Expand Down
2 changes: 1 addition & 1 deletion crates/uv-keyring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ zeroize = { workspace = true }
[dev-dependencies]
doc-comment = "0.3"
env_logger = "0.11.5"
fastrand = "2"
fastrand = { workspace = true }

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
Expand Down
1 change: 1 addition & 0 deletions crates/uv-publish/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ url = { workspace = true }

[dev-dependencies]
insta = { workspace = true }
fastrand = { workspace = true }

[features]
# Test only feature to enable non-HTTPS URL handling
Expand Down
Loading
Loading