Commit Graph

931 Commits (3b21157a844be5b71fba2216486c3ef412e7ae1a)

Author SHA1 Message Date
Tim Burke 3b21157a84 Clean up warnings from newer flake8
Change-Id: I18a6327b3acdd4db5ae80097080c043f7c20c353
2019-06-27 21:43:46 -07:00
Tim Burke 113eacf3b8 Isolate docs requirements
...since modern sphinx won't install on py27.

While we're at it, clean up some warnings and treat warnings as errors.

Also, fix up how we parse test configs so we can run func tests.

Related-Change: Id3c2ed87230c5918c18e2c01d086df8157f036b1
Change-Id: I3718f69610545b0dbcb0a2ab45b400da3a45682c
2019-06-27 16:48:33 -07:00
Zuul b52c13f648 Merge "Replace URLs with URLs" 2019-05-21 23:08:20 +00:00
Zuul 2e43285f67 Merge "docs: Clean up formatting" 2019-05-13 19:48:14 +00:00
jacky06 7103da3467 Replace URLs with URLs
Change-Id: I0991c93fbf5b015b68dd94f3fe805ec705014f06
2019-04-23 13:45:07 +08:00
OpenDev Sysadmins af4bac31fa OpenDev Migration Patch
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:

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 with any
questions you may have.
2019-04-19 19:32:30 +00:00
Zuul 6714000130 Merge "Update master for stable/stein" 2019-04-03 06:17:57 +00:00
Zuul 3da44edba5 Merge "Remove oslosphinx usage" 2019-04-03 05:46:38 +00:00
OpenStack Release Bot 7e9717c04c Update master for stable/stein
Add file to the reno documentation build to show release notes for

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on

Change-Id: I05c44e97e766aa4130b72f6d8d1a6a111ccafd12
Sem-Ver: feature
2019-04-02 16:20:57 -07:00
Zuul e325ed7f9e Merge "Enable some off-by-default checks" 2019-03-30 07:17:20 +00:00
Zuul b62d378836 Merge "Make proper functions instead of assigning lambdas" 2019-03-30 03:34:49 +00:00
Tim Burke 7563d9cb56 docs: Clean up formatting
Change-Id: I0bcaf15c54dd3b3c590a543569699fe8ec5b0c7c
2019-03-25 09:35:47 -07:00
Dirk Mueller 5333f3e98a Remove oslosphinx usage
The client actually uses the newer openstackdocstheme.

Change-Id: If78d5fba58cf9e611253259fcdff2191ad3b8709
2019-03-23 23:19:45 +01:00
Thiago da Silva 991a6cebb9 Update release to 3.7.0
Due to Openstack Release policies, the next release needs
to be a minor release, thus bumping to 3.7.0.

Change-Id: If52d48908cfd47c5b94265ebd9ab8e3289c7b19c
2019-03-04 11:55:46 -05:00
Zuul eabed44f82 Merge "authors/changelog updates for release" 2019-03-01 22:29:55 +00:00
John Dickinson 344711771d authors/changelog updates for release
Change-Id: Ic14916c314043155a5ec3c5b29331862c6aded43
2019-03-01 08:32:50 -08:00
Tim Burke d32deaaddd Add py37 check/gate jobs; add py37 to default tox env list
Change-Id: Ifbc6dc731df20b4bba905a110e71ea5c9cc52c0f
2019-02-27 11:11:12 -08:00
Zuul b8c863e6bb Merge "Update hacking version" 2019-02-22 02:45:59 +00:00
wangzhenyu fd6e76029d Enable some off-by-default checks
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None

Change-Id: I36a6997fdb806b4d0a9d064107cc1451c766c987
2019-02-21 09:31:09 -08:00
Tim Burke 0ee7c8272e Make proper functions instead of assigning lambdas
Change-Id: I89255f6923c649c7b9d3d36e96c09f8bc4f51a3c
2019-02-21 09:26:32 -08:00
Zuul 4b99492dc5 Merge "Add python 3.6 unit test job" 2019-02-14 04:11:09 +00:00
ZhijunWei 2ff36fde57 Update hacking version
1. update hacking version to latest
2. fix pep8 failed

Change-Id: Ifc3bfeff4038c93d8c8cf2c9d7814c3003e73504
2019-01-03 13:09:22 +08:00
Andreas Jaeger 9da2636912 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
* Sort list of templates

Change-Id: Idb31ca14478641cba6f896af35fa766d7bdb9e1e
2018-12-20 21:52:45 +01:00
Zuul 4e4f57a5fc Merge "Add delimiter to get_account()." 2018-12-06 04:27:42 +00:00
sunjia 0e6c63dfd4 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I3193f2d12f75c36b59881a51b605d25274b335e0
2018-12-03 22:02:00 -05:00
Timur Alperovich edfeae3723 Add delimiter to get_account().
Exposes the delimiter parameter, which the Swift API supports for
container listings.

Change-Id: Id8dfce01a9b64de9d1222aab9a4a682ce9e0f2b7
2018-11-30 22:58:36 +00:00
qingszhao 8a42281468 Add Python 3.6 classifier to setup.cfg
Change-Id: If3b2cdcd009136286d68fe07b14e06261b3069a0
2018-11-30 07:32:03 +00:00
Thiago da Silva fc128672f6 update .functests to run stestr
Updated .functests script to run similar to how it's defined
in tox.ini

