Commit Graph

37 Commits

Author SHA1 Message Date
Iury Gregory Melo Ferreira 122f4ba5db Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver for the release team.
Removed specific doc requirements from test-requirements.txt

Change-Id: Ib2570e01bef426c0e5ecfd59249d08ea00749b28
2021-01-04 18:19:04 +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
Riccardo Pittau d1816164ef 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: I98bc624f9eb8f8153885e52366e34ac7a0e047fa
2020-10-19 13:47:54 +00: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
Kaifeng Wang 132fe3ce24 Restore pep8 checking on import order
Currently not checking import orders, this patch restore it.

Change-Id: I101814591eaffb694a090aa640ca9ac70db2ecf1
2020-04-27 15:24:17 +02:00
Sean McGinnis 0947b53bdf
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I436eab174b823c1e0e028529fed9009cc38776bc
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 12:01:29 -05: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
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
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
pengyuesheng eb98f05b18 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: Ia9e17c2295d3bf3f96436515a1c5a260ecf84e1d
2019-09-05 09:30:48 +08: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
Riccardo Pittau bf7ad0ddfa Update sphinx requirements
Following recent changes to global requirements [1], we need
to update sphinx requirements locally.

[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Change-Id: Id46273be9cac48bff7812c709a478620422af4e2
2019-05-23 10:53:37 +02:00
Zuul a62d2fa934 Merge "Switch to using stestr" 2018-07-18 20:21:39 +00:00
Ilya Etingof 1deddefcea Add reno for release notes management
Change-Id: I14d8b7304f276f76d0fd2a1347dd8a53fdc2a989
2018-06-25 17:57:36 +02:00
Charles Short 154ab21fb1 Switch to using stestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

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

Also update requirements to pass gating.

Change-Id: Ibc8575f9f1c6084ec3e695c1ba5827b712aba318
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-06-20 09:23:50 -04:00
OpenStack Proposal Bot bf64f4d4a4 Updated from global requirements
Change-Id: I29a5071b68643914b8e4b1988700e6ec772195a6
2018-03-16 03:55:01 +00:00
OpenStack Proposal Bot 54d03495bb Updated from global requirements
Change-Id: Iec77c60fd6ceb53f7523e95c5f6d09a9950166e1
2018-03-10 13:59:25 +00:00
OpenStack Proposal Bot 0241fc9997 Updated from global requirements
Change-Id: I50af82aafdff3849bbeb6a1c5f129ab9f073a75a
2018-01-24 01:40:59 +00:00
OpenStack Proposal Bot b957118e7f Updated from global requirements
Change-Id: I85599efe718a196ed847d6e9e9bc57d541ce4103
2018-01-18 03:38:49 +00:00
OpenStack Proposal Bot 0943c4ae08 Updated from global requirements
Change-Id: I439d4afb280c50f069f4836294b4c7a3da139a51
2018-01-16 04:37:51 +00:00
OpenStack Proposal Bot e3d0ab3436 Updated from global requirements
Change-Id: I085ae8262a4e135d7498db427237b4b0e89928ce
2017-11-16 11:30:56 +00:00
OpenStack Proposal Bot 6e734e0f67 Updated from global requirements
Change-Id: I031b060af8616a604f4a76c088faa7ad1f182dc9
2017-09-16 23:26:27 +00:00
OpenStack Proposal Bot ecf79f2e15 Updated from global requirements
Change-Id: I0a4ea4c37da7674ffd779dc7c6b6194a212cd813
2017-09-13 13:05:43 +00:00
OpenStack Proposal Bot daf5528fbd Updated from global requirements
Change-Id: Id90e5175d5ea7fa5eb15d88ef7a22cafa4852b9c
2017-09-11 21:52:03 +00:00
OpenStack Proposal Bot a5f8df7345 Updated from global requirements
Change-Id: I59cad094f4148a735086ecfb1f60d4d2f42fbd98
2017-07-27 19:24:17 +00:00
Ilya Etingof 93043f32a1 rearrange existing documentation to follow the new layout standard
Change-Id: I2ac8f8f78147a5f75a2394f240154ee4472a7879
2017-07-17 14:57:41 +02:00
OpenStack Proposal Bot 432e7a5488 Updated from global requirements
Change-Id: Ide4cc4f322fd2dbac381236c67fbf25204fa7401
2017-06-27 12:24:57 +00:00
OpenStack Proposal Bot d42a079a1a Updated from global requirements
Change-Id: Ic471ec56bf6ca5e95464bb436224b87d750ea0c7
2017-05-17 04:00:48 +00:00
OpenStack Proposal Bot 8486ab00e6 Updated from global requirements
Change-Id: I95a437d0025b9b62f2960f2910757941ced20b6a
2017-05-15 00:57:25 +00:00
OpenStack Proposal Bot 3046eab231 Updated from global requirements
Change-Id: I5e1eddb79afbd81b72696d0991357a4549db551d
2017-05-02 21:23:24 +00:00
Dmitry Tantsur 14ec963d4d Update hacking requirements to fix the pep8 CI job
The version we use is not compatible with pbr 2.0.

Change-Id: I504504dd039cd16a9c25ed0f0bd79cc5667a5fc7
2017-03-03 12:22:23 +01:00
OpenStack Proposal Bot 1e01b69dcd Updated from global requirements
Change-Id: Ie541dc1213e48b391ac4989e40033cb8934faeba
2017-02-10 06:01:50 +00:00
OpenStack Proposal Bot 89345c62c5 Updated from global requirements
Change-Id: Ifa3522ee06855fce773beba8ebbd01196b228840
2016-11-09 04:26:13 +00:00
OpenStack Proposal Bot f3c05f9c01 Updated from global requirements
Change-Id: Ia0415718a0a6e8a7e486714be95b1033674f4af1
2016-09-30 20:07:46 +00:00
Andreas Jaeger 147dd42d09 Remove unused releasenote setup
tox.ini has content for releasenote build but the rest of the
infrastructure is not setup at all, remove the environment and the now
unused reno requirement.

Change-Id: Ibb19b320766aca925e4def7f192048bccfd51284
2016-07-13 09:35:40 +02: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