summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Update setup.cfg classifiers"HEADmasterZuul2023-05-041-5/+6
|\
| * Update setup.cfg classifiersDouglas Mendizábal2023-04-281-5/+6
| | | | | | | | | | | | Depends-On: https://review.opendev.org/c/openstack/pycadf/+/868221 Change-Id: Ifade6bf2bb94f8c0b3526e81246a8dd821e29deb
* | Fix pep8 gateDave Wilde2023-04-212-3/+4
|/ | | | | | | | | | | | This updates the test-requirements to a more recent flake8-docstrings version. I also added an ignore for __init__ methods, this may be something that we want to revisit but are not needed for now. We also slip in a little change that renames whitelist to allowlist. It is also a gate failure and thus is circular with the pep8 fix: neither can be merged separately. Change-Id: Id12f6e3b5d603531744d02f7bafab0b80696751e
* Merge "Add doc/requirements"Zuul2022-10-263-5/+5
|\
| * Add doc/requirementsHervé Beraud2022-09-163-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to specify doc requirements in doc/requirements.txt to avoid problems with the pip resolver [1] for the release team [2][3]. Removing specific doc requirements from test-requirements.txt. The problem here is that this repos haven't doc/requirements.txt file and by default in this case zuul will use the test-requirements.txt file to pull requirements [4]. This requirements file contains extra requirements like flake8 that collided with those allowed in our job environment and so the new pip resolver fails to install these requirements and the job exits in error. This project meet the conditions leading to the bug. [1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html [2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html [3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html [4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36 Change-Id: I11c1f9816ad93f7c3a7d9de5894746d48154e18d
* | remove unicode prefix from codeniuke2022-09-161-7/+7
|/ | | | Change-Id: Ie842be912d9169133cd9990846f212bb50690766
* Update zuul job templatesDouglas Mendizábal2022-09-161-1/+1
| | | | Change-Id: I5197c7484925fb9db282e9ab17d45c3f7e56989b
* Drop lower-constraints.txt and its testingGhanshyam Mann2022-04-304-58/+4
| | | | | | | | | | | | | As discussed in TC PTG[1] and TC resolution[2], we are dropping the lower-constraints.txt file and its testing. We will keep lower bounds in the requirements.txt file but with a note that these are not tested lower bounds and we try our best to keep them updated. [1] https://etherpad.opendev.org/p/tc-zed-ptg#L326 [2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal Change-Id: Ia3f66b6805704c254295fd663f0260d5d963ed66
* Add Python3 wallaby unit testsOpenStack Release Bot2020-09-081-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I43b912be6900d3d8f081ae4065789278c97db0b0
* Merge "Fix hacking min version to 3.0.1"victoria-em3.1.1Zuul2020-07-272-5/+1
|\
| * Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-152-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. Also removing the hacking and other related dep from lower-constraints file as theose are blacklisted requirements and does not need to be present there. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: Ib3d13c83dcc9f660d89669c53c7782ca68da8e64
* | Correct a typo in the documentzhaoleilc2020-07-101-1/+1
| | | | | | | | | | | | | | This patch changes 'contex' to 'context' in doc/source/specification/resources.rst Change-Id: I8c56dfa869cbc1176b18de76212c143b161a3d5b
* | Switch to newer openstackdocstheme version3.1.0Andreas Jaeger2020-05-303-8/+8
|/ | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 version. Using this version will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I6c6775f75235dab2b9ed7820bfc5102bf5b04965
* Add Python3 victoria unit testsOpenStack Release Bot2020-04-301-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I0d1100bd2d9a64abf2758feb2055dea53f3be3a1
* Merge "Use unittest.mock instead of third party mock"Zuul2020-03-303-4/+1
|\
| * Use unittest.mock instead of third party mockSean McGinnis2020-03-133-4/+1
| | | | | | | | | | | | | | | | Now that we don't need to support py27 we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I1dfdb05ddf78cd8243f31956ccf8173b2059ad33 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Update hacking for Python3Andreas Jaeger2020-03-304-2/+6
|/ | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Blacklist W503, W504 Fix other problems found Change-Id: Ic0391ae45b9d6d1ee5e2c1df81d85e655250a51d
* Bump the openstackdocstheme extension to 1.20ussuri-em3.0.0pengyuesheng2020-02-103-28/+2
| | | | | | | | | | | | Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: Ibc5757b36d6a5b8c342d959087136064ed5ab6f5
* Drop python 2.7 support and testingpengyuesheng2020-02-037-35/+26
| | | | | | | | | | | | | | | | | | Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Include small cleanups: * remove install_command from tox.ini, this is the default * Use sphinx-build as modern way to run sphinx, remove setup.cfg settings for build-sphinx * Use sphinxcontrib-apidoc for docs with newer sphinx * Remove obsolete doc/source/conf.py broken * Add python-requires to setup.cfg to make Python 3.6 requirement explicit * Remove obsolete pbr setup-hooks Co-Authored-By: Andreas Jaeger <aj@suse.com> Change-Id: Iec8c47b82022b616b8361651bf23f853b0ce5624
* Merge "Add swift_api_audit_map.conf to setup.cfg"Zuul2020-01-061-0/+1
|\
| * Add swift_api_audit_map.conf to setup.cfgBen Nemec2019-12-021-0/+1
| | | | | | | | | | | | | | This file was added in the previous commit, but if it doesn't appear in setup.cfg it won't be installed. Change-Id: I4498aaf0b646046611291ccca7536f9099b97446
* | Merge "Add swift_api_audit_map.conf"Zuul2020-01-061-0/+13
|\ \ | |/
| * Add swift_api_audit_map.confChristian Schwede2019-08-301-0/+13
| | | | | | | | Change-Id: Id1b2944783ecaaa631ce9c1ceebfa1a30de4d4c6
* | Change README.rst with a better titleyangkun.lc2019-12-261-7/+3
| | | | | | | | Change-Id: Ica55dea9f53e363b08f89c54ea896ba2081bf86a
* | Switch to Ussuri jobsxuanyandong2019-10-251-1/+1
| | | | | | | | Change-Id: Ice4c614cd2bf239098753ed76ecec41c9bb60b42
* | Update source link in readmexuanyandong2019-10-061-1/+1
| | | | | | | | Change-Id: I4d7aeed21a13cbd6510a5af8f71c5a924f24ae90
* | Update the constraints urlpengyuesheng2019-09-291-1/+1
|/ | | | | | For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I57071420ae34395f9c56ffe50481138417bbe632
* Merge "Add Python 3 Train unit tests"train-em2.10.0Zuul2019-07-082-3/+2
|\
| * Add Python 3 Train unit testsCorey Bryant2019-07-052-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Depends-On: https://review.opendev.org/669543 Change-Id: I3555792aff294a1ea533464ef78a1cc8bf545c82 Story: #2005924 Task: #34215
* | Removes temporary fix for doc generationColleen Murphy2019-07-054-48/+3
|/ | | | | | | | | | | | | | | | A temporary fix was added to get around a bug in how pbr handles its autodoc_tree_index_modules setting. Since this bug is fixed we no longer need the work around. This change is needed since the workaround is now incompatible with the latest version of Sphinx. See also[1][2]. [1] https://review.opendev.org/191633 [2] https://review.opendev.org/121667 Change-Id: Idf9dc73d99b4233f49effe24aa047959b1a2ef2c
* OpenDev Migration PatchOpenDev Sysadmins2019-04-191-1/+1
| | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Add py37 tox env and drop py35Vishakha Agarwal2019-02-283-3/+3
| | | | | | | | | | | | With python3.7 jobs added to the Zuul jobs, it makes sense to add this to the tox config too so that developers can run python3.7 tests as well. Python 3.5 was the target runtime for the Rocky release. The current target py3 runtime for Stein is Python 3.6, so there is no reason to keep testing against the older version. Change-Id: Icada08448d9bf3cc0f1d522d93b07d8789adad14
* add python 3.7 unit test jobCorey Bryant2019-02-141-0/+1
| | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.7. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Change-Id: I67aea3f93e54c55952f33464e582cc989c9867ea Story: #2004073 Task: #27422
* Add release note for MD5 hash removalstein-em2.9.0Ben Nemec2019-01-241-0/+6
| | | | | | | The use of MD5 was removed in Icaeb3305c788db2913fe99792ea6311d218b3410. This just adds a release note to communicate that to consumers. Change-Id: I6a6487335852a71c3f5591c9bfc7acd6bd14cd0d
* Change openstack-dev to openstack-discussmelissaml2018-12-041-1/+1
| | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: Ice8af70eaeca739698a07eed123594dac1503096
* Enabling FIPS mode by using sha256 instead of md5Raildo Mascena2018-11-011-2/+2
| | | | | | | | | | FIPS does not allow md5, some systems like RHEL needs to have FIPS compliance, in order to execute some routines like when try to use keystone-manage. As a general rule, we should avoid using md5 if we can and move over to SHA wherever possible. Change-Id: Icaeb3305c788db2913fe99792ea6311d218b3410 Closes-Bug: #1767024
* Merge "Use templates for cover and lower-constraints"Zuul2018-10-122-13/+6
|\
| * Use templates for cover and lower-constraintsAndreas Jaeger2018-09-302-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small cleanups: * Use openstack-tox-cover template, this runs the cover job in the check queue only. Remove individual cover jobs. * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Fix cover job, $project is not expanded in tox.ini and thus the job fails. Use "pycadf" instead. Change-Id: I72da23a0d6c6b3cc87e66d94c419668fce66e704
* | Don't quote {posargs} in tox.iniVieri2018-10-091-1/+1
|/ | | | | | | | Quotes around {posargs} cause the entire string to be combined into one arg that gets passed to stestr. This prevents passing multiple args (e.g. '--concurrency=16 some-regex') Change-Id: Ib74244eea0ff4fa37dc3308360691059c6fa448b
* add lib-forward-testing-python3 test jobDoug Hellmann2018-08-291-0/+1
| | | | | | | | | | | | 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: I3cf9c67c603496ea777b07fe266df1bb65727206 Story: #2002586 Task: #24304
* add python 3.6 unit test jobDoug Hellmann2018-08-291-0/+1
| | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 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: Ie8632282d70dcd0ce75d0352eb83bac9846134c9 Story: #2002586 Task: #24304
* switch documentation job to new PTIDoug Hellmann2018-08-291-1/+1
| | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs 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: Ie60add7e0451511d661bc98f7c41170e7289e93f Story: #2002586 Task: #24304
* import zuul job settings from project-configDoug Hellmann2018-08-291-0/+9
| | | | | | | | | | | | | | | | | | | | 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. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: If97c62d66c86cd0cd62f647155178ed63dbc4db0 Story: #2002586 Task: #24304
* Switch to stestrVu Cong Tuan2018-07-246-9/+14
| | | | | | | | | | 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. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: Ib4c7bb59c92946c3e8b257cbf1ce2f44cb1c40ed
* Merge "Remove moxstubout usage"rocky-em2.8.0Zuul2018-06-072-5/+1
|\
| * Remove moxstubout usageCharles Short2018-05-212-5/+1
| | | | | | | | | | | | | | | | As of version 3.5.0 moxstub will be deprecated, so remove it where it has been used. Change-Id: I033646a1e32a44dea54d902c43bb4def9da89b33 Signed-off-by: Charles Short <zulcss@gmail.com>
* | fix tox python3 overridesDoug Hellmann2018-06-061-0/+5
|/ | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I370e66f1a4f4a0af629afa109d51d095a4700327 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Merge "add lower-constraints job"Zuul2018-05-103-0/+69
|\
| * add lower-constraints jobDoug Hellmann2018-05-103-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: I44a46d05b5818c30657f123ae714b4189c506aae Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "Trivial: Update pypi url to new url"Zuul2018-05-032-8/+8
|\ \