newrelic / go-agent

New Relic Go Agent
Apache License 2.0
762 stars 294 forks source link

remove all extraneous version constraints #940

Closed rittneje closed 1 month ago

rittneje commented 1 month ago

Fixes #939.

As per the README, Go 1.18+ is already required. Thus version constraints for 1.9 and 1.10 are unnecessary. (And these currently cause issues with 1.23rc2 due to https://github.com/golang/go/issues/68658.)

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.

iamemilio commented 1 month ago

Hey @rittneje, can you rebase on develop. This commit is pulling in a lot of excess.

iamemilio commented 1 month ago

https://github.com/newrelic/go-agent/pull/941

rittneje commented 1 month ago

@iamemilio done

iamemilio commented 1 month ago

It looks like there is a stray commit still attached. Is it ok if we use this pull request containing your commit: https://github.com/newrelic/go-agent/pull/941? You are still credited on the commit, it just also lets me run it along side changes I just made to the test suite so that we can verify that go1.23rc runs as expected

iamemilio commented 1 month ago

Oh, I am just noticing now that the protobuff changes went into master instead of develop, and that is whats causing this

iamemilio commented 1 month ago

I can merge this here then, and I will rebase my commit on top.

iamemilio commented 1 month ago

Thanks @rittneje

gunturaf commented 3 weeks ago

Hi @iamemilio sorry for tagging you, I think the commit https://github.com/newrelic/go-agent/pull/940/commits/0fb9108c9779ee409fc9251170e3a29e7a338c1d broke the deps.

This is an excerpt of what I got:

../file.go:6:2: github.com/newrelic/go-agent/v3@v3.34.0 requires
    google.golang.org/protobuf@v1.5.3: reading google.golang.org/protobuf/go.mod at revision v1.5.3: unknown revision v1.5.3

This page https://pkg.go.dev/google.golang.org/protobuf?tab=versions shows that v1.5.3 is nonexistent. We may replace it with v1.34.1 (it seems we can't replace with the latest tag because it requires us to bump minimum go version to 1.20)

gunturaf commented 3 weeks ago

I've made a PR that might resolve that, please help review it https://github.com/newrelic/go-agent/pull/948 :)