Skip to content

Commit 597599c

Browse files
committed
release: abxpkg 1.11.186
1 parent 08664c1 commit 597599c

14 files changed

Lines changed: 401 additions & 286 deletions

abxpkg/__init__.py

Lines changed: 228 additions & 196 deletions
Large diffs are not rendered by default.

abxpkg/binprovider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ def INSTALLER_BINARY(self, no_cache: bool = False) -> ShallowBinary:
959959
cache_kind="dependency",
960960
)
961961
self._INSTALLER_BINARY = loaded
962-
return self._INSTALLER_BINARY
962+
return loaded
963963
except Exception:
964964
pass
965965

@@ -983,7 +983,7 @@ def INSTALLER_BINARY(self, no_cache: bool = False) -> ShallowBinary:
983983
cache_kind="dependency",
984984
)
985985
self._INSTALLER_BINARY = loaded
986-
return self._INSTALLER_BINARY
986+
return loaded
987987
except Exception:
988988
pass
989989

abxpkg/binprovider_ansible.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def INSTALLER_BINARY(self, no_cache: bool = False) -> ShallowBinary:
309309
if raw_provider_names
310310
else list(DEFAULT_PROVIDER_NAMES)
311311
)
312-
dependency_providers = [
312+
dependency_providers: list[BinProvider] = [
313313
EnvProvider(install_root=None, bin_dir=None)
314314
if provider_name == "env"
315315
else PROVIDER_CLASS_BY_NAME[provider_name]()

abxpkg/binprovider_gem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def INSTALLER_BINARY(self, no_cache: bool = False):
107107
installer_binproviders = self.INSTALLER_BINPROVIDERS
108108
assert installer_binproviders is not None
109109
preferred_provider_names = list(installer_binproviders)
110-
dependency_providers = [
110+
dependency_providers: list[BinProvider] = [
111111
EnvProvider(install_root=None, bin_dir=None)
112112
if provider_name == "env"
113113
else PROVIDER_CLASS_BY_NAME[provider_name]()

abxpkg/binprovider_pip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def INSTALLER_BINARY(self, no_cache: bool = False):
244244
if raw_provider_names
245245
else list(DEFAULT_PROVIDER_NAMES)
246246
)
247-
dependency_providers = [
247+
dependency_providers: list[BinProvider] = [
248248
EnvProvider(install_root=None, bin_dir=None)
249249
if provider_name == "env"
250250
else PROVIDER_CLASS_BY_NAME[provider_name]()

abxpkg/binprovider_pyinfra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def INSTALLER_BINARY(self, no_cache: bool = False):
240240
if raw_provider_names
241241
else list(DEFAULT_PROVIDER_NAMES)
242242
)
243-
dependency_providers = [
243+
dependency_providers: list[BinProvider] = [
244244
EnvProvider(install_root=None, bin_dir=None)
245245
if provider_name == "env"
246246
else PROVIDER_CLASS_BY_NAME[provider_name]()

abxpkg/binprovider_yarn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def INSTALLER_BINARY(self, no_cache: bool = False):
215215
if raw_provider_names
216216
else list(DEFAULT_PROVIDER_NAMES)
217217
)
218-
installer_providers = [
218+
installer_providers: list[BinProvider] = [
219219
env_provider
220220
if provider_name == "env"
221221
else PROVIDER_CLASS_BY_NAME[provider_name]()

abxpkg/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ def shared_options(command):
11801180
"lib_dir",
11811181
metavar="PATH",
11821182
default=None,
1183-
help="Base library directory. Defaults to ABXPKG_LIB_DIR or $XDG_CONFIG_HOME/abx/lib.",
1183+
help="Base library directory. Defaults to ABXPKG_LIB_DIR or the platformdirs user config abx/lib path.",
11841184
),
11851185
):
11861186
command = decorator(command)

0 commit comments

Comments
 (0)