52 Commits

Author SHA1 Message Date
Takashi Kajinami
f6bc229e2f Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html

Change-Id: I42c4c46c4d6bc8937a6cd25365e666bcb9d70860
2024-10-24 18:24:40 +09:00
Zuul
90a9fe3d65 Merge "Add new API - zone pool move" 2024-01-10 01:23:59 +00:00
Zuul
d23f3b623c Merge "Remove translation sections from setup.cfg" 2024-01-09 02:43:19 +00:00
Ghanshyam Mann
94789948d5 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Ib1e33784a6258e8e4f72ef9997e551ed3c00c80a
2024-01-08 11:27:41 -08:00
Takashi Kajinami
06c168e200 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can generate
translation files without them.

Also, the options in egg_info section are not necessary and can be
removed. Especially, tag_svn_revision was already removed[1].

[1] https://github.com/pypa/setuptools/issues/619

Change-Id: I965b765dfa8f1865ee27d52fdef9df8267db756f
2023-12-20 11:33:18 +09:00
likui
4796812543 Add python3.9 support in testing runtime
In 2023.2 cycle testing runtime, project test in py38 py39 and py10

[1] https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I2573fdd15c73d1b1a3fe8587bc1a16ecf3fd8ceb
2023-08-04 16:18:24 +00:00
kpdev
84e585dbc2 Add new API - zone pool move
The new API would be v2/zones/<zone_id>/tasks/pool_move
Only POST would be allowed on this API.

Implements: blueprint zone-move
Change-Id: I41525a005e98244c60078e7004c2a75dd170f06e
2023-06-09 09:05:52 +00:00
Igor Malinovskiy
bc39d23ff5 Add shared zone commands
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Iea92371176d9126205384624a18a9097acb3daef
Partial-Bug: #1714088
Depends-On: https://review.opendev.org/#/c/726334/
2023-02-13 20:51:32 +00:00
dekehn
6a8ef57dc7 Update metadata in setup.cfg
we are using some "aliases" that the setuptools docs say
"are supported for compatibility reasons" but their use
is not advised[1].

[1] https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#metadata

Change-Id: I70a62a4ddc59638297814682523e1e802a7fad42
2022-11-14 22:46:23 +00:00
Takashi Kajinami
041eda6d83 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I97a07e756bcaea3f38c0390247e0ac6a1187aa08
2022-06-21 22:40:25 +09:00
wu.shiming
2e26a07fe1 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Id58e9e9532c593a211acea497f5928c3689ac333
2021-12-21 10:09:03 +08:00
wu.shiming
6a8f10a808 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I2447dd697d0282c22cbadc775b87df186e46bf42
2021-05-12 10:19:15 +08: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
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
2020-04-04 12:39:05 +02: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
Erik Olof Gunnar Andersson
093d8d7170 Removing v1 api support
The v1 has officially been removed from Designate since
the Queens release, and was deperecated long before that.

Change-Id: Ic5b44761ff939e2b319924af87849b3a79f9cb07
2019-09-10 20:53:25 -07:00
Corey Bryant
5c9bbbfac8 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: Ie2119dec469dba059fa3ce8729f360590d45791c
Story: #2005924
Task: #34204
2019-06-24 09:09:57 -04:00
Ghanshyam Mann
b8d4c338cd Dropping the py35 testing
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: I160c141169d68fd9403604c68cecde0c70c463c3
2019-04-15 18:01:11 +00:00
98k
9db7cbd52f Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I6b7ce5b390318353d5721d0f0cc077a42a789dc7
2018-12-04 07:58:51 +00:00
qingszhao
3192de540a Add Python 3.6 classifier to setup.cfg
Change-Id: I181a86cdde2d49eb1072f9488a8b4a9500f29dbe
2018-11-29 09:18:17 +00:00
lingyongxu
ecc8c5d6ce Update the documentation link for doc migration
This patch is proposed according to the direction 10 of doc
migration(https://etherpad.openstack.org/p/doc-migration-tracking).

Change-Id: I75a467ebf9407d17360698a3ead57af9b93ef3e6
2017-08-03 01:38:33 +00:00
Jenkins
684588fa70 Merge "Add tsig key support to python-designateclient" 2017-08-02 18:21:15 +00:00
Doug Hellmann
3241a7d9c4 rearrange the existing docs into the new standard layout
Change-Id: I1cf25aade215aad3ce9050af7c9fa8987564863c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-10 11:50:21 -04:00
Rudolf Vriend
b741282eaf Add tsig key support to python-designateclient
This fix adds support for the designate tsig keys api to
python-designateclient.

It will add tsigkey related crud commands to the openstackclient.

Change-Id: I84336c3aca85ca62771fd2115481eda32ee980d2
Closes-Bug: #1702506
2017-07-07 14:16:30 +02:00
Stephen Finucane
6b7b018cb6 Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate the
setting from the old warnerrors one.

This involves a couple of changes to the docs to fix the now broken
build.

Change-Id: I9bee7f6f9c69a9ed7bb22325ad1a0a1316dde526
2017-04-20 13:57:16 +01:00
Stephen Finucane
eaa5db38d3 Explicitly set 'builders' option
An upcoming release of pbr will require explicitly stating which
builders are requested, rather than defaulting to html and man. Head off
any potential impact this may cause by explicitly setting this
configuration now.

Change-Id: Ia04058232a839c4eaf2c85849e8b71879ae414e7
2017-04-19 10:18:39 +01:00
Jenkins
891625fa74 Merge "Fix broken link for modindex" 2017-02-01 11:53:37 +00:00
sonu.kumar
5f23b4bdcc Fix broken link for modindex
The documentation build does not generate any module index,
therefore modified setup.cfg to create module index.

Change-Id: I6140896d5779e8360c866267601713bbf572fee4
2017-01-26 23:55:57 -05:00
Cao Xuan Hoang
0803befc05 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim
support for Python 3.5 in the classifier.
This patch also adds the convenience py35 venv

Change-Id: I8950bf3a7fe6c97bf973658e409e39953470f40d
2017-01-20 11:21:23 +07:00
Deepak
cbc241dbe5 Changed the author and author-email value
Changes made according to the other components values

Change-Id: I5bc1352e573f396f829474454240c93efe3a50cf
2016-10-06 23:30:18 +05:30
Graham Hayes
9ac1cd15bd Add quota set / list / reset commands
Added:

openstack dns quota

 - list
 - set
 - reset

All sub commands can be scoped to a project using --project-id
If the --project-id does not match the current project id
it will set X-Auth-All-Projects:True

This cannot be a standard quota command as osc does
not allow us to access that command

Change-Id: I8e22535be042608022ef1d1cb3866e7aa5324e84
Depends-On: I7a0b828824ad6f274d922748f5f9a68157cd939a
Related-Bug: #1587927
2016-06-29 19:25:25 +01:00
sonu.kumar
8bc106654c Add openstack zone transfer accept list cli to designateclient
This patch add cli for listing accepted zone ownership transfer

and corresponding test cases.

Related-Bug: #1499539

Change-Id: I3eec36c73b2dacd4eed3b8578c4d51593b43104d
depends-on: I3dc042f666be43649bb3dec6e92cc67d1c32578f
2016-06-14 11:26:53 +00:00
venkatamahesh
c6f93da169 Update the home-page with developer documentation
Change-Id: If3249a72e89068fcf496ca6c5dbae23570a74ab9
2016-05-17 04:42:19 +00:00
Endre Karlson
05b396bfa1 Add support for service status
Change-Id: I5349524d262ffcadf88b3c914f187dfc26563156
Depends-On: Iaf10d8486ac8015ecf9f394dfbf074bfb863fb78
2016-04-12 09:50:27 +02:00
Rahman Syed
d2b88c88c5 Implement zone import
Zone import commands (create, list, show, delete)
are missing from the python-designateclient.

This change includes implementation, as well as unit tests
and functionaltests.

Change-Id: I635431b5ef11989247e8d185ad692e4fee9bebba
Closes-Bug: #1550532
2016-03-30 11:23:27 -05:00
Rahman Syed
ce50ad9444 Implement zone export
Zone export commands (create, list, show, delete, showfile)
are missing from the python-designateclient.

This change includes implementation, as well as unit tests
and functionaltests.

Change-Id: I957946d739bceea1074e2fda2ce7f841143b0611
Partial-Bug: #1550532
2016-03-23 20:34:14 -05:00
Endre Karlson
51e875dbc8 Indicate py34 support
Change-Id: I38b31e3e25f14b3e7516aa7efe01301a9c1b84f7
2015-12-07 09:55:20 +01:00
sonu.kumar
b34d20dbcc Remove py26 support from designateclient
as of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.

Change-Id: Id322ec683643c817bef1de43519394808cc64072
Closes-Bug: #1519510
2015-12-03 09:24:43 +05:30
Endre Karlson
f7d4dbbff5 V2 CLI Support
Change-Id: I583fc864bb4aa8b4dd2d965c2f8c1f3f6d31dd8c
2015-09-02 15:54:08 +02:00
Endre Karlson
2a2c85ce21 V2 Bindings
This provides bindings for:

- zones
- recordsets
- tlds
- blacklists
- limits
- nameservers

With associated unit tests.

Change-Id: Ie9b79340bd327b78916fd038633842da3ace881b
2015-05-07 17:23:09 +02:00
Jenkins
1cd0548802 Merge "Fixes pypi tarball not delivering Apache 2.0 LICENSE file" 2014-10-20 11:42:47 +00:00
Alok Jani
332ea6fc27 Fixes homepage in metadata and internal docs
* Correct homepage in package metadata file
* Correct launchpad & GitHub home in contributing.rst

Change-Id: I01e1cf7f97a72b78d4c26543b73910ac6a90e145
Closes-Bug: #1332626
2014-09-26 14:24:10 +05:30
Alok Jani
484fc8f3a1 Fixes pypi tarball not delivering Apache 2.0 LICENSE file
Change-Id: I25dcaf2a35b40e3243c121434a49bc83a5f01957
Closes-Bug: #1332625
2014-09-26 13:40:50 +05:30
Endre Karlson
322c455cdc Add support for quotas for v1 cli / bindings
Change-Id: Id89fff58e1975fa84ae12a44ac2fd43cd2255b52
2014-08-01 10:44:53 +02:00
Sascha Peilicke
efae202e0a Support building wheels (PEP-427)
With that, building and uploading wheels to PyPI is only one "python
setup.py bdist_wheel" away.

Change-Id: Iff5981dd4b358652bd5f5e7f72b6f7298e809829
2013-11-19 10:42:57 +01:00
Kiall Mac Innes
8de6241201 Add touch-domain to CLI
Change-Id: I369051e7d7ba2c0819835dada3a13e54798a63ad
2013-11-12 14:36:13 +00:00
Kiall Mac Innes
c0c6e59a17 Move "sync" commands out of Diagnostics and fix them
This mirrors the layout on the server side.

I don't consider this a breaking change, as the existing sync commands were broken
to begin with.

Change-Id: Id80e148e2a0218d6bd64673bb09c15ab0d98418b
2013-11-12 14:36:09 +00:00
Kiall Mac Innes
4f65c151cf Remove outdated version value from setup.cfg
Change-Id: Ic99a31efce6e6baa6e9fe6de7bb83a1537a83ea5
2013-10-31 12:48:37 +00:00
Kiall Mac Innes
67c14f0573 Rename Moniker -> Designate
Change-Id: Idf7153aa287adc874a2878dc829950fda52a4879
2013-06-09 22:08:11 +01:00
Kiall Mac Innes
72bc53b67c Migrate to PBR
Change-Id: I4f32b7c3ca7831becdd49f75a7fa48bfcfa7fe76
2013-05-25 13:26:24 +01:00