Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Regarding the reinstallation of the dependencies #204

Open
rohitalate opened this issue Nov 2, 2020 · 3 comments
Open

Regarding the reinstallation of the dependencies #204

rohitalate opened this issue Nov 2, 2020 · 3 comments

Comments

@rohitalate
Copy link

Hello Team,

Currently I am tiring to understand the Uptane framework. I am able to run the DEMO successfully with the help of your README file.
thanks for the keeping it more easy to understand document.
But I am not able to understand why we need to reinstall the dependencies even if I just update print statement in the code.
pip install --force-reinstall -r dev-requirements.txt

So I am new at this things, Kindly help me here to understand this thing.

Thanks In Advance

@lukpueh
Copy link
Collaborator

lukpueh commented Nov 2, 2020

Based on the docs, I would say that without --force-reinstall any updates in @awwad's uptane-tailored tuf fork wouldn't get pulled in, if tuf was already installed.

@rohitalate
Copy link
Author

Hello lukpueh,

Thanks for your quick response. I got the idea
But if possible can you please elaborate more. why it is required each time.
ex : if I update just print statement in the code . then again I need to reinstall the dev-requirements. why its mandatory ?

@lukpueh
Copy link
Collaborator

lukpueh commented Nov 3, 2020

But if possible can you please elaborate more. why it is required each time.
ex : if I update just print statement in the code . then again I need to reinstall the dev-requirements. why its mandatory ?

No no, that's not necessary. :) You only need to use --force-reinstall if you want to update dependencies in dev-requirements.txt, more specifically the awwad/tuf dependency.

Note that this is only a crutch during development, as long as awwad/tuf is being installed from GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants