avast / wanna-ml

Complete MLOps framework for Vertex-AI
MIT License
17 stars 3 forks source link

fix: updated the update message #100

Closed racinmat closed 10 months ago

racinmat commented 10 months ago

Describe your changes

If you have wrong version of the package, wanna-ml provides misleading information about upgrading.

wanna version
ℹ WANNA GCP access allowed
ℹ WANNA cloud build access is enabled
ℹ WANNA remote validation is enabled
❌ Installed version is 0.2.35, the latest version is 0.2.36
ℹ If you used `pipx` to install WANNA CLI, use the following command:

pipx upgrade wanna

Otherwise, use `pip install --upgrade wanna.cli`(exact command will depend on your environment).

Now it should write

ℹ If you used `pipx` to install WANNA CLI, use the following command:

pipx upgrade wanna-ml

Otherwise, use `pip install --upgrade wanna-ml`(exact command will depend on your environment).

Issue ticket number and link

Checklist before requesting a review

codecov-commenter commented 10 months ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (4e3121e) 74.42% compared to head (77faf32) 74.42%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #100 +/- ## ======================================= Coverage 74.42% 74.42% ======================================= Files 57 57 Lines 2839 2839 ======================================= Hits 2113 2113 Misses 726 726 ``` | [Files Changed](https://app.codecov.io/gh/avast/wanna-ml/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=avast) | Coverage Δ | | |---|---|---| | [src/wanna/cli/version.py](https://app.codecov.io/gh/avast/wanna-ml/pull/100?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=avast#diff-c3JjL3dhbm5hL2NsaS92ZXJzaW9uLnB5) | `39.13% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.