-
Notifications
You must be signed in to change notification settings - Fork 822
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
After upgrading patroni to 1.4.4 getting error ContextualVersionConflict on starting patroni #693
Comments
Hmm, that's interesting. |
@CyberDem0n - Just to add |
This is not something that we have an influence on. One day ago The only possible solution would be to require absolutely the same versions of The only we can do is to wait for a new release of |
@CyberDem0n that does not sound like an satisfying answer, do we have a broken Docker image and can't do anything about it? I would not close this bug in that case.. |
@hjacobs @CyberDem0n - I cannot reopen this. If you feel this needs to be reopened, you can. |
I'm running into this issue as well. This is an issue in Patroni for not locking dependency versions properly. Please assess https://github.com/pypa/pipenv, it is very helpful for this purpose. |
I'm reopening this issue as new comments from @debraj-manna and @c4milo indicate that the issue is not resolved yet. |
As I already explained, From our side, I don't see any single reason to limit maximum versions for neither We can't live with very old versions either, because our goal is to be able to run Patroni with the least possible amount of external dependencies. Ideally all dependencies should be installed from packages of your favorite distro. The latest Debian and Ubuntu actually allow this. Moreover, they provide Patroni package! And actually talking about weird dependency system in python. I am really surprised that nobody yet complained about >>> import psycopg2
/home/akukushkin/git/patroni/vpy31/lib/python3.5/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>. The funny thing is, Anyway, |
@CyberDem0n, FWIW, breakages accidentally introduced by upstream dependencies will keep happening unless dependencies are properly locked. It's a widely accepted best practice to lock down dependencies. Example: https://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/ |
I am trying to upgrade patroni to 1.4.4 from 1.3.6. After upgrade and starting patroni I was seeing the below error
To get around this I have to to the following
Is this expected?
The text was updated successfully, but these errors were encountered: