Skip to content
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

Npgsql: Adjust .NET support and version numbers on CI #695

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Conversation

amotl
Copy link
Member

@amotl amotl commented Oct 24, 2024

About

  • Remove support for .NET 6 and Npgsql 6.
  • Add support for .NET 9.
  • Update CI to use Npgsql versions 7.0.8 and 8.0.5.

References

@cla-bot cla-bot bot added the cla-signed label Oct 24, 2024
@amotl amotl requested review from kneth and surister October 24, 2024 16:00
@amotl amotl marked this pull request as ready for review October 24, 2024 16:00
Copy link

@kneth kneth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can definitely merged now but I expect that we need to adjust version numbers again in late November.

@@ -42,8 +42,8 @@ jobs:
fail-fast: false
matrix:
os: [ 'ubuntu-latest' ]
dotnet-version: [ '6.0.x', '7.0.x', '8.0.x' ]
npgsql-version: [ '6.0.11', '7.0.7', '8.0.3' ]
dotnet-version: [ '7.0.x', '8.0.x', '9.0.x' ]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.NET 7 is no longer maintained while .NET 6 is (until November 2024). Would it make sense to wait for .NET 9 to be released (currently only released as RC)?

Copy link
Member Author

@amotl amotl Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.NET 6

.NET 6 is maintained until November 2024.

Interesting. I think the build started failing on .NET 6 the other day, that's why I removed that slot.

-- https://github.com/crate/cratedb-examples/actions/runs/11358160147/job/31592225551

If you can find a different solution, we can keep that version. Otherwise, we may be able to bring it back later, when applicable, and when a solution can be found?

I definitively don't want to terminate validation of .NET 6 too early, this is probably just a CI hiccup, hopefully. My main intention was to spend a little amount of time to make the build succeed again, in order to prepare the Build Status page for the weekend.

On the other hand, November 2024 will be just around the corner, so, should we bother and investigate at all?

Copy link
Member Author

@amotl amotl Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.NET 7

.NET 7 is no longer maintained.

Oh. Thanks. Do you think we should remove it from the CI matrix?

Copy link
Member Author

@amotl amotl Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.NET 9

Would it make sense to wait for .NET 9 to be released (currently only released as RC)?

We are not doing any super strong promises here. I am always happy to unlock CI slots as soon as artefacts of major releases become available, even as RC versions, so our assets can be tested on them from the very beginning.

If you don't have any objections against that philosophy, let's embrace it?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we should remove it from the CI matrix?

As long as it doesn't hurt us, we can keep it.

don't want to terminate validation of .NET 6 too early

.NET 6 is gone next month anyway, so let's remove it instead of spending time on figuring out why it failed. It is unlikely any user will complain.

@amotl amotl merged commit 9030994 into main Oct 25, 2024
7 checks passed
@amotl amotl deleted the update-npgsql branch October 25, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants