python-etcd icon indicating copy to clipboard operation
python-etcd copied to clipboard

can python-etcd support ectd api v3?

Open wubin0605 opened this issue 7 years ago • 4 comments

wubin0605 avatar Oct 31 '17 08:10 wubin0605

This would be awesome, any plans or updates? Can anyone recommend some mature python etcd client library?

dohnto avatar Jan 02 '19 13:01 dohnto

This would be awesome, any plans or updates? Can anyone recommend some mature python etcd client library?

@dohnto https://github.com/kragniz/python-etcd3

ahmedbilal avatar Jan 28 '20 15:01 ahmedbilal

I think it's better to mention it in the documentation. It took me a while to figure out this package doesn't support api v3.

This version of python-etcd will only work correctly with the etcd server version 2.0.x or later. If you are running an older version of etcd, please use python-etcd 0.3.3 or earlier.

guihao-liang avatar Jul 27 '20 22:07 guihao-liang

found the reason why it doesn't work with etcd-3.4:

Make etcd --enable-v2=false default etcd --enable-v2=false is now the default.

This client only works with v2 api.

guihao-liang avatar Jul 28 '20 15:07 guihao-liang