Skip to content

Using gamechangerml v1.8.0 causes package dependency conflict #284

@neofob

Description

@neofob

Using gamechangerml package version 1.8.0, which actually reports itself as 1.7.0, cause package dependency conflict.
Snippet from dev_tools/requirements/rhel8.locked.requirements.txt

gamechangerml @ https://github.com/dod-advana/gamechanger-ml/archive/refs/tags/v1.8.0.tar.gz

The output from the script build.sh in gamechanger/deploy, used with BUILDKIT_PROGRESS=plain.

#19 138.5 Collecting zipp==3.6.0 (from -r /tmp/requirements.txt (line 154))
#19 138.5   Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB)
#19 138.6 Requirement already satisfied: setuptools in /opt/app-root/lib/python3.8/site-packages (from arabic-reshaper==2.1.3->-r /tmp/requirements.txt (line 4)) (68.1.2)
#19 138.6 Requirement already satisfied: wheel<1.0,>=0.23.0 in /opt/app-root/lib/python3.8/site-packages (from astunparse==1.6.3->-r /tmp/requirements.txt (line 5)) (0.41.2)
#19 143.0 INFO: pip is looking at multiple versions of gamechangerml to determine which version is compatible with other requirements. This could take a while.
#19 143.0 ERROR: Cannot install -r /tmp/requirements.txt (line 38) and gensim==3.8.3 because these package versions have conflicting dependencies.
#19 143.0 
#19 143.0 The conflict is caused by:
#19 143.0     The user requested gensim==3.8.3
#19 143.0     gamechangerml 1.7.0 depends on gensim==4.1.2
#19 143.0 
#19 143.0 To fix this you could try to:
#19 143.0 1. loosen the range of package versions you've specified
#19 143.0 2. remove package versions to allow pip attempt to solve the dependency conflict
#19 143.0 
#19 143.0 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
#19 ERROR: process "/bin/sh -c python3 -m venv \"${APP_VENV}\" --prompt app-root   &&  \"${APP_VENV}/bin/python\" -m pip install --upgrade --no-cache-dir pip setuptools wheel   &&  \"${APP_VENV}/bin/python\" -m pip install --no-cache-dir -r /tmp/requirements.txt   &&  chown -R \"${APP_UID}:${APP_GID}\" \"${APP_VENV}\"" did not complete successfully: exit code: 1
------
 > [15/19] RUN       python3 -m venv "/opt/app-root" --prompt app-root   &&  "/opt/app-root/bin/python" -m pip install --upgrade --no-cache-dir pip setuptools wheel   &&  "/opt/app-root/bin/python" -m pip install --no-cache-dir -r /tmp/requirements.txt   &&  chown -R "1000:1000" "/opt/app-root":
143.0 
143.0 The conflict is caused by:
143.0     The user requested gensim==3.8.3
143.0     gamechangerml 1.7.0 depends on gensim==4.1.2
143.0 
143.0 To fix this you could try to:
143.0 1. loosen the range of package versions you've specified
143.0 2. remove package versions to allow pip attempt to solve the dependency conflict
143.0 
143.0 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
------
rhel8.Dockerfile:191

Using notation gamechangerml @ git+https://github.com/dod-advana/[email protected] causes the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions