Macaulay2 / homebrew-tap

The Macaulay2 tap for Homebrew
7 stars 6 forks source link

Fix deprecated calls in all formulas #70

Closed slel closed 3 years ago

slel commented 3 years ago

Following the deprecation of calling cellar and sha256 "digest" => :tag in a bottle block.

Fixed by running

brew style --fix *.rb
mahrud commented 3 years ago

Thanks! I presume, this PR isn't supposed to upload any new artifacts, so the fact that the tests failed isn't strictly a blocker and we might just need to merge it anyway. However, I'm somewhat alarmed by this error:

==> Downloading https://github.com/Macaulay2/homebrew-tap/releases/download/openblas-0.3.13_1/openblas-0.3.13_1.x86_64_linux.bottle.tar.gz
Already downloaded: /home/runner/.cache/Homebrew/downloads/1ea827357401f997642805fde4170f8adf361ec0dd14c80ed750fa503d0ede32--openblas-0.3.13_1.x86_64_linux.bottle.tar.gz
==> Verifying checksum for '1ea827357401f997642805fde4170f8adf361ec0dd14c80ed750fa503d0ede32--openblas-0.3.13_1.x86_64_linux.bottle.tar.gz'
Error: SHA256 mismatch
Expected: 551e4db180c266623fc784fd8b372fdedbff2ae6b5f3a2dba4f60997bcf546ee
  Actual: 5cb0cda041379272f30a43b0614b94e55f547ad8ff269daac4d7a3d787606780
    File: /home/runner/.cache/Homebrew/downloads/1ea827357401f997642805fde4170f8adf361ec0dd14c80ed750fa503d0ede32--openblas-0.3.13_1.x86_64_linux.bottle.tar.gz
To retry an incomplete download, remove the file above.
==> FAILED

Is there something wrong with open blas? I haven't updated any bottles in this tap recently.

slel commented 3 years ago

I followed hints by Homebrew but I lack expertise to decide whether that helps. Feel free to ditch this if the problem was only on my side, or if it can be solved another way.