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
William Woodruff
0f40e224bd
utils/pypi: refactor instance variables
...
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-05 10:16:19 -04: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
Carlo Cabrera
ff45c2822f
utils/github/api: fix nil implicit conversion error
...
Fixes
Error: no implicit conversion of nil into String
https://github.com/Homebrew/homebrew-test-bot/actions/runs/5113802196/jobs/9193401244#step:11:11
2023-05-30 01:03:33 +08:00
Mike McQuaid
33a3f72fbc
Merge pull request #15492 from carlocab/no-run-attempt
...
github_runner_matrix: remove `GITHUB_RUN_ATTEMPT`
2023-05-29 16:22:21 +01:00
Carlo Cabrera
8860d8398f
determine-test-runners: fix test
2023-05-29 23:06:09 +08:00
Carlo Cabrera
40166eb5e7
github_runner_matrix: remove GITHUB_RUN_ATTEMPT
...
This should no longer be needed after
Homebrew/ci-orchestrator@845d26ccc0 .
2023-05-29 22:36:00 +08:00
Carlo Cabrera
909b8d078e
dev-cmd/update-maintainers: write JSON of maintainers
...
This will be needed for Homebrew/homebrew-test-bot#933 .
2023-05-29 21:30:47 +08:00
Mike McQuaid
89dfe4fc5b
Merge pull request #15483 from JBYoshi/cask-prompt-permissions
...
Check for App Management permissions before updating apps.
2023-05-29 09:15:22 +01:00
Mike McQuaid
98dd8610ae
Tweak code style and documentation wording
2023-05-29 08:59:35 +01:00
JBYoshi
97b9b61061
Change permission failure from fatal to warning.
2023-05-26 11:13:23 -05:00
Bjorn Neergaard
fc63aca46a
utils/github/api: refactor keychain code to use system_command
2023-05-26 09:54:28 -06:00
Bjorn Neergaard
d634296109
utils/github/api: discover credentials stored by the GitHub CLI
2023-05-26 09:54:25 -06:00
Mike McQuaid
e96fd24a73
Merge pull request #15481 from reitermarkus/sudo-xattrs
...
Use `sudo` for copying `xattr`s when necessary.
2023-05-25 12:19:31 +01:00
Mike McQuaid
072222e675
Merge pull request #15482 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-05-25 12:19:14 +01:00
Mike McQuaid
2f63d26601
Merge pull request #15471 from Omoeba/fix-noncore
...
Fix `brew formulae` and `brew casks` when the API is used
2023-05-25 12:18:20 +01:00