platforms icon indicating copy to clipboard operation
platforms copied to clipboard

[python] feature: upgrade packages when deploying

Open lucasts opened this issue 8 years ago • 4 comments

enable pip to upgrade packages which changed since last deploy. also, will avoid cleaning up app's images manually

  • Warning *

This can lead to problems to apps careless about their packages versions.

lucasts avatar Aug 02 '17 14:08 lucasts

LGTM but would like to have more opnions regarding the point mentioned in the warning. In my opnion we should favor users that follow the best practices (those would not have problems, if I understood correctly).

andrestc avatar Aug 02 '17 14:08 andrestc

@andrestc agreed. Tsuru servers admins can choose to warn users about this change and allow them some time to check and update their requirements/setup if necessary.

lucasts avatar Aug 02 '17 14:08 lucasts

I agree. Correct if I'm wrong, but if someone run into problems with this, he can fix it by setting specific dependency versions in requirements.txt.

ggarnier avatar Aug 07 '17 18:08 ggarnier

@ggarnier that's correct.

lucasts avatar Aug 07 '17 19:08 lucasts