24591 Commits

Author SHA1 Message Date
Michka Popoff
ddc73ffa0c python: do not add main brewed Python site-package to virtualenv
If added, this makes the virtualenv read the main site-package from brewed Python,
and especially makes it read our sitecustomize.py file, which will
modify the sys.executable path.

See the full discussion at:
https://github.com/Homebrew/brew/pull/8873

I also took the opportunity to not include test deps, as these will
be not be installed, so the .pth file should not contains references
to site-packages from test deps.

Previous packages on Linux did already contain the wrong lines in the pth file,
for example:
cat /home/linuxbrew/.linuxbrew/Cellar/aws-google-auth/0.0.36_1/libexec/lib/python3.8/site-packages/homebrew_deps.pth
import site; site.addsitedir('/home/linuxbrew/.linuxbrew/opt/python@3.8/lib/python3.8/site-packages')
import site; site.addsitedir('/home/linuxbrew/.linuxbrew/opt/libxml2/lib/python3.8/site-packages')

This might have caused subtle bugs for some packages but not for others.
2020-10-08 19:03:51 +02:00
Mike McQuaid
c31ce96066
Merge pull request #8879 from aktriver/fix-fish-completion
Fix running deprecated command in fish completion
2020-10-08 16:47:34 +01:00
Shuhei Akutagawa
8a30a59d5a Update command "brew cask list -1" to "brew list --cask -1" in fish completion file 2020-10-09 00:03:29 +09:00
Markus Reiter
f84b9a0275
Merge pull request #8878 from reitermarkus/upgrade-casks
Force `brew upgrade` to treat arguments as casks if `--cask` is passed.
2020-10-08 14:18:46 +02:00
Markus Reiter
e117a68f42 Force brew upgrade to treat arguments as casks if --cask is passed. 2020-10-08 13:43:15 +02:00
Markus Reiter
c9e2a06ff5
Merge pull request #8813 from reitermarkus/cask-commands
Allow all cask options for `brew reinstall` and `brew upgrade`.
2020-10-08 12:00:07 +02:00
Markus Reiter
10e3b63b7b Inline install, reinstall and upgrade options. 2020-10-08 11:33:38 +02:00
Markus Reiter
d6b563e752 Support min_named :formula_or_cask. 2020-10-08 11:12:17 +02:00
Markus Reiter
7743fed77b Add “GLOBAL CASK OPTIONS” section to man page. 2020-10-08 11:07:35 +02:00
Markus Reiter
727d854621 Add missing variable. 2020-10-08 11:07:35 +02:00
Markus Reiter
7f14e55f99 Add missing cask options to brew upgrade. 2020-10-08 11:07:35 +02:00
Markus Reiter
994e95e356 Refactor usage of NamedArgs in brew install. 2020-10-08 11:07:35 +02:00
Markus Reiter
e40eece17b Add cask options to brew reinstall. 2020-10-08 11:06:04 +02:00
Markus Reiter
16d5596fbd Fix code style. 2020-10-08 11:06:04 +02:00
Markus Reiter
d443d9ab75 Include cask in brew reinstall help text. 2020-10-08 11:06:04 +02:00
Markus Reiter
67519d487a Include cask in brew install help text. 2020-10-08 11:06:04 +02:00
Markus Reiter
2ee30b8067 Refactor MinNamedArgumentsError and MaxNamedArgumentsError. 2020-10-08 11:06:04 +02:00
Dawid Dziurla
0732a86a24
Merge pull request #8877 from lsparlin/lsparlin-patch-zsh-completion
Bug fix _brew_upgrade zsh completion function
2020-10-07 18:54:24 +02:00
Lewis Sparlin
4016e746cd
Fix _brew_upgrade completion function
I found an error that was breaking my `brew upgrade ...` zsh completion
2020-10-07 11:21:34 -05:00
Mike McQuaid
588f5f1713
Merge pull request #8875 from reitermarkus/cask-install-taps
Fix installing taps in `brew install`.
2.5.4
2020-10-07 14:22:11 +01:00
Markus Reiter
ccb271bee4
Merge pull request #8859 from reitermarkus/macos-version
Refactor `OS::Mac::Version`.
2020-10-07 12:18:53 +02:00
Markus Reiter
9f40945c87 Fix installing taps in brew install.
Partially reverts f54b458cdaec5091cf7abfa3e09e9050a94a4a26.
2020-10-07 12:12:10 +02:00
FX Coudert
bd8eba8a81
Merge pull request #8873 from Rylan12/homebrew-virtualenv-version-20
virtualenv: use version 20 to support Python 3.9
2020-10-07 10:35:33 +02:00
Mike McQuaid
a65c79c3ae
Merge pull request #8872 from Homebrew/sorbet-files-update
sorbet: Update RBI files and prune files.yaml.
2020-10-07 09:19:58 +01:00
Rylan Polster
0109ce58be update references to homebrew-virtualenv resources 2020-10-06 23:39:52 -04:00
Rylan Polster
43648100b4 virtualenv: use version 20 to support Python 3.9 2020-10-06 22:27:52 -04:00
BrewTestBot
a8629dcda0 sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-07 00:52:51 +00:00
Issy Long
569ce08d9f
Merge pull request #8871 from issyl0/sorbet-more-typechecked-files
sorbet: Start typechecking `install.rb` and `reinstall.rb`
2020-10-06 22:14:59 +01:00
Issy Long
469bcb25a0
sorbet: Start typechecking install.rb and reinstall.rb 2020-10-06 21:22:35 +01:00
Vidushee Amoli
f2d68998ea
Merge pull request #8869 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.5935 2020-10-06 23:14:18 +05:30
dependabot[bot]
db66c30642
build(deps): bump sorbet from 0.5.5923 to 0.5.5935 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.5923 to 0.5.5935.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 14:15:28 +00:00
Vidushee Amoli
2ecdf8445a
Merge pull request #8857 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.5933 2020-10-06 19:44:34 +05:30
Rylan Polster
6a4a30e434
Merge pull request #8862 from Rylan12/fix-multiline-license-style
style: allow license exceptions to be on one line
2020-10-06 09:21:40 -04:00
Mike McQuaid
fe6fcffe1c
Merge pull request #8867 from MikeMcQuaid/no_check_installed_dependents
HOMEBREW_NO_CHECK_INSTALLED_DEPENDENTS: add variable.
2020-10-06 11:18:54 +01:00
Mike McQuaid
95cd1de2a5
HOMEBREW_NO_CHECK_INSTALLED_DEPENDENTS: add variable.
Add an opt-out of this behaviour.
2020-10-06 10:50:51 +01:00
Miccal Matthews
03586958ca
Merge pull request #8863 from miccal/shared-audits-update
shared_audits: add home-assistant to GITHUB_PRERELEASE_ALLOWLIST
2020-10-06 12:10:19 +08:00
Jonathan Chang
996e428547
Merge pull request #8864 from dtrodrigues/python39-unstable-devel
audit: remove python 3.9 from unstable allowlist now that it's released
2020-10-06 12:43:29 +11:00
Dustin Rodrigues
ea57ef794e audit: remove python 3.9 from unstable allowlist 2020-10-05 20:49:40 -04:00
Dustin Rodrigues
95ba86d465
Merge pull request #8860 from dtrodrigues/remove-legit-version-exception
audit: remove legit version exception
2020-10-05 19:23:28 -04:00
miccal
41fe6b5e7c shared_audits: add home-assistant to GITHUB_PRERELEASE_ALLOWLIST 2020-10-06 06:05:50 +08:00
Rylan Polster
38cedb9013 style: allow license exceptions to be on one line 2020-10-05 16:23:52 -04:00
Dustin Rodrigues
9f9ec0dcc6 audit: remove legit version exception 2020-10-05 10:04:15 -04:00
Markus Reiter
90d70ad932 Refactor OS::Mac::Version. 2020-10-05 15:58:17 +02:00
Mike McQuaid
23e24c6710
Merge pull request #8850 from dtrodrigues/post-version
version: support post versions
2.5.3
2020-10-05 14:51:58 +01:00
Dustin Rodrigues
34cf999f20 version: support post versions 2020-10-05 08:44:03 -04:00
Dustin Rodrigues
15fca9661d audit: temporarily allow redundant version for legit 2020-10-05 08:44:03 -04:00
Nanda H Krishna
a74565f909
Merge pull request #8680 from nandahkrishna/livecheck-head
Add `head_only?` to Formula, replace `head?` in livecheck
2020-10-05 14:26:11 +05:30
Jonathan Chang
bb4aa86c12
Merge pull request #8855 from Homebrew/dependabot/bundler/docs/github-pages-208
build(deps-dev): bump github-pages from 207 to 208 in /docs
2020-10-05 18:38:00 +11:00
dependabot[bot]
c5eac540d9
build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.5924 to 0.5.5933.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 06:20:01 +00:00
dependabot[bot]
4ce221df24
build(deps-dev): bump github-pages from 207 to 208 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 207 to 208.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v207...v208)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 05:59:14 +00:00