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: I8123f403a23f17c20cd5b114227fef45d2eb7992
* Remove six usage
* Remove python 2.7 stanza from setup.py
* Update supported python versions in setup.cfg
* Remove i18n related sections in setup.cfg
as tempest-horizon has no translation support
* Remove unused requirements (oslo_log and babel) from requirements.txt
Change-Id: Ifd530546bfb5ae25e01e72a0e3c02f963d9d04d2
* Update the horizon URL to the new one after doc migration
* Use https instead http
* Adjust title marker length to match the title length
Change-Id: I9c2280793bd8d6496224e36dffd479e1f3732db0
* Move basepython to [testenv] which is a place to define common things
* Move upper-constraints from install_command to deps
* Update the min version to 2.0 to allow http links in deps
* Cleanup unused tox envs ('cover' and 'debug')
* Drop unnecessary envs from envlist (only pep8 is used now)
Change-Id: Ie915a93b824331407a48affcbd31076d6a7cccfa
We don't provide any sphinx documents as we cover horizon specific
topics in the horizon repository. The current version is just from
the cookiecutter and is never maintained since created.
README and CONTRIBUTING.rst would be enough.
Change-Id: I60c6e64e771f4e6bd3482a4d6a2a37228dde98b9
Update hacking to latest version to catch Python 3 problems.
The existing entries in flake8 ignore are dropped
as they are unnecessary.
Change-Id: I8e268f3852ad7acf4805f8ef7e4cbe25a90054a0
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: I8f0602bc84aca649bdd70495286327c41c4d00ce
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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: I604943aff8e732d544dffc85881e682e2b4d7d55
Story: #2002586
Task: #24299
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I6c6e1b3873a71d3b069f0c0bc45d9ba9885c2886
Tempest uses stestr since Iff4abef50178bdc83b868eed4a906e22d790762b was
merged. This patch chaned README to fix instructions for a default
configuration
Change-Id: I90860c4b8e3a0cfdee780fc587d9af21b1f36956
In Python 3, get_reponse returns a bytes object, not str, so we
have to encode() and decode(), otherwise it fails. This fixed
issues running the tests in Debian.
Change-Id: Ifc18bb48e27cee96864e3a9b64d8a4fd294a912b
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: I4ef8678c433cc593db64f596a320d16bc1215eb1
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I995154c056dd99b3a2c0ee9f7ddd9077e5686b79
Instead of looking at Python major and micro versions, check for the
required ssl.create_default_context function directly.
Change-Id: I6ef528a79d8ff6ff649e8f66f2d11d418e87d9d7
Read-only property 'os' has moved to 'os_primary' in version 'Pike' and
will be removed in version 'Queens'
Change-Id: Ice03458c69d0e107dac6f6735391c3e8567cf855
The scenario tests base class from Tempest is not a stable interface
and it's going to be refactored on Tempest side, as notified in
http://lists.openstack.org/pipermail/openstack-dev/2017-February/112938.html
Stop using that class since there's nothing in it used by horizon
scenario test.
Change-Id: I45ef6cef47a6a26e43612ffc6cb8851d19372712
test.idempotent_id is being kept temporary to migrate
to new lib interface. Now idempotent_id is available as Tempest stable
interface decorators and all plugins tests using the old decorator
should be switched to new interface.
In future, Once all plugins are switched to new decorator Tempest
will remove the test.idempotent_id
Change-Id: I9c7ffec7e65ea2cd3c9807fac3909317d8923c85
Related-Bug: 1616913
Adding boolean config opt "disable_ssl_certificate_validation".
When set to true, and running Python 2.7.9+ or Python 3.2+,
the dashboard basic ops scenario will ignore self-signed or otherwise
invalid SSL certificates.
Change-Id: I98f585ad0fbe4fb0ee913329a9269744fe4437bd
The config options were improperly specified and utilized.
Also, a needless decorator that is a carry over from
integrated work was removed.
Change-Id: Ieb39c8c4baada8857cc297cc98897d71f0536716