611 Commits

Author SHA1 Message Date
Zuul
e428a1aed0 Merge "Add Python3 yoga unit tests" 4.4.0 2021-09-25 21:33:16 +00:00
Jens Harbott
a29f2afc09 Bump lower-constraint for decorator to 4.2.1
This patch bumps the lower-constraint for decorator to 4.2.1
to resolve a setuptools incompatibility with the usage of 2to3 in
decorator < 4.0.0. Version 4.2.1 of decorator is currently the
packaged version included in centos 8/stream.

Change-Id: Ib74fd9ebbea7496fd3e7f453e618b218f8859f6f
2021-09-24 21:52:17 +00:00
cbd6548d59 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I83e826787e18cdf30e3788da3f1c2df15f1e61e2
2021-09-10 15:14:06 +00:00
157d541b9a Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

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

Sem-Ver: feature
Change-Id: Id0e1d24bdceaf9f5a4d5dac7aa634b4c8d21e828
2021-09-10 15:14:05 +00:00
Zuul
d63f1a5f4d Merge "requirements: Drop os-testr" 2021-05-28 14:19:29 +00:00
Zuul
9bc517aa27 Merge "Remove six and update lower-constraints appdirs" 4.3.0 2021-04-28 07:46:46 +00:00
Michael Johnson
820f1e9af9 Remove six and update lower-constraints appdirs
This patch removes the use of "six" as the package declares only
python3 support.
It also updates the appdirs lower-constraint to 1.4.0 to support
pip. This version is available on both centos8 and focal.
It also removes the linter related packages from lower-constraints.

Change-Id: I9337f1998749bc40737f2f0e2dcc406b6f3a0ddf
2021-03-26 18:22:44 +00:00
f8353c5f03 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I0f54a3b753137e6dbc5ea0c3a77886ad622422d7
2021-03-18 10:25:13 +00:00
cafa8a3ff6 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: I30d16977fdfc4374e3f43c143c588f461b4aa33e
2021-03-18 10:24:40 +00:00
Zuul
233b1ca4b0 Merge "Add Python3 wallaby unit tests" 2021-03-11 18:48:02 +00:00
Zuul
4b9d6a388b Merge "Remove install unnecessary packages" 2021-03-09 23:09:46 +00:00
0e32928cf4 Add Python3 wallaby unit tests
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: I4798b73944b8e614e24759793a6252066f91943b
2021-03-09 21:38:31 +00:00
Zuul
1465ff203a Merge "Fixed zone transfer accept list command" 2021-03-09 01:53:15 +00:00
maaoyu
1f6f489b88 Remove install unnecessary packages
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: Ifb66f44a1c0bb42f3f6aeffc06d1b8ee80d150c5
2021-03-09 01:02:45 +00:00
Zuul
19436ee9f9 Merge "Update readme.rst" 2021-03-09 00:51:16 +00:00
Zuul
4e4684d2d7 Merge "bump py37 to py38 in tox.ini" 2021-02-03 14:25:25 +00:00
Zuul
78f336f1eb Merge "Fix lower-constrains job" 2021-02-02 22:56:26 +00:00
Zuul
db6ae4622c Merge "Update master for stable/victoria" 2021-02-01 00:05:09 +00:00
Erik Olof Gunnar Andersson
e3b88edd9b Fix lower-constrains job
Applied the same fix as was done for designate.

Change-Id: I9cb5f14c732bc2cc42c63dfcb6f13ec6d4f03a35
2021-01-18 18:02:23 -08:00
liushuobj
8492a9e38b Update readme.rst
Change-Id: I1a69e2ca206b9f3e0fb054f9776c2b754045fbda
2021-01-03 11:12:54 +08:00
Zuul
e6e7b191a3 Merge "Add choices to --type command line argument" 4.2.0 2020-12-02 23:25:25 +00:00
maaoyu
c0f62f21b7 bump py37 to py38 in tox.ini
in 'wallaby' cycle, we should test py38 by default.

ref:
  https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: Id16ba0121910132102b6b19c049d605b46e71751
2020-11-05 10:53:30 +08:00
Mike Durnosvystov
196cb61870 Fixed zone transfer accept list command
Change-Id: If7ba1fc9dd3f9d67a49ad3b8ae4c0e0f9733195b
Closes-Bug: 1901172
2020-10-23 13:07:09 +03:00
Michael Johnson
5b8068818d Add auto generated OSC documentation
This patch adds OpenStack client documentation that is auto
generated using cliff.

Change-Id: I7fb7414c268e6413ee7f21fccd7a045ba7f8418c
2020-10-13 11:54:42 -07:00
michaeltchapman
3648e2043e Fix doc reference builds
The api reference was broken some time around the stein release.

Moved conf options out of setup.cfg and into the doc conf.py, and added
an option to doc build to error on warnings so this doesn't happen
again without anyone noticing. The format is now similar to the
novaclient reference doc.

Change-Id: Ic9ed059521794acf1ac1a644096fdc10549fa91b
2020-10-13 12:52:46 +00:00
Nicolas Bock
b68b70a097
Add choices to --type command line argument
We only allow `PRIMARY` and `SECONDARY` zones. Instead of testing for
either one of those two choices later in the code, we can offload this
test to the parser.

