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

babel 7.14.8 #81582

Closed
wants to merge 2 commits into from
Closed

babel 7.14.8 #81582

wants to merge 2 commits into from

Conversation

bevanjkay
Copy link
Member

Created with brew bump-formula-pr.

resource blocks may require updates.

@BrewTestBot BrewTestBot added bump-formula-pr PR was created using `brew bump-formula-pr` nodejs Node or npm use is a significant feature of the PR or issue labels Jul 21, 2021
@bevanjkay
Copy link
Member Author

Looks like the same failure as in #81556.

Could be fixed in Homebrew/brew#11750 see;
#81556 (comment)

@carlocab carlocab added the CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. label Jul 21, 2021
@carlocab
Copy link
Member

I think babel-cli can be update to 7.14.8.

@carlocab carlocab added the audit failure CI fails while auditing the software label Jul 21, 2021
@bevanjkay
Copy link
Member Author

bevanjkay commented Jul 21, 2021

@carlocab I'm new to the world of homebrew-core, is that something we do manually, or is there an automatic way to resolve resource blocks?

@carlocab
Copy link
Member

They're mostly done automatically for resources from PyPI, but everything else needs to be done manually, sadly.

carlocab added a commit to carlocab/homebrew-core that referenced this pull request Jul 21, 2021
The LLVM formulae build universal binaries for compiler-rt. This is why
these formulae use `ENV.permit_arch_flags`. Infer vendors its own clang,
and so also has its own compiler-rt.

`babel` and `contentful-cli` both install the npm package `fsevents`,
which installs a universal native module `fsevents.node`. I suggest
adding them to the allowlist for now so we have a list that keeps track
of them. (It would be nice if JSON files allowed comments though.)

I have changes in mind for `brew` that will allow us to easily extract
the native slices from these binaries, but I'd like to see it needed by
more formulae before we add it to `brew`. This list should help us keep
track of the number of formulae that would need this.

This commit unblocks Homebrew#81556 and Homebrew#81582.

See Homebrew/brew#11737 for context.
@carlocab
Copy link
Member

If #81591 is merged as-is you can rebase this to fix the audit error.

@cho-m cho-m added the CI-force-linux [DEPRECATED] Don't pass --skip-unbottled-linux to brew test-bot. label Jul 21, 2021
carlocab added a commit to carlocab/brew that referenced this pull request Jul 21, 2021
`FormulaInstaller` calls `audit_installed` at install time, which
invokes methods in `FormulaCellarChecks`. One of these methods makes a
call to `tap_audit_exception` (cf. Homebrew#11750), but this method isn't
visible in `FormulaInstaller`.

Instead of trying to replicate the logic of `tap_audit_exception` in
`FormulaAuditor` (or trying to initialise an instance of one to make the
call to `FormulaAuditor`'s implementation of it), let's just implement a
stub that assumes an exception always exists.

I'll need to think a bit about whether this is the right fix for this,
but currently the missing method error is blocking PRs in Homebrew/core,
so let's go with this for now. [1]

[1] e.g. Homebrew/homebrew-core#81388, Homebrew/homebrew-core#81582
@carlocab
Copy link
Member

Oops. That new CI error is my fault. Fixed in Homebrew/brew#11755.

@bevanjkay
Copy link
Member Author

@carlocab it will still fail until #81591 is merged anyway

@carlocab
Copy link
Member

Different kind of failure though -- #81591 removes an audit failure that we could choose to ignore. Homebrew/brew#11755 fixes an install failure that we can't ignore.

carlocab added a commit that referenced this pull request Jul 21, 2021
The LLVM formulae build universal binaries for compiler-rt. This is why
these formulae use `ENV.permit_arch_flags`. Infer vendors its own clang,
and so also has its own compiler-rt.

`babel` and `contentful-cli` both install the npm package `fsevents`,
which installs a universal native module `fsevents.node`. I suggest
adding them to the allowlist for now so we have a list that keeps track
of them. (It would be nice if JSON files allowed comments though.)

I have changes in mind for `brew` that will allow us to easily extract
the native slices from these binaries, but I'd like to see it needed by
more formulae before we add it to `brew`. This list should help us keep
track of the number of formulae that would need this.

This commit unblocks #81556 and #81582.

See Homebrew/brew#11737 for context.
@bevanjkay
Copy link
Member Author

Thanks @carlocab 🥳

@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@carlocab
Copy link
Member

Huh, bottles are all the same. Looks like this installs macOS native modules on Linux too.

@bevanjkay bevanjkay mentioned this pull request Jul 21, 2021
@github-actions github-actions bot added the outdated PR was locked due to age label Aug 20, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
audit failure CI fails while auditing the software bump-formula-pr PR was created using `brew bump-formula-pr` CI-force-linux [DEPRECATED] Don't pass --skip-unbottled-linux to brew test-bot. CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. nodejs Node or npm use is a significant feature of the PR or issue outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants