tealeg / xlsx

Go library for reading and writing XLSX files.
Other
5.81k stars 808 forks source link

不支持 go1.21 版本,麻烦给处理一下,谢谢 #772

Closed Yancy0220 closed 10 months ago

tealeg commented 10 months ago

Translation: "The go 1.21 version is not supported. Please fix it, thank you."

StevenMaude commented 10 months ago

@tealeg: It might not need fixing here.

A project I maintain uses an older (v2) version of xlsx, and I found that spreadsheet cells were just empty with Go 1.21.0, similar to qax-os/excelize#1603. Upgrading to the latest v3 xlsx, I think, did seem to fix it, although I've not done much testing.

Otherwise, the incompatibility might be this issue in Go, which was reported by the lead developer of excelize. The fix should be in Go 1.21.1, which is due in a few days (2023-09-06). So maybe worth retrying with Go 1.21.1 when it is released.

khaledDiZ commented 10 months ago

Thanks @StevenMaude I can confirm Upgrading to the latest v3 xlsx fixed the issue for me.

StevenMaude commented 10 months ago

Now that Go 1.21.1 is released, I went back to check the v2 behaviour with Go 1.21.1; it works as before too.

So I'd suggest that the fixes are either (or both) of:

There's probably no more to do here, unless @Yancy0220 can describe a problem that is present even with xlsx v3 and Go 1.21.1 or later.

Yancy0220 commented 10 months ago

感谢

yangkexian0220

@. | ---- 回复的原邮件 ---- | 发件人 | Steven @.> | | 发送日期 | 2023年09月11日 19:02 | | 收件人 | tealeg/xlsx @.> | | 抄送人 | Yancy @.>, Mention @.***> | | 主题 | Re: [tealeg/xlsx] 不支持 go1.21 版本,麻烦给处理一下,谢谢 (Issue #772) |

Now that Go 1.21.1 is released, I went back to check the v2 behaviour with Go 1.21.1; it works as before too.

So I'd suggest that the fixes are either (or both) of:

upgrade to xlsx v3 for Go 1.21, use Go 1.21.1 or later

There's probably no more to do here, unless @Yancy0220 can describe a problem that is present even with xlsx v3 and Go 1.21.1 or later.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

tealeg commented 10 months ago

Excellent, thank you @StevenMaude and @Yancy0220 !