36106 Commits

Author SHA1 Message Date
Bo Anderson
c93bc7df45
utils/gems: fix bundler sometimes unnecessarily reinstalling 2023-06-06 23:32:52 +01:00
Carlo Cabrera
e37650d122
Merge pull request #15531 from carlocab/linux-make-shims
shims/linux: add `gnumake` and `gmake` symlinks
2023-06-07 00:07:43 +08: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
322a0189ca
Merge pull request #15529 from carlocab/deps-fix
dependencies_helpers: fix pruning of build/test deps
2023-06-06 16:25:35 +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
4.0.21
2023-06-06 02:02:17 +01:00
Bo Anderson
07a66d4f57
Merge pull request #15523 from Homebrew/dependabot/bundler/Library/Homebrew/i18n-1.14.1
build(deps): bump i18n from 1.14.0 to 1.14.1 in /Library/Homebrew
2023-06-06 00:06:34 +01:00
Bo Anderson
f504b92c45
Preliminary macOS 14 (Sonoma) support 2023-06-05 23:21:11 +01:00
Bo Anderson
1d2301929e
Merge pull request #15524 from Bo98/cask-update-ci
workflows/tests: update homebrew-cask
2023-06-05 23:18:51 +01:00
Bo Anderson
54bd9533ea
workflows/tests: update homebrew-cask 2023-06-05 20:51:39 +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
b880d7814d
Merge pull request #15521 from Homebrew/revert-15511-ww/update-resources-handle-non-pypi-urls
Revert "PyPI: Handle non-`pythonhosted` formula URLs"
2023-06-05 17:36:42 +01: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
Mike McQuaid
ca3a663b5e
Merge pull request #15514 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
2023-06-05 14:29:26 +01:00
Carlo Cabrera
9155746517
Merge pull request #15516 from carlocab/dockerfile-umask
Dockerfile: set umask in `common-session-noninteractive` too
2023-06-05 14:26:53 +08:00
Carlo Cabrera
51cdf49c47
Dockerfile: set umask in common-session-noninteractive too
See #15505.
2023-06-05 13:39:42 +08: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
BrewTestBot
51ca622bc6
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-06-05 00:05:51 +00:00
Carlo Cabrera
e9a1cd41d7
Merge pull request #15510 from ZhongRuoyu/actionlint-macos-13 2023-06-04 16:28:49 +08: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
Ruoyu Zhong
4e11b62017
workflows/actionlint: run on actionlint config change 2023-06-03 18:14:25 +08:00
Ruoyu Zhong
b62740b102
actionlint.yaml: remove workaround for macos-13
This is no longer needed after Homebrew/homebrew-core#132722.

This reverts commit f729127fae6a12e173f55a59ef90a72c7cf18141.
2023-06-03 17:52:17 +08:00
Markus Reiter
c34e833b0f
Merge pull request #15509 from Homebrew/dependabot/bundler/Library/Homebrew/i18n-1.14.0
build(deps): bump i18n from 1.13.0 to 1.14.0 in /Library/Homebrew
2023-06-03 03:19:18 +02: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
Carlo Cabrera
0125e93816
Merge pull request #15508 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.29.0
build(deps): bump rubocop-ast from 1.28.1 to 1.29.0 in /Library/Homebrew
2023-06-02 11:45:19 +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
76224ac4fd
Merge pull request #15505 from carlocab/linux-umask 2023-06-01 19:45:43 +08:00
Carlo Cabrera
86390348ac
Dockerfile: set default umask
This makes sure that the system `umask` is the same as the one on macOS.

Fixes Homebrew/homebrew-core@155e3ab5a8.
2023-06-01 13:58:33 +08:00