summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX_CONSTRAINTS_FILE for stable/victoriastable/victoriaOpenStack Release Bot2020-09-111-3/+3
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/victoria branch, tests will continue to use the upper-constraints list on master. Change-Id: I637f6346523050e7efde54fa0a66f5ea9c302ec9
* Update .gitreview for stable/victoriaOpenStack Release Bot2020-09-111-0/+1
| | | | Change-Id: I2672a01e251eff9311782ed1467a7f9e9edaf569
* fix supported python versions in documentationvictoria-em3.2.2Evgeni Golov2020-09-081-1/+1
| | | | Change-Id: Ia92d5b8f6194d9f7ba2f3221fe378dafe23be567
* Fix the bug 1892610. There're some syntax errors in the comment of stevedore ↵3.2.1zhangziwen2020-08-236-9/+9
| | | | | | | | | | | | | | code. There is a syntax error in the comment of stevedore code. For example, in the HookManager class: :param on_load_failure_callback: Callback function that will be called when a entrypoint can not be loaded. Here should not be `a entrypoint`, just `an entrypoint` instead. Fixes: bug #1892610 Change-Id: Ic2aaf5f467bcecaec6adff1ead8e159ae749ac50
* add property methods to extension for more entry point values3.2.0Doug Hellmann2020-07-123-0/+73
| | | | | | | | | The underlying EntryPoint class has some similar methods to fetch these values, but they depend on the version of importlib.metadata that is installed, so this provides a consistent API Change-Id: I7a1b9541f0e4042a224e49c890ba3c63e8a5a259 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* sphinxext: fix warning message for detailed list3.1.0Doug Hellmann2020-07-124-18/+35
| | | | | | | | | | | Fix the way the warning for undocumented modules in a detail list is produced. The new importlib.metadata.EntryPoint type is derived from namedtuple so using string interpolation means the multi-part tuple causes an error. Take the opportunity to include a more detailed message. Change-Id: I02223a982258a1bf8fc28fa91c7c090c7ac3554e Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* add release note before major version update3.0.0Doug Hellmann2020-07-101-0/+15
| | | | | Change-Id: I1ffe194f9edfffac07c9c78f9691e999f2e61246 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* switch to importlib.metadata packageDoug Hellmann2020-07-0613-34/+243
| | | | | | | | | | | | | | | | Load entry points using 'importlib.metadata' instead of 'pkg_resources'. Include a caching layer. The cache stores the parsed text data from all of the ini input files in a single JSON file with a name based on the hash of the path entries and the mtimes. This should produce a unique filename for each import path, regardless of the use of a virtualenv. The data is stored in a format that means no other files need to be examined or parsed in order to return EntryPoint objects. Change-Id: I8b08f289d446f4775eac1e1a91997fa96f25f641 Depends-On: Ic6db7af34c87a636bfe55bacae03c42154f4b9c7 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Remove Travis CI config2.0.1Sean McGinnis2020-06-081-13/+0
| | | | | | | | Travis is not actually used for this repo. Remove the old configuration file to clean things up. Change-Id: I862f8e0222a7f0e12c7b67ad305e021b76859fe4 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Replace external mock with built-in unittest.mockMichał Górny2020-06-058-10/+10
| | | | | | | | | Now that stevedore does not support Python 2 anymore, there is no need to ever use the external 'mock' package. Python 3.3+ has it integrated as 'unittest.mock', so just use that. Change-Id: I28a50cac12670bb6987b4c7794a15e15aa1fe965 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Merge "Stop to use the __future__ module."2.0.0Zuul2020-06-034-8/+2
|\
| * Stop to use the __future__ module.Hervé Beraud2020-06-034-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: I5f8107287877dc5dc4a12c1f85e8671c8d49f56f
* | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-06-024-33/+14
|/ | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Disable openstackdocs_auto_name to use 'project' variable as name. 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: Ie53af423c56f3355e7e911e6f2efd6c73c6d57c5
* Add Python3 victoria unit testsOpenStack Release Bot2020-05-041-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: I60066db4e84dd3807cd9c35d44e8253ff1c54438
* Mark sphinx extensions thread safeSean McGinnis2020-04-211-0/+4
| | | | | | | | | | This adds the return of some metadata to our sphinx extension setup to indicate they are thread safe. This is needed to allow consuming projects to do multithreaded docs builds. In some cases, this can save a noticeable amount of time in job execution. Change-Id: I43e8f0c992eaec9f5b669eea4ae551c8a3273588 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Remove dead filesStephen Finucane2020-04-212-43/+0
| | | | | | | | | You don't need a MANIFEST.in file when using pbr, and the announce.rst file wasn't referenced anywhere and has been effectively replaced by reno. Change-Id: Ib40d6f194a47901487c4fca1220dad7002d31984 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Drop Python 2.7 supportStephen Finucane2020-04-2113-57/+25
| | | | | | Change-Id: I7ae34cb701111adb2968e9b0c153dfd60aeb2fbb Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Sem-Ver: api-break
* Update master for stable/ussuriOpenStack Release Bot2020-04-142-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: Ib0b263bcc254061c17a42bcb974591d10213545a Sem-Ver: feature
* Merge "Blacklist sphinx 2.1.0 (autodoc bug)"ussuri-em1.32.0Zuul2019-12-191-1/+1
|\
| * Blacklist sphinx 2.1.0 (autodoc bug)pengyuesheng2019-10-101-1/+1
| | | | | | | | | | | | See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details Change-Id: I0573019ba9e98d31ccb43179590a970c9b7647af
* | Switch to Ussuri jobspengyuesheng2019-10-251-1/+1
| | | | | | | | Change-Id: I473d9bb2d8a1f936ea220baa35815d64340eb9c6
* | Merge "Update master for stable/train"Zuul2019-10-102-0/+7
|\ \ | |/ |/|
| * Update master for stable/trainOpenStack Release Bot2019-09-202-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: I8d08e2f45efacaf96f6935c9ce86813263b2f2c3 Sem-Ver: feature
* | Update the constraints urlpengyuesheng2019-09-291-3/+3
|/ | | | | | For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I82437c3e68e65475df7490e34e6f47b2b927a982
* Add Python 3 Train unit teststrain-em1.31.0Corey Bryant2019-07-053-3/+3
| | | | | | | | | | | | 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 Change-Id: Idcfef4d6661e51ba36caa0885e36df3784e483ab Story: #2005924 Task: #34234
* Add local bindep.txtElod Illes2019-06-272-0/+19
| | | | | | | | | | | | | | | As it was announced [1] global bindep-fallback.txt was removed and now projects need to have a local bindep.txt to be able to install binary dependencies for testing. In documentation zuul job graphviz package ('dot' command) is needed. Without that the job fails with: dot command 'dot' cannot be run (needed for graphviz output), check the graphviz_dot setting [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html Change-Id: I5efddfc72e9dc0dd1b8b9e1e37708e1d30ef3c39
* Cap Bandit below 1.6.0 and update Sphinx requirementHervé Beraud2019-05-162-3/+5
| | | | | | | | | | | Bandit 1.6.0 accidentally changed how the exclusion list option is handled and breaks our use of it. Cap to the previous version until Bandit has fixed the problem. Sphinx 2.0 no longer works on python 2.7, so we need to start marking it there as well. Change-Id: Ieaf9c77d62551352833a644ab22dff261c08bb78
* Merge "update git.openstack.org to opendev"Zuul2019-05-035-7/+7
|\
| * update git.openstack.org to opendevliuwei2019-04-255-7/+7
| | | | | | | | Change-Id: Ie3617d76b6131386c2fa241b41888436ed44909f
* | Merge "Dropping the py35 testing"Zuul2019-04-243-3/+2
|\ \ | |/ |/|
| * Dropping the py35 testingGhanshyam Mann2019-04-163-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All the integration testing has been moved to Bionic now[1] and py3.5 is not tested runtime for Train or stable/stein[2]. As per below ML thread, we are good to drop the py35 testing now: http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html [2] https://governance.openstack.org/tc/reference/runtimes/stein.html https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: Ib38da77120fd0392984388350bb785eae5893c06
* | 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.
* Update master for stable/steinOpenStack Release Bot2019-03-182-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/stein. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/stein. Change-Id: I3dee8ebf67de1f4cb6724e832cace24a273ba483 Sem-Ver: feature
* Delete repeated param description.zhangwen12019-03-141-2/+0
| | | | Change-Id: Icdccc700a91f893a4427ee89c140de9a153e4c54
* add python 3.7 unit test jobSahid Orentino Ferdjaoui2019-02-262-1/+2
| | | | | | | | | | | See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Story: #2004073 Co-authored-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com> Change-Id: If7fc1428d98a96d73d90ca261c12c67836329341
* Use template for lower-constraintsstein-em1.30.1Andreas Jaeger2018-12-201-10/+5
| | | | | | | | | | | Small cleanups: * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Change-Id: Ie4fa0a49318e20b9c4a32db44de0bdb59666eddd Needed-By: https://review.openstack.org/623229
* Change openstack-dev to openstack-discussmelissaml2018-12-041-1/+1
| | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I4d3bd4a4536e972fa2ebf14a9c73b674084cad88
* Update sphinx logging to not use app object1.30.0Sean McGinnis2018-10-161-6/+6
| | | | | | | | | | | Logging via the application object was deprecated in sphinx 1.6 and is now removed in the master branch that will become 2.0. This updates our sphinx extension to use the recommended sphinx.util.logging instead. Closes-bug: #1798174 Change-Id: Ie66579146d68680905c3eac3d256369309130cf4 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Removed older version of python added 3.5qingszhao2018-09-292-2/+2
| | | | | | In setup.cfg file the python 3.5 is added Change-Id: I6dbad224fb05d0f2fdb70828d157429bb1cf6282
* Update doc/conf.py to avoid warnings with sphinx 1.8zhang.lei2018-09-181-1/+1
| | | | | | | | The autodoc_default_flags option is now deprecated.[1] This warning can cause documentation build failed. use autodoc_default_options instead. [1]https://github.com/matplotlib/matplotlib/pull/11928 Change-Id: I73041da072edb635661503b75a9c7460e1242220
* Merge "fix wrong link"Zuul2018-08-231-4/+0
|\
| * fix wrong linkwu.chunyang2018-08-081-4/+0
| | | | | | | | Change-Id: I19f63102037199d3a5b3afb614900075d8710b63
* | add lib-forward-testing-python3 test jobDoug Hellmann2018-08-111-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: I760a924068be4d61496010cec967e5a181042b1b Story: #2002586 Task: #24322
* | add python 3.6 unit test jobDoug Hellmann2018-08-071-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: I48e460abaf97613dfd2c9b035b322d38ba9bab52 Story: #2002586 Task: #24322
* | import zuul job settings from project-configDoug Hellmann2018-08-031-0/+8
|/ | | | | | | | | | | | | | | 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. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ia67171e6d46244a712ec8b8aa5736e9b8683600e Story: #2003250
* Update reno for stable/rockyOpenStack Release Bot2018-07-262-0/+7
| | | | Change-Id: I7c0686a713d9e302f47f41c04cc3b3f2b1f79f6b
* Remove unnecessary py27 testenvrocky-em1.29.0Vu Cong Tuan2018-07-061-3/+0
| | | | | | | | | | The pyNN factors automatically set basepython unless explicitly requested otherwise. Therefore, "testenv:py27" section are unnecessary and should be removed as the recommendation from Stephen in [1] [1] https://review.openstack.org/#/c/580250/3/tox.ini@15 Change-Id: I07428041f70c68520c451589fc65cb586741b69b
* Switch to stestrVu Cong Tuan2018-07-056-9/+8
| | | | | | | | | | 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: I1b5bd8a53d0f93b99dd60fd5711a60f1135bcc4c
* fix tox python3 overridesDoug Hellmann2018-06-062-2/+6
| | | | | | | | | | | | | | | | | 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. Decode subprocess output so it has the right type under python 3. Change-Id: Id2df5439fa6e788199bec4ac7c98c56347053621 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Trivial: Update pypi url to new urlXiaojueGuan2018-05-011-2/+2
| | | | Change-Id: Ie738ac6938b035c414c0c8d964b771c5155ed115