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: Id693765fa9216f880d7105bbac3cd60f2db8500c
As per victoria cycle testing runtime and community goal,
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing the pylint for Ubuntu Focal.
Change-Id: I1ce17f378769d3b687b8c4ed07a2d8862d14f65b
Story: #2007865
Task: #402184
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3. This version is not support python 2 any more.
[1] https://docs.python.org/3/library/__future__.html
Change-Id: I94c61ba495283fc6e461bec156a7007ecbd6bb50
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
as they are not actually used in tests (other than pep8).
Change-Id: Ib2468762d81b0bd694c486169b05b8bbbd142cae
This repo is now testing only with Python 3, so let's 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
- Switch to using sphinx-build with warnings enabled, fix
warnings found with autodoc
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version, switch to using apidoc
- Remove install_command from tox.ini, the default is fine
- Change some imports to use python3 changed names
Change-Id: Ibb2e614c7db8a01e41caed8314c1d46479c78295
We don't support python2 anymore so we don't need this compatibility
library.
This patch remove six useage.
Change-Id: I5802ee67960ff8c53bc33213cc5aa8baee0d0dce
Remove requirements for flake8, mccabe, pyflakes since hacking pins them
already - and the pins of hacking are different versions.
Update hacking to current release.
Change-Id: I64073e3e4cd07c45fd65bad9101693b795ec1afc
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Fix RST syntax in HACKING.rst
3. Update moved URLs in README.rst
Change-Id: I74bfead9b1962ad9c5e9eb2f7ab79022566085c9
1.Add Python 3.6 classifier to setup.cfg
2.We already run python3.6 unit tests in CI. Add the py36 environment to
the tox file so that developers with python3.6
Change-Id: I779236a8625a47064ba34e1b0cb865673a5d124f
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets
Change-Id: I97487d0fbe6999047be5ae487ccebea2bcf76def
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I7a5fcd7ae9686cae1ab5f588b4c58ff3533b2e0f
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I11675fbb30826eedde810652d8a5438e1a20f9c5
Story: #2002586
Task: #24296
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: If667445fbc389e971a0d471c5a9dd4893a0b0995
Signed-off-by: Doug Hellmann <doug@doughellmann.com>