-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
crystal-lang 0.25.0 #28930
crystal-lang 0.25.0 #28930
Conversation
https://github.com/crystal-lang/crystal/releases/latest is still 0.24.2 but thanks for the PR nonetheless @felixbuenemann |
We're about to release, but not yet. Will let you know when it's done. Thanks, @ilovezfs 👍 |
you're welcome! |
@matiasgarciaisaia Just mention me here if it's ready and I'll resubmit the PR. |
@ilovezfs Linux repos have just been published with 0.25.0. We'll make the official announcement in the next hours - if you merge here, we'll announce every platform at the same time 👌 Thanks @felixbuenemann for the PR :) |
@matiasgarciaisaia Are the 0.24.2 boot binaries supposed to be compatible with El Capitan? Jenkins shows the following build failure:
The failures on Sierra and High Sierra are related to failures in rebuilding the amber formula. I tried that locally using
Looks like these issues are already tracked upstream: |
@matiasgarciaisaia Also, it looks like the build fails with LLVM 6, which is disappointing as we seem to always have to use an old version of llvm here. Is this being addressed upstream? |
@ilovezfs @felixbuenemann I'm not sure what should be the next steps. |
@ilovezfs already solved that issue by using the 0.24.1 boot binaries when building on El Capitan.
Normally, if you bump a formula and that causes other formulas that depend on it to fail, you would update those formulae to newer compatible versions in the same PR. Currently there is no amber versions that's compatible with 0.25.0 so we'll have to wait until that lands. |
Is it possible to backport a patch for amber? |
I tried, but there are a lot of dependencies that are also incompatible. I came as far as patching amber, bumping the ameba shard to master, bumping teeplate to 0.6.0 and switching back from the fork to the original repo and then ended up with build failures in the pg shard, which doesn't appear to have any updates for 0.25.0 yet int the master branch. At that point I decided that making the existing version compatible wasn't trivial and aborted the patch. |
Hi all, amber maintainer here :)
We're expecting a new release very very soon I think we need to include this patch amberframework/amber#826 before a new amberframework version /cc @eliasjpr @elorest @drujensen @robacarp |
I don't think it's OK for tests to fail because Does that mean that whenever we want to release Crystal in homebrew we'll have to wait for the Amber team to update their homebrew formula, before Crystal is released in homebrew? Kind of a recursive problem. Plus, it makes Crystal come later to everyone, even those that don't use Amber. And what if later more tests/checks for other tools that use Crystal are added, the process will become slower and slower. Please, remove the check against amber. Amber can be updated later after Crystal is released. |
@asterite That is the price of your making API breaking changes to crystal. We have some choices:
|
@asterite this is just how the traditional package repository method works: keeping software up to date is secondary to reducing breakage for users. Not everyone needs the latest version of crystal all the time. Option 3 is fine. |
Yeah, I guess option 3 is fine... |
Given that |
Thanks for the PR @felixbuenemann and the upgrade @matiasgarciaisaia @asterite @RX14 |
In Crystal's documentation it is very clearly expressed that due to it being still very much in development and not at 1.0 yet, API breaking changes are expected. If someone is using Crystal in production in such a way that updating Crystal could break their usage, they should be pinning the version of Crystal that works. I'm disappointed in the decision to hold on this PR until other packages like 😞 |
@Willamin I just shipped this PR, so … |
@ilovezfs Thank you. Your handling of PRs across this repository is exceptional! |
@asterite you're welcome and thank you for the kind words ❤️ |
Btw. I think it would also be an option to not accept formulae that depend on crystal-lang into homebrew-core until crystal reaches 1.0 and it's api is deemed stable. |
Amber is now fixed! #29299 |
@felixbuenemann Why did you add that check against El Capitan? Crystal for mac doesn't use |
@asterite It was added by ilovezfs in dd8f816 because the 0.24.2 binaries don't work on El Capitan. See #28930 (comment) from bcardiff for details. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?