Unable to merge bottle json #3801
Replies: 3 comments 7 replies
-
I suspect this might happen if you're passing a file path of the formula to Do you have more information on how you are using |
Beta Was this translation helpful? Give feedback.
-
Sure, The relevant subset of commands we're running are as follows:
I was previously building on an old mojave Mac, and I'm still getting the same error here so the platform shouldn't be relevant. The formula follows the following structure:
|
Beta Was this translation helpful? Give feedback.
-
Based on your suggestion I tried using the package name instead of the formula file path and that definitely runs and updates the tap formula file, but we're looking for the functionality of updating the local dir formula file with an updated |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a project that uses homebrew to package our python application, and we've been getting an error for a while now that I'm trying to resolve. When we
brew bottle --json
our project, make changes (or not) to the json, then attempt to--merge
the json back to the formula, we get the following error:Checking out and playing with
formula_versions.rb,
it seems liketap
isn't being initialized, therefore@repository = formula.tap.path
generates that error.I don't believe we're missing anything in our formula, but I'm otherwise not sure what might resolve this. Any ideas?
We don't use formula revisions so I'm considering commenting out lines 614-616 in
dev-cmd/bottle.rb
to skip those checks any time we need to package as a workaround.Thanks
Beta Was this translation helpful? Give feedback.
All reactions