summaryrefslogtreecommitdiff
path: root/test-requirements.txt
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies to avoid failure with old pipSorin Sbarnea2021-04-061-2/+3
| | | | | | | | | | | We do perform linting via pep8 job which runs on modern python only. This fixes an error that recently broke py27 job due to failure to install hacking, where hacking is in fact not even needed by it. We also need to add some extra conditions for mock to avoid possible failure with older pip version. Change-Id: I5007154caa7493652a424a4fad4918b7dbefcfb9
* Adding pre-commitHervé Beraud2020-10-211-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: I730018e2bf788be5ac4e993af1746296206edfc1 Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* Update hackingClark Boylan2020-08-051-1/+1
| | | | | | | | This allows us to run tox -epep8 on newer python versions. Fix the issues newer hacking calls out. They were complaints about indentation and ambigious l value variable names. Change-Id: I9552fba791bdf54649fbe25fc26bffdf8186ff0a
* Add support for virtualenv 20.xStephen Finucane2020-08-051-3/+4
| | | | | | | | | | | | | | | | | | | | virtualenv is undergoing a rewrite and has changed how the programmatic API works [1]. Switch to the "new way". While we're here, we also need to get Python 2.7 tests passing again. That requires dropping support for upper-constraints and using our own, limited local constraints based on supported Python versions. We also need to migrate integration tests since those run with Python 3 now. Update the scenarios for pip/setuptools in integration testing similarly. Finally clean up the installation of all devstack repos as requirements are managed different now. Instead of worrying about syncing them we use constraints. [1] https://github.com/pypa/virtualenv/issues/1585#issuecomment-585228492 Change-Id: I493e88985d2c4d09612fea4d20d8ffa20043a0cb Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-On: https://review.opendev.org/739014
* Update to latest hackingStephen Finucane2019-08-271-1/+2
| | | | | Change-Id: If73238a39d0934c6f577fc52132fcbc63e8eb25f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Update Sphinx requirementHervé Beraud2019-05-161-1/+2
| | | | | | | Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there. Change-Id: Ia13b8a75f11ee997e00e817464829ce8b86d2e16
* Merge "tox: Suppress output"Zuul2018-10-151-1/+1
|\
| * tox: Suppress outputStephen Finucane2018-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the switch to stestr in commit 2222dbb47, the tests have taken to spewing a load of noise. This seems to be because we dropped the configuration for OS_STDOUT_CAPTURE and OS_STDERR_CAPTURE, which was previously configured in '.testr.conf'. This is fixed. However, it seems it's also necessary to explicitly pass the '--suppress-attachments' option to 'stestr' to properly silence things. This seems to be necessary because many pbr commands output to stdout by default, while other projects (nova, etc.) use 'logging'. Use of this option requires stestr 2.1.0 [1] so we bump the lower-constraint. As an aside, finding out what caused this output was easier said than done. I tried stestr, testr and fixtures, before finally finding it in subunit. [1] https://github.com/mtreinish/stestr/commit/1316ebd7 Change-Id: I1678bcd26b41fdf09f98c36fc095d6d4c1826deb Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Use templates for cover and lower-constraintsAndreas Jaeger2018-10-051-0/+1
|/ | | | | | | | | | | | | | | 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. Add coverage to test-requirements, otherwise tox -e cover will fail. Change-Id: I0eff88e5736243291d4777f642bc48c32deafa39
* Support wheel 0.32.0+Stephen Finucane2018-10-041-0/+1
| | | | | | | | | | | | | Wheel 0.32.0 removed the 'wheel install' command [1] and, subsequently, the 'wheel.install' module [2]. It also made 'WheelFile' a subclass of 'zipfile.ZipFile' rather than a wrapper [2] and deprecated the '[wheel]' section of 'setup.cfg' in favour of '[bdist_wheel]'. Handle these changes. [1] https://github.com/pypa/wheel/commit/353217fb4 [2] https://github.com/pypa/wheel/commit/89492505b Change-Id: I2903089a07bdd2dc96437b9f65f2d2bba2741707
* Switch to stestrStephen Finucane2018-07-181-6/+5
| | | | | | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. While we're at it, we also fix the docs requirements and removed the unused 'pypy' and 'cover' tox targets. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I424068adc9092be2cf40d117c9dc4e92bb51e804 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Updated from global requirementsOpenStack Proposal Bot2018-03-151-1/+1
| | | | Change-Id: I7d0c896273f4de46e7d9dd494902adf5c1e19b30
* Updated from global requirementsOpenStack Proposal Bot2018-01-241-1/+1
| | | | Change-Id: I0f72806130503a47a3caf737e2cea082d42fed55
* Updated from global requirementsOpenStack Proposal Bot2018-01-171-1/+1
| | | | Change-Id: I7eb765dc83e6983b5b52e518db5039a71efb036c
* Updated from global requirementsOpenStack Proposal Bot2017-11-161-4/+4
| | | | Change-Id: I4ac147dac42058983ab10387c3b3338500a7334c
* Add reno for release notes managementStephen Finucane2017-10-101-0/+1
| | | | Change-Id: I36b8193b22123a409b729c7b9f4309507379f1ad
* Updated from global requirementsOpenStack Proposal Bot2017-09-201-1/+1
| | | | Change-Id: Icc5bbd374739afcca65d13b2600d8d70b6db291a
* Updated from global requirementsOpenStack Proposal Bot2017-09-111-1/+1
| | | | Change-Id: I578f41da03c234025cd7634f7b62d1e97fbac1c9
* Updated from global requirementsOpenStack Proposal Bot2017-08-181-1/+1
| | | | Change-Id: I519542cd5ac8771833d38feeb921dd3104f962fd
* Updated from global requirementsOpenStack Proposal Bot2017-07-271-1/+1
| | | | Change-Id: I228c73b03f0eeab9a9b66ab4af764c02b1356e4d
* Updated from global requirementsOpenStack Proposal Bot2017-07-051-1/+1
| | | | Change-Id: I3b07be5b8ae0246de43adcba4e6d3e48fcee406e
* switch from oslosphinx to openstackdocsthemeDoug Hellmann2017-06-261-2/+2
| | | | | | Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb Change-Id: I58acb2cc35d33af586201a4667d82388a51987d5 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Updated from global requirementsOpenStack Proposal Bot2017-05-211-1/+1
| | | | Change-Id: Ibb7825bdfb03449f834498a88445dabb8bd71251
* Updated from global requirementsOpenStack Proposal Bot2017-05-151-1/+1
| | | | Change-Id: Ie230090ff923e84a8b4b3eca75bdc0b5a1405b15
* Updated from global requirementsOpenStack Proposal Bot2017-03-021-1/+1
| | | | Change-Id: I43344959288151b35983ed769898c149e64fff10
* Update to a newer hacking libraryIan Wienand2017-03-021-1/+1
| | | | | | | | | | The older hacking library has a cap on pbr <2.0, with the recent 2.0.0 release of PBR it's causing failures in the pep8 job. hacking isn't kept in sync via the typical proposal-bot updates. Do it manually to clear the gate issue. Change-Id: I752f518611add90dd391982cb7dade9b599ff9d3 Related-Bug: #1668848
* Updated from global requirementsOpenStack Proposal Bot2017-02-101-1/+1
| | | | Change-Id: I83151b7afaae9f86c70db817f4a707eb7f14df52
* Remove discover from test-requirementsDirk Mueller2017-01-031-1/+0
| | | | | | It's only needed for python < 2.7 which is not supported Change-Id: I5b43ff5b07a2e205c59f9758b13a450897baa129
* Updated from global requirementsOpenStack Proposal Bot2016-11-241-1/+1
| | | | Change-Id: Icf44de0c986a0d94a8625d913895898ca447656b
* Updated from global requirementsOpenStack Proposal Bot2016-11-161-1/+1
| | | | Change-Id: Ia99f7e783b9b5b354a8ffec6491505e724c2fcde
* Updated from global requirementsOpenStack Proposal Bot2016-09-281-2/+2
| | | | Change-Id: Ifbcd360f139accc7588e665ede1d89a7689ab359
* Updated from global requirementsOpenStack Proposal Bot2016-07-201-1/+1
| | | | Change-Id: Ifb4aa77ac3746f73d60fe2c2eae19c8991e41064
* Move to oslosphinxIan Wienand2016-06-221-0/+1
| | | | | | | | | I noticed the current API documentation is unreadable [1]. Remove the inbuilt theme and move to oslosphinx for module/api documentation. [1] http://docs.openstack.org/developer/pbr/api/pbr.version.html Change-Id: I8d92d849b8a2ab4baca960ae8c271214d3c2b8f4
* Updated from global requirementsOpenStack Proposal Bot2016-06-211-1/+1
| | | | Change-Id: I5ea42decb2d8d9277b2df98efb4afc2dd13b3d0d
* Updated from global requirementsOpenStack Proposal Bot2016-06-021-1/+1
| | | | Change-Id: I51a5ab4baadb8f851296fd241a3b2d25ca9d3759
* Updated from global requirementsOpenStack Proposal Bot2016-05-301-1/+1
| | | | Change-Id: Icf7b585e2a721b139a08006922cf45387b84efee
* Updated from global requirementsOpenStack Proposal Bot2016-05-301-2/+2
| | | | Change-Id: Ibbd4c9602d83fd68172a7469f66972df44ca7d7d
* Updated from global requirements1.9.0OpenStack Proposal Bot2016-04-081-1/+1
| | | | Change-Id: Ieef4e9de580dd3874b09f462e58efecdd0005de8
* Updated from global requirementsOpenStack Proposal Bot2016-01-161-12/+12
| | | | Change-Id: I044a5ab14677f0052970932422cc799ff7ef94d2
* Updated from global requirementsOpenStack Proposal Bot2015-07-221-2/+1
| | | | Change-Id: Ic0a09e0ba27e60eecfdcb9eaa589738f97ee8379
* Updated from global requirementsOpenStack Proposal Bot2015-07-171-1/+1
| | | | Change-Id: I735058e846783cd0ac361645dc2c0f760d15614e
* Updated from global requirementsOpenStack Proposal Bot2015-07-121-1/+1
| | | | Change-Id: I126133f8fb2e5824188ad4362f18af45734d3f42
* Updated from global requirementsOpenStack Proposal Bot2015-07-101-1/+2
| | | | Change-Id: If12be720c7057f7014dfb11d4c2a83576cdddfc3
* Updated from global requirementsOpenStack Proposal Bot2015-06-301-1/+1
| | | | Change-Id: I465ea84f82dfed96c27aeea9337cd28c64c73adf
* Updated from global requirementsOpenStack Proposal Bot2015-06-221-3/+3
| | | | Change-Id: Iaa3699f8db386a39d55e8c2e0605a8edd146546e
* Updated from global requirementsOpenStack Proposal Bot2015-05-291-2/+5
| | | | Change-Id: Idd9c01966a5b0f6d6950e9a094b9aeabfc127b44
* Update hacking to 0.10.x seriesClark Boylan2015-05-191-1/+1
| | | | | | | | | Get current release of hacking both for new features/rules and to address a problem where older hacking requires and older version of pbr than the version of pbr under test. This will get the pep8 jobs working again for pbr by removing the <1.0 pbr requirement in hacking. Change-Id: I303db998e3aa64468a931f7e8985592b3446a1c8
* Teach pbr to read extras and env markersJames Polley2015-05-151-0/+1
| | | | | | | | | This adds support for reading extras from setup.cfg. It also adds support for handling environment markers, both in the extras section and in install_requires and in requirements.txt. Change-Id: I6fd8276012e65f82934df9c374613b1ce6856b5a
* Parallelise integration tests.Robert Collins2015-05-021-0/+1
| | | | | | | This involves moving the inner loop to python because existing-tooling. Change-Id: Iaad811a0248a3f700e655bd8be656d183deead93
* Bump hacking to 0.9.x seriesChristian Berendt2014-07-221-1/+1
| | | | | | | Ignore H904 because it's a deprecated hacking check. Ignore H405 because it should be fixed with a separate patch. Change-Id: I2e3bf41474cead1a860810886791e025139cca3b