Skip to content

Build on previous go versions (go 1.24) #851

@selfhoster1312

Description

@selfhoster1312

Hi, further downstream someone proposed to add fluxer support to matterbridge. We try to target current Debian stable for building (golang 1.24, but it looks like fluxergo is stuck on 1.25 due to a dependency on livekit/server-sdk-go.

Is there either a stable branch we could use to target older go releases, or do you envision any plan to commit to a specific go release without bumping so regularly? Do you have any alternative approach to recommend?

I noticed here some blockers to target go 1.24:

  • dependency on buildkit, used only in the cloudagents pkg (unused by us downstream)
  • dependency on latest golang.org/x/exp which keeps bumping requirements, but you're only using the maps module (86 lines including comments)
  • dependency on livekit/media-sdk which requires 1.24.2 but appears ok when downgraded to 1.24

I realize developing software with a constraint on past upstream releases is an additional burden on a dev team, but maybe targeting Debian stable and latest Redhat makes sense for you (in terms of target audience for your sdk).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions