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

Use a vergen that handles spew in timestamp output #1541

Merged
merged 1 commit into from
May 25, 2023

Conversation

itowlson
Copy link
Contributor

Fixes #1531.

cc @tpmccallum - I think you are the only person who was able to repro this - if you have a moment to check the fix, please try:

cargo install spin-cli --git https://github.com/itowlson/spin --branch vergen-timestamp-update --locked

Thanks!

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@@ -87,7 +87,7 @@ e2e-testing = { path = "crates/e2e-testing" }

[build-dependencies]
cargo-target-dep = { git = "https://github.com/fermyon/cargo-target-dep", rev = "b7b1989fe0984c0f7c4966398304c6538e52fe49" }
vergen = { version = "8", default-features = false, features = [
vergen = { version = "^8.2.1", default-features = false, features = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

FYI

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements

Caret requirements are an alternative syntax for the default strategy, ^1.2.3 is exactly equivalent to 1.2.3.

Copy link
Collaborator

@lann lann left a comment

Choose a reason for hiding this comment

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

You can achieve this without changing Cargo.toml with e.g. cargo update -p vergen --precise 8.2.1, but I don't really know when one would prefer one over the other.

@itowlson
Copy link
Contributor Author

@lann Thank you - TIL! I'm going to leave this as is if it works for @tpmccallum, but useful to know for the future!

@tpmccallum
Copy link
Contributor

Voila - works great; thanks @itowlson

Just to be sure I began from scratch and tried the normal installation - which failed again expectedly.

I then tried your new command, and it installed Spin without any issues.

spin

@itowlson
Copy link
Contributor Author

Thanks @tpmccallum! (And thanks Vergen folks for such a quick fix!)

@itowlson itowlson merged commit 329e2e8 into fermyon:main May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install Spin - Error
4 participants