The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Remove hacking and friends from lower-constraints, they are not needed
there at all.
Align lower-constraints for new pip [1]
Fix flake8 E305 and E117 and set W504 as ignored
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019285.html
Change-Id: Idae87291f4556eee77d40ab49f0d151435d70875
- Set as voting:
build-monasca-docker-image
- Bringing back the Docker publish jobs which were temporarily
disabled [1]
[1] db01fe425b
Change-Id: I6892059b122cd5ec84edd41fc55a6aa2ea6267a9
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I0cc7070c971a15873e008a2c6937ce5ac6d24ffa
Sem-Ver: feature
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.
Bump netaddr to 0.7.20 in lower-constraints.txt
since it is the min version with py3.8 support [2]
Bump psycopg2 to 2.8.4 in lower-constraints.txt
since it is the min version with py3.8 support [3]
Story: #2007865
Task: #40197
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
[2] cc2a9bb31f
[3] https://pypi.org/project/psycopg2/2.8.4/
Change-Id: I736f141b53d5fb985e5deaa5d77c552ebad6fccd
We change the default value of kafka.legacy_kafka_client_enabled from
True to False. The use of new Confluent Kafka client is recommended.
Change-Id: Ie6a15474ebc1f04b8555ee44d413c19ee26a9227
Story: 2007924
Task: 40339
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: Ib7c9cca06dcfe14440ab9711cc0b76a5b4fe4e1c
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.
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.
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: Ib09fb7435a88f15147befd4448279d5b82bd3fcc
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.
Change-Id: Ifb722ab5e744b645d85f6adf3ed471694c115e07
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I99097f959d314f4a7867463d41a9c5a8817fd06b
Sem-Ver: feature
This was marked for removal after the Pike release.
Updating Docker file is leftover and will done in a separate change.
Story: 2003180
Task: 23326
Change-Id: I583eab7b3ea2efd5d9bcd3ef433e68b49684e343
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I380f25044c8f7b496d485aabf09215468f955818
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Additionally, temporarily set build-monasca-docker-image as non-voting
due to problems with buggy confluent-kafka 1.4.0 release, which prevents
building the Docker image.
Change-Id: I561ea633a09eb3d7468d2d55aa46d6fb3b2380ff
Story: 2007549
Task: 39390
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: Ic79312278978ecb5d93386fa9f4261be037611ed
YAML configuration support has been deprecated and will be removed. We
don't need this option for starting the service.
Depends-On: https://review.opendev.org/709389
Change-Id: I6d473d54a97abfb91e73c0e47cd7536639bb14e2
Story: 2007318
Task: 38827
In some cases, users may want to send periodic notifications for
notification types other than webhooks.
Story: 2006837
Task: 37412
Change-Id: Icd1b12f4b1e452f8285b8402f49815dd7f72b1ea
- Removes the hard-coded magic number of 60 seconds allowing users to
choose the period that they require.
- Standardise on strings for DictOpt dict keys. When loaded from a config
file, the DictOpt keys are parsed as strings, which was conflicting with
the default integer dict keys. This caused the periodic engine to silently
fail to load when configured via a config file.
- Remove unused variable
Story: 2006783
Task: 37313
Change-Id: Ibd61c45fc1ade37022150d34a5b00c56fdf69814
There can be lot of possibility for IPv6 address with port,
for example [::1]:80 or [2001:db8:85a3::8a2e:370]:7334.
Parsing that in more standard way is provided by oslo_uilts.netutils
parse_host_port() method[1].
Story: #2006309
Task: #36030
[1] 1b8bafb391/oslo_utils/netutils.py (L37)
Change-Id: Ie7a3bd3074c02430c754deaebfde6d174563b31e
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: Ia8c60dfacd03a3e1aa983ae8ea9ca2eeb452a463
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: Ie58e7483fd008273df76927ad0864548c75a98bf
Sem-Ver: feature
The change introduces the possibility to run the persister with the new
confluent-kafka client. It has to be enabled in the configuration file.
Story: 2003705
Task: 35858
Depends-On: https://review.opendev.org/675297
Change-Id: I8d9e173e9a252712fb285c0676c26334e1f677a7