Commit Graph

16 Commits

Author SHA1 Message Date
Riccardo Pittau 3617ce11be Remove lower-constraints job
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.

Change-Id: I79af2ef5dd144d7b0bd3e3036fbf0e671701ef6a
2020-12-16 11:16:47 +01:00
Riccardo Pittau 5aae35450f Fix lower-constraints with the new pip resolver
Remove pep8 dependencies from test-requirements, they're not
needed there and are hard to constraint properly.

Change lower-constraints to make pip resolver happy.

Change-Id: I85f2e368f6834888e3c82d365c2ecbcebfabd8e7
2020-12-09 17:40:22 +01:00
Julia Kreger d79f82339c Fix lower-constraints for ubuntu focal
Change-Id: I5f976b89325825813a5d345bbb62a249f6cbb4f2
2020-09-11 15:21:32 -05:00
Hervé Beraud 1dbfd44806 drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: Iccbcd6deddc1d246d214a2c52086a0cc8d911882
2020-06-09 12:19:23 +02:00
Riccardo Pittau 36027374eb Update lower-constraints.txt
We need to list all dependencies in lower-constraints

Change-Id: I2e92cc34f953350632959fa9f6cf16f81e0b604d
2020-05-27 10:47:26 +02:00
Andreas Jaeger e9854ff408 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 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.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

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: I20ea481c1dd9651258b8ae13da9b1e1ec710482b
2020-05-25 09:43:04 +00:00
Riccardo Pittau 6658b97712 Set flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.

Change-Id: I26f38e18ce5c1c61aadbc1590a79c97e7b3c4ab4
2020-04-29 08:40:28 +02:00
Riccardo Pittau a789257e9e Bump hacking to 3.0.0
The new version enables a lot of standard flake8 checks, so a few
fixes are required. W503 is disabled as it conflicts with W504
and the latter seems to be preferred nowadays.

Change-Id: Ic1efc86ec41daf6fadb4cebb8a73b4dd158f880a
2020-03-30 16:55:25 +02:00
Riccardo Pittau 26b7ff6063 Stop using six library
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.

Change-Id: Iff319bfedc2c20c139419bb625aa5de83de93538
2019-12-02 17:48:54 +01:00
pengyuesheng 3a1f444819 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I3ac8a5cc20e27458e1ed806658a36d6e6952da3d
2019-08-02 14:21:59 +08:00
Ilya Etingof 89cc01b6d9 Bump lower libvirt-python to 3.7
Otherwise it mismatches the libvirt binary on bionic
and fails to build.

Change-Id: Ic7821d2e9ac764c980db1a2708ee3441855f3830
2019-03-21 11:13:15 +01:00
Zuul a57bdf8735 Merge "pycrypto is not used by virtualbmc" 2018-07-18 20:21:38 +00:00
Matthew Thode 5758bb9081
pycrypto is not used by virtualbmc
tested via pip install in a venv and pip freeze

Change-Id: If8d7dc3c6fa07c06df0a4de128736cf622b8bba1
2018-06-28 09:50:07 -05:00
Ilya Etingof 1deddefcea Add reno for release notes management
Change-Id: I14d8b7304f276f76d0fd2a1347dd8a53fdc2a989
2018-06-25 17:57:36 +02: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
Doug Hellmann 5a2bea7218 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I420c55c31e910607bcfecf6a574cc7f4ed8f5562
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 19:06:50 -04:00