Skip to content

Commit

Permalink
python3-ubi > py3-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuel44 committed Aug 12, 2024
1 parent c5762b2 commit 30267da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions utils/compare_dependency_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
DOCKER_FOLDER = Path(__file__).parent.parent / "docker"
NATIVE_IMAGE = "py3-native"
PY3_TOOLS_UBI_IMAGE = "py3-tools-ubi"
PYTHON3_UBI_IMAGE = "python3-ubi"
PYTHON3_UBI_IMAGE = "py3-tools"
PYPROJECT = "pyproject.toml"
PIPFILE = "Pipfile"

Expand Down Expand Up @@ -101,13 +101,13 @@ def compare_constraints(images_contained_in_native: list[str]):
"""Compares the dependency constraints between different images and reports discrepancies.
This function compares the dependencies of the following images:
- `python3-ubi`
- `py3-tools`
- `py3-tools-ubi`
- `native`
against the dependencies of the images listed in `images_contained_in_native`.
Additionally, it compares the dependencies of `python3-ubi` against `py3-tools-ubi`.
Additionally, it compares the dependencies of `py3-tools` against `py3-tools-ubi`.
Args:
images_contained_in_native (list[str]): A list of image names to compare against the native image.
Expand Down Expand Up @@ -164,8 +164,8 @@ def compare_constraints(images_contained_in_native: list[str]):
)
)

# Compare py3-tools-ubi with python3-ubi
discrepancies.extend( # py3-tools-ubi dependencies missing from python3-ubi
# Compare py3-tools-ubi with py3-tools
discrepancies.extend( # py3-tools-ubi dependencies missing from py3-tools
(
Discrepancy(
dependency=dependency,
Expand All @@ -177,7 +177,7 @@ def compare_constraints(images_contained_in_native: list[str]):
for dependency in sorted(py3_tools_ubi_keys.difference(python3_ubi_keys))
)
)
discrepancies.extend( # shared dependencies with python3-ubi, different versions
discrepancies.extend( # shared dependencies with py3-tools, different versions
(
Discrepancy(
dependency=dependency,
Expand Down

0 comments on commit 30267da

Please sign in to comment.