Loosen protobuf version that's used for docs/renos

protobuf package is present in upper-constraints, thus should not be
specified in requirements to version that is smaller that one on u-c,
otherwise pip will fail due to conflict between requirements and
constraints.
We do that only for docs and releasenotes, since used workaround
decreases performance.

The issue is mainly raised by etcd3 module that we rely on, so not
to affect runtime things a left as is for now.

Change-Id: Ieeba8d53a8311ed6cc228f444c831d148ee29025
This commit is contained in:
Dmitriy Rabotyagov 2022-11-24 16:39:21 +01:00
parent 0c145b4567
commit 7d50893625
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ requests>=2.10.0 # Apache-2.0
## etcd3
etcd3>=0.12.0 # Apache-2.0
grpcio>=1.18.0
protobuf<4.0 # BSD License (3 clause)
protobuf # BSD License (3 clause)
## etcd3gw
etcd3gw!=0.2.6,>=0.1.0 # Apache-2.0
## zake

View File

@ -55,6 +55,8 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
setenv = {[testenv]setenv}
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html