
























Today I’d like to announce Homebrew 1.5.0. The most significant changes since 1.4.0 are deprecations of formula APIs and some Homebrew organisation formula taps.
Future dates for your calendar:
python formula will be upgraded to Python 3.x and a python@2 formula will be added for installing Python 2.7 (although this will be keg-only so neither python nor python2 will be added to the PATH by default without a manual brew link --force). We will maintain python2, python3 and python@3 aliases. Any formulae that use depends_on "python" outside Homebrew/core will need to be updated at this point if they wish to keep using Python 2. Note: macOS has provided Python 2.7 since OS X Lion (10.7) so you can update formulae that need Python 2 today by removing depends_on "python" so they use the system python instead.Major changes and deprecations since 1.4.0:
brew postgresql-upgrade-database is a new command to simplify upgrading PostgreSQL databases between major versions.default_formula are no longer supported for Requirements. This was originally added to ease our bottle/binary package building when Homebrew was primarily a build-from-source package manager. Now that Homebrew is primarily a binary package manager, default_formula was no longer useful and was the source of many complex dependency resolution bugs.Requirements that allowed you to use depends_on for software outside of Homebrew that was also provided by Homebrew have been deprecated. Instead formulae that wish to support e.g. a non-Homebrew Python should use env :std and use the first instance of the software in the PATH (found with which)brew reinstall and brew upgrade no longer keep manually brew unlinked kegs as unlinked on reinstall or upgrade. Without this change there was no way of differentiating manually unlinked and failed-to-link kegs so a single keg link failure would stop any future version trying to link (leading to the software unexpectedly being missing from the user’s PATH).Other changes since 1.4.0 I’d like to highlight are the following:
brew audit allows the use of env :std in non-Homebrew organisation tapsHOMEBREW_DEVELOPERs are encouraged to submit pull requests for deprecationsbrew install a formula that doesn’t exist will only check if the formula was deleted in the last month (rather than ever) to improve performance.brew info now shows --devel and --HEAD options for optionless formulaebrew upgrade skips the formula rather than exiting if an upgrade fails due to an unsatisfied Requirementno_proxy variable is passed through to the Homebrew fetch/install process (e.g. for curl)Finally:
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far. Enjoy using Homebrew!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。