2
0
mirror of https://opendev.org/x/pyghmi synced 2024-12-25 12:41:37 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Dmitry Tantsur
9b05952343
Remove unused test-requirements
Change-Id: I7ee6b6ea25f4f7de9801cbbb15efc0040f630db1
2024-04-21 13:18:28 +02:00
Jarrod Johnson
a9258c1e9b Add SMM2 VPD to configuration for SMM
Change-Id: Ia7a4b804a645a36c212404f3429c42b26938210e
2022-06-07 13:03:23 -04:00
Riccardo Pittau
16b62119d7 Reconfigure tox
Update minversion of tox to 3.9.0 to allow inline comments.

Add skipsdist and ignore_basepython_conflict for better compatibility
and to use correct python version when specified.

Move pep8 test requirements to tox.ini for easier management and update
requirement versions.

Fix a small typo found with new pep8 deps.

Add py27 constraints file for Python 2.7 tox jobs.

Use wallaby jobs.

Remove lower-constraints (it was not used anyway).

Fix docs job

Change-Id: I1132814a86b46a154b3a8eed5bc3e73ad7950589
2021-01-29 15:36:11 +00:00
Riccardo Pittau
a5129fbdb3 Update pep8 import order check
Set flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.

Change-Id: I3ef01e49c0e6822368146434f056ac7a1aa7ce4d
2020-05-11 14:08:17 +02:00
Riccardo Pittau
b76d3b3cd2 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: I0d2fa8c88f081d553ebefb5f764397b2761dc2b5
2020-03-30 16:33:49 +02:00
Riccardo Pittau
90d02c0a03 Use flake8 for testing
Start using flake8 for style guide enforcement.

Change-Id: I9d7c89498c10e682acf0f75bad20dfd4bb6152b5
2019-12-17 16:04:42 +01:00
Andreas Jaeger
cdbdfa63d7 Update docs job
Replace obsolete sphinx-build job with tox-docs job, use
a template for this.

The newer job uses "tox -e docs" directly.

Add sphinx requirements for python 3.

Change-Id: I1acc55a470ebacce812ba6840663302d759f69b7
2019-05-20 09:12:31 +02:00
Jarrod Johnson
ee63d83dac Allow caller to opt out of some behaviors
For keepalive, there are applications that can self heal and
would rather close an idle session instead of keeping it alive.

If the caller knows exactly that it wants to be administrator,
then do not automatically allow the session to downgrade to
operator.

Change-Id: Iefaf04387e28da9d7f2c613d567cd83ce69c2c03
2019-05-13 09:03:54 -04:00
ghanshyam
dca0e4001c Gate fix: Cap hacking to avoid gate failure
hacking is not capped in g-r and it is in
blacklist for requirement as hacking new version
can break the gate jobs.

Hacking can break gate jobs because of various
reasons:
- There might be new rule addition in hacking
- Some rules becomes default from non-default
- Updates in pycodestyle etc

That was the main reason it was not added in g-r
auto sync also. Most of the project maintained the
compatible and cap the hacking version in
test-requirements.txt and update to new version when
project is ready. Bumping new version might need code
fix also on project side depends on what new in that
version.

If project does not have cap the hacking version then,
there is possibility of gate failure whenever new hacking
version is released by QA team.

Example of such failure in recent release of hacking 1.1.0
- http://lists.openstack.org/pipermail/openstack-dev/2018-May/130282.html

Change-Id: I5f17ec6f67c7e7addfc5b2b2a3f17719402d9c0b
2018-10-16 11:43:37 +00:00
Ilya Etingof
ead5aa1531 Update package documentation
* Switched to Sphinx openstacktheme
* Rearranged docs along the OpenStack project lines
* Add Sphinx docs building job
* Added tox docs job

Change-Id: I069d3a95b90bc798b1dcc0331d6e24a6c08d1317
2018-08-17 12:04:36 +02:00
Ilya Etingof
524821fa31 Switch to stestr
According to OpenStack summit session [1], stestr is
maintained project to which all OpenStack projects should
migrate.

Let's switch to stestr as other projects have already
moved to it.

Uses environment inclusions which need tox 2.8.1 due to
a bug fix. So increase the tox minversion.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: If6eded0dd802cbdfe49ad72c64004585d4a1484b
2018-08-10 14:36:57 +02:00
Ilya Etingof
12a83bc6de add lower-constraints
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 [1] for details.

1. http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html

Change-Id: I0f8b1bd44cd2f401593ce079cdecce5020807051
2018-05-16 15:38:38 +02:00
Jarrod Johnson
ec20649bfe Update test-requirements
Fix ability to get through gate

Change-Id: Iac13cd595c80cad367d06a7b0afc3e53fc7f8ff7
2017-11-19 10:44:12 -05:00
Lucas Alvares Gomes
de59a8e2e7 Add base for unittests and fix docs
Change-Id: Id130e6ea29523fd46ff795be1219016029127945
2017-01-05 15:52:14 +00:00
Monty Taylor
781a7829be Update from requirements
Trying to remove usage of d2to1 - it can cause breakages.
Also, had to fix hacking 102. Turns out it expects copyright headers in
comments, not docstrings.

Change-Id: I3494349ffe2d4cba9c8bcb73408d60bbc12eff5e
2013-09-13 11:28:28 -05:00
Monty Taylor
08d2e54d68 Align to OpenStack Build Standards.
Rearranged Sphinx.
Put project under PBR control.
Added tox file.
Added .testr.conf file in anticipation of testr testing.

Change-Id: I55180a6a3d224816c82999bf66156c7874786b17
2013-06-30 14:21:20 -04:00