-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Fix the CI builds after Github Actions moving ubuntu-latest to 24.04 #3213
Conversation
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@KalleOlaviNiemitalo @zcsizmadia Any ideas how to fix this for ubuntu-24.04:
? |
Microsoft ended .NET Core 3.1 support on December 13, 2022., Can Apache Avro just stop building for it and testing on it? The Supported Distributions table shows .NET Core 3.1 was supported on Ubuntu 20.04 and 22.04, but not 23.10 nor 24.04. avro/.github/workflows/test-lang-csharp.yml Lines 45 to 53 in 290ce8e
Lines 38 to 45 in 290ce8e
.NET 5.0 and .NET 7.0 are likewise out of support; in contrast, .NET 6.0 is a Long Term Support release and is still supported. But if there is currently no problem testing on .NET 5.0 and .NET 7.0, then I suppose they can be kept on a best-effort basis. |
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
The Dependencies list shows "libicu74 (for 24.04 or later)", and libicu-dev on Ubuntu 24.04 also depends on that. The .NET Core 3.1.32 code that loads ICU libraries seems to be at https://github.com/dotnet/coreclr/blob/v3.1.32/src/corefx/System.Globalization.Native/pal_icushim.c. It checks the |
It looks like .NET uses only C APIs of ICU, not C++ APIs. The functions are listed in https://github.com/dotnet/coreclr/blob/v3.1.32/src/corefx/System.Globalization.Native/pal_icushim.h. Based on the ICU Binary Compatibility documentation, I think the ABI will be compatible if |
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Sorry for being late to the convo. As @KalleOlaviNiemitalo said the isse is the libucu. I wasn't aware that 3.1 cannot run at all on ubuntu 24.04 since it is so old. The only reason all the EOL net targets I still kept in the supported frameworks was to be paranoid when it comes to testing.were. It is totally safe to remove the netcoreapp3.1 support (or any of the others which are not getting supported on newer OSs). |
For doc/ref: There are a slew issues referenced at actions/runner-images#10636 GitHub's runner image for ubuntu-24.04 is just plain broken for Python as of now. (As opposed to just backwards-incompatible to how we were doing things). |
Just checked netcoreapp5.0, and even the plain compiler it is not working on a plain ubuntu 24.04. SO 3.1 and 5.0 should be removed (which is ok), to be able to run on ubuntu 24.04 runner. |
As you may noticed I set For Python I used |
I will have a PR soon. |
This is fine for actions, IMO. |
Drop more pypy3.9 usages
What is the purpose of the change
(For example: This pull request improves file read performance by buffering data, fixing AVRO-XXXX.)
Verifying this change
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Documentation