fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
24.8k stars 1.37k forks source link

Problem with new version of github.com/go-text/typesetting. #5170

Closed angelogeminiani closed 5 days ago

angelogeminiani commented 1 week ago

Checklist

Describe the bug

I cannot compile any more due a change in a dependency.

I got following error: github.com/go-text/typesetting/opentype/api/metadata: module github.com/go-text/typesetting@latest found (v0.2.0), but does not contain package github.com/go-text/typesetting/opentype/api/metadata

Can you please try to update and adjust the code for new version of github.com/go-text/typesetting module?

How to reproduce

go get -u

Screenshots

No response

Example code

no code

Fyne version

2.5.1

Go compiler version

1.23

Operating system and version

macOS Sierra

Additional Information

No response

andydotxyz commented 5 days ago

That happens because you are updating your app to use an incompatible version of go-text - blindly upgrading all dependencies is a somewhat dangerous thing to do.

That said we do have a fix in the works, it will land in the next release #5169

andydotxyz commented 5 days ago

Fixed on develop and picked into the 2.5.x release branch