-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
python@3.9: update wheel #66268
python@3.9: update wheel #66268
Conversation
Is there something wrong with the Catalina and Mojave runners? I've noticed tests on them queued for about |
Yeah, all of our Catalina and Mojave (and some Big Sur) runners seem to be offline. I don't know much about how that setup works and the maintainers who do aren't available, so nothing to be done at the moment, unfortunately 🤷♂️. |
Oof. Hope it's nothing too difficult to fix. |
Weird 10.15 error:
|
Similar error, on 10.15, from #66287:
Can't reproduce locally. |
Rerunning... we'll see what happens 🤞
|
Okay, so the output looks like:
It's supposed to look something like:
It appears that test-bot skips right from Looking at the test-bot code (which I'm not that familiar with), I know that the The next expected piece of output is Just from glancing at the code, my guess is that this is the problem: dependents = with_env(HOMEBREW_STDERR: "1") do
Utils.safe_popen_read("brew", "uses", "--include-build", "--include-test", *uses_args, formula_name)
.split("\n")
end I'm thinking that the Locally (11.0.1), $ brew ruby -e 'puts Utils.safe_popen_read("brew", "uses", "--include-build", "--include-test", "--recursive", "python@3.9")'
Traceback (most recent call last):
1: from -e:1:in `<main>'
/usr/local/Homebrew/Library/Homebrew/utils/popen.rb:16:in `safe_popen_read': Failure while executing; `brew uses --include-build --include-test --recursive python@3.9` exited with 127. Here's the output: (ErrorDuringExecution)
Also, I checked that this does seem to explain the Edit: yes, this makes sense. The ensure
cleanup_bottle_etc_var(formula) if args.cleanup?
test "brew", "uninstall", "--force", *@unchanged_dependencies if @unchanged_dependencies.present?
end This is why Edit 2: Actually, the dependents = dependents.map { |d| Formulary.factory(d) } If |
One thing I noticed:
because there is no formula named
I'm guessing this only happens with Homebrew portable-ruby, and not system ruby, which is why the error appears only on 10.15. |
Ah, good find! So I bet the call should be: Utils.safe_popen_read("brew", "uses", "--include-build", "--include-test", "--formula", *uses_args, formula_name) Edit: or, maybe it's a bug in |
Yea, one would have thought that |
Ah, nevermind. |
This is happening for me locally, though, without |
Did you have it set before though? I've found that |
It's possible, but I don't remember ever setting it... I started working on a patch to |
Let me know if I can help in any way. I think |
My
That doesn't seem like Homebrew's vendored ruby to me (although I'll be the first to admit that I don't truly understand the vendored ruby/gems/bundle stuff) I opened two PRs that I think will solve the issue: Homebrew/brew#9437 and Homebrew/homebrew-test-bot#532 |
Ok, I agree. But that's confusing since this error only shows up on 10.15 and not 10.14 or 11.0, for me, at least. Though I suppose it could be related to the bug that forced vendored ruby on Catalina in the first place? |
It may be that I made a mistake while redeploying the CI nodes for Catalina: I am restarting them after untapping homebrew/casks. I hope this fixes it. |
Now that CI is back online, rebased and force-pushed. 🙄 |
Thanks, @fxcoudert and @carlocab! |
10.14:
|
I'm anticipating that there will be build failures. Unless we think any of them are extra-significant, I think we should push forward with this. It's blocking a few other PRs and I know that it's impacting users as well. |
10.15:
Looks like the 11.0 tests are only on the "s" formula dependencies, so there's still quite a ways to go. Unless there are objections, I'll aim to merge this later tonight (assuming I'm still awake when CI finished). If it doesn't get done tonight, maintainers can feel free to merge tomorrow before I'm around. |
@Rylan12 please open a PR about the 10.14 and 10.15 test and build failures, these need to be fixed. It can be done after this is merged, I agree, but it will need to be done. Otherwise we accumulate errors and end up paying the price later. |
👍 agreed. Will do once I have the list from 11.0 |
I've noticed from other PRs that Big Sur nodes relatively consistently 33% longer than Mojave nodes on identical CI runs. Seems to be roughly the case here too. 11.0
A number of these are known to be broken on Big Sur (e.g. hyperkit, odin). |
Huh, interesting. I don't think I know enough to judge whether this is an issue with our CI system or not... I've opened an issue documenting the failures: #66450 |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?Update the
wheel
resource to the latest version. This pulls in the fix for the Big Sur issue reported in pypa/wheel#385. Since this solves an issue that's been causing problems for users, I've bumped the revision as well.CC: @fxcoudert