Change-Id: I17df28d8cbe0e10e48b26c2f9737308552ea88db
2018-11-24 08:12:15 -05:00
Zuul 8778c91c71 Merge "Stop leaking quite so many connections" 2018-11-09 23:18:16 +00:00
Zuul 2d8836333b Merge "Update reno for stable/rocky" 2018-11-09 23:18:15 +00:00
OpenStack Release Bot 0197a0f9ca Update reno for stable/rocky
Change-Id: I840f4363dfdb3b485dbaf768c71fbcc5227c330f
2018-11-09 10:24:47 -08:00
Tim Burke 411ef48e5b Stop leaking quite so many connections
While investigating the failures when you move func tests to py3, I
noticed a whole bunch of

   ResourceWarning: unclosed <socket.socket ...>

noise. This should fix it.

While we're at it, make get_capabilities less stupid.

Change-Id: I3913e9334090b04a78143e0b70f621aad30fc642
Related-Change: I86d24104033b490a35178fc504d88c1e4a566628
2018-11-09 09:55:30 -08:00
Nguyen Hai Truong 5e988c5cde Add python 3.6 unit test job
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:

Change-Id: Iae4acab507e45a379c8af129912e13621a2a553b
2018-11-06 23:17:30 +07:00
Vu Cong Tuan 9acdfe0b46 Switch to stestr
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.


Change-Id: Ic098f8560599554e0b6bb16ae326d4d30a8a5504
2018-11-05 09:52:03 +07:00
Zuul 5b6e3822c5 Merge "Stop lazy importing keystoneclient" 2018-10-18 18:58:15 +00:00
John Dickinson a6baf00e24 py2 functional testing
Change-Id: I24ff8fb28969a0b074313bc9491b299afac3b49c
2018-09-27 13:28:05 -07:00
Zuul 2fca5dc390 Merge "fix tox python3 overrides" 2018-09-27 02:00:05 +00:00
Tim Burke d1e1f8d8d6 Stop lazy importing keystoneclient
There were two basic problems:

  - We'd try to import on every attempt at getting auth, even when we
    already know keystoneclient isn't available.
  - Sometimes devs would hit some crazy import race involving (some
    combination of?) greenthreads and OS threads.

So let's just try the imports *once*, at import time, and have None
sentinels if it fails. Try both versions separately to decouple
failures; this should let us support a wider range of keystoneclient

Change-Id: I2367310aac74f1b7c5ea0cb1a822a491e4ba8e68
2018-09-07 16:56:13 -07:00
Tim Burke 70e20b62e6 Use Swift's in-tree DSVM test
While we're at it, make a new job that inherits from it to bring the
legacy-swiftclient-dsvm-functional testing in-tree, too.

For naming, follow naming policy and remove "dsvm" from names.

Remove legacy jobs, they are not needed anymore.

Change-Id: I919c0b77ac4888350194f55a9c12e0742845024f
2018-09-06 22:06:10 +02:00
Doug Hellmann 37ee6459cd fix tox python3 overrides
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: I86d24104033b490a35178fc504d88c1e4a566628
Signed-off-by: Doug Hellmann <>
2018-09-05 05:46:52 +00:00
Zuul 4330d036cd Merge "Make py36 unit test job voting" 2018-09-04 21:08:14 +00:00
Zuul 7fbbd93593 Merge "Add release note link in README" 2018-09-01 00:37:49 +00:00
Tim Burke edbc5d8e21 Make py36 unit test job voting
Change-Id: I42cd4e19bba89c9dd4d7d20c75ee59217b9ea75d
2018-08-31 16:37:41 +00:00
Nguyen Hai 5aee0732ff add python 3.6 unit test job
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:

Change-Id: I6fd051fd0b01a308d16734c5b12e11a12a38c3be
Story: #2002586
Task: #24337
2018-08-31 04:34:43 +00:00
Nguyen Hai 420be0c99e switch documentation job to new PTI
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:

Change-Id: I510e70f2222006df661c6a3d9e26af57b68be835
Story: #2002586
Task: #24337
2018-08-31 04:34:28 +00:00
Nguyen Hai bd6a12c751 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project

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

See the python3-first goal document for details:

Change-Id: I59f4cbc0a21b8be3a1cae28a64f90d5adcf6be24
Story: #2002586
Task: #24337
2018-08-28 17:40:25 +00:00
zhubx007 79e00ea0d6 Add .idea into .gitignore
Generated by IDE PyCharm

Change-Id: Ifc99b34aae581221ae4b8d2533adfc21e91cd291
2018-08-10 17:42:19 +08:00
Zuul 1cf074f4da Merge "Remove unnecessary calls to parse_header_string()." 2018-07-25 00:25:15 +00:00
Zuul 1711f0d6bd Merge "authors/changelog update for 3.6.0" 2018-07-24 23:27:06 +00:00
Zuul d80f24f2fd Merge "Back out some version bumps" 2018-07-24 23:12:51 +00:00