Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retail version does not match the doc #10762

Closed
vitor-l opened this issue Oct 6, 2023 · 5 comments
Closed

Retail version does not match the doc #10762

vitor-l opened this issue Oct 6, 2023 · 5 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@vitor-l
Copy link

vitor-l commented Oct 6, 2023

Environment details

  • Programming language: Elixir
  • OS: Linux
  • Language runtime version: Elixir 1.14.4 (compiled with Erlang/OTP 25)
  • Package version: (that is the problem)

Steps to reproduce

  1. Try to install :google_api_retail in 0.8 version

Hello! I'm trying to install the recommended version of the :google_api_retail (https://github.com/googleapis/elixir-google-api/blob/main/clients/retail/README.md#googleapiretail), but it can't be installed.

> mix deps.get

Resolving Hex dependencies...
Resolution completed in 0.057s
Because your app depends on google_api_retail ~> 0.8 which doesn't match any versions, version solving failed.
** (Mix) Hex dependency resolution failed

So, I checked the Hex doc and the latest available version is 0.7.0 (https://hexdocs.pm/google_api_retail/api-reference.html).

The problem is: I need the latest version to use some functions, like retail_projects_locations_catalogs_branches_products_add_local_inventories

Can someone help me?

@vitor-l vitor-l added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Oct 6, 2023
@felipe-rodrigues1
Copy link

I have the same issue. I tried to install recommended version of google_api_retail but was not able to. Any solutions?

@alves-raphael
Copy link

Same problem here.

@KaduMoura
Copy link

same here...

folks, can u help us?

@dazuma @chingor13 @stefanluptak @bshaffer @JustinBeckwith @jaegerpicker @milmazz

thanks in advance!

@stefanluptak
Copy link
Contributor

When I do mix hex.info google_api_retail I get this response:

# mix hex.info google_api_retail                                                                                                                               ─╯
Retail API client library. Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.

Config: {:google_api_retail, "~> 0.7.0"}
Releases: 0.7.0, 0.6.1, 0.6.0, 0.5.0, 0.4.0, 0.3.1, 0.3.0, 0.2.1

Licenses: Apache 2.0
Links:
  GitHub: https://github.com/googleapis/elixir-google-api/tree/master/clients/retail
  Homepage: https://cloud.google.com/recommendations

Apparently, the 0.8.0 version was not released yet, but you can use the GitHub directly by putting this
{:google_api_retail, github: "googleapis/elixir-google-api", sparse: "clients/retail"} into your mix.exs file deps section.

@vitor-l
Copy link
Author

vitor-l commented Nov 30, 2023

@stefanluptak, thanks for answering.

I think that will work, but the hex doc kinda misleads the user. Of course this is not a serious problem, I just wanted to warn you that there was probably a missing deployment.

Anyway, thanks for the help! 😄

@vitor-l vitor-l closed this as completed Nov 30, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

5 participants