Skip to content

Update dependencies for 2.48#12964

Merged
LeviHarrison merged 4 commits intoprometheus:mainfrom
LeviHarrison:bump-deps-2.48
Oct 15, 2023
Merged

Update dependencies for 2.48#12964
LeviHarrison merged 4 commits intoprometheus:mainfrom
LeviHarrison:bump-deps-2.48

Conversation

@LeviHarrison
Copy link
Copy Markdown
Contributor

@LeviHarrison LeviHarrison commented Oct 11, 2023

github.com/digitalocean/godo was causing issues at it requires go 1.21 so I added a hack to not update that

@roidelapluie
Copy link
Copy Markdown
Member

Can you revert the makefile? I don't think we want this permanently. Maybe a temporary exclude in the go.mod is isnough

@LeviHarrison
Copy link
Copy Markdown
Contributor Author

I think we would have to exclude every version that has this go requirement individually though (there is more than one) which could get messy/break at any time.

@roidelapluie
Copy link
Copy Markdown
Member

you could still revert the makefile for now.

@bboreham
Copy link
Copy Markdown
Member

Note there is a comment on the upstream PR that they un-did the change.

@roidelapluie
Copy link
Copy Markdown
Member

Let's use v1.104.1 then, thanks Bryan!

@LeviHarrison LeviHarrison force-pushed the bump-deps-2.48 branch 2 times, most recently from 17da6e1 to b7f2d87 Compare October 12, 2023 17:35
@LeviHarrison
Copy link
Copy Markdown
Contributor Author

👍🏻

@LeviHarrison
Copy link
Copy Markdown
Contributor Author

Looks like hashicorp/nomad#18311 broke nomad's go 1.20 compatibility

@LeviHarrison
Copy link
Copy Markdown
Contributor Author

As for the azure deprecation warnings, it looks like it's going to be a somewhat involved process to update to the new libraries (see https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/MIGRATION_GUIDE.md), so for now to get this release out I think we should just ignore it.

@LeviHarrison
Copy link
Copy Markdown
Contributor Author

Well looks like #11860 does this so I'll take a look at that

@LeviHarrison
Copy link
Copy Markdown
Contributor Author

Ok #11860 is good to be merged once rebased, so I guess I'll just pull it in here

Signed-off-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
@roidelapluie
Copy link
Copy Markdown
Member

Ci fails

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
@bboreham
Copy link
Copy Markdown
Member

bboreham commented Oct 15, 2023

This error comes from the check that Prometheus code builds with the previous Go version:

/go/pkg/mod/github.com/hashicorp/nomad/api@v0.0.0-20231013131504-b697de9dda24/error_unexpected_response.go:11:2: package slices is not in GOROOT (/usr/local/go/src/slices)

I have pushed a commit to Levi's branch downgrading that one dependency to the latest stamped version before this change (hashicorp/nomad#18311).

@LeviHarrison
Copy link
Copy Markdown
Contributor Author

Alright thanks 👍. Think we're good to go now?

Signed-off-by: Levi Harrison <git@leviharrison.dev>
Copy link
Copy Markdown
Member

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

LGTM

@LeviHarrison LeviHarrison merged commit dcaca86 into prometheus:main Oct 15, 2023
LeviHarrison added a commit to LeviHarrison/prometheus that referenced this pull request Oct 15, 2023
LeviHarrison added a commit to LeviHarrison/prometheus that referenced this pull request Oct 15, 2023
LeviHarrison added a commit to LeviHarrison/prometheus that referenced this pull request Oct 15, 2023
Signed-off-by: Levi Harrison <git@leviharrison.dev>
LeviHarrison added a commit to LeviHarrison/prometheus that referenced this pull request Oct 15, 2023
Signed-off-by: Levi Harrison <git@leviharrison.dev>
LeviHarrison added a commit to LeviHarrison/prometheus that referenced this pull request Oct 15, 2023
Signed-off-by: Levi Harrison <git@leviharrison.dev>
pintohutch added a commit to GoogleCloudPlatform/prometheus that referenced this pull request Nov 21, 2023
This fixed a failing unit test in tracing_test.go and was made upstream
in prometheus/prometheus#12964.
pintohutch added a commit to GoogleCloudPlatform/prometheus that referenced this pull request Nov 22, 2023
This fixed a failing unit test in tracing_test.go and was made upstream
in prometheus/prometheus#12964.
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.

3 participants