mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-11 03:52:56 +00:00
minor changes on outdated package helper
This commit is contained in:
2
Makefile
2
Makefile
@@ -49,7 +49,7 @@ build/%: ## build the latest image for a stack
|
|||||||
build-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) ) ## build all stacks
|
build-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) ) ## build all stacks
|
||||||
build-test-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) test/$(I) ) ## build and test all stacks
|
build-test-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) test/$(I) ) ## build and test all stacks
|
||||||
|
|
||||||
check_outdated/%: ## Check the outdated conda packages in a stack and produce a report (experimental)
|
check-outdated/%: ## check the outdated conda packages in a stack and produce a report (experimental)
|
||||||
@TEST_IMAGE="$(OWNER)/$(notdir $@)" pytest test/test_outdated.py
|
@TEST_IMAGE="$(OWNER)/$(notdir $@)" pytest test/test_outdated.py
|
||||||
|
|
||||||
dev/%: ARGS?=
|
dev/%: ARGS?=
|
||||||
|
@@ -73,7 +73,7 @@ def print_result(installed, result):
|
|||||||
nb_updatable = len(result)
|
nb_updatable = len(result)
|
||||||
updatable_ratio = nb_updatable / nb_packages
|
updatable_ratio = nb_updatable / nb_packages
|
||||||
LOGGER.info(
|
LOGGER.info(
|
||||||
f"{nb_updatable} packages can be updated over {nb_packages} -> {updatable_ratio:.0%}"
|
f"{nb_updatable}/{nb_packages} ({updatable_ratio:.0%}) packages could be updated"
|
||||||
)
|
)
|
||||||
LOGGER.info(f"\n{tabulate(result, headers='keys')}\n")
|
LOGGER.info(f"\n{tabulate(result, headers='keys')}\n")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user