etcd3gw/etcd3gw
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
..
examples Use time.perf_counter instead of time.clock that was removed in Python 3.8 2020-05-07 09:12:02 -04:00
tests Allow override of api path via ETCD3GW_API_PATH envvar 2023-01-30 20:35:38 -05:00
__init__.py Better UX - similar to python-etcd3 2017-03-28 15:48:34 -04:00
client.py Allow override of api path via ETCD3GW_API_PATH envvar 2023-01-30 20:35:38 -05:00
exceptions.py Fix exception signature 2019-09-17 22:33:08 -04:00
lease.py Handle refreshing of expired lease. 2022-07-05 13:34:17 +00:00
lock.py Remove six 2022-03-22 12:44:04 +00:00
utils.py Remove six 2022-03-22 12:44:04 +00:00
watch.py watch: Avoid double-decoding in python3 2021-11-11 12:22:15 -05:00