37083 Commits

Author SHA1 Message Date
Mike McQuaid
ae0f5637b7
Merge pull request #15911 from branchvincent/pip-feature
formula: drop old pip feature flag
2023-08-26 13:03:40 +01:00
Mike McQuaid
54d7f0cefd
Merge pull request #15912 from branchvincent/style
brew.sh: disable shellcheck warning
2023-08-26 13:01:14 +01:00
Branch Vincent
a75568147e
brew.sh: disable shellcheck warning 2023-08-26 12:48:30 +01:00
Branch Vincent
f8ab19d187
formula: drop old pip feature flag 2023-08-26 12:48:16 +01:00
Mike McQuaid
aaf9091b21
Merge pull request #15913 from MikeMcQuaid/github_actions_python_workaround
workflows/tests: workaround GitHub Actions python issues.
2023-08-26 12:41:15 +01:00
Mike McQuaid
298003b181
workflows/tests: workaround GitHub Actions python issues.
As-is there's a Python installed but not properly linked which breaks
anything that depends on Python being installed on macOS e.g.
Subversion.
2023-08-26 12:25:22 +01:00
apainintheneck
e314a43754 dependency_helpers: include required & use public_send
- Use .required? instead of .tags.empty?
- use .public_send
- modify .reject_ignores to be .select_includes
  - checks ignores first now
- Don't use runtime deps with --missing in `brew deps` command
2023-08-25 00:25:14 -07:00
Michael Cho
7412487891
extend/os/mac/keg: codesign on Intel if invalid signature 2023-08-23 11:48:13 -07:00
Mike McQuaid
3c8b4949ba
Merge pull request #15900 from clint-stripe/clint/homebrew-curlrc-vendor-install
Use HOMEBREW_CURLRC in vendor-install
2023-08-23 08:37:52 +01:00
Mike McQuaid
bc5fce2477
Merge pull request #15895 from EricFromCanada/api-old-certs
api: ignore HTTPS errors if required certs aren't installed
2023-08-23 08:37:21 +01:00
Mike McQuaid
f29e9ad2bf
Merge pull request #15902 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.7.6
build(deps): bump activesupport from 6.1.7.4 to 6.1.7.6 in /Library/Homebrew
2023-08-23 08:33:49 +01:00
BrewTestBot
2a90974b86
Update RBI files for activesupport.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-08-23 04:35:20 +00:00
BrewTestBot
503db092a3
brew vendor-gems: commit updates. 2023-08-23 04:28:37 +00:00
dependabot[bot]
8733f58064
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.7.4 to 6.1.7.6.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.7.2/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.7.4...v6.1.7.6)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-23 04:24:54 +00:00
Eric Knibbe
70e676c176
api: ignore HTTPS errors if required certs aren't installed 2023-08-22 17:41:46 -04:00
Clint Harrison
e75a72dcb5 Use HOMEBREW_CURLRC in vendor-install 2023-08-22 17:21:37 -04:00
Mike McQuaid
4564628eaf
Merge pull request #15896 from branchvincent/pypi-excludes
utils/pypi: exclude deps of excluded packages
2023-08-22 13:47:54 +01:00
Branch Vincent
47e82add43
utils/pypi: exclude deps of excluded packages 2023-08-21 21:45:54 -07:00
Nanda H Krishna
5eaa9f995b
Merge pull request #15894 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-2.0.0
build(deps): bump json_schemer from 1.0.3 to 2.0.0 in /Library/Homebrew
2023-08-21 18:35:27 -04:00
BrewTestBot
1f8f00ca45
Update RBI files for json_schemer.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-08-21 18:44:31 +00:00
BrewTestBot
f76fef0c79
brew vendor-gems: commit updates. 2023-08-21 18:34:47 +00:00
dependabot[bot]
01fe2149d7
build(deps): bump json_schemer from 1.0.3 to 2.0.0 in /Library/Homebrew
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer) from 1.0.3 to 2.0.0.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v1.0.3...v2.0.0)

---
updated-dependencies:
- dependency-name: json_schemer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 18:29:59 +00:00
Mike McQuaid
8dd2073d84
Merge pull request #15893 from Bo98/prof-env
dev-cmd/prof: bleed less of the environment from gem installs
2023-08-21 15:50:44 +02:00
Bo Anderson
fe8f6dfc8d
dev-cmd/prof: bleed less of the environment from gem installs 2023-08-21 14:22:47 +01:00
apainintheneck
3cba4cbc19 dependency_helpers: rework recursive dependency resolution
This is a refactor/reworking of the dependency resolution methods
in the DependencyHelpers module. These methods are used by both
the `brew deps` and `brew uses` commands to get a specific set
of dependencies for the user based on multiple criteria.

Additive Options:
--include-build
--include-test
--include-optional

Subtractive Options:
--skip-recommended
--missing

When a user runs either command the only dependencies that are
included by default are recommended and runtime dependencies.
This is largely unchanged though we don't include all non-build
dependencies as recommended by default anymore.

The biggest change is that all installed dependencies are always
removed from the list now if the --missing option is passed.
This could get skipped before depending on the other options
that were passed. Essentially subtractive options now will
always be evaluated before additive ones (the docs will need to
be updated to make this clear).

