-
-
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
agda 2.6.1.2 #67014
agda 2.6.1.2 #67014
Conversation
a45f0b3
to
d4bee16
Compare
9178434
to
0cd8ec4
Compare
After this merges try seeing if |
Yes, I've had a look at |
Ugh. Does anyone know if there's a way to extend this timeout? |
@MikeMcQuaid any DSL for extending the test timeout? |
@SMillerDev Nope, sorry. Probably just warrants the test being simplified. |
Tbf I suspect the test is excessive, and probably could be cut down too. Except I don't really know |
@MikeMcQuaid Just to understand what I need to do about the |
Not an |
I actually think it's the calls to Update: Ok, guess they weren't so useless. |
6ac1d2e
to
9bc00f3
Compare
|
64ddef5
to
576b032
Compare
It leads to the formula failing CI due to the test timing out.
576b032
to
ae2c3be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome work!! 💯
🤖 A scheduled task has triggered a merge. |
The versioned dependency conflict was resolved in Homebrew#67014.
The versioned dependency conflict was resolved in #67014.
It would have been nice to ping some of the previous contributors to this formula about the changes to this formula. The removed test was useful, because it tested that the standard library has been properly installed, which is not trivial to get right, and in fact the formula has been installing a broken standard library in the past. The removed caveats were useful, because people continue to be confused about the proper way to set up Agda: Why were the caveats removed? Was it just an omission or something else? We could replace the caveats by automatically modifying files in the user’s home directory upon installation, but this has been discouraged in the past. Why was the compilation of the agda-mode elisp removed? |
The test was removed because it was failing due to the timeout. (See comments above.) The caveats were an omission. The agda-mode elisp compilation failed when I built this locally. Pull requests to improve the formula are welcome. Note that I don't use Agda. (See comments above.) I just picked this up because it had been impossible to build from source with the Agda formula for nearly a year. It would've been ideal for this to have been done by someone who actually uses Agda, but it didn't look like that was going to happen. Maybe you'd like to fix up the changes I made here. |
I understand the removed test has started failing at some point due to changes in Homebrew. This seems to be a problem with these changes rather than with the test, which should only take seconds to run locally. How long did it take for you? Regarding the caveats, what is the current policy on modifying files in the user’s home directory upon installation? Specifically, can the formula do something like this:
|
It seems to be a problem with virtualisation.
I don't recall, but it didn't take long. It was only a problem in CI.
This is not allowed by the sandbox. Attempting to modify files outside of |
Thank you. I expect that the security policy also does not allow persisting an environment variable change to happen automatically upon installation? Specifically, can the formula set |
You can create a wrapper script that sets |
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>
)?This doesn't work for me yet locally, but I suspect there might be an issue with my system. Hoping CI will produce something better. Or, at least, more informative errors.Cf. #65000, #55253, #65831