* Encoding parameter is removed. UTF-8 is used always. [0]
* strict_map_key is changed to False to keep the older behaviour.
Default is changed to True in 1.0.0
Signed-off-by: Manu B <manu.b@est.tech>
[0]: https://github.com/msgpack/msgpack-python#major-breaking-changes-in-msgpack-10
Change-Id: I0e5902c4b13ab11f45f44bb9d9d9540d9630c9bb
The os_ken/services/protocols/bgp/api/jsonrpc.py module was using
os_ken/app and os_ken app is the only one which was using tinyrpc lib.
Modules under os_ken/app except os_ken/app/ofctl are not used in neutron
and neutron-dynamic-routing so lets drop them from the code.
With that we can also drop tinyrpc from the requirements file at all.
Task: #41912
Story: #2008648
Change-Id: Ic35d1f7ee4112bc5cf16fee3d828534ded26ce7f
The summary of changes in lower-constraints.txt are as below.
* Address version mismatch of eventlet in requirements.txt and
lower-constraints.txt. eventlet 0.21.0 is blocked in
global-requirements.txt, so the min version is set to 0.22.0.
* pytz version in l-c is bumped to satisfy Babel requirement.
* Update the min version of msgpack to 0.5.0 as 0.3.0 is not
available in PyPI. msgpack-python is dropped as it is not used.
* Drop linter-specific entries from lower-constraints.txt
* hacking in l-c is updated to match the version in test-requirements.
I also ran requirements-check script locally and detected
a lot of inconsistencies in requirements related files in os-ken.
Errors detected by the script are fixed in this commit too.
NOTE: The above inconsistencies were not detected mainly because
we don't have requirements-check job in os-ken CI.
Perhaps it is due to 'tinyrpc' which is not included in g-r.
It is better to enable requirements-check job in os-ken CI,
but we need to add tinyrpc to global-requirements.txt or drop
tinyrpc dependencies (for example, by dropping os-ken/app
as tinyrpc is used only in os-ken/app).
Change-Id: I19617aee765f9086fbfdb67fb17839b83d9df48c
Bump lower-constraints to versions supporting python 3.8 and with wheels
available and sync requirements
Bump hacking to 3.2.0 in order to work with Focal, disabling W504
to align with neutron and F405 (similar F403 is already disabled and it
needs a large fix)
Change-Id: I6b6329b2bb7a117f7426fdd63186d321290d9b67
These translation sections are not needed anymore, Babel can
generate translation files without them.
Remove babel.cfg as well, this is the default role and not needed
anymore.
also remove Babel from requirements[1]
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html
Change-Id: I073d3d7e2f2e8a4f06c17541a0f4d4fedcaed2dc
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I03172d63f61cba012ec4f85b20106744c9c24a1c
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I2e87016e0dbabf0e5c2b6f05b8b3a2e0d026e20c
Since the oslosphinx repo is being retired, remove the only remaining
reference to it in os-ken, which is in lower-constraints.txt.
Change-Id: Id646ba262d97700b4fd0d5d25c23568cbbb4e647
Update the lower constraint for appdirs, similarly to how it has been
done in other repos.
Whitelist pep8 error E113. This is the "unexpected indent" error. This
module uses C-style comment blocks pervasively, things like:
OFPP_IN_PORT = 0xfff8 # Send the packet out the input port. This
# virtual port must be explicitly used
# in order to send back out of the input
# port.
OFPP_TABLE = 0xfff9 # Perform actions in flow table.
# NB: This can only be the destination
# port for packet-out messages.
OFPP_NORMAL = 0xfffa # Process with normal L2/L3 switching.
For the lines above the ones that have an indented comment with no code
to the left would get E113 with a recent change to a less permissive
policy. It would cause over 260 changes to comment strings, destroying
the consistency of comment style, to make that change. Therefore,
blacklist that pycodestyle error.
Change-Id: I6d2f463b50551f32bce863aa7dc0c70ad3054cbd
Story: #2005142