summaryrefslogtreecommitdiff
path: root/test-requirements.txt
Commit message (Collapse)AuthorAgeFilesLines
* Use unittest.mock instead of mockHervé Beraud2021-04-271-1/+0
| | | | | | | | 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
* Merge "Adding pre-commit"Zuul2020-09-221-0/+2
|\
| * Adding pre-commitHervé Beraud2020-09-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | [goal] Migrate testing to ubuntu focalvictoria-em4.5.0Ghanshyam Mann2020-09-061-2/+2
|/ | | | | | | | | | | | | | | | | | | 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
* Zookeeper backend SSL supportussuri-em4.1.0Ann Kamyshnikova2020-03-061-1/+1
| | | | | | | | | | | | | | | | | | 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
* [ussuri][goal] Drop python 2.7 support and testing4.0.0Andreas Jaeger2020-02-031-1/+1
| | | | | | | | | | | | | | | | 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
* Update Sphinx requirementStephen Finucane2019-05-221-2/+0
| | | | | | | | | | | | 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>
* Uncap jsonschemaSean McGinnis2019-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Switch to use stestr for unit testHa Manh Dong2018-08-131-1/+1
| | | | | | | | | | | 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
* Fix code to support networkx > 1.0Michal Arbet2018-07-111-1/+2
| | | | | | | | | | | | | 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
* stop using tox_install.shDoug Hellmann2018-04-181-0/+33
| | | | | | | | | | | | 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>
* Change dependency to use flavorsJoshua Harlow2016-07-261-39/+0
| | | | | | | 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
* Updated from global requirementsOpenStack Proposal Bot2016-07-181-1/+1
| | | | Change-Id: I8bc526a62315199f0c8ef39bd268c2e4899ef250
* Updated from global requirementsOpenStack Proposal Bot2016-06-211-1/+1
| | | | Change-Id: I5bd2c5107d9dc80315e9ea49b4da1a68b209c1c0
* Merge "Add a simple sanity test for pydot outputting"Jenkins2016-05-311-0/+3
|\
| * Add a simple sanity test for pydot outputtingJoshua Harlow2016-05-201-0/+3
| | | | | | | | | | | | | | | | Depends-On: Ia633ccd1dca94f70b05ae4376a1c3a3f252a9923 Related-Bug: #1561656 Change-Id: I930a1ee9c1d17a12328d920bbe02ea0b77947295
* | Updated from global requirementsOpenStack Proposal Bot2016-05-261-1/+1
| | | | | | | | Change-Id: I30d06823ef262fc1d8aac243047b1edeb76fce98
* | Updated from global requirementsOpenStack Proposal Bot2016-04-061-1/+1
|/ | | | Change-Id: I4d591d6ac13bf74a5d24e7bf64a9411ebaaa978b
* Updated from global requirements1.29.0OpenStack Proposal Bot2016-02-191-1/+1
| | | | Change-Id: I0c387fab2337a11b9784a23a06e78012a8827520
* Updated from global requirementsOpenStack Proposal Bot2016-02-141-1/+1
| | | | Change-Id: I056f334614e0f0a518b9110f861dd65acf9e7ea7
* Updated from global requirementsOpenStack Proposal Bot2016-02-111-1/+1
| | | | Change-Id: I4c2e2630e457fccc9f2984c2e47fe865b901f2d4
* Updated from global requirementsOpenStack Proposal Bot2016-02-101-2/+2
| | | | Change-Id: Ic12b1448aa05f17e35ac21c0a3f347f9c9d0f5bf
* Updated from global requirementsOpenStack Proposal Bot2016-01-241-1/+1
| | | | Change-Id: I0f34ed3ffc9c782fea38c4522f2ca34d985024ea
* Updated from global requirementsOpenStack Proposal Bot2016-01-161-11/+11
| | | | Change-Id: I8638e9edb46a781e435d136e1b3520cef8366bb1
* Updated from global requirementsOpenStack Proposal Bot2016-01-061-1/+1
| | | | Change-Id: Ieda529943850ae3a9554d80a6dd4a1549e230c8e
* Merge "Use the sqlalchemy-utils json type instead of our own"Jenkins2015-12-151-0/+1
|\
| * Use the sqlalchemy-utils json type instead of our ownJoshua Harlow2015-09-091-0/+1
| | | | | | | | Change-Id: Ie01ea85e74f1daed6bfa5158c0faa476d06873ba
* | Updated from global requirementsOpenStack Proposal Bot2015-11-191-1/+1
|/ | | | Change-Id: I0cdda30829cf5bef6529c81948511137ca98b01f
* Updated from global requirements1.21.0OpenStack Proposal Bot2015-09-071-1/+1
| | | | Change-Id: I83143a099a633f6b79d23fabc45d96d881a2fd35
* Updated from global requirements1.20.0OpenStack Proposal Bot2015-09-011-1/+1
| | | | Change-Id: I8cc17030b5feff7c51bfca38c1d658fb54c39524
* Updated from global requirementsOpenStack Proposal Bot2015-08-171-1/+1
| | | | Change-Id: Ib758b1fa69948a417595e2b2f5c6c737ed8a3b8b
* Updated from global requirementsOpenStack Proposal Bot2015-08-041-1/+1
| | | | Change-Id: I3574313f90c1dcf69c2cdc4fa78caf0e91993b1d
* Updated from global requirementsOpenStack Proposal Bot2015-07-291-1/+1
| | | | Change-Id: I523faa336e00092301c9d066a274040f265deb5a
* Updated from global requirementsOpenStack Proposal Bot2015-07-221-2/+1
| | | | | | Depends-On: Idb046b0e4e23af49c947a80cf6f77fef3a9ec0c8 Change-Id: Id9969fbda10a86dd79d1000ec5ba5c34152fd162
* Updated from global requirements1.16.0OpenStack Proposal Bot2015-07-181-1/+1
| | | | Change-Id: I96f5548c5f7522c882928207871e618165b02651
* Move doc8 to being a normal test requirement in test-requirements.txtJoshua Harlow2015-07-161-0/+3
| | | | Change-Id: I6d81cc86d422be359f1b2339943bdfe6067ee5da
* Updated from global requirementsOpenStack Proposal Bot2015-07-151-1/+1
| | | | Change-Id: I9e76aa94e681e68b5e4fa0fc772f9266355aa666
* Updated from global requirementsOpenStack Proposal Bot2015-07-121-1/+2
| | | | Change-Id: I98483517bb89ad1438ddda6076ae01ba1ea1c49d
* Build-out + test a redis backed jobboardJoshua Harlow2015-06-291-0/+3
| | | | | | Part of blueprint taskflow-redis-jobs Change-Id: I7c94e2201c5d933c8a1ec73fc0cf705962e5eef6
* Updated from global requirements0.12.0OpenStack Proposal Bot2015-06-221-2/+2
| | | | Change-Id: Ib12b6f769f2f56e176de426b7cbc05c02cac56d6
* Updated from global requirementsOpenStack Proposal Bot2015-06-221-7/+7
| | | | Change-Id: I4d8e9524d47977e3d985f48988d1a5b1b9ae6cf0
* Updated from global requirementsOpenStack Proposal Bot2015-06-111-1/+1
| | | | Change-Id: Ib8345d536a1d4895d7f91ad415545c3573b09e10
* Updated from global requirementsOpenStack Proposal Bot2015-06-021-1/+1
| | | | Change-Id: I61949b8a4d566b135a4dab23f7a448dae32398e5
* Remove customized pyX.Y tox requirementsJoshua Harlow2015-05-291-9/+5
| | | | | | | | | | | | | | | | 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
* Updated from global requirementsOpenStack Proposal Bot2015-05-271-1/+1
| | | | Change-Id: Ic4792c08942b51bf019f62238a609a9b66947983
* Updated from global requirementsOpenStack Proposal Bot2015-05-041-1/+1
| | | | Change-Id: I04e09650f8018bb1cde6072865b6c38fac9c17a0
* Uncap library requirements for libertyDoug Hellmann2015-04-161-2/+2
| | | | | Change-Id: I86914b57e7bc8f7e525cc9f67a243c476d4fcd21 Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
* Updated from global requirementsOpenStack Proposal Bot2015-03-211-2/+2
| | | | Change-Id: I974740d76ba4f2141a0c1ea43f3ac09122e280a9
* Refactor parts of the periodic workerJoshua Harlow2015-02-221-0/+1
| | | | | | | | | | | | | | 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
* Move to hacking 0.10Joe Gordon2015-02-121-1/+1
| | | | | | | | Release notes: http://lists.openstack.org/pipermail/openstack-dev/2015-January/054165.html Remove deleted hacking rules from tox.ini (H904) Change-Id: I9a7130c700e2e49ee95fd16bf48af4697e78312d