| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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: Ib169e3deb7ddb2bc93a206ebec4043552281aa7f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduced changes:
- pre-commit config and rules.
- Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
- Applying fixes for pre-commit compliance in all code.
Also commit hash will be used instead of version tags in pre-commit to
prevend arbitrary code from running in developer's machines.
pre-commit will be used to:
- trailing whitespace;
- Replaces or checks mixed line ending (mixed-line-ending);
- Forbid files which have a UTF-8 byte-order marker
(check-byte-order-marker);
- Checks that non-binary executables have a proper
shebang (check-executables-have-shebangs);
- Check for files that contain merge conflict strings
(check-merge-conflict);
- Check for debugger imports and py37+ breakpoint()
calls in python source (debug-statements);
- Attempts to load all yaml files to verify syntax (check-yaml);
- Run flake8 checks (flake8) (local)
For further details about tests please refer to:
https://github.com/pre-commit/pre-commit-hooks
Change-Id: I3640bb690c552a428ae0e8250adffbc3a51a310e
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.
Story: #2007865
Task: #40207
Closes-Bug: #1886298
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>
Change-Id: I18419ce93363fbf2eed174e81ed212ddae216b8c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenStack is dropping the py2.7 support in ussuri cycle.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Remove cruft from setup.cfg.
Update hacking so that it works with python3 and silence new warnings.
Change-Id: Id224fc09ac36d2a84e82347530bb5e5d30665803
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Depends-On: https://review.openstack.org/#/c/589728/
Change-Id: I943a73e22eb23bd52c3a96e75c98b88665474e67
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Duplicate the dependencies that are listed in extras and place them in
a test-requirements.txt file so we can install them using the
constraints list.
In order to add the new requirements file, we have to make the constraints
and requirements match each other and the global settings.
Change-Id: I4dae402fe37015f0f512d5e9a6426d5f39526347
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
| |
This makes sure we install the correct and only the correct dependencies
when installing taskflow, based on the driver one wants to use.
Change-Id: Id40f73412c76a16152b9a2f853ef9cbbd9e9e231
|
|
|
|
| |
Change-Id: I8bc526a62315199f0c8ef39bd268c2e4899ef250
|
|
|
|
| |
Change-Id: I5bd2c5107d9dc80315e9ea49b4da1a68b209c1c0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Depends-On: Ia633ccd1dca94f70b05ae4376a1c3a3f252a9923
Related-Bug: #1561656
Change-Id: I930a1ee9c1d17a12328d920bbe02ea0b77947295
|
| |
| |
| |
| | |
Change-Id: I30d06823ef262fc1d8aac243047b1edeb76fce98
|
|/
|
|
| |
Change-Id: I4d591d6ac13bf74a5d24e7bf64a9411ebaaa978b
|
|
|
|
| |
Change-Id: I0c387fab2337a11b9784a23a06e78012a8827520
|
|
|
|
| |
Change-Id: I056f334614e0f0a518b9110f861dd65acf9e7ea7
|
|
|
|
| |
Change-Id: I4c2e2630e457fccc9f2984c2e47fe865b901f2d4
|
|
|
|
| |
Change-Id: Ic12b1448aa05f17e35ac21c0a3f347f9c9d0f5bf
|
|
|
|
| |
Change-Id: I0f34ed3ffc9c782fea38c4522f2ca34d985024ea
|
|
|
|
| |
Change-Id: I8638e9edb46a781e435d136e1b3520cef8366bb1
|
|
|
|
| |
Change-Id: Ieda529943850ae3a9554d80a6dd4a1549e230c8e
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ie01ea85e74f1daed6bfa5158c0faa476d06873ba
|
|/
|
|
| |
Change-Id: I0cdda30829cf5bef6529c81948511137ca98b01f
|
|
|
|
| |
Change-Id: I83143a099a633f6b79d23fabc45d96d881a2fd35
|
|
|
|
| |
Change-Id: I8cc17030b5feff7c51bfca38c1d658fb54c39524
|
|
|
|
| |
Change-Id: Ib758b1fa69948a417595e2b2f5c6c737ed8a3b8b
|
|
|
|
| |
Change-Id: I3574313f90c1dcf69c2cdc4fa78caf0e91993b1d
|
|
|
|
| |
Change-Id: I523faa336e00092301c9d066a274040f265deb5a
|
|
|
|
|
|
| |
Depends-On: Idb046b0e4e23af49c947a80cf6f77fef3a9ec0c8
Change-Id: Id9969fbda10a86dd79d1000ec5ba5c34152fd162
|
|
|
|
| |
Change-Id: I96f5548c5f7522c882928207871e618165b02651
|
|
|
|
| |
Change-Id: I6d81cc86d422be359f1b2339943bdfe6067ee5da
|
|
|
|
| |
Change-Id: I9e76aa94e681e68b5e4fa0fc772f9266355aa666
|
|
|
|
| |
Change-Id: I98483517bb89ad1438ddda6076ae01ba1ea1c49d
|
|
|
|
|
|
| |
Part of blueprint taskflow-redis-jobs
Change-Id: I7c94e2201c5d933c8a1ec73fc0cf705962e5eef6
|
|
|
|
| |
Change-Id: Ib12b6f769f2f56e176de426b7cbc05c02cac56d6
|
|
|
|
| |
Change-Id: I4d8e9524d47977e3d985f48988d1a5b1b9ae6cf0
|
|
|
|
| |
Change-Id: Ib8345d536a1d4895d7f91ad415545c3573b09e10
|
|
|
|
| |
Change-Id: I61949b8a4d566b135a4dab23f7a448dae32398e5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of having custom pyX.Y that test a specific set of
requirements and similar with other tox envs, just enable
more test-requirements directly, in a later change we will
use environment markers to denote the differences.
Also tweaks the jobboard example to bypass/hack a needed eventlet
fix into it so that it actually runs without breaking/never finishing.
A TODO note has been left to eventually (someday?) remove this hack
when it is no longer needed.
Part of fix for bug 1445827
Change-Id: I0fb669f0bdfbe4fe81d89234173f2c3ac4d06de6
|
|
|
|
| |
Change-Id: Ic4792c08942b51bf019f62238a609a9b66947983
|
|
|
|
| |
Change-Id: I04e09650f8018bb1cde6072865b6c38fac9c17a0
|
|
|
|
|
| |
Change-Id: I86914b57e7bc8f7e525cc9f67a243c476d4fcd21
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
|
|
|
|
| |
Change-Id: I974740d76ba4f2141a0c1ea43f3ac09122e280a9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Perform some adjustments to the periodic worker type to
make it easier to later change and make it better in the
future. These changes hopefully also reduce complexity
and increase understandability.
In part this deprecates providing a tombstone via
__init__() since that will restrict future enhancements we can
make (in retrospect we need more internal control over that
argument & type to build better workers).
Change-Id: I1965e157c303c2a45b9950e9f4a921c638f57fd1
|
|
|
|
|
|
|
|
| |
Release notes: http://lists.openstack.org/pipermail/openstack-dev/2015-January/054165.html
Remove deleted hacking rules from tox.ini (H904)
Change-Id: I9a7130c700e2e49ee95fd16bf48af4697e78312d
|