awslabs / mlmax

Example templates for the delivery of custom ML solutions to production so you can get started quickly without having to make too many design choices.
https://mlmax.readthedocs.io/en/latest/
Apache License 2.0
66 stars 19 forks source link

Github Workflow Test Error #87

Closed yapweiyih closed 3 years ago

yapweiyih commented 3 years ago

🐛 Bug report

Describe the bug

After pull request, github automated job workflow staled at test stage.

To reproduce

Create a pull request/push new code change to trigger github workflow.

Error message:

Run tox -e pytest tox -e pytest shell: /usr/bin/bash -e {0} env: pythonLocation: /opt/hostedtoolcache/Python/3.7.11/x64 GLOB sdist-make: /home/runner/work/uc-mlmax/uc-mlmax/setup.py pytest create: /home/runner/work/uc-mlmax/uc-mlmax/.tox/pytest pytest installdeps: -rrequirements.txt

Expected behavior

Both lint and test jobs to complete successfully.

System information

Proposed Solution

Include specific python package version in top level directoryrequirements.txt.

sagemaker[local]>=2.22.0 boto3>=1.9.213 pyyaml==5.4.1 stepfunctions>=2.0.0 fsspec==2021.8.1 s3fs==2021.8.1 scikit-learn==0.20.0 matplotlib==3.4.3 pandas==1.3.2 pytest==6.2.5 datatest==0.11.1 pytest-cov==2.12.1 numpy==1.21.2 loguru==0.5.3

josiahdavis commented 3 years ago

Thanks for raising the issue @yapweiyih. This should be fixed for new PRs now. See e.g., https://github.com/awslabs/mlmax/actions/runs/1242494324