35322 Commits

Author SHA1 Message Date
Patrick Linnane
6469e2024e
Merge pull request #19842 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.23.15
build(deps-dev): bump ruby-lsp from 0.23.14 to 0.23.15 in /Library/Homebrew
2025-04-28 22:33:08 +00:00
Patrick Linnane
f525c90c74
Merge pull request #19841 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/setuptools-80.0.0
build(deps): bump setuptools from 79.0.1 to 80.0.0 in /Library/Homebrew/formula-analytics
2025-04-28 22:30:57 +00:00
Patrick Linnane
cb2b55e0dd
Merge pull request #19840 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/pyarrow-20.0.0
build(deps): bump pyarrow from 19.0.1 to 20.0.0 in /Library/Homebrew/formula-analytics
2025-04-28 22:25:20 +00:00
BrewTestBot
e3ed95f703
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-04-28 22:24:56 +00:00
BrewTestBot
9c6aad8a69
brew vendor-gems: commit updates. 2025-04-28 22:24:47 +00:00
dependabot[bot]
649b284624
build(deps): bump certifi in /Library/Homebrew/formula-analytics
Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.1.31 to 2025.4.26.
- [Commits](https://github.com/certifi/python-certifi/compare/2025.01.31...2025.04.26)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.4.26
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 19:52:03 +00:00
dependabot[bot]
278616ea48
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.14 to 0.23.15.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.14...v0.23.15)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-version: 0.23.15
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 19:37:24 +00:00
dependabot[bot]
71bcccba0d
build(deps): bump setuptools in /Library/Homebrew/formula-analytics
Bumps [setuptools](https://github.com/pypa/setuptools) from 79.0.1 to 80.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v79.0.1...v80.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.0.0
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 19:36:49 +00:00
dependabot[bot]
ceee5e7abe
build(deps): bump pyarrow in /Library/Homebrew/formula-analytics
Bumps [pyarrow](https://github.com/apache/arrow) from 19.0.1 to 20.0.0.
- [Release notes](https://github.com/apache/arrow/releases)
- [Commits](https://github.com/apache/arrow/compare/apache-arrow-19.0.1...apache-arrow-20.0.0)

---
updated-dependencies:
- dependency-name: pyarrow
  dependency-version: 20.0.0
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 19:33:51 +00:00
Mike McQuaid
0d86de5416
cmd/bundle: fix no_upgrade type.
If you set `HOMEBREW_BUNDLE_NO_UPGRADE=1`, `brew bundle check` will
output:

```
Error: Parameter 'no_upgrade': Expected type T::Boolean, got type String with value "1"
Caller: /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.5.12039/lib/types/private/methods/call_validation.rb:227
Definition: /opt/homebrew/Library/Homebrew/bundle/commands/check.rb:14 (Homebrew::Bundle::Commands::Check.run)
```
2025-04-28 12:13:53 +01:00
Mike McQuaid
50b70e3cb7
Merge pull request #19834 from Homebrew/deprecate_linux_fonts
official_taps: deprecate homebrew-linux-fonts.
2025-04-28 07:45:09 +00:00
Mike McQuaid
ce3e8ddc70
official_taps: deprecate homebrew-linux-fonts.
This has been archived and migrated to Homebrew/homebrew-cask.
2025-04-28 08:36:04 +01:00
Issy Long
6c11916cbc
Bump some files to Sorbet typed: strict 2025-04-27 22:45:44 +01:00
Bo Anderson
0e7f19f2f1
Merge pull request #19825 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-7bf59fef91
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-04-25 22:41:12 +00:00
BrewTestBot
ab03736b26
brew vendor-gems: commit updates. 2025-04-25 19:07:36 +00:00
BrewTestBot
fb970c9ac4
brew vendor-gems: commit updates. 2025-04-25 19:05:36 +00:00
dependabot[bot]
3976662bd2
build(deps-dev): bump json from 2.10.2 to 2.11.3 in /Library/Homebrew
Bumps [json](https://github.com/ruby/json) from 2.10.2 to 2.11.3.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.10.2...v2.11.3)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.11.3
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 18:17:58 +00:00
dependabot[bot]
dc064196ff
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.12032 to 0.5.12039
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.12032 to 0.5.12039
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.12032 to 0.5.12039
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.12032 to 0.5.12039
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.12039
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.12039
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.12039
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.12039
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 18:17:46 +00:00
Mike McQuaid
eb175f01a0
brew.sh: only use /var/tmp on Linux if writable. 2025-04-25 17:56:58 +01:00
Aman Verma
9c79c5b632
Change default temp on Linux to /var/tmp.
Previously, the default temporary directory was /tmp on Linux and
/private/tmp on macOS. On many Linux distros, including at least Fedora,
/tmp is stored in RAM. This diverges from the behavior on macOS and has
led to bugs, most notably the inability to install large bottles on
memory-limited machines.
2025-04-25 17:56:34 +01:00
Mike McQuaid
a1e4e9eaf7
bundle/commands/exec: make environment variables more consistent.
Let's avoid having `exec` and `env`/`sh` subcommands have different
environment variables logic. Instead, let's e.g. add `HOMEBREW_PATH`
and remove `*/Homebrew/shims/*` from the `PATH` for all three
subcommands.

This allows more consistency for users and easier to debug and reason
about behaviour.
2025-04-25 11:53:23 +01:00
Mike McQuaid
5f29ab8c89
docs/Brew-Bundle-and-Brewfile: improve docs.
The `brew bundle` documentation isn't great at explaining what the tool
is and why you should care. Let's improve that.
2025-04-25 10:59:32 +01:00
dependabot[bot]
e7199b3c43
build(deps): bump setuptools in /Library/Homebrew/formula-analytics
Bumps [setuptools](https://github.com/pypa/setuptools) from 79.0.0 to 79.0.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v79.0.0...v79.0.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 79.0.1
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 18:39:18 +00:00
Bo Anderson
9ae847dcae
formula_installer: always output errors with fixing linkage 2025-04-24 17:20:35 +01:00
Carlo Cabrera
cecbb4350e
Merge pull request #19818 from Homebrew/fix-trash
cask/artifact/abstract_uninstall: fix `trash_paths`
2025-04-24 10:17:55 +00:00
Carlo Cabrera
f816a39d1f
cask/artifact/abstract_uninstall: fix trash_paths
This is currently behaving incorrectly when calling `trash.swift` fails
due to lack of permissions. In this instance, `trash.swift` prints

    error: permissionDenied

to stdout, and this is incorrectly parsed as having successfully trashed
a file named `error` and another named ` permissionDenied`.

Let's fix this by ensuring that:
- any paths in `trashed` are in the `paths` that we wanted to trash in
  the first place
- define `untrashable` by removing the `trashed` paths from `paths`
2025-04-24 18:03:07 +08:00
Carlo Cabrera
08d5ca0d01
brew style --fix 2025-04-24 16:34:36 +08:00
Carlo Cabrera
f3c25498f8
bundle/commands/exec: check that Brewfile is installed with --check
`brew bundle exec` behaves correctly only after doing `brew bundle install`.

Running `brew bundle check` can be slow, so let's add a `--check` flag
to `brew bundle exec` which will also run `brew bundle check` before
`brew bundle exec` to ensure that the `Brewfile` has been installed
before proceeding.
2025-04-24 16:34:23 +08:00
BrewTestBot
47c6fb048f
brew vendor-gems: commit updates. 2025-04-24 00:12:35 +00:00
dependabot[bot]
84934d7847
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.12032
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.12032
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.12032
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.12032
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 00:10:25 +00:00
Mike McQuaid
b97c763d91
Merge pull request #19814 from Homebrew/bundle_services
Add `HOMEBREW_BUNDLE_SERVICES` variable to `brew bundle`
2025-04-23 16:30:00 +00:00
Mike McQuaid
60c047b5ea
Add HOMEBREW_BUNDLE_SERVICES variable to brew bundle
This allows another way to pass `--services` to `brew bundle`.
2025-04-23 17:20:14 +01:00
Sam Ford
4917fb2c93
Cask::DSL: Remove duplicate token definition
I inadvertently duplicated the `@token` instance variable definition
in `Cask::DSL#initiailize`, so this removes the duplicate. This
didn't have any noticeable effect because it was redefined afterward,
so this is just a bit of tidying up.
2025-04-23 09:37:05 -04:00
Sam Ford
c0f23acdcd
Cask::Auditor: update language_blocks condition
I recently modified `Cask::DSL` to define instance variables in the
`#initialize` method and this involved some changes to the `language`,
`language_eval`, and `languages` methods. One of those was to
initialize `@language_blocks` to an empty hash instead of using a
`nil` default. I updated the related condition in the `language_eval`
method but I missed that `language_blocks` is used in `Cask::Auditor`
and it specifically relies on a false-y value to check if the variable
is set. An empty hash isn't false-y, so this is causing issues for
`brew audit`.

This updates the condition in `Cask::Auditor` to check for a non-empty
hash instead, which resolves the issue.
2025-04-23 09:19:41 -04:00
Bevan Kay
8db1a1f639
Merge pull request #19805 from botantony/zsh-completions-fix
fix: prevent Zsh crashes related to autocompletion
2025-04-23 10:35:41 +00:00
Francois-Xavier Coudert
10095f5cac compilers: add gcc-15 2025-04-23 10:09:45 +02:00
Mike McQuaid
141414a3c3
Merge pull request #19807 from Homebrew/downloadable-fixes
Cleanup Downloadable variables and types
2025-04-23 07:24:19 +00:00
Mike McQuaid
aeee3637e5
Merge pull request #19808 from Homebrew/cask-dsl-initialize-instance-variables-2
Cask::DSL: initialize more instance variables
2025-04-23 07:23:38 +00:00
Bevan Kay
b255a670c0
bump-formula-pr: restore pr message 2025-04-23 14:45:15 +10:00
Sam Ford
6f511ee4e2
Cask::DSL: initialize more instance variables
I recently updated `Cask::DSL` to define instance variables in
`#initialize` to get us closer to resolving a "shape variation"
warning from Ruby. The reason why we continued to receive this warning
after the previous changes is because I overlooked the variables that
are set using `set_unique_stanza`.

The tricky part about those instance variables is that we need to be
able to identify if they've been set. I've handled this by using a
`nil` initial value and updating the `instance_variable_defined?`
condition to check for a non-`nil` value instead. This works for these
variables but it would be a problem if we ever have a DSL method that
accepts a `nil` argument.
2025-04-22 23:21:05 -04:00
Bo Anderson
35f874c036
Cleanup Downloadable variables and types 2025-04-23 03:30:15 +01:00
Sam Ford
5b5c460ab9
Cask::DSL: define instance variables in initialize
We're now seeing warnings related to the cask DSL surfaced by Ruby
3.4:

```
/opt/homebrew/Library/Homebrew/cask/dsl.rb:456: warning: The class
Cask::DSL reached 8 shape variations, instance variables accesses
will be slower and memory usage increased.
It is recommended to define instance variables in a consistent order,
for instance by eagerly defining them all in the #initialize method.
```

I've been working on upgrading `Cask::DSL` to `typed: strict` and
part of that involves defining all of the instance variables in the
`initialize` method, so I've extracted this part of that work as a
way of helping to resolve the aforementioned warning. This doesn't
fully resolve the warning but it addresses what it was originally
referencing, at least.

For what it's worth, this includes some type fixes but I've only
included what's necessary to pass `brew typecheck`.
2025-04-22 18:12:33 -04:00
Sam Ford
c495aa3e63
Cask::DSL::DependsOn: add empty?, present? methods
`#present?` is called on a `DependsOn` object in `Cask::DSL` and this
is seemingly deferred to the underlying hash object but Sorbet doesn't
understand this kind of `SimpleDelegator` magic. This adds `empty?`
and `present?` methods that explicitly interact with the hash in a
way that Sorbet can understand.
2025-04-22 18:07:09 -04:00
botantony
2a03f2059c
completions: fix tests
Signed-off-by: botantony <antonsm21@gmail.com>
2025-04-22 22:31:45 +02:00
botantony
d15461608f
fix: prevent Zsh crashes related to autocompletion
Signed-off-by: botantony <antonsm21@gmail.com>
2025-04-22 22:02:38 +02:00
Patrick Linnane
2f67c29db6
Exclude parser again
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-22 13:00:19 -07:00
BrewTestBot
aed2a35362
Update RBI files for sorbet.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-04-22 19:24:40 +00:00
BrewTestBot
9dec0f5a8a
brew vendor-gems: commit updates. 2025-04-22 19:24:35 +00:00
dependabot[bot]
4ff6d1e94e
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.12028
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.12028
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.12028
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.12028
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:20:59 +00:00
Patrick Linnane
5d8d453a90
Portable Ruby 3.4.3 2025-04-22 11:50:08 -07:00