d2a4u/meteor

Any plan to support scala 3?

alessandrocandolini opened this issue ยท 11 comments

The project is currently cross published for scala 2.12 and 2.13. Are there any plans to start supporting scala3?
Importing meteor in scala3 projects using cross(CrossVersion.for3Use2_13) is not an option, because dependencies have different incompatible artefacts for scala2 and scala3

d2a4u commented

hi, sorry for the late reply. Unfortunately there isn't a plan for upgrading from scala2 to scala3 yet. I've tried to do it but it seems to require a lot more effort that expected. This is the branch that I'm working on. Please feel free to raise a new PR or contribute to this one if you would like to. Thanks.

Do you have more detail on the difficulties you've run into upgrading? From a fresh clone, with Scala 3.2.2, if I remove kind-projector and use the -rewrite -source 3.0-migration compiler flags, it compiles and the tests pass.

d2a4u commented

@mhzajac integration tests are failing for scala 3 and that is the only blocker atm. It looks like this bug but I might be wrong. I haven't managed to figure out why. Any suggestions are welcomed. Thanks.

Ah, that looks right. I no longer see that error using dotty/main, but it's not officially published yet โ˜น๏ธ

Any news on Scala 3 support @d2a4u ?
3.3.1-RC1 includes dotty#16882, so it should now be easy to validate the hypothesis that the IT failures were caused by that issue.

Update: please see #301 (comment)

PR #343 updated to Scala v3.3.1-RC7.
Please have a look @d2a4u and others.

Scala v3.3.1 was released on 2023-09-08.
Any chance of someone looking at this issue again?
Please also check out #343.

We've waited too long for Scala 3 support. Please help!

d2a4u commented

hi, sorry for the long delay. I've not been able to spend as much time as I did before on this project. Version 2.0.0 has been released with Scala 3 support. With this release, I've dropped supports for scanamo because when I started working on Scala 3 support, scanamo hadn't supported it yet so the removal was needed to unblock meteor's work. I will consider re-adding it in the future. Thank @marko-asplund for helping with the Scala 3 support release.

Great to see meteor v2 released with Scala 3 support! ๐Ÿฅณ Thanks @d2a4u ! ๐Ÿ™‡