Revert "hermes-agent: deprecate" - #297271
Conversation
Revert the deprecation (Homebrew#296811): the formula still builds from upstream source with HERMES_NIX_BUILD=1, and the 2026.8.3 bottles landed after it was merged. Original revert by Sean Molenaar (Homebrew#297271). Fix the build under flit_core 4.0.1 (released 2026-08-04), which removed the legacy [tool.flit.metadata] table: socksio 1.0.0's patched build requirement is unbounded (flit_core >=2), so cap it below 4 while building that resource. socksio upstream has had no release since 1.0.0, so there is no upstream commit to backport. Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
|
Hey @SMillerDev I saw the CI breaking so I made a PR that picks up on your revert and resolves the @MikeMcQuaid can you please take a look at #297327? |
|
Why do we want to do this? Did something change upstream? |
The upstream repo explicitly removed support for Homebrew and pip/PyPI wheel. I am unsure why this step was taken. This comment from @iMichka acknowledges the change; #296811 deprecates it altogether. When I created the formula for This PR is supposed to revert the deprecation, but it fails the CI against which I created the new PR with the fix (which now stands closed). |
We discussed in Slack. The formula still builds and we document we don't deprecate things just because upstream says so: https://docs.brew.sh/Working-with-Homebrew-as-an-Upstream-Project |
c18f726 to
ed2a9d1
Compare
ed2a9d1 to
ccf5be1
Compare
| # Workaround for flit-core 4+ | ||
| patch do | ||
| url "https://github.com/sethmlarson/socksio/commit/504f7e51682b9526d3ecc7ea893338af1fedfb2d.patch?full_index=1" | ||
| sha256 "b0c327c4e8fa722669dc372263d735f429015587e02935e2e8cb2b22028c0bfb" | ||
| type :unofficial | ||
| resolves "https://github.com/sethmlarson/socksio/pull/66" | ||
| end | ||
| end |
There was a problem hiding this comment.
Let's just use the other PR or wait until it's merged
There was a problem hiding this comment.
This commit is just from a PR that's failing the CI at socksio. #297327 is much smaller.
There was a problem hiding this comment.
Gotcha, yeh, it's green let's ship it for now.
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>?brew test <formula>?brew audit --strict <formula>(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it passbrew audit --new <formula>?