k1LoW / runn

runn is a package/tool for running operations following a scenario.
https://runn.run
MIT License
445 stars 33 forks source link

Keeps go directive the lowest supported major version #980

Closed Arthur1 closed 3 months ago

Arthur1 commented 4 months ago

I'm developing runnreceiver that can run tests and generate metrics with runn in OpenTelemetry Collector.

I provide pre-built OpenTelemetry Collector binaries which include runnreceiver, but almost all users build with runnreceiver and any other components. In other words, runnreceiver is also used as a library.

In go.mod file of runn and other libaries, go directive is already set to 1.22.

https://github.com/k1LoW/runn/blob/b607f602729f286fd8f747c4bb76fd2e790c2f49/go.mod#L3

Go 1.21 is still an officially supported version that may be used by end users, but you can't build on the version as long as it depends on runn and the libraries that depend on runn.

I understand that this is a tough problem to address right away. I would appreciate it if you would consider keeping the go directive when the next major version of Go is released.

k1LoW commented 4 months ago

@Arthur1 Thank you for your feedback!

I have created https://github.com/k1LoW/oldstable and will introduce it in the next version.