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

Weird circle-dependencies to install backend 1.0.0.23 #47

Open
hexarotor6 opened this issue Jun 24, 2022 · 6 comments
Open

Weird circle-dependencies to install backend 1.0.0.23 #47

hexarotor6 opened this issue Jun 24, 2022 · 6 comments
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@hexarotor6
Copy link

I had to install the following components in this order, till I was able to finally install backend:

pip install movai_core_shared-1.0.0.9-py3-none-any.whl 
pip install dal-1.0.0.26-py3-none-any.whl 
pip install gd_node-1.0.0.8-py3-none-any.whl

pip install movai_core_shared-1.0.0.10-py3-none-any.whl 
pip install dal-1.0.0.29-py3-none-any.whl 
pip install backend-1.0.0.23-py3-none-any.whl 

Maybe make dependencies versions to be >= instead of == ?

@Mograbi
Copy link
Contributor

Mograbi commented Jun 26, 2022

@hexarotor6
movai_core_shared does not depend on dal or backend (current version shared==1.0.0.10)
dal depends on movai_core_shared (current version dal==1.0.0.29)
backend depends on dal and gd_node (current version backend==1.0.0.23)
gd_node depends on dal (current version gd_node 1.0.0.9)

backend ------> |- gd_node ---> dal -------> movai_core_shared
                |- dal

so in order to install backend, you only need to install backend and the dependencies should be resolved automatically.
hence, installing backend should install gd_node, dal and movai_core_shared

no need to install shared, dal and gd_node manually.

@hexarotor6
Copy link
Author

what is the suggested way of installing backend such that dependencies are installed automatically?

@hexarotor6
Copy link
Author

hexarotor6 commented Jun 27, 2022

Regarding your answer:
movai_core 1.0.0.10 installs fine . does not depend on dal/gd_node . Correct.
dal 1.0.0.29 installs ok after installing movai_core 1.0.0.10
gd_node 1.0.0.9 installs ok after installing dal 1.0.0.29
backend 1.0.0.23 does not install ok . it needs gd_node 1.0.0.8

now

  1. backend 1.0.0.23 needs gd_node 1.0.0.8, that needs dal 1.0.0.26, that needs movai_core 1.0.0.9
  2. backend 1.0.0.23 needs dal 1.0.0.29 per se.

So in conclusion
backend 1.0.0.23 needs both dal 1.0.0.29 AND 1.0.0.26 installed.

@hexarotor6
Copy link
Author

hexarotor6 commented Jun 27, 2022

backend 1.0.0.23 ------> |- gd_node 1.0.0.8 ---> dal 1.0.0.26 -------> movai_core_shared 1.0.0.9
                         |- dal 1.0.0.29 ---> movai_core_shared 1.0.0.10

@Mograbi
Copy link
Contributor

Mograbi commented Jun 27, 2022

ok, you are right
backend should require gd_node 1.0.0.9 and not 1.0.0.8, I will fix that
regarding installing dependencies I think @AlexFernandes-MOVAI can help more here.

@hexarotor6
Copy link
Author

that's great! the readme can then be updated, accordingly !

@Mograbi Mograbi added the dependencies Pull requests that update a dependency file label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

5 participants