-
Notifications
You must be signed in to change notification settings - Fork 141
Groovy 2.5.x #697
Comments
I'll add Groovy 2.5.6. We'll see if existing content works with 2.5 and remove 2.4 once it's unnecessary. |
Groovy 2.5 is now available. I'm planning to run a script to update compatible kata, but not today. |
@kazk there are not that many backwards incompatible changes, so I expected that there won't be issue with kata. However, when I tried to republish this kata with Groovy version, I got the annoying "Default Version is not a supported version" message. I remember that it was similar with Python 2.x vs. 3.x in the past. |
@suic86 Sorry about that. Some parts of Codewars are still unclear to me :( What happens if you validate with 2.5 and republish? |
@kazk no problem. Apparently, it requires some testing :) I've checked this with three other katas with the same result. I do the following:
The publishing takes quite a while and then it fails with "Default Version is not a supported version". |
@suic86 OK, I figured out what's going on. This happens when a new language version is set to the default language version without any code change. For some reason, Codewars doesn't add the new language version to the list of supported language versions of the kata when nothing else is changed. So it fails with Until I run the script to update compatible kata or fix this weird bug, you can enable 2.5 by changing some code (e.g., adding empty line) and republishing. Hungarian Vowel Harmony (easy) has Groovy 2.5 now. |
@kazk thanks for explanation. This behavior is IMO a bug. :) |
I know, I'll see if I can figure out where this comes from. Codewars is full of things like this. |
@suic86 I ran a script to update compatible ones to use Groovy 2.5. So most of them can use 2.5 now. These were not compatible with 2.5. Can you look into what's wrong if you've completed them already and update them? |
@kazk: The problem with the first two is explained in Breaking Changes for 2.5.0:
I've used 2.5.6 with Java 9 for Calendar Week translation and I didn't experience any issues but with Java 8 used on CW I was able to reproduce the issue locally. This one I fixed today but a better solution would be install I haven't solved the other three yet :) |
Thanks, I'll add |
Added |
Please add or update the Groovy version to 2.5.5.
The text was updated successfully, but these errors were encountered: