summaryrefslogtreecommitdiff
path: root/test-requirements.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fix pep8 gateDave Wilde2022-12-091-2/+4
| | | | | | | | This updates the test-requirements to more recent flake8-docstrings and pep8 versions. I also added some more ignores that would take significant work to update and fixed some minor linting issues. Change-Id: Ia416658b8a4bfb8f43f8df170053abb3ae958d44
* Merge "[goal] Migrate testing to ubuntu focal"wallaby-em9.2.0Zuul2020-09-101-1/+1
|\
| * [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: #40190 Closes-Bug: #1886298 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal Change-Id: I602c3ce7c94a039e3fd550cbb47a8e8f095aacea
* | Use unittest.mock instead of third party mockSean McGinnis2020-04-181-1/+0
|/ | | | | | | | 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: Idc319f3f8a3ddd57cba91e4cefc66dbb18d5cc22 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update hacking for Python3Andreas Jaeger2020-03-301-1/+1
| | | | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Blacklist: W504 line break after binary operator W503 line break before binary operator Fix other problems found Change-Id: I2fb257a4f42b499df3702f3e8f3c99ecb28557d6
* Blacklist bandit 1.6.0 & cap sphinx for 2.7Gage Hugo2019-05-201-1/+1
| | | | | | | | | | The latest version of bandit has broken directory exclusion, so multiple test files are getting flagged. This change blocks version 1.6.0 while this issue is fixed for 1.6.1. This change also caps sphinx at <2.0.0 for python version 2.7. Change-Id: I5d32d835886360522af21f735c74b2f85036f7f1
* Bump memcached minimum versionColleen Murphy2019-04-171-1/+1
| | | | | | | python-memcached==1.56 causes the unit tests to fail under python3.7, so bump to the latest allowed by upper-constraints. Change-Id: I22a596afcb6b7477f6753ea9896f7ac025be3a85
* Remove tox_install.shLance Bragstad2018-09-071-1/+2
| | | | | | | | | | As part of removing reliance on the old and deprecated zuul-cloner, we need to shift constraints declaration to the deps line. This means we unfortunately have to duplicate the extras declarations into test-requirements - because otherwise the contraints for keystonemiddleware conflicts with the installation of itself. Change-Id: I8dbb31d1c1fda6df386f456dcf1d8bbed6d168ce
* Merge "Follow the new PTI for document build"Zuul2018-06-061-1/+0
|\
| * Follow the new PTI for document buildmelissaml2018-06-061-1/+0
| | | | | | | | | | | | | | | | | | | | For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com> Change-Id: Ia0a27229f09467980ff4af014001febb017bb36d
* | Switch coverage tox env to stestrColleen Murphy2018-05-311-2/+1
|/ | | | | | | | | | We already switched the unit tests to follow the updated PTI guidelines[1] but neglected to switch the coverage environment. Do that now. [1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running Change-Id: Ie153516196f18c030ea58e76a0eac15c86169c6b
* Updated from global requirementsOpenStack Proposal Bot2018-03-231-1/+1
| | | | Change-Id: I71330bf5adcdd55a1a782189a29886f9189dddd0
* Updated from global requirementsOpenStack Proposal Bot2018-03-171-1/+1
| | | | Change-Id: Ia31fc31bd33e85622a15bc383cf1bb7af753de7e
* Updated from global requirementsOpenStack Proposal Bot2018-01-161-1/+1
| | | | Change-Id: I6effa91e130eaf7ebdf30dd36e1c486e2f36df07
* Fix docs buildsColleen Murphy2017-12-201-4/+0
| | | | | | | | | | | With the new way of generating docs in the gate[1] our autodoc builds are slightly broken. Put the required dependencies for doc building and autodoc generation into doc/requirements.txt. We can also now remove docs-related requirements from test-requirements.txt. [1] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Ifbd16fe364bb216821125c70bb7d3ab0ac1f10a3
* Updated from global requirementsOpenStack Proposal Bot2017-11-161-1/+1
| | | | Change-Id: I193865cda77ca1e22495b01ea602ebb28a912a8a
* Updated from global requirementsOpenStack Proposal Bot2017-10-151-6/+6
| | | | Change-Id: I8f3fb853bf358db8fe01427d57b0823f5e3d82c0
* Merge "Add doc8 rule and check doc/source files"Jenkins2017-08-271-0/+1
|\
| * Add doc8 rule and check doc/source filesliuxiaoyang2017-08-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc8 is a linter for documents and used in openstack-manuals. It is better to enforce document linters for simple checking. This change is to add doc8 in tox file and fix line too long in some files. The current rules are as bellow: - invalid rst format - D000 - lines should not be longer than 79 characters - D001 - RST exception: line with no whitespace except in the beginning - RST exception: lines with http or https urls - RST exception: literal blocks - RST exception: rst target directives - no trailing whitespace - D002 - no tabulation for indentation - D003 - no carriage returns (use unix newlines) - D004 - no newline at end of file - D005 Change-Id: I01b11619b42eebf13cb17e1b4a2e8464a8ccc797
* | Updated from global requirementsOpenStack Proposal Bot2017-08-241-3/+3
|/ | | | Change-Id: I83f38668dcc15e5e884c8928047537c8b1a19bd3
* Updated from global requirementsOpenStack Proposal Bot2017-07-271-2/+2
| | | | Change-Id: I15c7eed7a39f8ed7c5d8e18e4083979870cdfbb8
* Switch from oslosphinx to openstackdocsthemeVan Hung Pham2017-06-301-2/+2
| | | | | | | | | As part of the docs migration work[0] for Pike we need to switch to use the openstackdocstheme. [0]https://review.openstack.org/#/c/472275/ Change-Id: I5150a456df75d61035a6f00366fa70bd4ec83457
* Updated from global requirementsOpenStack Proposal Bot2017-06-031-1/+1
| | | | Change-Id: I119fbce30d448bcda1be5da1122922b1ea5c3b57
* Merge "Replace pycrypto with cryptography"Jenkins2017-05-231-1/+1
|\
| * Replace pycrypto with cryptographyTin Lam2017-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The pycrypto library is unmaintained, and keystonemiddleware currently uses pycrypto to encrypt and decrpyt things before caching them. This patch set removes the pycrypto dependency and updates the code to use the cryptography library. See [1]. Replacing the cryptographic library is backward compatible. See [2]. [1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568.html [2] http://paste.openstack.org/show/610186/ Change-Id: Iced7f5115e49ccf4f7f5bf6813cb5988b95c248b Closes-Bug: #1677308
* | Updated from global requirementsOpenStack Proposal Bot2017-05-171-1/+1
|/ | | | Change-Id: I112a32382d16a64ed8a814d23ed2d40062151605
* Updated from global requirementsOpenStack Proposal Bot2017-05-151-1/+1
| | | | Change-Id: I5a9e67d2ded7ac9b9079ffbfcf30c03f442e3c24
* Updated from global requirementsOpenStack Proposal Bot2017-04-061-1/+1
| | | | Change-Id: I5c42ec052c4b8f6a3cabc5e2456b1aacc322e479
* Updated from global requirementsOpenStack Proposal Bot2017-02-111-2/+2
| | | | Change-Id: Id74368e2b0b7421c2cc1ad498a008b33df38f39a
* Switch tox unit test command to use ostestrLucas Alvares Gomes2017-01-031-0/+1
| | | | | | | | | | | | | | This commit switches the tox command to use ostestr instead of calling testr through setup.py. The primary advantage here is that it uses the subunit-trace output filter. ostestr primarily exists as a replacement for pretty_tox.sh bash scripts which spread like a plague through OpenStack projects after Nova copied it from Tempest. Note that this dramatically increases output while running tests. However, test failures are still at the bottom of the output, so it shouldn't cause much pain, if any. Change-Id: Id1ad26bc9670efa94c3c91142a177c75a12ce7d6
* Updated from global requirementsOpenStack Proposal Bot2016-12-151-1/+1
| | | | Change-Id: I5381a3354994e7398be705d8c3783d464aabbb9a
* Add docutils contraint on 0.13.1 to fix buildingGage Hugo2016-12-151-0/+1
| | | | | | | See: http://lists.openstack.org/pipermail/openstack-dev/2016-December/108742.html Change-Id: Ied3c922b8bbb52a3589c2f5308ecf87fc1415fbc
* Updated from global requirementsOpenStack Proposal Bot2016-11-061-1/+1
| | | | Change-Id: I506b5036961fef7645c2010bef090f2b4b098189
* Updated from global requirementsOpenStack Proposal Bot2016-10-221-1/+1
| | | | Change-Id: Ic4b6ab9857311a4f9efc111dd2cfc32fc6f76fd0
* Updated from global requirementsOpenStack Proposal Bot2016-10-111-2/+2
| | | | Change-Id: I381ccea9500b3cfdd81ed54c29a02fd33345c07e
* Return and use an app wherever possible4.10.0Jamie Lennox2016-09-301-0/+1
| | | | | | | | | | | | Audit middleware does a lot of faking up environments and calling methods instead of just running the middleware. It's a whole bunch easier to just run the middleware wherever possible. This means we don't have to stub context from tests as these tests actually pass through the wsgi layer correctly. Ideally we would do more of this. Change-Id: I95377f030b07ffae18698ecc3c82cc6aa1dddbc7
* Updated from global requirementsOpenStack Proposal Bot2016-09-271-1/+1
| | | | Change-Id: I136d82a940047057049c83b36990dededc4f18f5
* Updated from global requirementsOpenStack Proposal Bot2016-09-261-1/+1
| | | | Change-Id: I4b38ccb5b0dcd87cc64390d9c3724fb68988982b
* Updated from global requirementsOpenStack Proposal Bot2016-08-181-1/+1
| | | | Change-Id: I017e73cb5cc694ffe01b64d0bde2db21313532b4
* Updated from global requirementsOpenStack Proposal Bot2016-07-171-1/+1
| | | | Change-Id: Iae85a4cdec8085d1f86806df44351d183ec1b4b5
* Use extras for oslo.messaging dependencySteve Martinelli2016-06-281-2/+0
| | | | | | | | | | | | | | Install the oslo.messaging optional dependency by doing: keystonemiddleware[audit_notifications] pbr documentation: http://docs.openstack.org/developer/pbr/#environment-markers Partial-Bug: 1540115 Change-Id: I59eea1f7eb0e770ac4fe30211eff49ae76fb2550
* Updated from global requirementsOpenStack Proposal Bot2016-06-241-2/+2
| | | | Change-Id: Iba1e77fbc1ab60426207c15e463e7ebd4f02d40e
* Updated from global requirementsOpenStack Proposal Bot2016-06-211-1/+1
| | | | Change-Id: Ica548a437fd192539daf1a7bc6b60e2796d35466
* Updated from global requirementsOpenStack Proposal Bot2016-06-081-1/+1
| | | | Change-Id: Ibdb8afed4820b6cc98f200bfc1d379c1ec8fb2d7
* Updated from global requirementsOpenStack Proposal Bot2016-06-031-1/+1
| | | | Change-Id: I13fed05c4fe82f9f454f22f57d29770835e76f52
* Updated from global requirementsOpenStack Proposal Bot2016-05-301-1/+1
| | | | Change-Id: Idf43817cf80ab45660f29b035ca10816499e27df
* Updated from global requirementsOpenStack Proposal Bot2016-05-301-1/+1
| | | | Change-Id: If9c7f08f67f89df318cdef7c6e9d2155c9a89f71
* Updated from global requirementsOpenStack Proposal Bot2016-05-261-1/+1
| | | | Change-Id: I408ee7022a4886428fbdea8547669535995919e8
* Updated from global requirementsOpenStack Proposal Bot2016-05-101-1/+1
| | | | Change-Id: Id0ba6b6495056dc10a57cc56eb7a56650878ad9e
* Updated from global requirementsOpenStack Proposal Bot2016-04-281-1/+1
| | | | Change-Id: I41f455445389f49403e34a0c7612329a945072a0