| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the test-requirements to a more recent flake8-docstrings
version. I also added an ignore for __init__ methods, this may be
something that we want to revisit but are not needed for now.
We also slip in a little change that renames whitelist to
allowlist. It is also a gate failure and thus is circular with
the pep8 fix: neither can be merged separately.
Change-Id: Id12f6e3b5d603531744d02f7bafab0b80696751e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.
The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].
This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.
This project meet the conditions leading to the bug.
[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36
Change-Id: I11c1f9816ad93f7c3a7d9de5894746d48154e18d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Ib3d13c83dcc9f660d89669c53c7782ca68da8e64
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
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: I6c6775f75235dab2b9ed7820bfc5102bf5b04965
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now that we don't need to support py27 we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I1dfdb05ddf78cd8243f31956ccf8173b2059ad33
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|/
|
|
|
|
|
|
|
|
| |
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Blacklist W503, W504
Fix other problems found
Change-Id: Ic0391ae45b9d6d1ee5e2c1df81d85e655250a51d
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: Ibc5757b36d6a5b8c342d959087136064ed5ab6f5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Include small cleanups:
* remove install_command from tox.ini, this is the default
* Use sphinx-build as modern way to run sphinx, remove setup.cfg
settings for build-sphinx
* Use sphinxcontrib-apidoc for docs with newer sphinx
* Remove obsolete doc/source/conf.py broken
* Add python-requires to setup.cfg to make Python 3.6 requirement
explicit
* Remove obsolete pbr setup-hooks
Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Iec8c47b82022b616b8361651bf23f853b0ce5624
|
|
|
|
|
|
|
|
|
|
| |
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.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ib4c7bb59c92946c3e8b257cbf1ce2f44cb1c40ed
|
|
|
|
|
|
|
|
| |
As of version 3.5.0 moxstub will be deprecated,
so remove it where it has been used.
Change-Id: I033646a1e32a44dea54d902c43bb4def9da89b33
Signed-off-by: Charles Short <zulcss@gmail.com>
|
|
|
|
| |
Change-Id: Ie1d30c876d404b0396134b82a3e401c1376d9d70
|
|
|
|
| |
Change-Id: I1e86c8b40e0cf81568e70834d9afc9b2fe62247b
|
|
|
|
| |
Change-Id: Ic35c420e0438bd625ab2fdf5655eda44687ca2e6
|
|
|
|
| |
Change-Id: I9d31d220c6fbc4a7aa8d5cc5261095e4ed86d0b8
|
|
|
|
|
|
|
| |
Following the new doc migration spec, the documentation
theme needs to be switched to openstackdocstheme.
Change-Id: Ia840524a4c3b4ceb9605c997a2971d84880c70ac
|
|
|
|
| |
Change-Id: I3d03c317d8a728ca70267fdc51e74361189318c2
|
|
|
|
| |
Change-Id: I401e06594105b593c422510eb2dfa7942c313be7
|
|
|
|
| |
Change-Id: Ice610e1e132ce65e8048645807ebb10b972c24f9
|
|
|
|
| |
Change-Id: I75947bd1dbe77f381086f6904b9fa3f515456797
|
|
|
|
| |
Change-Id: I6121d12803c02a50c26da87367fea7690c5df670
|
|
|
|
| |
Change-Id: I321f2de14db6588da9c8c06f1bcdf98e8f1bd339
|
|
|
|
|
|
| |
It's only needed for python < 2.7 which is not supported
Change-Id: Ia3f9b53303c6cb608f9676651c88c9de01e4e3d9
|
|
|
|
| |
Change-Id: I0e7863e77df6dced53ff3cdb36ce008a9a2eae43
|
|
|
|
| |
Change-Id: Ib79a9dbce6349cb70ef7039161a17f5e13941ae6
|
|
|
|
| |
Change-Id: I3471c3cda9cfc1a8e82c6ca20d9ee0b1a21f1966
|
|
|
|
| |
Change-Id: Ibbe10cbf05db83ff28496a6bec4f926523fadfdc
|
|
|
|
| |
Change-Id: I085a06383392c15132bfbc5b95ac06a2761cafe4
|
|
|
|
| |
Change-Id: Ic697c03c06ca45f799ebd47031d8ebcbe6fbacfb
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces a linter for PEP257 to avoid trivial nitpicking of
docstrings in code reviews. Because flake8_docstrings simply provides a
plugin to add pep257 to flake8, you can run it via `tox -e pep8`.
PEP257 checks which we are currently violating are ignored in tox.ini.
We can remove them from the ignored list as they are fixed.
Related-Bug: 1501544
Change-Id: I01ebad7b70cf61dd80d3c06c6808d8178fbdd634
|
|
|
|
| |
Change-Id: Ib37f0c1a68dfcfd6123187601a662bcc11c7928f
|
|
|
|
| |
Change-Id: I9767d31a1bfb428730f90ea8ba1c11a5a2d207aa
|
|
|
|
| |
Change-Id: I40b74aa74cf6603d69d0094a842a39d82a5d2470
|
|
|
|
| |
Change-Id: I34d95fde08dc7cd283561c0d4e663a8667b72e36
|
|
|
|
| |
Change-Id: I8974e657ee846e7f66b3e9d075212a906edd21b7
|
|
|
|
| |
Change-Id: I6e2fd3d8b3c572d1dcddd6d47e387153659b5a64
|
|
|
|
| |
Change-Id: I87720e35356a911b42fc89c64164a63358e5efc6
|
|
|
|
|
|
|
|
|
| |
the audit middleware is deprecated and is available via
keystonemiddleware. pyCADF can now be returned to just a library
that builds CADF events and validates them.
Closes-Bug: #1448239
Change-Id: I1724a6637d9663a825055f56d17189e35d63f269
|
|
|
|
|
| |
Change-Id: If87fc0205d51b5addda3c097ac2a30bd296e2612
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
|
|
|
|
| |
Change-Id: I9a76993a77214dd19e27f8795505314ca48a1e60
|
|
|
|
| |
Change-Id: I6ed1133c214c6746032f89fd46e9baec01b9d793
|
|
|
|
| |
Change-Id: If646a99435c9f5e1d227ee30fc25909f6fcdaae6
|
|
|
|
|
|
|
|
|
| |
we should deprecate audit middleware as soon as possible so we can
remove it from library. switch oslo.messaging to test as it is only
a requirement for middleware and not pycadf in general.
Change-Id: I60820cc15d05b3c07215c2000d806b4a0aa42889
Closes-Bug: #1398411
|
|
|
|
| |
Change-Id: I63cd624af7d7b8f8a8d733fc7c2f8eb011a57000
|
|
|
|
| |
Change-Id: I771df626a05a33b05eff351ae43f1716f283c016
|
|
|
|
| |
Change-Id: Ib6937e17e128fd7f74c6e04ea80eb06231c1c24d
|
|
|
|
| |
Change-Id: I51cd96c220f539771c9ea4bb66d96f41d23b50f2
|
|
|
|
|
|
| |
near as I can tell, none of these libraries are being used.
Change-Id: If6bd01630a42655fe6567a96a50a78bd65e14073
|
|
|
|
| |
Change-Id: I6dc73504ba274e99cbc18b91c631cad2d56aa45a
|