Skip to content

1.34.0 cannot be used with golang 1.20 #774

@gibizer

Description

@gibizer

Bumping from 1.33.1 to 1.34.0 in a golang 1.20 project fails with:

/home/gibi/go/pkg/mod/github.com/onsi/gomega@v1.34.0/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go:4:2: package slices is not in GOROOT (/usr/lib/go-1.20/src/slices)

See also: openstack-k8s-operators/nova-operator#837 (comment)

I think the fix in #766 introduced "slices" dependency that is not in the standard lib in golang 1.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions