Commit Graph

17 Commits

Author SHA1 Message Date
Sharpz7 f78a80ccb9 [codespell] Adding Tox Target for Codespell
Second in a series of commits to add Codespell to Ironic Repos. This one adds the command that was used to fix the spelling errors.

Future Commits will add CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I90886dbb7ad7adf5520f8cc436012fa63c89ca78
2024-02-12 20:55:43 +00:00
Riccardo Pittau b3567156f1 Use generic openstack python3 tests
Adds support for python3.10

Change-Id: If517c94aff0d1b3546843153993aadc9ab2fcb73
2023-04-20 09:43:17 +02:00
Riccardo Pittau 86bd5e44fb Remove support for Python 3.6 and 3.7
Maintaining support for older not supported in Zed Python versions
would take too much effort with a lot of libraries dropping
compatibility with 3.6 and 3.7

Change-Id: I58a810d8cf4247153623c247de71f774928653aa
2022-06-17 14:41:34 +02:00
Riccardo Pittau 4a8a0ae005 Re-add python 3.6/3.7 in classifier
We have updated the yoga testing runtime to keep the
py36 testing.

- https://review.opendev.org/c/openstack/governance/+/820195

Unit tests job template is also updated to keep python
3.6 as a voting job. So with the py3.6 and py3.9 testing as voting
job template, we are keeping python 3.6, 3.7, 3.8, and 3.9 as
tested versions in the Yoga cycle.

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

This commit re-add the python 3.6/3.7 versions in setup.cfg classifier.

Change-Id: I0b1fd265bfed80b76e5eced456d80b65310b4368
2021-12-14 09:43:24 +01:00
Ghanshyam Mann 6b077fa3b8 Updating python testing as per Yoga testing runtime
Yoga testing runtime has been updated with py38 and py39
as voting and removed the py36 testing. Unit tests update are
handled by the job template change in openstack-zuul-job and you
can see the updated jobs running in gate.

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

this commit makes other required changes in obs template and
update the clasifier in setup.cfg file.

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

Change-Id: I686b17209e94779d6e29879730b635c17e338c76
2021-11-25 15:38:05 -06:00
yangyawei a8c3f27652 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: I2781f250f8db9907987b75b0c66ad8bfb041ccee
2021-05-14 09:21:17 +08:00
Riccardo Pittau 3c4390a3c0 Remove unneded Babel config
Change-Id: Ia64b1a6d120dbe37108218da0a12bcfc5063cf7f
2020-05-30 13:48:04 +00:00
Andreas Jaeger a4e82b9467 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
- Update classifiers
- Update requirements, no need for python_version anymore
- Use sphinx-build everywhere

Change-Id: I737d176d35d3bc55848645af05f0362ab3853844
2020-04-05 20:21:05 +02:00
Iury Gregory Melo Ferreira adca510cf5 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

virtualbmc is ready with python 3 and ok to drop the
python 2.7 support.

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://review.opendev.org/#/c/691178/

Change-Id: I9c62fd735641d6538a5ea2a699ed47718d481d3b
2019-11-22 14:33:35 +01:00
Kaifeng Wang 40a881f57e Update Python 3 test runtimes for Train
One of train goals to have consistent python3 jobs.

https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I7ab2fe2b304d79e1221a06122df5cf0e6e5632fb
2019-06-13 14:04:27 +08:00
huang.zhiping b8ee278516 Update home-page
Change-Id: Ie452b39552fed75614a7cd9663a0070190de8d0d
2019-01-11 12:46:48 +00:00
huang.zhiping d50610c44f Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I875ed0db3ff3907a13dc0a0b7d4f3bd491f38f5e
2018-12-04 12:29:37 +00:00
Ilya Etingof 7ace4293e9 multiprocess server, ZMQ-based management cli tool
Original design of the VirtualBMC tool was that user manages
config files for individual VirtualBMC (via a cli tool), then
requests the tool to start the instances representing
individual VirtualBMC instances (via the cli tool). Then
the instances become independent processes. The only way
to know their whereabouts is through the pidfiles
they maintain.

There were certain practical inconveniences with the
original design, namely:

* Cumbersome to start/stop/monitor free-standing
  vBMC instances processes
* No two-way communication between the parent process
  and the VirtualBMC instances what makes child state check
  or modification unnecessary difficult

This commit turns server part of the tool into a single
process spawning multiple children processes and herding
them via ZMQ client/server.

The parent process runs server part of the control
interface, maintains persistent VirtualBMC instances
configuration and ensures all its children are alive
and kicking. Each VirtualBMC instance is still a separate
parent fork.

If child dies, parent respawns it right away. If parent
is about to die, it tries its best to kill all the
prospective orphans.

This new implementation tries to stay compatible with
the original one in part of `vbmc` tool CLI interface
and behaviour. Whenever it can't connect to the `vbmcd`
it tries to fork and spawn the daemon behind the scenes.

While the threading design for this tool might look better,
the underlying pyghmi library is apparently rather
complicated to use its concurrency capabilities reliably.
The other minor consideration is that running multiple
processes leverages CPU-based concurrency.

Other changes:

* The `start` command now accepts more than one domains
  to be started

Change-Id: Ie10f4598c7039a7afa9b45d01df3b3c3db252c1d
Story: 1751570
Task:  12057
2018-05-11 17:29:47 +02:00
Ilya Etingof eaf944f09e Migrate CLI to cliff
This patch replaces the use of argparse module
by the cliff package. The rationale is that
cliff infrastructure is easier to use and more
functional. Some other OpenStack projects seem
to migrate to cliff already.

Change-Id: Ib2185dad50e64de354222669d2e65f411ddc96a4
Closes-Bug: #1752911
2018-03-14 18:26:23 +01:00
Ilya Etingof 93043f32a1 rearrange existing documentation to follow the new layout standard
Change-Id: I2ac8f8f78147a5f75a2394f240154ee4472a7879
2017-07-17 14:57:41 +02:00
Nam Nguyen Hoai 8720944185 Delete support py33 and py34
Python py33 and py34 is not supported from Mitaka. This patch set
will delete this.

Change-Id: Id7cdbd4db6d72470f8efe074dd0730a643965d78
2017-02-08 09:51:26 +07:00
Lucas Alvares Gomes 85a0b201ff Restructure the repository according to OpenStack
This patch is restructuring the VirtualBMC repository according to the
OpenStack template for projects (Cookiecutter).

This patch also removes the dependency on the python-daemon library
since it is not present in the OpenStack global-requirements, now a new
class called "detach_process" has been added to the virtualbmc/utils.py
module that will take care of detaching the process context from its
parent and session.

Change-Id: Id4ae1db5b73a18abc54276fe1dfbf3ceff7adc06
2016-05-09 12:35:50 +01:00