42837 Commits

Author SHA1 Message Date
Carlo Cabrera
bc21cf366e
os: use native ruby calls for uname
This avoids the overhead of shelling out.
2024-10-31 15:35:58 +08:00
Carlo Cabrera
a7548f009e
Merge pull request #18674 from Homebrew/kernel-major-versions 2024-10-31 15:34:35 +08:00
Carlo Cabrera
42dd0acdc9
macos_version: define a method instead 2024-10-31 15:15:02 +08:00
Mike McQuaid
37dc93131c
Merge pull request #18677 from Homebrew/revert-18326-update-shellenv
Revert "cmd/shellenv: set `XDG_DATA_DIRS` on Linux"
2024-10-30 18:38:35 -07:00
Mike McQuaid
e7159d733c
Revert "cmd/shellenv: set XDG_DATA_DIRS on Linux" 2024-10-30 18:27:54 -07:00
Mike McQuaid
90c043ee0e
Merge pull request #18663 from Homebrew/python-reduce-pth
language/python: reduce dependencies added to pth file
2024-10-30 18:23:40 -07:00
Ruoyu Zhong
702bfe1281
Merge pull request #18670 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.11625
build(deps-dev): bump sorbet-static-and-runtime from 0.5.11620 to 0.5.11625 in /Library/Homebrew
2024-10-31 02:55:49 +08:00
Ruoyu Zhong
7bf63bdeb0
Merge pull request #18672 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.7.5
build(deps-dev): bump json from 2.7.4 to 2.7.5 in /Library/Homebrew
2024-10-31 02:53:11 +08:00
BrewTestBot
ece445a147
brew vendor-gems: commit updates. 2024-10-30 18:43:04 +00:00
BrewTestBot
a9dac0f4d6
brew vendor-gems: commit updates. 2024-10-30 18:43:03 +00:00
Carlo Cabrera
5ae4f254b6
macos_version: add KERNEL_MAJOR_VERSIONS map
This will be used by `llvm` (and, presumably, in the future, versioned
LLVM formulae). The idea is that we will write a config file for each OS
version pointing to the correct SDKROOT so that `llvm` does not require
rebuilding/reinstalling when a user upgrades to a new major version of
macOS.

See Homebrew/homebrew-core#196094.
2024-10-31 02:39:38 +08:00
dependabot[bot]
d77052257b
build(deps-dev): bump json from 2.7.4 to 2.7.5 in /Library/Homebrew
Bumps [json](https://github.com/ruby/json) from 2.7.4 to 2.7.5.
- [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.7.4...v2.7.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 18:05:22 +00:00
dependabot[bot]
d80bf30539
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.11620 to 0.5.11625.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 18:04:44 +00:00
Bo Anderson
27b9062530
Merge pull request #18664 from hyuraku/remove-Cask-Config-explicit_s
remove Cask::Config.explicit_s
2024-10-30 17:19:31 +00:00
Bo Anderson
03c422ddb7
Merge pull request #18666 from Homebrew/vendor-version-template-injections
workflows/vendor-version: fix `template-injection` warnings
2024-10-30 17:19:16 +00:00
Bo Anderson
44608084a7
Merge pull request #18667 from Homebrew/pkg-installer-template-injection
workflows/pkg-installer: fix `template-injection` warnings
2024-10-30 17:18:53 +00:00
Bo Anderson
37aab1f5d5
Merge pull request #18668 from Homebrew/fix-artipacked
workflows: fix `artipacked` warning
2024-10-30 17:18:37 +00:00
Carlo Cabrera
d9f1784c90
Merge pull request #18669 from Homebrew/sync-shared-config 2024-10-30 22:54:21 +08:00
BrewTestBot
cce778ed82
stale-issues.yml: update to match main configuration 2024-10-30 14:36:05 +00:00
Carlo Cabrera
2ec174ffb7
workflows: fix artipacked warning
Fixes https://github.com/Homebrew/brew/security/code-scanning/32
Fixes https://github.com/Homebrew/brew/security/code-scanning/33
Fixes https://github.com/Homebrew/brew/security/code-scanning/42
2024-10-30 22:29:01 +08:00
Carlo Cabrera
fbfbc8df29
workflows/pkg-installer: fix template-injection warnings
Fixes https://github.com/Homebrew/brew/security/code-scanning/34
Fixes https://github.com/Homebrew/brew/security/code-scanning/35
Fixes https://github.com/Homebrew/brew/security/code-scanning/36
Fixes https://github.com/Homebrew/brew/security/code-scanning/37
Fixes https://github.com/Homebrew/brew/security/code-scanning/38
Fixes https://github.com/Homebrew/brew/security/code-scanning/39
2024-10-30 22:25:23 +08:00
Carlo Cabrera
6bddbb5cf3
workflows/vendor-version: fix template-injection warnings
Fixes https://github.com/Homebrew/brew/security/code-scanning/40
Fixes https://github.com/Homebrew/brew/security/code-scanning/41
2024-10-30 22:20:14 +08:00
hyuraku
c60e80f0a9 remove Cask::Config.explicit_s spec 2024-10-30 22:20:56 +09:00
hyuraku
9069d42550 remove Cask::Config.explicit_s 2024-10-30 21:08:17 +09:00
Carlo Cabrera
6469a24e46
Merge pull request #18662 from Homebrew/zizmor 2024-10-30 12:46:03 +08:00
Carlo Cabrera
dbe271a597
workflows/actionlint: run zizmor
Port of Homebrew/homebrew-core#195961.

See https://github.com/woodruffw/zizmor.
2024-10-30 11:32:23 +08:00
Michael Cho
fdabc2fd03
language/python: reduce dependencies added to pth file 2024-10-29 23:22:16 -04:00
Michael Cho
f82c58383c
utils/inreplace: allow non-global substitution
Also increase test coverage
2024-10-29 20:15:47 -04:00
Patrick Linnane
0e24ee2c08
Merge pull request #18657 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11620 2024-10-29 11:47:13 -07:00
Patrick Linnane
101b5265dd
Merge pull request #18660 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.33.0 2024-10-29 11:46:47 -07:00
BrewTestBot
b489c9b0e2
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-10-29 18:36:22 +00:00
BrewTestBot
cef9db1ccf
brew vendor-gems: commit updates. 2024-10-29 18:36:14 +00:00
BrewTestBot
01d9e4758f
brew vendor-gems: commit updates. 2024-10-29 18:36:04 +00:00
dependabot[bot]
c26f79bebb
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.32.3 to 1.33.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.32.3...v1.33.0)

---
updated-dependencies:
- dependency-name: rubocop-ast
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 18:26:05 +00:00
dependabot[bot]
e38f5e3de1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11618 to 0.5.11620.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 18:25:06 +00:00
Carlo Cabrera
c81b2e4385
Merge pull request #18655 from kou/brew-bump-formula-pr-type-error 2024-10-29 05:54:52 +08:00
Sutou Kouhei
0c3e207b24 dev-cmd/bump-formula-pr: fix type error
The error message:

    Error: Parameter 'formula': Expected type String, got type Formulary::FormulaNamespace87ec47e7f9dec2f39e30adcc9fdea28fb57606eab88d4f83e8ebec591964143c::ApacheArrow with value #<Formula apache-arrow (sta...ore/Formula/a/apache-arrow.rb>
    Caller: /opt/homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:152
    Definition: /opt/homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:417 (Homebrew::DevCmd::BumpFormulaPr#check_for_mirrors)
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/configuration.rb:296:in `call_validation_error_handler_default'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/configuration.rb:303:in `call_validation_error_handler'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:310:in `report_error'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:218:in `block in validate_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/signature.rb:213:in `each_args_value_type'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:215:in `validate_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
    /opt/homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:152:in `run'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:270:in `bind_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/call_validation.rb:270:in `validate_call'
    /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11618/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
    /opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'
    Please report this issue:
      https://docs.brew.sh/Troubleshooting

This happened when I use the following command line:

    brew bump-formula-pr \
         --commit \
         --no-audit \
         --sha256="abcf1934cd0cdddd33664e9f2d9a251d6c55239d1122ad0ed223b13a583c82a9" \
         --url="https://www.apache.org/dyn/closer.lua?path=arrow/arrow-18.0.0/apache-arrow-18.0.0.tar.gz" \
         --verbose \
         --write-only \
         apache-arrow
2024-10-29 06:42:29 +09:00
Ruoyu Zhong
841117aa75
Merge pull request #18649 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11618
build(deps-dev): bump sorbet from 0.5.11615 to 0.5.11618 in /Library/Homebrew
2024-10-29 04:09:16 +08:00
Ruoyu Zhong
abfdc21af9
Merge pull request #18650 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-3.2.0
build(deps-dev): bump rubocop-rspec from 3.1.0 to 3.2.0 in /Library/Homebrew
2024-10-29 04:07:51 +08:00
BrewTestBot
075fc0f6ad
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-10-28 19:56:35 +00:00
BrewTestBot
1f0f127f49
brew vendor-gems: commit updates. 2024-10-28 19:56:26 +00:00
BrewTestBot
6f9ad46720
brew vendor-gems: commit updates. 2024-10-28 19:56:26 +00:00
dependabot[bot]
e961c8c4eb
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 18:21:41 +00:00
dependabot[bot]
4ae5981182
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11615 to 0.5.11618.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 18:21:33 +00:00
Bo Anderson
91f3671b16
Merge pull request #18639 from Homebrew/improve_parallel_tests
spec_helper: improve parallel test handling.
4.4.3
2024-10-27 16:34:49 +00:00
Bo Anderson
46cb9ec947
spec_helper: clarify comment and scope to all OS 2024-10-27 15:45:46 +00:00
Mike McQuaid
e4fb33928f
Merge pull request #18613 from pkryger/allow_homebrew_prefix_in_external_patches
Allow HOMEBREW_PREFIX replacement in external patches
2024-10-27 07:11:17 -07:00
Mike McQuaid
92fee908ba
spec_helper: improve parallel test handling.
- Clarify the comment of why we have SimpleCov special logic for
  parallel tests
- use a nicer ParallelTests API for checking which process to output
  the coverage format on
2024-10-26 11:20:37 +01:00
Ruoyu Zhong
59d56f84ac
Merge pull request #18629 from Homebrew/env-config-test-timeout
Add `HOMEBREW_TEST_TIMEOUT_SECS` env var
2024-10-26 17:42:26 +08:00
Ruoyu Zhong
d2cdd99591
Add HOMEBREW_TEST_TIMEOUT_SECS env var
Intended mainly for third-party formulae, this allows formula tests to
be run with a customised timeout.

This is a private, undocumented API and subject to change.

Co-authored-by: Carlo Cabrera <github@carlo.cab>
2024-10-26 17:32:41 +08:00