Commit Graph

97 Commits

Author SHA1 Message Date
Stephen Finucane bcba1a1822 tests: Migrate to importlib
This is faster and built into stdlib.

Change-Id: I1a8ddccf91a03ead2dcd558ad17882903e807b75
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:18:58 +00:00
Stephen Finucane 40f7c167d8 Add pre-commit
Change-Id: Ifdee3615f26b370cda531ae0cc736b8db67ed204
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:18:36 +00:00
Stephen Finucane 54253708f0 docs: Remove cruft
Change-Id: I88ba414b45ae2dc9d3b9a0ab8e49c309e79977e6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:16:42 +00:00
Stephen Finucane 0c048098bc tox: Random cleanups
Change-Id: Ib62f264e817d77ed6cda47daeaaa2994fc5d9f01
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:16:42 +00:00
Stephen Finucane 682845902d setup: Replace dashes with underscores
Change-Id: Ie18901ce3fc954b910f796976fb0ed279faf1be6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:16:42 +00:00
Stephen Finucane f79c9bd359 requirements: Remove irrelevant notice
Not valid since the new resolver was introduced in pip 20.3

Change-Id: I5d21cdb4b4a0677f0e0af8dbbcecfe6118f2bc3d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:16:40 +00:00
Zuul 1e5ab9f1c6 Merge "Include osc-placement in the plugin check job" 2024-01-23 12:22:58 +00:00
Zuul 0e53aa2efc Merge "Update python classifier in setup.cfg" 2024-01-23 12:22:57 +00:00
Zuul 782a0eee89 Merge "Replace deprecated perl-style regex" 2024-01-23 12:22:56 +00:00
Zuul bf5dd7cd5b Merge "Drop tripleoclient from plugin test" 2024-01-23 12:22:55 +00:00
Zuul 97789b6f7f Merge "Remove unmaintained rsdclient from plugin test" 2024-01-23 12:13:14 +00:00
Zuul a2420f5b8c Merge "Remove pankoclient from plugin test" 2024-01-23 12:13:13 +00:00
Zuul 645e35c738 Merge "remove unicode literal from code" 2024-01-23 12:13:12 +00:00
Zuul f34a65753f Merge "osc-check-plugins job: Ensure OSC plugins from git" 2024-01-23 12:13:11 +00:00
Takashi Kajinami 0e97841781 Remove unmaintained rsdclient from plugin test
The rsdclient library[1] has not been updated for 5 years and is not
maintained.

[1] https://opendev.org/x/python-rsdclient

Change-Id: I3613c9e3dae0ea29c745eda3a7b17d58a0d5a179
2024-01-21 22:01:13 +09:00
Takashi Kajinami b4ea666d9f Replace deprecated perl-style regex
... according to the following warning posted by zuul

```
All regular expressions must conform to RE2 syntax, but an expression
using the deprecated Perl-style syntax has been detected. Adjust
the configuration to conform to RE2 syntax.
```

Change-Id: I770244a37b2b8e05d38f892aa5519784547defd2
2024-01-21 15:58:08 +09:00
Takashi Kajinami 6aef2f62bc Remove pankoclient from plugin test
... because the repository was already retired.

Change-Id: I7353ae5832a87eceb20645368609e6627c326a9d
2024-01-21 04:05:37 +09:00
Takashi Kajinami 3246939df9 Drop tripleoclient from plugin test
... because TripleO project was abandoned and its master is no longer
maintained.

Change-Id: I97f8c09b07da930059163d75dd6c472081691f8e
2024-01-21 04:04:59 +09:00
Ghanshyam Mann 134bc004a3 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I210c09a88da9c90e71ca176806a1a4d90f1937b6
2024-01-11 15:37:28 -08:00
niuke 5a62d5293e remove unicode from code
Change-Id: I6456e85676eb347674b37082a369f657604c185d
2022-07-28 10:40:49 +08:00
Stephen Finucane 43e424a831 Update CI to use unversioned jobs template
As part of the migration of this project to the independent release
model, we failed to notice that the job template was still tied to a
specific release. We've now introduced a new unversioned job template,
'openstack-python3-jobs' [1], which was can and should use. Do this.

[1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/

Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ie872c1a718451097634e23c6dbdd0ddb70af7f35
2022-03-15 15:06:33 +00:00
LiZekun 8a9f249c09 remove unicode literal from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I283b767d2d8329e9df977fa8bc135c082ae4e4ab
2022-03-08 00:50:32 +00:00
Takashi Kajinami fcd598458c Include osc-placement in the plugin check job
Now osc-placment is generally used to manage resources in placement
service, thus should be tested in the plugin check job.

Change-Id: I23b41355acf5b99b2537a66cc10566325b26c71e
2022-02-02 13:16:05 +00:00
Ghanshyam Mann a749f4f25d [community goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38547
Change-Id: I1f7ed525e222905ca04beec9c5932ddf3ad7515b
2021-08-30 17:15:34 +00:00
Ghanshyam Mann 547d012f5a Moving IRC network reference to OFTC
Change-Id: I0e4f7096be9a3a4393900d612fe9206af413567e
2021-07-07 19:42:01 -05:00
Akihiro Motoki b7bd239e81 osc-check-plugins job: Ensure OSC plugins from git
openstackclient-check-plugins did not install OSC plugins
from git even when they are specified in required-projects.
This happened "item.short_name" is not evaluated.

Change-Id: I069e63005ad2cd24f134fee475fa246bf324a7e2
2021-03-09 18:09:04 +00:00
Radosław Piliszek 37076d16af Remove karborclient - fix Zuul project definition
Karbor was retired.
Zuul fails to run jobs defined here due to:
  Unknown projects: openstack/python-karborclient [1]
As python-karborclient no longer has any Zuul definition.

Found trying to get [2] to do something.

Thanks to Clark Boylan (clarkb) for his quick support on #opendev.

[1] https://zuul.opendev.org/t/openstack/config-errors
[2] https://review.opendev.org/c/openstack/python-masakariclient/+/778513

Change-Id: I1237570e8af6c9af880b824e9e32e0b7dc54bc77
2021-03-03 19:24:00 +01:00
Ghanshyam Mann 5e98b3c8a4 Remove retired Qinling & Searchlight usage
Qinling and Searchlight projects are retiring in Wallaby cycle[1].
This commit removes the usages/support of Qinling & Searclight projects
before its code is removed.

Needed-By: https://review.opendev.org/c/openstack/qinling/+/764521
Needed-By: https://review.opendev.org/c/openstack/searchlight/+/764526

[1]
http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018638.html
http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018637.html

Change-Id: I1114b5423901da3a1de1bc76828d1b837c79381c
2020-12-08 09:03:53 -06:00
Monty Taylor 72bb1eaa52 Make sure virtualenv is installed for check plugins
We need to install this in a pre-playbook.

Change-Id: Ic01735080727206a5792d7906aa8e07c3531250f
2020-06-17 11:14:02 -05:00
Andreas Jaeger 1f9202fe72 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version 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: Ie6fb83cee167bc7f9181f0ade2da825179c1991b
2020-05-31 20:33:33 +02:00
Andreas Jaeger 315e39f18d congress is retired
Remove congressclient from .zuul.yaml and requirements, the repos are
retired.

See also https://review.opendev.org/721741

Change-Id: I41e622da0dbf8247704b630837fde0b0cfbe81f9
2020-05-28 18:43:13 +02:00
Andreas Jaeger 990b4825b2 Remove pbrx
The repository x/pbrx is getting retired. It was used to install all
siblings. Rework to install all repos that are setup directly.

Change-Id: I5229e49736e085e8148570bc4b9e9b2911553778
2020-05-13 09:10:00 +02:00
Andreas Jaeger e0fa40ff61 Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: Id221668c8fcda2338cfd8eaed6e5979038966880
2020-03-30 16:59:47 +02:00
Andreas Jaeger 0b9cef46ec Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

blacklist:
W504 line break after binary operator

fix:
E117 over-indented

Change-Id: I5578956c5a3d496f16e41100c5a2f5e99b42f9a7
2020-03-27 21:02:40 +01:00
Andreas Jaeger 2f0bad48ba [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: Iadbea735f22cd8456a32f10fda598dc6a2983ec7
2020-02-04 20:45:20 +01:00
Zuul 96dd647a75 Merge "Use python3 for openstackclient-check-plugins job" 2020-01-11 18:04:24 +00:00
Zuul 07d6ecb59f Merge "Constrain openstackclient-check-plugins run on master" 2020-01-11 17:59:48 +00:00
Eric Fried 717c85638c Use python3 for openstackclient-check-plugins job
...and fix py2-only-isms.

Change-Id: Icf539308d084541e1fd887bb50e205ad3135495f
2020-01-07 19:01:40 +00:00
Eric Fried 29f043a126 Update doc index links (for storyboard etc)
Some of the wording in the Contributing section of the doc index was
still launchpad-oriented and python-openstackclient specific. Fix to be
storyboard-oriented and openstackclient general.

Change-Id: I591ae9e4225ac7bdde998f52c496adfc14165d25
2020-01-06 23:15:04 +00:00
Sean McGinnis f9595aa3f0
Constrain openstackclient-check-plugins run on master
This job is currently running on stable branches, but that is now
resulting in the master version of openstackclient being pulled into the
job. That then will install the latest versions of things, and ends up
failing due to newer libraries being installed than what is in the
stable branch's upper-constraints.

Change-Id: Iedb94a84d2f09c05cc575a955b508e0fd6ca0a64
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-06 16:54:00 -06:00
Dean Troyer 7e5188b911 Prepare for OSC 4.0 release
The major version of this package will sync with the major version
of OSC that it installs. The minor and patch versions will not be kept
in sync.

Change-Id: I4870bceb14045434b70fb79d7f8f2c72e19a6e9e
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-09-12 08:37:27 -05:00
Zuul 369177dcab Merge "Revert "check-plugins job: convert the job to tox"" 2019-09-11 16:37:31 +00:00
Zuul 5d53a79ce4 Merge "Revert "check-plugins job: switch to python3"" 2019-09-11 13:49:47 +00:00
Dean Troyer 8a73ffa2bb Revert "check-plugins job: convert the job to tox"
This reverts commit 1aed3ce715.

Change-Id: Id983fddcf07a5a43da62b7529d531c2444404b22
2019-09-11 08:41:09 -05:00
Dean Troyer a110206709 Revert "check-plugins job: switch to python3"
This reverts commit 44f9cc01cd.

Change-Id: Ie9692634ae0bcc814fa345a8054a2e6e7685b6b3
2019-09-11 13:22:06 +00:00
Zuul 58f654bbfc Merge "Removes unused utf-8 declaration" 2019-09-11 05:32:18 +00:00
Zuul 3a602282f4 Merge "check-plugins job: switch to python3" 2019-09-11 04:50:40 +00:00
Zuul 32ef09e8ad Merge "check-plugins job: convert the job to tox" 2019-09-11 04:50:39 +00:00
Zuul 682c4e2bb1 Merge "check-plugins job: Fix pbrx path" 2019-09-11 04:50:39 +00:00
Zuul dd689fe2ef Merge "Advancing the protocal of the website to HTTPS in index.rst." 2019-09-11 04:40:53 +00:00