289 Commits

Author SHA1 Message Date
Hervé Beraud
7dcae118a8 Align contributing doc with oslo's policy
Related to:
- https://review.opendev.org/#/c/723044/
- https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Change-Id: I9fd7b10805b00a0615f0ad1b5a682bed2eac4359
2020-05-04 18:28:54 +02:00
Zuul
30996b9c92 Merge "Add py38 package metadata" 2020-04-27 10:05:51 +00:00
Sean McGinnis
3a818cd152
Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.

This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.

Change-Id: I49122f9d82688c557424a1c62d4fc207872f6436
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:25:50 -05:00
Sean McGinnis
fff0402e65
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: If66a647d97ed8ee94a237d1a837f00cd7a97cdd4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:13 -05:00
b8188bc197 Add Python3 victoria unit tests
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: I9f2dece1591e624d67992f1c80324706d404d90e
2020-04-14 10:16:44 +00:00
b6c74f9f51 Update master for stable/ussuri
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: I5fd53717da63c0e37e31b7310c3db04b4e4b4463
Sem-Ver: feature
2020-04-14 10:16:42 +00:00
Zuul
314c4e7915 Merge "Use unittest.mock instead of third party mock" ussuri-em 2.0.1 2020-04-06 15:06:02 +00:00
Andreas Jaeger
4838541e98 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I76369aad2778418182eab7c3eaf331b8d6b8fb1d
2020-04-02 14:59:15 +02:00
Sean McGinnis
cc7f78cfa6
Use unittest.mock instead of third party mock
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: I0ec3d1c0f53bf859ea1ec115ebb47f1d5f3b217c
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-31 14:43:17 -05:00
Hervé Beraud
d5b08d7568 remove outdated header
Change-Id: I4c67b11212a7ab662bdc36011eebfe88a09f24c5
2.0.0
2020-02-11 18:50:21 +01:00
Hervé Beraud
57cfce71db [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in Ussuri cycle.

Complete discussion & schedule can be found in
-
http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I700fe8837312c5c9d88dcdd073389f81a1d874bd
Sem-Ver: api-break
2020-02-06 10:25:49 +01:00
Zuul
8769b65571 Merge "tox: Trivial cleanup" 2020-01-28 15:20:42 +00:00
caoyuan
edcb44e957 tox: Trivial cleanup
move 'basepython' to the top-level 'testenv'

Change-Id: I5bf3334da567eb480d573ccc1cfe62ae13bdc2a2
2019-12-23 13:52:08 +00:00
Stephen Finucane
b33d26efab trivial: Remove cruft from sphinx config file
Change-Id: I707dd369d5a26e463cf3661b82b7563eb575ce5c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2019-12-17 16:30:15 +00:00
Stephen Finucane
d18eb6c44a tox: Add missing deps for 'releasenotes' job
This was missed in change Ice407c712b5438b06c4f439c73946640a0c5a86c.

Change-Id: I9bf7f11dc2779d94c63e5d311072a6fecfb4093d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2019-12-17 16:29:28 +00:00
Stephen Finucane
1209fb97c7 Switch from 'collections' -> 'collections.abc'
Resolve the following deprecation warnings on Python 3.x:

    DeprecationWarning: Using or importing the ABCs from 'collections'
    instead of from 'collections.abc' is deprecated since Python 3.3,and
    in 3.9 it will stop working"

Note that even though we're in Ussuri, I've kept this Python 2
compatible since we haven't done all the other work to mark this
package as Python 3-only.

Change-Id: Iff4cf1871a6a91d91da03d9b79ef61e715a979cf
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1.31.1
2019-12-05 14:55:52 +00:00
Zuul
9da166ae7f Merge "Exclude tests from apidoc" 2019-12-02 18:23:26 +00:00
Zuul
5349f78d1b Merge "Switch to Ussuri jobs" 2019-12-02 14:49:49 +00:00
Chris Lamb
ca98f3fde8 Exclude tests from apidoc
it is not only useless to an end user but it also
includes random/non-deterministic contents.
This change makes the build reproducible.

See https://reproducible-builds.org/ for why this is good.

Change-Id: Ie40178da80161839379aa9762cd7a5361b44953b
2019-11-07 10:40:04 +01:00
caoyuan
8a37087388 tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: Ied545a35429a87dc32b746ed54595311d903fea2
2019-10-24 14:52:46 +08:00
pengyuesheng
4948c64378 Switch to Ussuri jobs
Change-Id: I85c0073f46f56b1b17a32a38b9f15592f2e7f821
2019-10-24 14:33:45 +08:00
Zuul
d01665d7d8 Merge "Update master for stable/train" 2019-10-10 12:42:01 +00:00
pengyuesheng
0c8facb24b Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I3b54f4034c1fa24c016d381d6a48f2d85a0c290d
2019-09-26 14:05:39 +08:00
39ed8ffc50 Update master for stable/train
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: I886cc59de42a5be385ba3a4aebc65c8fbfc021da
Sem-Ver: feature
1.31.0
2019-09-20 16:36:39 +00:00
Zuul
cf35fec00a Merge "Move doc related modules to doc/requirements.txt" 1.30.0 train-em 2019-07-11 13:41:22 +00:00
Corey Bryant
6c234d498c Add Python 3 Train unit tests
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: I07f16ead91bc6f8192d8631fe6eec7240b8d09a1
Story: #2005924
Task: #34234
2019-07-05 15:00:15 -04:00
caoyuan
f35e099910 Move doc related modules to doc/requirements.txt
Change-Id: Ice407c712b5438b06c4f439c73946640a0c5a86c
2019-07-06 00:52:54 +08:00
gujin
25dc067cb7 Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

This change fixes `requirements-check` Zuul job.

Change-Id: I9c3dff8c0a87d3bad327f83770f8a6f8484abac6
Closes-Bug: #1831410
2019-06-03 11:01:04 +08:00
jacky06
8425d85fd8 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with
their opendev.org counterparts.

Change-Id: I64347cfbd447605609dbe8d3628672776136d3ef
Closes-Bug: #1825934
2019-04-23 05:34:29 +00:00
OpenDev Sysadmins
869397745f 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:

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.
2019-04-19 19:41:50 +00:00
54f7dd96c8 Update master for stable/stein
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: I6998f0899c5f79f1cb67c0a422c1a00c5813c81c
Sem-Ver: feature
2019-03-18 14:46:14 +00:00
Zuul
9fb535371e Merge "Update hacking version" 1.29.2 stein-em 2019-02-19 19:20:20 +00:00
ZhongShengping
afadb4485e add python 3.7 unit test job
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
Story: #2004073
Task: #27440

Change-Id: I7c42062b7ac69056a5939cfc61cd1b55e62d20e1
2019-02-19 13:56:43 +08:00
ZhijunWei
8171c03846 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I8c82e52e03b2489aca0b70de761da5ac328c7b9c
2019-02-17 11:16:48 +08:00
Andreas Jaeger
3c71e50f0a Use template for lower-constraints
Small cleanups:

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

Change-Id: I9afc3fea143059fa8325577ca7997af961884af7
Needed-By: https://review.openstack.org/623229
2018-12-20 20:14:58 +01:00
ZhongShengping
d413a13f58 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: Ieeae87a4dec62f2a71739708e2dbd4a75f7649b6
2018-12-05 09:38:38 +08:00
ZhongShengping
19449065aa Clean up .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools.

To this end, remove the long-standing sections for "Mr Developer"
and "Editors" since their mere existence here sends the signal that
we welcome (and have time to review) additions for any old tool
someone ever might happen to try. Also add a comment block
explaining this, for clarity.

We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks called from tox,
documentation and packaging builds, et cetera).

