An etcd3 grpc-gateway v3 API Python client
Go to file
John Eckersberg 714d366b97 Allow override of api path via ETCD3GW_API_PATH envvar
Per https://etcd.io/docs/v3.5/dev-guide/api_grpc_gateway/:

    etcd v3.5 or later uses only [CLIENT-URL]/v3/*.

Due to this, running the tests against etcd >= 3.5 will fail, since we
use /v3alpha/ by default for backward compatibility.

This change allows running the tests successfully against a newer etcd
by passing the environment through tox like so:

$ ETCD3GW_API_PATH=/v3/ TOX_TESTENV_PASSENV=ETCD3GW_API_PATH tox -epy311
[snip]
  py311: commands succeeded
  congratulations :)

Change-Id: If0bbe5bb9dd3dd3f3e1ed79e354be582568950ce
2023-01-30 20:35:38 -05:00
doc remove unicode in code 2021-02-09 19:24:20 +00:00
etcd3gw Allow override of api path via ETCD3GW_API_PATH envvar 2023-01-30 20:35:38 -05:00
releasenotes Pass api_path thru etcd3gw.client 2022-08-19 08:30:55 -07:00
.coveragerc Skip tests and examples for coverage 2017-03-25 13:10:40 -04:00
.gitignore Add py38-etcd tox env 2022-02-02 17:37:18 +02:00
.gitreview Fix .gitreview file 2020-10-25 14:49:27 +00:00
.mailmap Initial Cookiecutter Commit. 2017-03-24 13:37:10 -04:00
.testr.conf Initial Cookiecutter Commit. 2017-03-24 13:37:10 -04:00
.zuul.yaml Drop python3.6/3.7 support in testing runtime 2022-05-23 11:53:30 +02:00
babel.cfg Initial Cookiecutter Commit. 2017-03-24 13:37:10 -04:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2017-03-24 13:37:10 -04:00
HACKING.rst Initial Cookiecutter Commit. 2017-03-24 13:37:10 -04:00
LICENSE Initial Cookiecutter Commit. 2017-03-24 13:37:10 -04:00
README.md Make API path configurable 2020-07-23 09:03:06 -04:00
requirements.txt Remove six 2022-03-22 12:44:04 +00:00
setup-etcd-env.sh Update etcd version, add py36 2017-08-30 10:19:30 -04:00
setup.cfg Drop python3.6/3.7 support in testing runtime 2022-05-23 11:53:30 +02:00
setup.py prep for next rev 2017-03-27 10:40:25 -04:00
test-requirements.txt Use unittest.mock instead of mock 2021-02-09 20:27:05 +01:00
tox.ini Merge "Add py38-etcd tox env" 2022-07-05 15:00:39 +00:00

etcd3 gateway Python Client

Build Status PyPI version codecov pypi status pypi supported versions

A python client for etcd3 grpc-gateway v3 API