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: I8acfdac6b3d8f0fed45c07462144a85cfc39a6d7
Sem-Ver: feature
Bump kazoo version to 2.6.0 that supports SSL.
Allow to configure ssl config options via conf
* keyfile
* keyfile_password
* certfile
* use_ssl
* verify_certs
https://kazoo.readthedocs.io/en/latest/api/client.html#kazoo.client.KazooClient
This should be done in conformance with Redis
jobboard backend, that already allows SSL settings.
Change-Id: Ic2670c3c4caa93f69bc2d541c3701df2b6037d2e
The networkx 2.x series has been out for two years now and supports
python 3.6 and greater[1]. This patch updates TaskFlow to require
a minimum of networkx 2.1. It also updates the code to support
recent deprecation expiration introduced in the 2.4 release.
[1] https://networkx.github.io/documentation/stable/news.html
Change-Id: Ife31d353ba80824ebc63c8b21ee90943badc8da3
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: I8e3ba13869a4b4a2f178e362982e8b8026cc9a36
Sem-Ver: feature
The "digestmod" parameter must be passed in for Python 3.8.
md5 was chosen here because this is what was implicitly used
for Python < 3.8.
Change-Id: I17eca0692c4a89ff90cfa9d4ef3947d2c9ee23e7
With a lot of possible retries using mysql sa.Text for result field
atomdetails table is not enough.
Updated 'results' column type to LONGTEXT in mysql backend case.
PosgreSQL seems not to be affected as postgres text type is not
having length limitation.
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I4e44e3288ae49d85c5b5ce8ff26ba83f3b9d2c7b
Closes-bug: #1838015
As it was announced [1] global bindep-fallback.txt was removed and now
projects need to have a local bindep.txt to be able to install binary
dependencies for testing.
In test jobs the script tools/test-setup.sh is called which requires
mysql and postgres servers and clients to be installed.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html
Change-Id: I08797a99c7ba019a4b2dd640a83f45fea8e589bd
Sphinx 2.0 no longer works on python 2.7, so we need to start capping it
there. We remove Sphinx and doc8 from the 'test-requirements.txt' file
and '[extra] test' section in 'setup.cfg' since none of our tests
actually use this. Finally, we remove a number of dependencies from
'doc/requirements.txt' since these were already specified in
'test-requirements.txt' and we install these as part of the tox target.
Change-Id: I3981f47f4278f726e3c078723f90d4b9ba1699a6
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
The file is not used anymore, remove it.
The last usage of the file was removed in
I4dae402fe37015f0f512d5e9a6426d5f39526347.
Remove also some variables from tox.ini that were used for tox_install
in the past.
Change-Id: I5797efabe1e32df0ad53513400288bd26f833315
The use of ABC classes directly from collections has been deprecated in
3.x versions of Python. The direction is to use the classes defined in
collections.abc. Python 2.7 does not have this, but Python 3.8 will be
dropping the backwards compatibility to use the old location.
Six also does not have support for this yet, so in the mean time to make
sure we don't run into issues as folks try to move to 3.8, and to get
rid of deprecation warnings in logs, this handles importing from the
preferred location and falls back if it not available.
Change-Id: I15554bf3c109045ebdc237ce7cb40299f5d1b298
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
We have jsonschema capped at a fairly old version. Other than some
specific releases, it looks like keeping it below 3.0 was added in
I943fd68b9fab3bce1764305a5058df5339470757 without really any explanation
why.
In order to update to a 3.x release we need to:
1. Remove the cap from global-requirements.txt (see Depends-On), leaving
upper-constraints.txt at a 2.x release
2. Remove the cap from all consumers (this change)
3. Release a new version of consumers that are published to pypi
4. Update upper-constraints.txt with those new releases
5. Update jsonschema in upper-constraints.txt to a 3.X release
(See: https://review.openstack.org/649789)
6. Test consumers with the change from 5.
7. [Optional] fix issues in consumers that arise from 6.
8. Merge the change from 5.
Also includes squashed commit:
Raise lower constraint of psycopg2
Versions prior to 3.7 did not support postgresql version numbering
starting with postgresql 10, causing setup failures. This raises the
lower-constraint to the first version that contained the fix [0] to
support that.
With the change in global requirements for jsonschema, requirements
check fails on raising psycopg2, but we need that raised in order for
the jsonschema version to be raised.
[0] https://github.com/psycopg/psycopg2/pull/504
Also required updating networkx constraints to match current g-r.
Change-Id: Ifd0f0586f945d1da4dd597ae7b4514117cd49f57
Co-Authored-by: Sean McGinnis <sean.mcginnis@gmail.com>
Depends-On: https://review.openstack.org/649669
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: I6186ef1c26e6bd744caed0a1abfaf7cc77db3946
Sem-Ver: feature
stestr is a test requirements for taskflow; drop from
requirements.txt and add to test requirements target
in setup.cfg.
Change-Id: Id74eba0c02f482f96efb37b2975ada400794d88e
The autodoc_default_flags option is now deprecated.[1] This warning can
cause documentation build failed. use autodoc_default_options instead.
[1]https://github.com/matplotlib/matplotlib/pull/11928
Change-Id: I6ba69ca7361fd0e42b322f1b92fe22b952a13321
Use openstack-tox-cover template, this runs the cover job
in the check queue only.
Use openstack-lower-constraints-jobs template
Remove jobs that are part of the templates.
Sort list of templates.
Change-Id: Ie7971023eed04f6479c05c1d2a1dfd2a948b07e1
There is a wrong use ' here, which causes the document
to make errors when copying the code for
experimentation.
Change-Id: I3ae19f591ffd668bcd1563bd1e317b21b799dba6
KazooClient should use the taskflow logger and not the default one.
Using the default logger means that the user cannot control its
log level
Change-Id: Id9549028522955ece0ae9f675c5ecc1c2fd816de
Closes-Bug: #1785036
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: If32dc1672c3d7365e6da8eb869fb5590497dbfbd
Story: #2002586
Task: #24322
Move the dependency out of tox.ini and into requirements.txt where it
can be managed properly.
Depends-On: https://review.openstack.org/590103
Change-Id: Ic69a4c5beb1aed2e49d2f767cb46c324fe0df0f5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ifb81d077390a2d8185c27da418098449cd2e483e
Story: #2003250
We need to use pydot rather than pydot3 because
of a broken version comparison in networkx, where it rejects
the lower version number of pydot3.
Without this patch the taskflow unit tests which use dot for
rendering graphics are no longer runnable.
Change-Id: I676e4d76627b3ecd0e4a9b896b2b93d652ebb25d
With the release of NetworkX 2.0 the reporting API was
moved to view/iterator model. Many methods were moved from
reporting lists or dicts to iterating over the information.
Methods that used to return containers now return views and
methods that returned iterators have been removed in networkx.
Because of this change in NetworkX 2.0 , taskflow code
have to be changed also to support networkx > 2.0
Change-Id: I23c226f37bd85c1e38039fbcb302a2d0de49f333
Closes-Bug: #1778115