summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Rabotyagov <dmitriy.rabotyagov@citynetwork.eu>2022-11-24 16:39:21 +0100
committerDmitriy Rabotyagov <dmitriy.rabotyagov@citynetwork.eu>2022-11-30 18:16:48 +0100
commit7d50893625bd88d31c181a1c1c6f730ed64c4b3d (patch)
tree50d1a0b096660f99c65016c7df53190d25cbcc6c
parent0c145b4567d3b97334ce0a8a2c289403e77b5bbf (diff)
downloadtooz-7d50893625bd88d31c181a1c1c6f730ed64c4b3d.tar.gz
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
-rw-r--r--doc/requirements.txt2
-rw-r--r--tox.ini2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index c4535d5..68d8053 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -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
diff --git a/tox.ini b/tox.ini
index b0629fc..4e25e0c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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