Commit Graph

17 Commits

Author SHA1 Message Date
Riccardo Pittau 13de53a462 Reconfigure tox.ini
Update minversion of tox to 3.9.0 to support inline comments [1]

Move pep8 and coverage requirements to tox.ini

Fix typo in coverage job

[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17

Change-Id: I3f39b25ee0fd44c1bc51f94a7fbee74de8cba65d
2021-01-25 09:19:30 +00:00
Riccardo Pittau 912a0e55c9 Set safe version of hacking
Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.

Change-Id: Idb66f2ae0105308747cdf3046b09a22bdf691ea3
2020-10-19 13:55:52 +00:00
zhangbailin 4b0bf2ca0f Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I90fa5ab8085a07c3f19b32cfdbbeb6bfe3953087
2020-06-30 23:59:11 +00:00
Andreas Jaeger 7e2d6f2292 Update docs building
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
  python 3, create doc/requirements.txt file.
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.
* Use TOX_CONSTRAINTS instead of obsolete UPPER_CONSTRAINTS

Change-Id: I6ff4427014fc967a6f7b28fc6cbe5a0f4eca601c
2020-05-03 11:22:47 +02:00
Riccardo Pittau 1609869f7b Upgrade 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: I0df965d62f2f431a145bcf16cdd7e3401f226f6f
2020-04-21 17:06:10 +02:00
Zuul 8ac8b7edf4 Merge "Upddate tox config" 2020-04-03 11:07:36 +00:00
Riccardo Pittau 441c50658f 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: I3b1e20193a2cb3d28046ad0f2008577a95aaaefd
2020-03-30 16:32:07 +02:00
Iury Gregory Melo Ferreira 41a016b5ae Upddate tox config
- Removes py3 env since we don't run unit tests
- Update requirements to use stestr and coverage
- Update tox.ini to use stestr

Change-Id: Iecb18a3e616173217b7edb756dcaabd8df009629
2020-03-20 19:33:56 +01:00
Ghanshyam e83d220d03 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ironic-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

All stable jobs need to run on py3 as master ironic-tempest-plugin
cannot support py2 anymore. Any py2 cloud/env can be tested by
installing the Temepest and plugins on py3 venv.

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: Ibea78605aedb955e3dc70252ca380c7e5f8f8726
2020-02-13 10:30:08 -06:00
Kaifeng Wang 6f4e2a3b08 Build pdf doc
The is one of community goals that each project could produce a
single PDF file. The pdf should be in the output of openstack-tox-docs
job.

TeX packages are required to build PDF locally, following is recommended:

* inkscape
* texlive-latex-base
* texlive-latex-extra
* texlive-fonts-recommended

More about the goal:
https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html
https://etherpad.openstack.org/p/train-pdf-support-goal
https://etherpad.openstack.org/p/pdf-goal-train-common-problems

Change-Id: I8ebbe9ea1bb2914061a8307f3edfabab166a3c38
2019-09-05 14:27:16 +08:00
Riccardo Pittau b6dbb56ed4 Update sphinx requirements
Following recent changes to global requirements [1], we need
to update sphinx requirements locally.

[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Change-Id: I9bd0ab95e425fbfd108f4805d3a223147591d822
2019-05-23 10:07:22 +02:00
Riccardo Pittau 3a2e36a68d Removing obsolete oslosphinx
Removing oslosphinx from docs requirements.
If any extensions is needed for building docs we should rely on
the openstackdocstheme or directly on sphinx modules.

Change-Id: I1d9e9f856b28686de1f65c5c4fc951d83dba6b7a
2019-04-11 10:07:11 +02:00
OpenStack Proposal Bot 4ab0e59bcc Updated from global requirements
Change-Id: I599624e31e66f762160fa197155991316aa9b7f6
2018-03-15 07:01:34 +00:00
OpenStack Proposal Bot c04391e003 Updated from global requirements
Change-Id: I24bb427611e4c3ccc8e20ad8e57917f0fc7d6edd
2018-01-17 20:35:56 +00:00
OpenStack Proposal Bot f994081ddf Updated from global requirements
Change-Id: I04047db2fe43acd43bd9d362bed6a6ca8d39c9b3
2018-01-16 03:24:34 +00:00
Chandan Kumar d2606cd247 Cleaned up the requirements of Ironic Tempest plugin
* Removed unnecessary test-requirements since tempest plugin
  contains integration tests not unit tests.

Change-Id: If1c32967b5aafc70840861b28639fee3e9a03561
2018-01-08 11:32:42 +05:30
Jim Rollenhagen 4f8f2299fd Initial commit from cookiecutter
Change-Id: Ia8fd7b9310e598b1e9d7c1eb3d2a484bc667432a
2017-01-27 15:55:29 -08:00