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

Any plan to support scala 3? #243

Closed
alessandrocandolini opened this issue Jun 7, 2022 · 11 comments
Closed

Any plan to support scala 3? #243

alessandrocandolini opened this issue Jun 7, 2022 · 11 comments

Comments

@alessandrocandolini
Copy link

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
Copy link
Owner

d2a4u commented Sep 19, 2022

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.

@mhzajac
Copy link

mhzajac commented Mar 23, 2023

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
Copy link
Owner

d2a4u commented Mar 31, 2023

@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.

@mhzajac
Copy link

mhzajac commented Apr 1, 2023

Ah, that looks right. I no longer see that error using dotty/main, but it's not officially published yet ☹️

@marko-asplund
Copy link
Contributor

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.

@marko-asplund
Copy link
Contributor

Update: please see #301 (comment)

@marko-asplund
Copy link
Contributor

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

@marko-asplund
Copy link
Contributor

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

@viswanath7
Copy link

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

@d2a4u
Copy link
Owner

d2a4u commented Dec 12, 2023

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.

@d2a4u d2a4u closed this as completed Dec 12, 2023
@marko-asplund
Copy link
Contributor

Great to see meteor v2 released with Scala 3 support! 🥳 Thanks @d2a4u ! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants