29216 Commits

Author SHA1 Message Date
dependabot[bot]
acea55b50a
build(deps): bump regexp_parser from 2.8.0 to 2.8.1 in /Library/Homebrew
Bumps [regexp_parser](https://github.com/ammar/regexp_parser) from 2.8.0 to 2.8.1.
- [Changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ammar/regexp_parser/compare/v2.8.0...v2.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 18:59:12 +00:00
Bo Anderson
9d01e1deaf
Merge pull request #15541 from Bo98/audit-alias-tap-fix
tap_auditor: fix alias handling with non-core taps
2023-06-12 13:03:13 +01:00
Harry Marr
d2b17e29ef
Check only_path is present before modifying it 2023-06-10 14:31:46 -04:00
Harry Marr
747d3aaaba
Apply review suggestions 2023-06-10 14:08:58 -04:00
Harry Marr
2cd2076186
Use "cone" mode for sparse checkouts 2023-06-09 22:58:00 -04:00
Bo Anderson
5652655304
tap_auditor: fix alias handling with non-core taps 2023-06-10 00:52:39 +01:00
Carlo Cabrera
f13210801a
formula_auditor: handle head_info being nil
This happens when CI runs on an event that isn't a pull request (e.g.
push, merge_group).
2023-06-10 03:03:50 +08:00
Carlo Cabrera
8ff91a1939
formula_auditor: skip dependency conflict audit for OpenSSL migration
We can't migrate the entire OpenSSL dependency tree in one go, so we'll
have to skip this audit in the interim.

See Homebrew/homebrew-core#133144.
2023-06-10 00:53:11 +08:00
Razvan Azamfirei
5192866abe
homebrew-cask-drivers: deprecate official tap 2023-06-08 08:12:59 -04:00
Mike McQuaid
83db7039ef
Merge pull request #15533 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-06-07 14:31:08 +01:00
BrewTestBot
eeec6cf70d
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-06-07 00:28:35 +00:00
Bo Anderson
c93bc7df45
utils/gems: fix bundler sometimes unnecessarily reinstalling 2023-06-06 23:32:52 +01:00
Carlo Cabrera
729c2b331b
shims/linux: add gnumake and gmake symlinks
The `opencv@3` build calls `gmake`, which ends up evading our compiler
shim and results in a build failure because of a `-Werror` flag.

Closes Homebrew/homebrew-core#132966.
2023-06-06 23:49:52 +08:00
Carlo Cabrera
7962b3072b
dependencies_helpers: fix pruning of build/test deps
We need to check that a dependency is a build or test dependency before
checking that it is satisfied in order to prune dependencies as
requested correctly.

Before:

```
❯ brew deps esptool
ca-certificates
cmake
mpdecimal
openssl@1.1
openssl@3
pkg-config
python@3.11
readline
rust
six
sqlite
xz
```

After:

```
❯ brew deps esptool
ca-certificates
cffi
mpdecimal
openssl@1.1
pycparser
python@3.11
readline
six
sqlite
xz
```

Note: You will need build dependencies installed to reproduce the
"before" behaviour.

See #15445.
2023-06-06 15:44:08 +08:00
Bo Anderson
9d0b7361d1
Merge pull request #15522 from Bo98/macos-14
Preliminary macOS 14 (Sonoma) support
2023-06-06 02:02:17 +01:00
Bo Anderson
f504b92c45
Preliminary macOS 14 (Sonoma) support 2023-06-05 23:21:11 +01:00
BrewTestBot
e5217ce62a
Update RBI files for i18n.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-05 19:06:00 +00:00
BrewTestBot
0d000c320b
brew vendor-gems: commit updates. 2023-06-05 19:01:20 +00:00
dependabot[bot]
f2698700b1
build(deps): bump i18n from 1.14.0 to 1.14.1 in /Library/Homebrew
Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/ruby-i18n/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-i18n/i18n/compare/v1.14.0...v1.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 18:58:10 +00:00
Mike McQuaid
286e175a31
Revert "PyPI: Handle non-pythonhosted formula URLs" 2023-06-05 17:21:56 +01:00
Bo Anderson
6f8e858bc6
Merge pull request #15512 from Volatus/fix/cask-permissions-issue
cask/quarantine: fix exception not being caught
2023-06-05 17:20:37 +01:00
Ismayil Mirzali
8a52ae2933
cask/quarantine: fix exception not being caught
Changes the rescue clause to also handle EPERM.

This fixes the issue of cask upgrades/reinstalls to failing due to
permissions [1]. It's worth noting though, the prompt for allowing App
Management permissions does not seem to occur, so that's something else
to be investigated.

1. https://github.com/Homebrew/homebrew-cask/issues/148253

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2023-06-05 18:54:44 +03:00
Mike McQuaid
f2efb6bb21
Merge pull request #15511 from woodruffw-forks/ww/update-resources-handle-non-pypi-urls
PyPI: Handle non-`pythonhosted` formula URLs
2023-06-05 16:12:03 +01:00
William Woodruff
0f40e224bd
utils/pypi: refactor instance variables
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-05 10:16:19 -04:00
Issy Long
4d509aa529
Merge pull request #15520 from issyl0/rubocop-turn-off-enabled-by-default 2023-06-05 14:59:39 +01:00
William Woodruff
7067f72eb0
utils/pypi: fix sig
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:49:20 -04:00
William Woodruff
7915363482
test: brew style --fix
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:33:46 -04:00
William Woodruff
af6f728eb4
utils, test: rewrite PyPI::Package
This rewrites the `Package` class from the ground up
to better accomodate non-PyPI URLs.

The existing APIs are largely preserved, but with
clearer invariants around when they can or can't be used
(e.g., `#pypi_info`).

Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:32:09 -04:00
William Woodruff
0b3a5d0f6c
utils/pypi: set default from_pypi
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:36:23 -04:00
William Woodruff
685693a8fe
utils/pypi: enforce non-pypi urls
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:27:34 -04:00
William Woodruff
ec0361fd9b
test: add another URL test for update_pypi_url
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:01:41 -04:00
William Woodruff
f8d6dd4b94
utils/pypi: ensure Python
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-03 23:47:41 -04:00
William Woodruff
009ebff85c
utils/pypi: trim exception
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-03 23:17:59 -04:00
William Woodruff
d8b6bb2d4c
utils/pypi: more docs
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-03 23:15:44 -04:00
William Woodruff
43ba30e8a9
utils/pypi: style
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-03 23:13:26 -04:00
William Woodruff
f923b337b7
utils/pypi: support for non-pythonhosted urls
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-03 23:09:49 -04:00
BrewTestBot
1c7b3c1352
Update RBI files for i18n.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-02 19:05:15 +00:00
BrewTestBot
c11b664e78
brew vendor-gems: commit updates. 2023-06-02 19:00:38 +00:00
dependabot[bot]
baa2626201
build(deps): bump i18n from 1.13.0 to 1.14.0 in /Library/Homebrew
Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/ruby-i18n/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-i18n/i18n/compare/v1.13.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 18:57:27 +00:00
Carlo Cabrera
f7d86ff9bc
Merge pull request #15398 from carlocab/pulls-api
utils/github: use Pulls API to check open pull requests on CI
2023-06-02 12:05:27 +08:00
Carlo Cabrera
fb73f074b6
utils/github: clarify comment
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-06-02 11:52:11 +08:00
BrewTestBot
cbf768f8bd
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-06-01 19:06:00 +00:00
BrewTestBot
16f6e5643c
brew vendor-gems: commit updates. 2023-06-01 19:01:22 +00:00
dependabot[bot]
88a4b51d87
build(deps): bump rubocop-ast from 1.28.1 to 1.29.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.28.1 to 1.29.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.28.1...v1.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 18:57:49 +00:00
Carlo Cabrera
faa58e6576
utils/github/api: avoid loading gh
This is causing errors in third-party taps after
Homebrew/homebrew-test-bot#934.

Fixes Homebrew/discussions#4546.
2023-05-31 23:43:24 +08:00
Carlo Cabrera
0867534f3e
unpack_strategy/zip: avoid loading formulae unnecessarily
If we already have `unzip` in `PATH`, let's skip trying to load the
`unzip` formula.
2023-05-31 00:06:55 +08:00
Carlo Cabrera
8917acac95
Merge pull request #15493 from carlocab/fix-nil-message
utils/github/api: fix nil implicit conversion error
2023-05-30 15:39:10 +08:00
Carlo Cabrera
02d0e7f4b8
Merge pull request #15495 from carlocab/github-packages-retry
github_packages: adjust upload retries
2023-05-30 15:38:10 +08:00
Carlo Cabrera
65be47848d
github_packages: adjust upload retries
We still regularly see upload failures here, so let's adjust this to see
if we can try to reduce these.
2023-05-30 11:55:08 +08:00
BrewTestBot
dcb3701c20
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-05-30 00:26:40 +00:00