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

Scala 3 Support #429

Closed
barkhorn opened this issue Jan 3, 2022 · 4 comments · Fixed by #490
Closed

Scala 3 Support #429

barkhorn opened this issue Jan 3, 2022 · 4 comments · Fixed by #490

Comments

@barkhorn
Copy link
Collaborator

barkhorn commented Jan 3, 2022

I am looking to upgrade to Scala 3 and I don't see any releases for that yet at https://repo1.maven.org/maven2/org/scalamock/ is that on the near term roadmap?

Originally posted by @simbo1905 in #423 (comment)

@barkhorn
Copy link
Collaborator Author

barkhorn commented Jan 3, 2022

There is currently no active development of a Scala 3 version for this project. I think it would require a significant rewrite with how much the macro system has changed.
Macros are a core part of ScalaMock, so this is no trivial matter/easy to port.
I am not using Scala for work anymore these days so I can't invest that much time to start this piece of work with a reasonable roadmap.

@custommonkey
Copy link

Not sure if this is helpful, but I've created a draft PR which starts by cross building to 3.0.1 to see what fails.

Next step would be to look at how the existing macros work and how they'd need to implemented in 3.

jtjeferreira added a commit to jtjeferreira/mongo-java-driver that referenced this issue Feb 20, 2022
rozza pushed a commit to rozza/mongo-java-driver that referenced this issue Apr 11, 2022
scalamock does not support scala3 paulbutcher/ScalaMock#429

JAVA-4181
rozza pushed a commit to rozza/mongo-java-driver that referenced this issue Apr 12, 2022
scalamock does not support scala3 paulbutcher/ScalaMock#429

JAVA-4181
@goshacodes
Copy link
Contributor

I'm working on it
#490

@barkhorn barkhorn linked a pull request Dec 10, 2023 that will close this issue
18 tasks
@barkhorn
Copy link
Collaborator Author

barkhorn commented Feb 13, 2024

6.0.0-M1 has been released for those that do want to test compatibility. Thanks to @goshacodes for contributing it

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

Successfully merging a pull request may close this issue.

3 participants