Beyond that we have no special handling for the optional command
anymore. We used to check that the optional dependency was not
needed to build the formula but that seems redundant and confusing.
Essentially, the #recursive_includes command now behaves much more
like the #reject_ignores command (essentially the non-recursive version)
which is a good thing for consistency's sake.
2023-08-19 15:49:16 -07:00
Mike McQuaid
3cd72905ce
Merge pull request #15889 from MikeMcQuaid/gnu_tar_deps_bottling
dev-cmd/bottle: install gnu-tar before keg lock.
4.1.6
2023-08-18 12:42:42 +01:00
Mike McQuaid
7a974f39ec
Merge pull request #15887 from Homebrew/cargo-build-audit
audit: check for cargo build only in install method
2023-08-18 12:32:15 +01:00
Mike McQuaid
e7dc14c015
dev-cmd/bottle: install gnu-tar before keg lock.
This allows the correct bottling of `gnu-tar` dependencies (and
`gnu-tar` itself). It also installs `gnu-tar` at a more appropriate
time in the `brew bottle` command.
2023-08-18 11:03:22 +01:00
Dawid Dziurla
b4366b61ef
audit: check for cargo build only in install method 2023-08-18 11:20:56 +02:00
Mike McQuaid
5d4d674713
Merge pull request #15886 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-08-18 09:15:59 +01:00
Mike McQuaid
877b6e4955
Merge pull request #15885 from muneebmahmed/cask-dependencies
Fix cask dependency discovery
2023-08-18 09:15:42 +01:00
BrewTestBot
c78c7db80b
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-08-18 00:05:15 +00:00
Muneeb Ahmed
8a14d5cf4e Fix cask dependency discovery 2023-08-17 04:16:02 -07:00
Mike McQuaid
cf2fd160d3
Merge pull request #15882 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-08-17 12:02:36 +01:00
BrewTestBot
cf18752b74
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-08-17 00:24:19 +00:00
Mike McQuaid
1b2294e3b6
Merge pull request #15881 from samford/livecheck/guard-watchlist-test
dev-cmd/livecheck: avoid watchlist in test
2023-08-16 20:38:31 +01:00
Sam Ford
1d404e437b
dev-cmd/livecheck: avoid watchlist in test
The existing watchlist test in `dev-cmd/livecheck_spec.rb` will only
pass if the testing environment doesn't contain a livecheck watchlist
file. When a watchlist file is present, it ends up being treated as
empty (formulae and casks aren't available in tests) and produces an
`Invalid usage: No formulae or casks to check` error instead. We don't
have to worry about a watchlist file on CI but it's a potential issue
when running `brew test` locally.

This provides a bogus `HOMEBREW_LIVECHECK_WATCHLIST` value to the
`#brew` call, to ensure that any watchlist file in the testing
environment is not used for this test.

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-08-16 15:08:34 -04:00
Mike McQuaid
e475de2a4a
Merge pull request #15880 from MikeMcQuaid/more_service_quoting
service: handle quoting in service file, too.
2023-08-16 14:34:39 +01:00
Mike McQuaid
3a6362270f
Merge pull request #15878 from MikeMcQuaid/brew_update_untap
cmd/update-report: improve tap/untap behaviour.
2023-08-16 14:21:19 +01:00
Mike McQuaid
2d133ba1a6
cmd/update-report: improve tap/untap behaviour.
- unify core tapping/untapping behaviour (so we can never tap and then
  immediately untap)
- automatically untap homebrew-core or homebrew-cask if it's old, on
  the default branch and it doesn't seem to be needed
- if we think it's unneeded but it's too new: output a message instead

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2023-08-16 14:06:26 +01:00
Mike McQuaid
6cb8f3d7e0
service: handle quoting in service file, too.
Follow-up to https://github.com/Homebrew/brew/pull/15875 based on
https://github.com/Homebrew/homebrew-core/pull/139680#discussion_r1295770047
2023-08-16 13:58:03 +01:00
Mike McQuaid
2038481909
Merge pull request #15875 from MikeMcQuaid/service_quote_args
service: correctly quote arguments.
2023-08-16 12:25:54 +01:00
Mike McQuaid
f9382d86fb
Merge pull request #15877 from MikeMcQuaid/brew_sh_shellcheck
brew.sh: fix shellcheck warning.
2023-08-16 12:16:52 +01:00
Mike McQuaid
6d65ec3afb
service: correctly quote arguments.
If you have a run argument with a space in it: it will need to be quoted
to be passed through correctly when run as a manual command.

Fixes #15871.
2023-08-16 12:03:40 +01:00
Mike McQuaid
6335728b61
brew.sh: fix shellcheck warning.
Fixes #15876.
2023-08-16 12:01:25 +01:00
Mike McQuaid
020508b7b3
Merge pull request #15874 from p-linnane/quieter-livecheck
Livecheck: allow quiet output with `--newer-only`
2023-08-16 08:41:25 +01:00
Mike McQuaid
b3db5c7af7
Merge pull request #15873 from Bo98/bundler-2.4
utils/gems: update to Bundler 2.4
2023-08-16 08:33:48 +01:00
Patrick Linnane
1c4073df38
Livecheck: allow quiet output with --newer-only 2023-08-15 17:43:36 -07:00
Nanda H Krishna
aaad9f5081
Merge pull request #15872 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-08-15 20:41:18 -04:00
Bo Anderson
444ee7fd44
brew vendor-gems: commit updates. 2023-08-16 01:34:19 +01:00