This change is a port of I1b41efac219fca44e2548fc36633724d0ecfc0cb
from the openstack-dev/oslo-cookiecutter repository.

Change-Id: I58fac7a90ae611217a978a6a0190abb8efca44e2
2018-10-15 11:51:32 +08:00
OpenStack Proposal Bot
dde49a40dc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib475e2dfbaa0f87861a23557f179010d5b60cd68
1.29.0 1.29.1
2018-08-16 06:30:54 +00:00
Doug Hellmann
c0d7bbded1 add lib-forward-testing-python3 test job
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: I77f9b9e83cbe353d099141916eec588896b404c5
Story: #2002586
Task: #24322
2018-08-14 16:39:37 -04:00
Doug Hellmann
cf41a66e09 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:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I849ca8109ad729ed0abc9fbd2481332c1d86983d
Story: #2002586
Task: #24322
2018-08-14 16:39:37 -04:00
Doug Hellmann
8b94c8261b 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
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: I629d58dc71035804b0fd7773afa1dae430477896
Story: #2003250
2018-08-14 16:39:37 -04:00
Zuul
33e9c5d46b Merge "Update unit test to reflect latest oslo.config" 2018-08-10 20:42:18 +00:00
Ben Nemec
98c0d2c1db Update unit test to reflect latest oslo.config
Because we added the default config_source opt in oslo.config, it
is now showing up in the GMR output and needs to be included in the
expected content.  However, for lower constraints testing we also
need to continue to support the older versions without config_source,
so the target_str is built dynamically based on whether the opt
exists.

Change-Id: I20b01285000ce84b69e8bd3cee8078edf03616f8
2018-08-02 15:31:08 +00:00
381f9f15e3 Update reno for stable/rocky
Change-Id: I00f829478576592c1829c8f118e7a2b70ba41ff5
2018-07-26 12:39:39 +00:00
Vu Cong Tuan
8d49f91349 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.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Id762418616487dfb0955675b7c50085b48307879
2018-07-03 16:05:38 +07:00
melissaml
3cd1e767c3 Add release notes link to README
Change-Id: Iec18feef9515d3d206d9bcc29bb3f2077f3b828b
2018-06-21 13:13:51 +08:00
Zuul
0bfa82ad4f Merge "Remove the remaining of the removed option" 2018-06-13 11:24:34 +00:00
Doug Hellmann
055d347c0f 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: I98b578898a34f94bbe8de7bb02cd2c94626eaac7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 14:53:49 -04:00
wangqi
5d7035c8de Remove the remaining of the removed option
According to I8ae8507a089df4d0a32be5fbc615e2166f44516e the config option
multi_instance_display_name_template has been removed.
So this patch removes the remaining of the option.

Change-Id: I3f92add2f4505424264356a7ab832855c8971550
2018-05-22 02:57:55 +00:00
Vu Cong Tuan
884cee9f68 Replace deprecated "auth_uri" by "www_authenticate_uri"
According to [1], "auth_uri" has been deprecated.
This patch replace it by using "www_authenticate_uri" instead.

[1] https://review.openstack.org/#/c/508522

Change-Id: Ic490c9a1262c7aaae2c40b5c2b22b3a66ba294f1
2018-05-11 09:49:55 +07:00