Change-Id: I8244e13303646e6686e4233e1edbd2bbc788e054
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2020-10-13 06:33:49 -06:00
Nicolas Bock
8f9c503ecc
Increase hacking version
Increase the hacking version in test-requirements to match the
version used in the `designate` project.

This change fixes a few errors that the more recent `pyflakes` flags.

Change-Id: If7afefde0f33161016a27774021d27239c642eb5
Co-Authored-By: Michael Chapman <woppin@gmail.com>
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2020-10-10 06:47:06 -06:00
dd7fd96f77 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

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

Change-Id: I024babd584b32d85219ecfc01a689ebac2b168b2
Sem-Ver: feature
2020-09-17 17:27:44 +00:00
Stephen Finucane
afddb162c2 requirements: Drop os-testr
It's not necessary in a world with stestr.

Change-Id: I0ea4a24984f2ce72fe0b11a64ba6d916704cc3c5
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-07-09 11:39:48 +01:00
Zuul
055d1601be Merge "Use unittest.mock instead of mock" victoria-em 4.1.0 2020-07-08 17:09:31 +00:00
Zuul
03c4dfb4ee Merge "Add Python3 victoria unit tests" 2020-06-21 07:47:52 +00:00
Zuul
14f6435835 Merge "Update master for stable/ussuri" 2020-06-21 07:47:50 +00:00
Hervé Beraud
c37f8ff9f0 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I3be6c40ef61e0334cab860689abbee84f5d19265
2020-06-09 20:28:22 +02:00
Andreas Jaeger
2612ba13eb Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 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.

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.

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.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I6bac230569a89c055115c852d5cc0cae027cddd8
2020-05-21 09:27:26 +02:00
ad9f8c53f8 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: I7489ab759040cee68fb56e042760820204e4356e
2020-04-09 10:43:39 -05:00
cfe7dc6aee 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: I25b044f6c34422f219420a3ba9f0cb9be4cac0ea
Sem-Ver: feature
2020-04-09 15:41:57 +00:00
Andreas Jaeger
9a2f2d4b9c Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
- Remove html_last_updated_fmt from conf.py, this is not needed with
  openstackdocstheme anymore; update openstackdocstheme requirement

Change-Id: I5389ba08c985e023643c07adf3135809c291146f
ussuri-em 4.0.0
2020-04-04 12:39:05 +02:00
Sean McGinnis
b9bcae0140 Use unittest.mock instead of third party mock
Now that we are py36 or later, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I9582d623727e5853637812083033a348b71551ce
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 18:30:14 +00:00
Sean McGinnis
1c8e5e8013
Drop py27 support
Per the Ussuri cycle goal, this drops py27 testing and support.

https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I0c525eb48270494e8171042e56e14867c53e5af3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 13:28:14 -05:00
kangyufei
b0d3e37732 Switch to Ussuri jobs
Change-Id: I8213aea6bb576ff312c238c8f2ea85fafe318d97
2019-10-22 13:50:22 +08:00
Zuul
eb3c72cd89 Merge "Removing unused code" 3.1.0 2019-09-28 04:55:06 +00:00
Zuul
b230eca4d6 Merge "Switch upper-constraints URL to static location" 2019-09-28 04:44:34 +00:00
Sean McGinnis
d27ef100fc
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: Ibb13de8b19df12cc01776b1b015a836c7cff07dc
Sem-Ver: feature
2019-09-20 12:12:55 -05:00
Sean McGinnis
1a688cd048
Switch upper-constraints URL to static location
During the train cycle, a new static URL scheme was introduced for
upper-constraints URLs that allows us to switch locations based on
configuration and avoid timing windows with the requirements repo
branching. This updates upper-constraints links in the tox.ini file to
point to the newer more prefered location.

Change-Id: I8efbb24483d2a63a8abfa50e328fefb7ffd92e5f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-09-20 12:00:32 -05:00
Zuul
60fa1a6396 Merge "Fix "recordset list --all-projects" in interactive OSC" 2019-09-20 03:21:46 +00:00
Zuul
da02711a52 Merge "More cleanup" 2019-09-20 03:19:29 +00:00
Jens Harbott
6be5c7b49e Fix "recordset list --all-projects" in interactive OSC
Class variables get re-used when multiple commands are executed in a row
within a single OSC interactive session. So we need to take a copy
before modifying in order to avoid unwanted side-effects.

Change-Id: I9716014d65a3f649c23eb78faca2cb6dbf5eb5db
Related-Bug: 1844028
2019-09-18 11:47:09 +00:00
Jens Harbott
3401ce05de More cleanup
- Add .testrepository dir to .gitignore
- Add releasenote jobs
- Remove further v1 references from docs

Change-Id: I178185e9add3d542277255d692e18a8e46ba85d6
2019-09-17 09:38:13 +00:00
Erik Olof Gunnar Andersson
11e7e4bbc1 Removing unused code
Change-Id: I01d39252b0be77b035bde175b4045a8cdc859f65
2019-09-16 18:50:57 -07:00
Joseph M
7cc5f8bb2a Fix "zone list --all-projects" in interactive OSC
The current zone list function does not check to see if project_id is
already a column to be output when adding it during an --all-projects
list. This causes a duplicate field name to be added which is then
passed to prettytables which subsequently throws an exception. Create a
copy of the columns list so it is not appended to with every
command.

Change-Id: I5f62500086a807d5082221993c3b491f3b6a1db0
Closes-Bug: #1844028
2019-09-16 18:52:53 -04:00