Skip to content

speedtest-cli: deprecate#263437

Merged
BrewTestBot merged 1 commit intoHomebrew:mainfrom
eleanordoesntcode:speedtest-disable
Jan 19, 2026
Merged

speedtest-cli: deprecate#263437
BrewTestBot merged 1 commit intoHomebrew:mainfrom
eleanordoesntcode:speedtest-disable

Conversation

@eleanordoesntcode
Copy link
Copy Markdown
Contributor

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

speedtest-cli has failed to work for me for the past year. It seems it tries to fetch from an old list of servers, which tends to 429 very often. Fixes have been available for a while, but the maintainer of the project hasn't sent any message about them or touched the repository for the past 5 years. This could probably be fixed with patches, but first I think it is logical in that state to deprecate the formula.

@github-actions github-actions bot added python Python use is a significant feature of the PR or issue formula deprecated Formula deprecated labels Jan 18, 2026
@chenrui333
Copy link
Copy Markdown
Member

it seems working fine for me

> speedtest-cli
Retrieving speedtest.net configuration...
Testing from Comcast Cable (73.226.172.182)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by x99.cloud (New York, NY) [3.56 km]: 24.486 ms
Testing download speed................................................................................
Download: 304.67 Mbit/s
Testing upload speed......................................................................................................
Upload: 126.78 Mbit/s

@chenrui333 chenrui333 added the CI-no-bottles Merge without publishing bottles label Jan 18, 2026
@eleanordoesntcode
Copy link
Copy Markdown
Contributor Author

eleanordoesntcode commented Jan 19, 2026

Weird, testing on my end I've always had an output along those lines:

Retrieving speedtest.net configuration...
Testing from Free SAS (***)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
ERROR: Unable to connect to servers to test latency.

The fact I have a dedicated IP means this isn't a "mass NAT" sort of issue.

@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Jan 19, 2026
Co-authored-by: Rui Chen <rui@chenrui.dev>
@github-actions github-actions bot added the formula disabled Formula disabled label Jan 19, 2026
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Jan 19, 2026
@BrewTestBot BrewTestBot added this pull request to the merge queue Jan 19, 2026
Merged via the queue into Homebrew:main with commit 8780f18 Jan 19, 2026
28 checks passed
@straxhaber
Copy link
Copy Markdown

Ookla (owner of speedtest.net) has a first-party program and formula tap here:
https://github.com/teamookla/homebrew-speedtest

I would contribute it to homebrew-core or homebrew-cask, but:

  • homebrew-core doesn't accept closed-source code you can't build from source
  • homebrew-cask doesn't accept code that isn't notarized by Apple

Please correct me if I'm wrong. Otherwise, this is just a tip for anyone else looking for an alternative.

@bevanjkay
Copy link
Copy Markdown
Member

Closed source software can be contributed to homebrew-cask instead.

@straxhaber
Copy link
Copy Markdown

@bevanjkay doesn't homebrew-cask require that it be notarized with Apple now?

This seems to fall into the gray area between homebrew-core and homebrew-cask.

@bevanjkay
Copy link
Copy Markdown
Member

No, not really a gray area. Closed source software that doesn't pass Apple's Gatekeeper checks just can't go in any official Homebrew repository. But it looks like the binary does pass Gatekeeper, so you could open a PR to add the cask to homebrew-cask.

@straxhaber
Copy link
Copy Markdown

@bevanjkay Are you sure? I tapped their cask and downloaded it, and I had to go to Security & Privacy to approve the binary before it would run. If indeed it is allowed in homebrew-cask, I'd happily submit a PR (and had even prepared one but held off because I thought this wasn't allowed.)

@bevanjkay
Copy link
Copy Markdown
Member

Ah yes, you're correct. I download it with wcurl which must remove the quarantine attribute.
Probably best in your own tap or just use the ookla one for now then.

@straxhaber
Copy link
Copy Markdown

@bevanjkay Thanks. Yeah, I'll use their tap for now. I wish it could be added to Homebrew. Hopefully my comment above leads others to find the official tap if they depended on speedtest-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-no-bottles Merge without publishing bottles formula deprecated Formula deprecated formula disabled Formula disabled python Python use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants