Skip to content

Commit d75b95c

Browse files
committed
preserve Homebrew host launcher execution
1 parent 386711f commit d75b95c

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

abxpkg/binprovider.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,6 +3634,13 @@ def _get_projected_version(
36343634
bin_name: BinName,
36353635
projected_abspath: HostBinPath,
36363636
) -> SemVer | None:
3637+
if str(bin_name) == "brew":
3638+
return self.get_version(
3639+
bin_name,
3640+
abspath=projected_abspath,
3641+
quiet=True,
3642+
no_cache=True,
3643+
)
36373644
projected_path = Path(projected_abspath).absolute()
36383645
token = ENV_PROJECTED_VERSION_PATH.set(projected_path)
36393646
try:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "abxpkg"
3-
version = "1.11.281"
3+
version = "1.11.282"
44
description = "System package manager interfaces with Python type hints"
55
authors = [{name = "Nick Sweeting"}, {name = "ArchiveBox"}]
66
requires-python = ">=3.12,<3.15"

0 commit comments

Comments
 (0)