dod-advana / gamechanger-data

GAMECHANGER aspires to be the Department’s trusted solution for evidence-based, data-driven decision-making across the universe of DoD requirements
MIT License
27 stars 17 forks source link

Determine the correct version of gamechangerml that can be built successfully in Docker #285

Open neofob opened 1 year ago

neofob commented 1 year ago

Summary: The current version, UOT-117914.zip, fails to be built successfully with dev_tools/requirements/rhel8.locked.requirements.txt.

Reason:

#19 45.04 Collecting gamechangerml@ https://github.com/dod-advana/gamechanger-ml/archive/refs/heads/task/UOT-117914.zip (from -r /tmp/requirements.txt (line 38))
#19 45.63   Downloading https://github.com/dod-advana/gamechanger-ml/archive/refs/heads/task/UOT-117914.zip
#19 50.85      - 23.8 MB 11.3 MB/s 0:00:05
#19 51.14   Preparing metadata (setup.py): started
#19 51.24   Preparing metadata (setup.py): finished with status 'error'
#19 51.25   error: subprocess-exited-with-error
#19 51.25   
#19 51.25   × python setup.py egg_info did not run successfully.
#19 51.25   │ exit code: 1
#19 51.25   ╰─> [1 lines of output]
#19 51.25       error in gamechangerml setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*'
#19 51.25       [end of output]
#19 51.25   
#19 51.25   note: This error originates from a subprocess, and is likely not a problem with pip.
#19 51.25 error: metadata-generation-failed
#19 51.25 
#19 51.25 × Encountered error while generating package metadata.
#19 51.25 ╰─> See above for output.
#19 51.25 
#19 51.25 note: This is an issue with the package mentioned above, not pip.
Other versions of gamechangerml that fails: Version Reason
v1.8.0 Package version conflict (1)
v2.0.0 Package version conflict (2)

(1) --- v1.8.0

#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

(2) --- v2.0.0

#19 322.2 Collecting awscli==1.27.53 (from gamechangerml@ git+https://github.com/dod-advana/gamechanger-ml.git@v2.0.0->-r /tmp/requirements.txt (line 38))
#19 322.3   Downloading awscli-1.27.53-py3-none-any.whl (4.0 MB)
#19 322.5      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 15.3 MB/s eta 0:00:00
#19 322.7 INFO: pip is looking at multiple versions of gamechangerml to determine which version is compatible with other requirements. This could take a while.
#19 322.7 ERROR: Cannot install -r /tmp/requirements.txt (line 38) and boto3==1.15.18 because these package versions have conflicting dependencies.
#19 322.7 
#19 322.7 The conflict is caused by:
#19 322.7     The user requested boto3==1.15.18
#19 322.7     gamechangerml 1.10.0 depends on boto3~=1.26.50